majorswitcher

joined 1 year ago
 

I'm trying to migrate lemmyfly.org to a server with more capacity at a different provider. From the current running OK server I've downloaded the volumes folder using rsync. The new server is installed using ansible with success, all containers are up and running.

Then I stop the containers, rm volumes, copy the volumes from the backup location to the new server.

Now when trying to start the containers, the pictrs and postgres containers have errors. I noticed the volumes folder now have different owner (staff in stead of root). So I manually changed ownership of those folders to root. Now those containers can start ok. But now the lemmy container can't authenticate with postgres, although the password is all the same in the config files.

There must be an easier way to restore a backup. What am I missing ?

[–] majorswitcher@lemmy.one 1 points 1 year ago (2 children)

I see! I just need to keep my Allowed list empty :) Don't really understand the different visibility of comments yet. I can see your comments from my lemmy.one account. but they don't show up on my own instance. Bit hard to keep track of posts and comments, if I need a second account on a different instance to see replies ?

[–] majorswitcher@lemmy.one 1 points 1 year ago

I tried with a instance that's not in my Allowed list. If I search for a existing community on a different instance, it's not added to my community...

[–] majorswitcher@lemmy.one 2 points 1 year ago* (last edited 1 year ago)

So, I see these comments when looking at the post via lemmy.one. But I don't see them from here https://lemmyfly.org/c/lemmy_support@lemmy.ml I wrote a comment through lemmyfly.org, which doesn't show here

https://lemmyfly.org/comment/71

[–] majorswitcher@lemmy.one 3 points 1 year ago* (last edited 1 year ago) (1 children)

thanks! got it working now. In SendGrip generated an api key, at - POSTFIX_smtp_sasl_password_maps=static:smtp_username:smtp_password filled in apikey:[theapikey] and relayhost=smtp.sendgrid.net:587

also add a verified From address in SendGrid, which is added in your lemmy.hjson email.smtp_from_address

[–] majorswitcher@lemmy.one 2 points 1 year ago (3 children)

i've installed via Ansible. do you know where I can find the postfix config file ?

 

I have issues using postfix on my digitalocean droplet (they block the smtp port). Is it possible to setup using SendGrid for the email verification and notifications ?