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

Lemmy Support

4650 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

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 3 points 1 year ago (1 children)

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 (1 children)

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 3 points 1 year ago (1 children)
[–] 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.