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

Lemmy Support

4645 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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 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.

[–] [email protected] 2 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

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