Jump to content

Need Help Moving appdata The Right Way

Featured Replies

Posted

I have moved the appdata folder several times in the past and every time, the same thing happens. Nextcloud and Immich always prompt for initial setup. Am I doing something wrong?

Steps I did:

1. Stop all docker containers

2. Change all docker containers' appdata folder to where the appdata folder will be after move.

3. Stop docker sercice.

4. Use unbalanced to move the appdata folder to new drive.

5. Restart docker service and check logs for any docker containers that don't start.

 

Every time, I have to setup nextcloud like a fresh install. I don't understand why. The nextcloud appdata folder and the data base appfolder are all moved and already in place when I restart docker service but it doesn't pick up from before the data was moved.  

  • Community Expert
42 minutes ago, peace-keeping-villa8590 said:

2. Change all docker containers' appdata folder to where the appdata folder will be after move.

That will restart the container and it'll make a fresh install in the destination straight away. Then there are files in the destination, so your original data won't overwrite them.

 

You should stop all containers, move, then change. That is if you're not using /mnt/user/appdata... mounts, because if you do as is the standard no path change should be necessary.

Edited by Kilrah

  • Author

If I use /mnt/user/appdata, will that be less problems if for example, I replace the drive appdata is on?

4 hours ago, Kilrah said:

That will restart the container and it'll make a fresh install in the destination straight away. Then there are files in the destination, so your original data won't overwrite them.

 

You should stop all containers, move, then change. That is if you're not using /mnt/user/appdata... mounts, because if you do as is the standard no path change should be necessary.

 

  • Community Expert

Yes.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...