May 26, 20251 yr Unraid ver: 7.1.2Hello everyone,I recently upgraded to 7.1.2 and since then I have been experiencing issues with Docker.I was watching something on Jellyfin and the stream crashed, so I logged into Unraid and I found the Docker tab with a message saying "Docker service failed to start" and that there were no containers installed.I read some instructions and watched a few videos on Youtube regarding the issue and increased the size of the Docker image to 50GB and rebooted - the same issue happened again.When the Docker service was running I looked at all of the paths to ensure they were okay and as far as I could see they were. So now I am stuck.I had the server switched off for a few days and I turned it back on today and the Docker service still isn't running. I ran Fix Common Problems and got the "Unable to write to Docker image" message.I would really appreciate some help and advice if possible.Thanksnode304-diagnostics-20250526-1732.zip Edited May 26, 20251 yr by Pequod44 Removed unnecessary attachment
May 26, 20251 yr Community Expert The usual reason for filling docker.img is an application writing to a path that isn't mapped. Your mappings can look fine, but if the application is writing to a path not in a container mapping, it is a path inside docker.img
May 26, 20251 yr Author I have rebooted the server and Docker started, unfortunately cannot open any of the containers to change the internal paths.I'm also seeing an "Unable to write to cache" message now in Fix Common Problems.I've attached some screenshots which might be helpful which contain some paths in the containers.
May 26, 20251 yr What does your server log look like, and which version did you upgrade from? Is your cache drive or Docker running on an NVMe drive?
May 26, 20251 yr Author I've got a 1TB WD SSD as the cache drive, I was previously using version 7.0.1. I've attached a screenshot the array as well.
May 26, 20251 yr Community Expert 3 hours ago, Pequod44 said:"Unable to write to cache" message nowPost new diagnostics
May 26, 20251 yr Author Hello again,Thanks for the help thus far, new diagnostics here: node304-diagnostics-20250526-2346.zip
May 27, 20251 yr Community Expert Btrfs is detecting a lot of data corruption, start by running memtest.Also, assuming you are not using it, disable Bluetooth tin the board BIOS, it's spamming the log.
May 27, 20251 yr Author Okay, well I went in an upgraded the Motherboard bios, ran memtest a couple of times and got passes each time.I also disabled the onboard WAN device (only option I could see which I think would control the Bluetooth) in the bios, hopefully that will stop it from spamming the log.Ran another set of diagnostics as well which I've attached.This time, I was able to log into the containers in Docker, how long they will stay available for is another question I suppose. node304-diagnostics-20250527-1734.zip
May 27, 20251 yr Author UUID: 1fadd8d3-16ae-45cf-b0e6-00fc510e4de2 Scrub started: Tue May 27 18:10:04 2025 Status: aborted Duration: 0:00:00 Total to scrub: 219.07GiB Rate: 0.00B/s Error summary: no errors found
May 27, 20251 yr Community Expert Since no error were found, recommend resetting the stats and then monitoring for any future errors:https://forums.unraid.net/topic/46802-faq-for-unraid-v6/page/2/#findComment-700582
May 27, 20251 yr Author Pushing the scrub button in the GUI doesn't seem to do very much, the screen just blinks and the time updates and it says status aborted.I've ran the first command in the link above and it's shown a lot of corruption errors.Would running a scrub from the terminal be more effective?root@node304:~# btrfs dev stats /mnt/cache[/dev/sdb1].write_io_errs 0[/dev/sdb1].read_io_errs 0[/dev/sdb1].flush_io_errs 0[/dev/sdb1].corruption_errs 60350[/dev/sdb1].generation_errs 0
May 27, 20251 yr Author 3 hours ago, JorgeB said:Since no error were found, recommend resetting the stats and then monitoring for any future errors:https://forums.unraid.net/topic/46802-faq-for-unraid-v6/page/2/#findComment-700582Thank you for the link, I have installed the User scripts, reset the stats and added the script for btfrs hourly monitoring.Since the docker service is technically running at the moment, I've included a screenshot of the volume mappings in case it is helpful. I can't open any of the containers, the web ui's just don't load atm.Since the using the scrub button earlier, the Unable to write to cache drive error in Fix Common Problems has gone and I can access the data share on my main PC also.
May 28, 20251 yr Community Expert 12 hours ago, Pequod44 said:Would running a scrub from the terminal be more effective?It should be the same, if the scrub is aborting, there's an issue with the pool.
May 28, 20251 yr Author I checked it this morning and there were several messages from the User Scripts, still getting errors for some reason.Id Path Write errors Read errors Flush errors Corruption errors Generation errors -- --------- ------------ ----------- ------------ ----------------- ----------------- 1 /dev/sdb1 0 0 0 310 0
May 28, 20251 yr Author It still does the same thing, ran the scrub from the GUI and from the terminal. GUI blinks and terminal reports started and then stops immediately.UUID: 1fadd8d3-16ae-45cf-b0e6-00fc510e4de2 Scrub started: Wed May 28 12:10:22 2025 Status: aborted Duration: 0:00:00 Total to scrub: 219.07GiB Rate: 0.00B/s Error summary: no errors found
May 28, 20251 yr Community Expert Solution 30 minutes ago, Pequod44 said:It still does the same thing4 hours ago, JorgeB said:if the scrub is aborting, there's an issue with the pool.You should backup and reformat.
May 28, 20251 yr Author 1 hour ago, JorgeB said:You should backup and reformat.Thanks for the advice. Just to be clear (I'm afraid of making a mistake), I should be making a backup of my Flash drive?I'm assuming that I don't want to make a backup of Appdata or anything because I just want a fresh start with Docker etc. Best practice to take a screenshot of the main tab for drive assignments?Can I reformat from Unraid, or am I best taking the drive out and reformatting it on another machine?(apologies for the silly questions)
May 28, 20251 yr Community Expert 36 minutes ago, Pequod44 said:I should be making a backup of my Flash drive?No, of the pool that is failing to scrub.
May 28, 20251 yr Author Thanks for the help 👍.Formatted the cache drive and I've started afresh with Docker. It's running okay at the minute so fingers crossed it will continue.
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.