2
submitted 1 year ago by kiwi@kale.social to c/lemmy_support@lemmy.ml

Is it safe to move the /svr/lemmy/ directory to a new location on the same server? Or is the directory hard coded into different places? Thanks

top 4 comments
sorted by: hot top controversial new old
[-] szeraax@lemmy.dcrich.net 1 points 1 year ago

Are you talking about a docker setup? if so, yes, as long as you update your bind mount to the new location. If manual install, I would think that you'd have to either leave it in place or find what references that location and update it as well.

[-] kiwi@kale.social 1 points 1 year ago

Ah got it. Yes, Im using docker compose but setup through ansible. Sounds like I just need to update the bind mount then. Thanks

[-] szeraax@lemmy.dcrich.net 1 points 1 year ago
[-] kiwi@kale.social 1 points 1 year ago

Turns out docker is configured to reference everything though relative paths. I just needed to move the directory and everything kept working.

this post was submitted on 09 Jun 2023
2 points (100.0% liked)

Lemmy Support

4652 readers
7 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS