Comments (8)
Great! I'll add an instruction to the README too ;-)
from synology-docker.
Getting Error response from daemon: failed to initialize logging driver: failed to get logging factory: logger: no log driver named 'db' is registered: error looking up logging plugin db: plugin "db" not found
after docker update and trying to start container
from synology-docker.
Can you share the full log of the syno_docker_update.sh
command you ran? And what is the current content of your /var/packages/Docker/etc/dockerd.json
file?
from synology-docker.
Update Docker Engine and Docker Compose on Synology to target version
Current DSM version: 6.2.3
Current Docker version: 18.09.8
Current Docker Compose version: 1.24.0
Target Docker version: 19.03.13
Target Docker Compose version: 1.27.4
WARNING! This will replace:
- Docker Engine
- Docker Compose
- Docker daemon log driver
Are you sure you want to continue? [y/N] y
Step 1 from 10: Downloading target Docker binary (https://download.docker.com/linux/static/stable/x86_64/docker-19.03.13.tgz)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 59.3M 100 59.3M 0 0 10.3M 0 0:00:05 0:00:05 --:--:-- 10.9M
Step 2 from 10: Downloading target Docker Compose binary (https://github.com/docker/compose/releases/download/1.27.4/docker-compose-Linux-x86_64)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 651 100 651 0 0 4691 0 --:--:-- --:--:-- --:--:-- 4717
100 11.6M 100 11.6M 0 0 2430k 0 0:00:04 0:00:04 --:--:-- 2615k
Step 3 from 10: Stopping Docker service
pkgctl-Docker stoped.
Step 4 from 10: Backing up current Docker binaries (/volume1/homes/vitalii/github/synology-docker/docker_backup_20201130_140242.tgz)
bin/
bin/docker
bin/docker-proxy
bin/containerd
bin/docker-compose
bin/auplink
bin/docker-init
bin/dockerd
bin/containerd-shim
bin/ctr
bin/runc
dockerd.json
start-stop-status
Step 5 from 10: Extracting target Docker binary (/tmp/docker_update/docker-19.03.13.tgz)
docker/
docker/ctr
docker/runc
docker/containerd-shim
docker/docker-init
docker/docker-proxy
docker/docker
docker/dockerd
docker/containerd
Step 6 from 10: Installing binaries
Step 7 from 10: Configuring log driver
Step 8 from 10: Enabling IP forwarding
Step 9 from 10: Starting Docker service
pkgctl-Docker started.
Step 10 from 10: Cleaning the temp folder
Done.
{
"data-root" : "/var/packages/Docker/target/docker",
"log-driver" : "json-file",
"registry-mirrors" : [],
"group": "administrators"
}
from synology-docker.
Both the script and daemon configuration appear to be fine. Can you try stopping and restarting the container(s)? It seems to refer to the now obsolete db log driver.
from synology-docker.
yep, remove old container and add it again helps
thank you
from synology-docker.
Start container portainer failed: {"message":"failed to initialize logging driver: failed to get logging factory: logger: no log driver named 'db' is registered: error looking up logging plugin db: plugin "db" not found"}.
Any variants of /var/packages/Docker/etc/dockerd.json
from Updated binaries are incompatible with btrfs #22
was not help.
Recreating containers have the same error, i cant run, pull any container and can`t delete images by GUI and by console
Current DSM version: 6.2.3
Current Docker version: 19.03.14
Current Docker Compose version: 1.27.4
restore is ok.
from synology-docker.
hi @exotsk, to help me identify potential causes of your issue, would you mind submitting a new issue using the bug report template?
from synology-docker.
Related Issues (20)
- Ensure root ownership for Docker binaries
- Ensure folder `/var/lib/docker/volumes` exists
- Allow graceful stopping of script during Docker daemon start/stop
- Support stacked parameters
- Cannot reach containers attached to user-defined bridge network HOT 17
- Folder location HOT 1
- Binaries not installed HOT 5
- Known issues
- Add flag to stop containers before updating
- Store logs on disk
- Lost of connectivity after reboot HOT 10
- [BUG] After update, Docker service doesn't start. HOT 10
- New package release on synology website HOT 1
- Add support for DSM 7
- [FeatureRequest] Add nvidia-docker2 support HOT 7
- Updating to DSM 7 HOT 7
- [BUG] Docker-compose download error HOT 3
- Can't make update in DSM 7.2-64561 HOT 4
- DSM 7.1.1 (DS1813+) and Docker v24.0.6 HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from synology-docker.