Jump to content

Issue with Docker


FredG89

Recommended Posts

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

Link to comment

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
Link to comment

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.

Link to comment

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.

Link to comment

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.

Link to comment

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?

Link to comment

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
Link to comment

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

Link to comment

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.

Link to comment

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

 

 

Link to comment

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.

Link to comment

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

Link to comment

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.

Link to comment

Archived

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

×
×
  • Create New...