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.

Issue with Docker

Featured Replies

So I'm using Unraid 6.1.9 and for some reason starting yesterday. It appears that may Docker just stops working. When I go to the Community Apps tab, I get an error message. I'm not seeing any errors or anything besides the one in the Community Apps tab.

 

Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/0.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/1.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/2.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/3.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/4.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/5.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/6.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/7.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/8.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/9.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php

So I'm using Unraid 6.1.9 and for some reason starting yesterday. It appears that may Docker just stops working. When I go to the Community Apps tab, I get an error message. I'm not seeing any errors or anything besides the one in the Community Apps tab.

 

Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/0.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/1.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/2.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/3.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/4.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/5.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/6.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/7.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/8.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/9.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php

docker.img is either full or corrupted, or the cache drive is mounted read-only.  Diagnostics should tell the story
  • Author

So I'm using Unraid 6.1.9 and for some reason starting yesterday. It appears that may Docker just stops working. When I go to the Community Apps tab, I get an error message. I'm not seeing any errors or anything besides the one in the Community Apps tab.

 

Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/0.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/1.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/2.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/3.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/4.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/5.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/6.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/7.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/8.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php on line 320 Warning: file_put_contents(/var/lib/docker/unraid/templates-community-apps/9.xml): failed to open stream: No such file or directory in /usr/local/emhttp/plugins/community.applications/include/exec.php

docker.img is either full or corrupted, or the cache drive is mounted read-only.  Diagnostics should tell the story

 

Can you point me a little further? lol

 

The cache drive is still downloading media and allowing me to copy to it through file explorer. Like I said, I ran the scrub but I'm not sure what else to do.

Diagnostics should tell the story
Can you point me a little further? lol
Attach the diagnostics zip file to your post.

Tools - diagnostics.

 

And a screen shot of settings - docker.

 

Since you're still downloading, presumably the cache drive is not mounted readonly, but all of those errors relate to the docker.img file - its either completely full or corrupted.

  • Author

Tools - diagnostics.

 

And a screen shot of settings - docker.

 

Since you're still downloading, presumably the cache drive is not mounted readonly, but all of those errors relate to the docker.img file - its either completely full or corrupted.

 

Here's my zip.

 

https://drive.google.com/open?id=0B8lgQW0Jm7TiYmpZeTM3T0loQlU

 

4NTtLAy.png

docker.img corrupt.  easiest solution is to delete it, then recreate it, then re-add the apps via CA's previous apps section.  No adjustment of the templates necessary.  After the download, everything will be good to go.

  • Author

docker.img corrupt.  easiest solution is to delete it, then recreate it, then re-add the apps via CA's previous apps section.  No adjustment of the templates necessary.  After the download, everything will be good to go.

 

Lol. That's exactly what I did and still having the same issue. It was previously at 75GB...I set it to 100, still had same issue so I deleted it and created a new one in a new location.

docker.img corrupt.  easiest solution is to delete it, then recreate it, then re-add the apps via CA's previous apps section.  No adjustment of the templates necessary.  After the download, everything will be good to go.

 

Lol. That's exactly what I did and still having the same issue. It was previously at 75GB...I set it to 100, still had same issue so I deleted it and created a new one in a new location.

You have something misconfigured if your docker image is that large. You should be configuring each docker applocation so it does 0 writes inside the docker image and all writes are done via mapped volumes.

corruption is the issue.  try deleting again

Aug  3 02:55:14 homesrv01 logger: Creating new image file for Docker: /mnt/cache/docker/docker.img size: 100G
Aug  3 02:55:14 homesrv01 logger: Not starting Docker: failed to create image file

 

 

  • Author

corruption is the issue.  try deleting again

Aug  3 02:55:14 homesrv01 logger: Creating new image file for Docker: /mnt/cache/docker/docker.img size: 100G
Aug  3 02:55:14 homesrv01 logger: Not starting Docker: failed to create image file

 

I just go into the docker folder and delete the img correct?

Settings - Docker - Enable Docker - No - Apply - then check off delete image  (Might have to hit it a couple of times due to a webUI bug) then Delete

docker.img corrupt.  easiest solution is to delete it, then recreate it, then re-add the apps via CA's previous apps section.  No adjustment of the templates necessary.  After the download, everything will be good to go.

 

Lol. That's exactly what I did and still having the same issue. It was previously at 75GB...I set it to 100, still had same issue so I deleted it and created a new one in a new location.

You have something misconfigured if your docker image is that large. You should be configuring each docker applocation so it does 0 writes inside the docker image and all writes are done via mapped volumes.

Only 4G used ATM
  • Author

docker.img corrupt.  easiest solution is to delete it, then recreate it, then re-add the apps via CA's previous apps section.  No adjustment of the templates necessary.  After the download, everything will be good to go.

 

Lol. That's exactly what I did and still having the same issue. It was previously at 75GB...I set it to 100, still had same issue so I deleted it and created a new one in a new location.

You have something misconfigured if your docker image is that large. You should be configuring each docker applocation so it does 0 writes inside the docker image and all writes are done via mapped volumes.

Only 4G used ATM

 

That's correct, I had all dockers pointed to a folder for apps. When I go to delete the image, once I click the check box to delete, the word 'delete' greys out and is unclickable.

 

QzwtI82.png

wFLlTEP.png

Click the box again

 

Sent from my LG-D852 using Tapatalk

 

 

  • Author

Click the box again

 

Sent from my LG-D852 using Tapatalk

 

It just goes back to the way it was before.

 

681918a0-f2d1-4b3d-ae90-3ccb46b1df6c

ok.  maybe you're on a very old version of the webUI.

 

Stop the docker service.  Manually delete the docker.img file.  Reboot.

  • Author

ok.  maybe you're on a very old version of the webUI.

 

Stop the docker service.  Manually delete the docker.img file.  Reboot.

 

Ok, it's been deleted...rebooted server. Do you recommend I recreate using the 100GB or do you feel I can use a smaller image file.

ok.  maybe you're on a very old version of the webUI.

 

Stop the docker service.  Manually delete the docker.img file.  Reboot.

 

Ok, it's been deleted...rebooted server. Do you recommend I recreate using the 100GB or do you feel I can use a smaller image file.

Shouldn't need more than 25gig max if nothing is saving within the image

 

Sent from my LG-D852 using Tapatalk

 

 

I'm sitting at 1.8 Gig used on my max 15 Gig Docker image. I've been at that size for nearly an entire year now.

 

As said before, you have your docker container(s) miss-configured. All major writes of docker containers should be contained outside the image.

  • Author

4NTtLAy.png

4 Gig used

 

So it was working for a bit, but now it has stopped working.

 

Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (Connection refused) in /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php on line 490 Couldn't create socket: [111] Connection refused Warning: stream_socket_client(): unable to connect to unix:///var/run/docker.sock (Connection refused) in /usr/local/emhttp/plugins/dynamix.docker.manager/include/DockerClient.php on line 490 Couldn't create socket: [111] Connection refused

 

Here's a link to the ZIP again.

 

https://drive.google.com/open?id=0B8lgQW0Jm7TiRl9JQXJtUjR5TG8

The image is still messed, and I'm not sure why it keeps happening...  everything else looks good AFAIK.  Re do it, then start by only adding a single app and then let that run for a while and see what happens.

  • Author

The image is still messed, and I'm not sure why it keeps happening...  everything else looks good AFAIK.  Re do it, then start by only adding a single app and then let that run for a while and see what happens.

 

Ok, will do.

  • Author

The image is still messed, and I'm not sure why it keeps happening...  everything else looks good AFAIK.  Re do it, then start by only adding a single app and then let that run for a while and see what happens.

 

Do you think it would be a good idea to just go ahead and wipe the SSD? I had 300GB+ free last night and I received an error that there was no more space when I tried to make a folder. I deleted a file and then was able to make that folder.

Archived

This topic is now archived and is closed to further replies.

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.