Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Docker Not Using Existing AppData

Featured Replies

  

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

  • 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 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.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.