March 22, 20224 yr Hello! My cache pool recently required reformatting. I did this by using the unbalance plugin to move my appdata and system folders from the pool onto an array disk. Then I formatted the cache and used the native mover to move the appdata folder back onto the cache. That all seemed to go just fine, but now whenever I start a Docker container - it acts like it's the first time running and seems to ignore any existing configuration stored in the appdata folder. I can see the modified dates and times update within the appdata folder when I launch the Docker, but I can't figure out why it's ignoring everything and behaving as if it was just installed. root@Enterprise:/mnt/user/appdata/unifi-controller# ls -la total 0 drwxr-xr-x 1 nobody users 22 Dec 3 2019 ./ drwxrwxrwx 1 nobody users 1098 Mar 19 15:21 ../ drwxr-xr-x 1 nobody users 42 Mar 5 15:48 data/ drwxr-xr-x 1 nobody users 0 May 22 2021 logs/ drwxr-xr-x 1 nobody users 8 Mar 3 15:33 run/ root@Enterprise:/mnt/user/appdata/unifi-controller# ls -la total 0 drwxr-xr-x 1 nobody users 22 Dec 3 2019 ./ drwxrwxrwx 1 nobody users 1098 Mar 19 15:21 ../ drwxr-xr-x 1 nobody users 200 Mar 19 20:35 data/ drwxr-xr-x 1 nobody users 52 Mar 19 20:34 logs/ drwxr-xr-x 1 nobody users 86 Mar 19 20:35 run/` What's even more confusing, is a couple dockers are working just fine - like Grafana and Home Assistant for example. And all of its paths are configured the same as the others from what I can see. I've looked over the docker troubleshooting page, in particular - the "Why did my files get moved off the Cache drive?" section. I've made sure that my containers are using /mnt/cache/appdata and that still doesn't seem to work properly. (Some were previously set to /mnt/user/appdata/ and I've tried changing those without any luck). Any suggestions? Thanks! enterprise-diagnostics-20220322-1041.zip
March 24, 20224 yr Author It's unfortunately looking like the process of starting the docker container blows out any existing data as I'm having trouble even restoring these on a different docker host. Not sure if anyone has any ideas at this point or if I should just consider the data lost. -- edit -- Well, my current guess is that somewhere along the backup & restore process - the folder structures of everything in appdata was saved but just about every file is gone. Not sure if unbalance or the native mover is at fault -- but it looks like I'm rebuilding everything from scratch. Edited March 24, 20224 yr by vb543
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.