Giter Site home page Giter Site logo

Comments (8)

markdumay avatar markdumay commented on May 27, 2024 1

Great! I'll add an instruction to the README too ;-)

from synology-docker.

merlin-zaraza avatar merlin-zaraza commented on May 27, 2024

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.

markdumay avatar markdumay commented on May 27, 2024

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.

merlin-zaraza avatar merlin-zaraza commented on May 27, 2024
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.

markdumay avatar markdumay commented on May 27, 2024

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.

merlin-zaraza avatar merlin-zaraza commented on May 27, 2024

yep, remove old container and add it again helps
thank you

from synology-docker.

exotsk avatar exotsk commented on May 27, 2024

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.

markdumay avatar markdumay commented on May 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.