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.

Chache appdata folders for stopped docker containers gone

Featured Replies

Hello everyone, 

 

today I got a notice from my own uptime-kuma, that my nextcloud is down. 

After checking my mariadb, I noticed, that I can't connect to the DB via:

mariadb - uroot -p

 

While looking into the problem, I noticed that some appdata folders on my chache-drive are gone. But only for stopped docker containers.

My Cache disks are still "healthy" and the utilization is at 11%.

It's really weird and I'm kind of scared. Luckily I have backups on my ZFS-Pool. But before I do anything, I wanted to ask for help.

 

Here are my diagnostics:

 

 

unraid-diagnostics-20250304-1126.zip

Solved by EmilS

  • Author

I think I figured it out.

It looks like these errors are caused by a docker problem on unraid.

The docker network hostname resolution is not working. 

I configured my NPM to use the IP instead of the hostname for my other containers and everything works. 

Since the /mnt/cache/appdata/ directory is the main docker directory, the folders for the stopped containers could be deleted by docker. 

Now, I just have to figure out a solution.

Disable and enable docker didn't help

  • Community Expert

Looks like your docker uses /mnt/cache but for some reason your share is setup to use the cache instead of being cache only. So every file thats not in use is being moved by the mover to the disk and thus those files are gone for everything expecting it to be at /mnt/cache

Edited by Mainfrezzer

  • Author

I also tried to rollback to 7.0.0.

DId not help either

  • Author
31 minutes ago, Mainfrezzer said:

Looks like your docker uses /mnt/cache but for some reason your share is setup to use the cache instead of being cache only. So every file thats not in use is being moved by the mover to the disk and thus those files are gone for everything expecting it to be at /mnt/cache

Very good hint. I had to uninstall Mover Tuning, since it has been deprecated. 

  • Author
  • Solution

So, @Mainfrezzerwas right. 
In the past my Mover copied all files from my cache appdata to my array as a backup. 
After uninstalling Mover Tuning, the Mover actually moved the files. 

Appdata of Containers that where stopped/unused were completly moved and all running containers crashed, because the Mover moved files that the containers used not so often. 
Luckily I had backup from the Backup / Restore Appdata Plugin. 

After restoring all files into a new folders, changing all containers to use those now folders, everything works again. 
My data is not gone, nextcloud and dbs are running. :)
Perfect. 

Man, that was scary. 

 

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.