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.

Dockers failed to restart - php errors on page

Featured Replies

This morning, all dockers that are usually stopped as part of the CA backup process have failed to restart. 

 

Pages in the UnRAID gui have php error messages on them.

 

Warning: file_put_contents(/var/lib/docker/unraid/images/home-assistant-icon.png): failed to open stream: Read-only file system in /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php on line 90

Warning: file_put_contents(/var/lib/docker/unraid/images/mariadb-icon.png): failed to open stream: Read-only file system in /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php on line 90

Warning: file_put_contents(/var/lib/docker/unraid/images/NginxProxyManager-icon.png): failed to open stream: Read-only file system in /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php on line 90

tower1-diagnostics-20210912-1235.zip

Edited by jj_uk

Solved by JorgeB

  • Author

I've just restarted the server and all my dockers are gone !  I have no dockers installed! What's going on!

  • Author

My appdata share is completely empty. Please help ! I'm starting to panic!

 

image.png.9097f28fd0f3647229ec0fc9f45ea693.png

Edited by jj_uk

  • Author

All shares that were on the cache disk are empty. Seems the caches have unmounted or something?

 

How can I instruct unraid to start using the cache disks again?

Untitled.thumb.png.72d6329962a5c8492d8bea567de9855a.png

Your cache pool is unmountable.  (PITA to see where it started)  Wait for @JorgeB for advice

Logged is spammed with GPU related errors, reboot and post new diags after array start.

  • Author

Is there any prospect of getting the cache drives back online?  There were a few dockers used to run a smart home. We're currently sat in the dark.

 

I have a backup of appdata from the day before, created by CA Backup.  It contains a full /appdata/ backup and 'libvirt.img'. 

 

 

Edited by jj_uk

  • Solution

Sorry, missed your first reply due to an old forum bug, filesystem is crashing immediately after mounting, there are some recovery options here that you can try.

  • Author

Thanks!!! I'll give this a try.

 

Before I do, docker has created some files on the system share. Should I delete these before attempting the repair? The files will also be in the cache as system share is set to 'Prefer : Cache'

 

image.thumb.png.852ecfa9d41236b191480af89a032e0d.png

  • Author

I've copied all the data off of the drives following the guide you posted above.

 

I've stopped the array then run this command to erase the cache drives:

blkdiscard -f /dev/sdb

blkdiscard -f /dev/sdc

 

I've stated the array, and fomatted the "unmountable" drives, which are the 2 cache drives.

 

After the format completes, I get this error:

 

"Unmountable: no pool uuid"

 

image.thumb.png.ceafb134f98e854e85e8778f7c0d8148.png

 

I've removed both drives from the pool, and set slots to zero to delete the pool, then created a pool of 2 and re-added them, but the error persists.

 

I can't mount the drives.

 

 

EDIT: 

 

Solved the issue. I stopped the array, set all shares to 'Use Cache Pool? No', deleted the docker image in settings-docker, deleted the virtlib file by stopping VM and chosing delete from "Settings - VM Manager".

 

Disabled the syslog server in settings, then deleted the syslog server files from the cache using MC.

 

Then rebooted the server, added a cache pool, added the drives, stated the array, formatted the drives.

 

I'm now copying the data back to the cache.

 

Edited by jj_uk

  • Author

Managed to restore all the cache, deleted docker image, re-enabled docker.

 

Installed the 1st container from the APPS -> previous Docker tag. The install failed with an error saying couldn't create /mnt/user/ and then all my shares disappeared!

 

image.png.0d068ae976cff0e74807d05a10ce8ab4.png

 

Any idea how to fix that? The 'user' share seems to be broken.

 

Sep 14 01:00:01 tower1 kernel: shfs[25263]: segfault at 0 ip 00000000004043b8 sp 0000146026a3d780 error 4 in shfs[402000+b000]

 

shfs segfaulted, rebooting should bring your shares back, but if it continues to happen it might indicate an underlying issue.

  • Author

Thanks. That's worked and a docker container started ok.

 

I forgot to select encrypted for the cache, so I'm repeating the process :) Quicker to redo the copy process from the backed-up cache than to let mover do it.

 

Fingers crossed!

  • Author

I'm up and running again, but as soon as I clicked MOVE to start the mover, I got a segment fault again. What causes this?

tower1-diagnostics-20210914-1311.zip

Unclear, try to move those files manually this time.

  • Author

Mover completed successfully after a reboot.  Next I need to fix the AMD spam in the logs. I'll post a new topic for that.

 

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.