Mist80 Posted March 1 Share Posted March 1 Hi gurus. I am struggling to troubleshoot the docker engine failing to start on my system. Would really appreciate some help from the community. Thanks! storage-diagnostics-20240302-1039.zip Quote Link to comment
Mist80 Posted March 2 Author Share Posted March 2 8 minutes ago, trurl said: Just in case you weren't aware Wow, thanks for the heads up... i have had my unraid installation for a very long time (probably over 10years). I feel like this is going to cause a bit of pain. Will read up on options. Quote Link to comment
JonathanM Posted March 2 Share Posted March 2 26 minutes ago, Mist80 said: I feel like this is going to cause a bit of pain. Do you have enough free space on your array to empty your largest data disk? Quote Link to comment
Mist80 Posted March 2 Author Share Posted March 2 1 minute ago, JonathanM said: Do you have enough free space on your array to empty your largest data disk? Yes I think i do. Quote Link to comment
Mist80 Posted March 2 Author Share Posted March 2 But the use of RiserFS isn't the cause of the docker service failing to start is it? That's my primary issue currently. I will have to plan out the fs conversion at a later date. Still keen on some help for the docker issue please. Quote Link to comment
JonathanM Posted March 2 Share Posted March 2 Once you have your largest disk completely copied elsewhere, change the desired format in that disk's properties page, when you start the array it will show unmountable and ask you to format it. As long as that particular drive is the only one showing unmountable, go ahead and format. Then copy the entire content of your next largest disk to the newly formatted disk, verify the copy was completed accurately with file comparisons or whatever, change the source disk format, lather, rinse, repeat. 1 Quote Link to comment
Mist80 Posted March 2 Author Share Posted March 2 12 minutes ago, Mist80 said: But the use of RiserFS isn't the cause of the docker service failing to start is it? That's my primary issue currently. I will have to plan out the fs conversion at a later date. Still keen on some help for the docker issue please. bumping this in case it was missed. Quote Link to comment
trurl Posted March 2 Share Posted March 2 I don't see anything in syslog that indicates it is mounting docker.img or starting docker service. Just some lines saying it is stopping and unmounting docker, and no errors logged about that either. Do you have a screenshot where it is telling you it is failing to start? Quote Link to comment
Mist80 Posted March 2 Author Share Posted March 2 The service just doesn't start on a reboot. Docker config showing it is enabled, but the status at the top says stopped. I have toggled the "enable docker" option to no/yes but same issue persist. Quote Link to comment
trurl Posted March 2 Share Posted March 2 You could try to recreate https://docs.unraid.net/unraid-os/manual/docker-management/#re-create-the-docker-image-file and reinstall https://docs.unraid.net/unraid-os/manual/docker-management/#re-installing-docker-applications Quote Link to comment
Mist80 Posted March 2 Author Share Posted March 2 (edited) I tried to do the recreate but no new vdisk file was created. I also dont see any attempt in syslog for the docker engine to attempt to start. When i disable docker in settings, i do see logs showing: Mar 3 09:09:04 storage emhttpd: shcmd (51771): /etc/rc.d/rc.docker stop Mar 3 09:09:04 storage root: stopping dockerd ... ... but I don't see anything in the logs that shows it attempting to start docker engine when i re-enable it. Any pointers would be greatly appreciated. Edited March 2 by Mist80 Quote Link to comment
Solution Squid Posted March 2 Solution Share Posted March 2 Try it in safe mode and without the dockerd command you're running in /config/go on the flash drive 1 Quote Link to comment
Mist80 Posted March 2 Author Share Posted March 2 Awesome, thanks squid. I think this might be the issue. Is there another way to set the --insecure-registry=localhost:5000 parameter? The gui doesn't allow this setting to be added. Quote Link to comment
Squid Posted March 2 Share Posted March 2 Probably you'd need to run the command after the array is up and running. Make a script via user script to run at first array start Quote Link to comment
Recommended Posts
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.