-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] After update, Docker service doesn't start. #48
Comments
Hi @CardcaptorRLH85, sorry to hear about your issues. Luckily you were able to restore the Docker engine to its original state. The log file and configuration all look normal to me, right until step 9 that is. A few thoughts and questions, if you're up for additional investigation.
|
I'd be glad to help out.
When I tried shutting down all of my containers first just now, it worked. I probably should have tried that but it just never crossed my mind. EDIT: It seems like there's a different issue now, unfortunately. When I try to start a container I see this message:
Without looking into it I'm guessing that the db logging driver is a Synology-specific thing (after looking for just a couple of minutes I didn't see it mentioned in Docker's documentation anywhere) so, I'd understand if it doesn't work after an update. As my terminal output demonstrates, I then decided to rename the old container and recreate it from the command line. Unfortunately, I then got the Secondly, I've noticed that after this update all of the environment variables on my containers have been removed. I don't know what happened, they're just gone. |
Thanks for the follow up @CardcaptorRLH85.
The
The
I have heard about similar issues from other users. I haven't found a way to recreate the issue yet. For now the only thing I can recommend is to use Docker Compose instead. It allows you to script the entire container initiation, including environment variables. Hopefully it won't cost you to much effort to recreate your containers. I'll add this as a known issue too. |
I'd just finished reading the Known Issues and was about to edit my comment again before you replied. Unfortunately, that change to my config doesn't fix things. Since this makes the third time that I'll be editing the variables for ~2 dozen containers in the last few days, I'll certainly take your Docker Compose advice after restoring to the Synology version of Docker again. |
The storage driver seems to be a tough one to fix. Docker's documentation provides some additional clues. If you have the time and patience, you could try alternative storage drivers instead. See below table for an overview.
I haven't tested this myself, but I'd be curious to know if any one of these storage drivers help. A warning from Docker:
|
I got a question, I'm trying to change my storage driver to overlay2, my backend is already a ext4 volume. The docker daemon fail to start but i can't figure out where the daemon log are located. The Context: I'm to run the k3s agent on my synology so that it can act as a node for storage but it require an overlay storage driver. |
Does |
Oh thanks! Just checked, now I got something to investigate :
Same thing with Kernel version is I could try to install fuse-overlayfs. |
It's a pity that Synology does not support the overlay driver. They tend to heavily modify their distribution, so it doesn't come as a surprise. I came across this article on Medium from Kristofer Lundgren, who used Docker in Docker instead of upgrading the Docker daemon. Might be worth investigating? |
I also have this issue (doesn't start), but this is the error I see in: 2023-02-25T08:28:34-0500 ERRO[2023-02-25T08:28:34.505536938-05:00] [graphdriver] prior storage driver aufs is deprecated and will be removed This is on an old DS712+ running DSM 6.2.4-25556 Update 6 I may try this but a little nervous based on others attempts at changing storage drivers. |
I also have this issue on a DS1815+ with DSM7.1.1.
|
Describe the bug
Exactly as it says in the title, the Docker service doesn't start after being updated with this script. Fortunately, everything still works if I restore the binaries from the backup but, the entire reason for me to use this script was to get a more up-to-date version of Docker due to the known issue of not being able to update environment variables with the version currently supplied by Synology.
Here is the specific error message:
To reproduce
I ran the following command:
sudo ./syno_docker_update.sh update
and it failed at "Step 9 from 10: Starting Docker service".
Expected behavior
I expected Docker to simply start running again after the update.
Log file
Docker daemon configuration
Additional context
As I was going back through the steps to collect the data for this bug report, I decided to try installing Docker version 19.03.14 (currently the latest version of the 19.x branch) instead of the latest version (as of now 20.10.2). Unfortunately, that too failed in the same manner. So, I finally tried an upgrade to the most recent version of the 18.x branch, 18.09.9 which is only one revision (and just under two months) newer than the eighteen-month-old 18.09.8 version that Synology currently ships. However, that also failed in the same manner.
The text was updated successfully, but these errors were encountered: