this post was submitted on 30 Jul 2023
171 points (95.2% liked)

Fediverse

28704 readers
391 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 2 years ago
MODERATORS
 

I had an account on lemmy.one and now the instance has been down for a day or two so I made this new account. I also heard other small instances are dead or disappeared.

So which ones do you think will actually stick around for a long time?

ALSO, does anyone know how to get my subscriptions from lemmy.one and import it here? TIA!

you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 2 points 1 year ago (4 children)

How do I install this on Windows? I don't know how to code. ๐Ÿ˜ญ

[โ€“] [email protected] 4 points 1 year ago (1 children)

If you don't have an experience using the command line then it's a tad more involved then I can explain in-depth on mobile. Best I can do is give a brief outline.

To start with, wescode/lemmy_migrate is a python 3 script. If you are running windows install WSL (Ubuntu), once you have a command line I am familiar with you will want to download the repository from GitHub to a directory.

You will then need to create a config file called migrate.conf Use the sample provided in the repo under configuration. Edit it to use your information. You can use nano as a text editor.

Then it looks like the command would be something like:

python lemmy_migrate -c ./migrate.conf

Sorry if that is crap help, but I'm not near my computer right now, and don't often use Windows anymore to boot.

PS:

WSL is a program from Microsoft that gives you a mostly functional Linux command line within Windows. None of this is as complicated as it sounds, I'm using more words then strictly necessary to explain things somewhat at beginner level. The most time consuming part of this would be first installing WSL and then installing Ubuntu onto WSL. There are plenty of tutorials on how to do so.

Hopefully someone more familiar with Windows can tell you how to do the same thing from either the DOS prompt or from Windows PowerShell. It's doable, (almost anything is) I'm just not familiar enough with either to walk you through it.

[โ€“] [email protected] 3 points 1 year ago (1 children)

It's confusing for me ๐Ÿ˜… but I will try.

[โ€“] [email protected] 1 points 1 year ago

Just search for tutorials based on the key words from my post and you'll get there.

I am sorry for the RTFM post though. Been a rough day and haven't been able to get near a computer to do a better write up for you.

[โ€“] [email protected] 2 points 1 year ago (1 children)
[โ€“] [email protected] 1 points 1 year ago

OMG this is the one I saw. THANK YOU!

[โ€“] [email protected] 1 points 1 year ago (2 children)

Here's a thread where I helped someone else with the process on windows: https://lemmy.sdf.org/comment/1420339

The steps are:

  1. Set up the python code
    1. Go to https://github.com/wescode/lemmy_migrate/releases/tag/v1.1.0
    2. Download the zip file
    3. Extract the zip file, to make a folder somewhere on your system called lemmy_migrate-1.1.0. Remember where this folder is
    4. Inside the folder you will find a file called config.ini. Use notepad to edit the file to have your server URL and login credentials.
  2. Set up the python interpreter
    1. Install python from https://www.python.org/downloads/
    2. Open powershell
    3. install the python package requests by pasting the following command into powershell: py -m pip install --user requests
  3. Use the python interpreter to interpret your python
    1. first make sure powershell is looking at the correct folder. One way to do this is to open the lemmy_migrate-1.1.0 folder in windows explorer. right click on the box that shows you the path, and copy the text. then write cd <pasted path> in powershell. This path will very likely be something like C:\\Users\Wu9fee\Downloads\lemmy_migrate-1.1.0. If you don't want to copy and paste the path from explorer, you can just do cd Downloads then cd lemmy_migrate-1.1.0
    2. Finaly, you can run the python command with py lemmy-migrate.py -c config.ini

Let me know if you run into any problems.

If you can pull this off, you can officially say you know how to code.

[โ€“] [email protected] 2 points 1 year ago (2 children)

Thanks for the tutorial! I might try but it looks hard. ๐Ÿค”

[โ€“] [email protected] 2 points 1 year ago

Not too hard. Just alot of unfamiliar vocabulary. ๐Ÿ˜„ If you run into any questions with either of our walk throughs, (my linux one or @[email protected] 's Powershell one), feel free to DM me. Don't mind helping folks starting their exploration of computers. We all started somewhere.

[โ€“] [email protected] 1 points 1 year ago

It's not too bad, it seems more difficult because I added all the steps. Changing the folder PowerShell is looking at is easy to do, but hard to explain.

[โ€“] [email protected] 2 points 1 year ago

Nice! I knew someone would know how to do this in PowerShell!

[โ€“] [email protected] 1 points 1 year ago

Look into the WSL