Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [Synology Docker]Iobroker startet nicht (no database)

    NEWS

    • ioBroker goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    [Synology Docker]Iobroker startet nicht (no database)

    This topic has been deleted. Only users with topic management privileges can see it.
    • andre
      andre Developer @Sputnik24 last edited by andre

      @sputnik24 sagte in [Synology Docker]Iobroker startet nicht (no database):

      Ich z.B. auf einer DS916+. Seit fünf Jahren problemlos im Einsatz. Nicht einmal neu aufsetzen oder ein Backup einspielen müssen .

      Und dein Filesystem auf dem Volume ist ext4???
      kannst du den getcap befehl von oben ausführen?

      S 1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @Sputnik24 last edited by

        @sputnik24

        Kannst du uns mal die Ausgabe davon geben :

        getcap $(eval readlink -f `which node`)
        
        S 1 Reply Last reply Reply Quote 0
        • S
          Sputnik24 @andre last edited by

          @andre said in [Synology Docker]Iobroker startet nicht (no database):

          @sputnik24 sagte in [Synology Docker]Iobroker startet nicht (no database):

          Ich z.B. auf einer DS916+. Seit fünf Jahren problemlos im Einsatz. Nicht einmal neu aufsetzen oder ein Backup einspielen müssen .

          Und dein Filesystem auf dem Volume ist ext4???

          Ja.

          andre 1 Reply Last reply Reply Quote 0
          • andre
            andre Developer @Sputnik24 last edited by

            @sputnik24 Aber du bist auf DSM 6, oder?

            Glasfaser S 3 Replies Last reply Reply Quote 0
            • S
              Sputnik24 @Glasfaser last edited by Sputnik24

              @glasfaser said in [Synology Docker]Iobroker startet nicht (no database):

              @sputnik24

              Kannst du uns mal die Ausgabe davon geben :

              getcap $(eval readlink -f `which node`)
              
              Failed to get capabilities of file '/usr/bin/node' (Operation not supported)
              
              andre 1 Reply Last reply Reply Quote 0
              • Glasfaser
                Glasfaser @andre last edited by

                @andre

                habe ich mir schon gedacht !

                1 Reply Last reply Reply Quote 0
                • S
                  Sputnik24 @andre last edited by Sputnik24

                  @andre said in [Synology Docker]Iobroker startet nicht (no database):

                  @sputnik24 Aber du bist auf DSM 6, oder?

                  7.1-42661 Update 2

                  1 Reply Last reply Reply Quote 0
                  • andre
                    andre Developer @Sputnik24 last edited by

                    @sputnik24 sagte in [Synology Docker]Iobroker startet nicht (no database):

                    Failed to get capabilities of file '/usr/bin/node' (Operation not supported)

                    Du hast das gleich Problem. Solange der js-controller die capabilities nicht neu setzen will/muss passiert aber vermutlich auch nix....

                    S 1 Reply Last reply Reply Quote 1
                    • Glasfaser
                      Glasfaser @andre last edited by

                      @andre sagte in [Synology Docker]Iobroker startet nicht (no database):

                      @sputnik24 Aber du bist auf DSM 6, oder?

                      Ich habe auch so eine Vermutung .... wie schon bekannt ist DSM 7 nicht einfacher geworden , fing schon mit den USB Port´s an ....

                      Jetzt fehlt noch ein User mit DSM 6 als Vergleich .

                      @haselchen dein Einsatz 🙂

                      andre 1 Reply Last reply Reply Quote 0
                      • andre
                        andre Developer @Glasfaser last edited by

                        @glasfaser sagte in [Synology Docker]Iobroker startet nicht (no database):

                        Jetzt fehlt noch ein User mit DSM 6 als Vergleich .

                        Ich habe noch DSM 6. 🙂 Aber mein Volume ist btrfs... Bei mir klappt alles...
                        Auch irgendwie komisch. Das wird doch eigentlich als Standard vorgeschlagen, oder?

                        MfG,
                        André

                        Glasfaser S 2 Replies Last reply Reply Quote 0
                        • S
                          Sputnik24 @andre last edited by

                          @andre said in [Synology Docker]Iobroker startet nicht (no database):

                          @sputnik24 sagte in [Synology Docker]Iobroker startet nicht (no database):

                          Failed to get capabilities of file '/usr/bin/node' (Operation not supported)

                          Du hast das gleich Problem. Solange der js-controller die capabilities nicht neu setzen will/muss passiert aber vermutlich auch nix....

                          Heißt, was müsste ich beim Update auf nodejs 16 beachten? Erst alle Adapter, v.a. den js-controller auf den neuesten Stand bringen und dann neuen Docker Container mit Version 16 erstellen?

                          andre Glasfaser 2 Replies Last reply Reply Quote 0
                          • Glasfaser
                            Glasfaser @andre last edited by

                            @andre sagte in [Synology Docker]Iobroker startet nicht (no database):

                            Das wird doch eigentlich als Standard vorgeschlagen, oder?

                            Puhh ... das ist schon lange her ., weiß ich nicht mehr .. habe schon immer so ... auch gewollt auf Raid / btrfs

                            1 Reply Last reply Reply Quote 0
                            • S
                              Sputnik24 @andre last edited by

                              @andre said in [Synology Docker]Iobroker startet nicht (no database):

                              @glasfaser sagte in [Synology Docker]Iobroker startet nicht (no database):

                              Jetzt fehlt noch ein User mit DSM 6 als Vergleich .

                              Ich habe noch DSM 6. 🙂 Aber mein Volume ist btrfs... Bei mir klappt alles...
                              Auch irgendwie komisch. Das wird doch eigentlich als Standard vorgeschlagen, oder?

                              MfG,
                              André

                              Nicht vor 6 Jahren, als ich die Synology mit... Was war damals aktuell? DSM 5?... In Betrieb genommen habe.

                              andre 1 Reply Last reply Reply Quote 0
                              • andre
                                andre Developer @Sputnik24 last edited by

                                @sputnik24 sagte in [Synology Docker]Iobroker startet nicht (no database):

                                Heißt, was müsste ich beim Update auf nodejs 16 beachten?

                                Ich kann es dir ehrlich gesagt nicht sagen. Auf jeden Falls sollten Adapter und js-controller aktuell sein...
                                Rein von der Logik her müsste der js-controller aber dann node 16 statt 14 erkennen und ggf. auch versuchen die capabilities zu setzen... und dann stündest du am selben punkt...

                                S 1 Reply Last reply Reply Quote 0
                                • S
                                  Sputnik24 @andre last edited by

                                  @andre said in [Synology Docker]Iobroker startet nicht (no database):

                                  @sputnik24 sagte in [Synology Docker]Iobroker startet nicht (no database):

                                  Heißt, was müsste ich beim Update auf nodejs 16 beachten?

                                  Ich kann es dir ehrlich gesagt nicht sagen. Auf jeden Falls sollten Adapter und js-controller aktuell sein...
                                  Rein von der Logik her müsste der js-controller aber dann node 16 statt 14 erkennen und ggf. auch versuchen die capabilities zu setzen... und dann stündest du am selben punkt...

                                  Gut zu wissen. Hm. Überlege eh schon lange, weg von Synology hin zu Mini-PC und Proxmox. Vielleicht ist das jetzt der Wink 😉

                                  Danke für die spannende Diskussion und den tollen Support.

                                  1 Reply Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @Sputnik24 last edited by

                                    @sputnik24 sagte in [Synology Docker]Iobroker startet nicht (no database):

                                    Heißt, was müsste ich beim Update auf nodejs 16 beachten?

                                    Lese mal den Hinweis im Thread anfang zu Nodejs 16 :

                                    https://forum.iobroker.net/topic/35090/howto-nodejs-installation-und-upgrades-unter-debian

                                    bzw. wenn du aktiv hier im Forum bist ist fast jeder 5 neu erstellte Thread davon ..

                                    "kann nach update auf Nodejs 16 " nicht mehr updaten !

                                    1 Reply Last reply Reply Quote 0
                                    • andre
                                      andre Developer @Sputnik24 last edited by

                                      @sputnik24 sagte in [Synology Docker]Iobroker startet nicht (no database):

                                      Nicht vor 6 Jahren, als ich die Synology mit... Was war damals aktuell? DSM 5?... In Betrieb genommen habe.

                                      Hab gerade geschaut. Meine 1515+ ist heute auf den Tag 6 Jahre alt und wurde mit DSM 6 ausgeliefert. Da war es standard sonst hätte ich es wohl vermutlich nicht so gemacht. 🙂

                                      S 1 Reply Last reply Reply Quote 0
                                      • S
                                        Sputnik24 @andre last edited by

                                        @andre said in [Synology Docker]Iobroker startet nicht (no database):

                                        @sputnik24 sagte in [Synology Docker]Iobroker startet nicht (no database):

                                        Nicht vor 6 Jahren, als ich die Synology mit... Was war damals aktuell? DSM 5?... In Betrieb genommen habe.

                                        Hab gerade geschaut. Meine 1515+ ist heute auf den Tag 6 Jahre alt und wurde mit DSM 6 ausgeliefert. Da war es standard sonst hätte ich es wohl vermutlich nicht so gemacht. 🙂

                                        Auch das kann ich erklären. Der Vorgänger war eine 415+, die mit DSM 5 ausgeliefert wurde. Diese hatte ich wegen des CPU Bugs innerhalb der Gewährleistung zurückgegeben und mir eine 916+ gekauft und die Festplatten einfach in die neue Syno gesetzt und migriert.

                                        1 Reply Last reply Reply Quote 0
                                        • S
                                          SimKa last edited by

                                          Hallo,

                                          Vielen Dank erst ma für euere tolle Unterstützung.
                                          Es tut mir leid, dass ich so spät antworte. Bin leider nicht früher dazu gekommen, das Volume umzustellen. Habe es nun getan aber nach dem Einspielen des Backups geht es weiterhin nicht. Set cap werden laut Log aber richtig gesetzt, das Problem scheint behoben zu sein.

                                          Nun habe ich folgendes Problem

                                          2022-07-24 07:53:34.161  - info: host.iobroker-neu iobroker.js-controller version 4.0.23 js-controller starting
                                          2022-07-24 07:53:34.176  - info: host.iobroker-neu Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                                          2022-07-24 07:53:34.178  - info: host.iobroker-neu hostname: iobroker-neu, node: v14.20.0
                                          2022-07-24 07:53:34.180  - info: host.iobroker-neu ip addresses: 172.17.0.2
                                          2022-07-24 07:53:34.794  - info: host.iobroker-neu connected to Objects and States
                                          2022-07-24 07:53:34.842  - info: host.iobroker-neu Node.js version has changed from unknown to 14.20.0
                                          2022-07-24 07:53:34.974  - info: host.iobroker-neu added notifications configuration of host
                                          2022-07-24 07:53:35.089  - info: host.iobroker-neu Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node
                                          2022-07-24 07:53:35.545  - info: host.iobroker-neu 3 instances found
                                          2022-07-24 07:53:35.566  - info: host.iobroker-neu starting 3 instances
                                          2022-07-24 07:53:35.659  - info: host.iobroker-neu instance system.adapter.admin.0 started with pid 1090
                                          2022-07-24 07:53:36.001  - info: host.iobroker-neu Created UUID: af6d0dcd-989c-495f-b9e9-a9de5cee9b2f
                                          2022-07-24 07:53:39.026  - info: admin.0 (1090) starting. Version 5.3.8 in /opt/iobroker/node_modules/iobroker.admin, node: v14.20.0, js-controller: 4.0.23
                                          2022-07-24 07:53:39.114  - info: admin.0 (1090) requesting all states
                                          2022-07-24 07:53:39.115  - info: admin.0 (1090) requesting all objects
                                          2022-07-24 07:53:39.294  - info: admin.0 (1090) received all objects
                                          2022-07-24 07:53:39.349  - info: admin.0 (1090) Request actual repository...
                                          2022-07-24 07:53:39.371  - info: host.iobroker-neu Updating repository "stable" under "http://download.iobroker.net/sources-dist.json"
                                          2022-07-24 07:53:39.536  - info: admin.0 (1090) http server listening on port 8081
                                          2022-07-24 07:53:39.537  - info: admin.0 (1090) Use link "http://localhost:8081" to configure.
                                          2022-07-24 07:53:39.727  - info: host.iobroker-neu instance system.adapter.discovery.0 started with pid 1117
                                          2022-07-24 07:53:39.754  - warn: admin.0 (1090) Repository cannot be read: Active repo - stable
                                          2022-07-24 07:53:39.773  - warn: admin.0 (1090) Active repository "stable cannot be read
                                          2022-07-24 07:53:43.240  - info: admin.0 (1090) Repository received successfully.
                                          2022-07-24 07:53:43.630  - info: host.iobroker-neu instance system.adapter.backitup.0 started with pid 1128
                                          2022-07-24 07:53:43.934  - info: discovery.0 (1117) starting. Version 3.0.3 in /opt/iobroker/node_modules/iobroker.discovery, node: v14.20.0, js-controller: 4.0.23
                                          2022-07-24 07:53:46.842  - info: backitup.0 (1128) starting. Version 2.4.6 in /opt/iobroker/node_modules/iobroker.backitup, node: v14.20.0, js-controller: 4.0.23
                                          2022-07-24 07:53:46.974  - info: backitup.0 (1128) [iobroker] backup was activated at 02:40 every 1 day(s)
                                          2022-07-24 07:58:23.217  - info: backitup.0 (1128) cleaned everything up...
                                          2022-07-24 07:58:23.216  - info: host.iobroker-neu received SIGTERM
                                          2022-07-24 07:58:23.226  - info: admin.0 (1090) terminating http server on port 8081
                                          2022-07-24 07:58:23.236  - info: host.iobroker-neu stopInstance system.adapter.admin.0 (force=false, process=true)
                                          2022-07-24 07:58:23.239  - info: host.iobroker-neu stopInstance system.adapter.discovery.0 (force=false, process=true)
                                          2022-07-24 07:58:23.240  - info: host.iobroker-neu stopInstance system.adapter.backitup.0 (force=false, process=true)
                                          2022-07-24 07:58:23.273  - info: admin.0 (1090) Got terminate signal TERMINATE_YOURSELF
                                          2022-07-24 07:58:23.275  - info: discovery.0 (1117) Got terminate signal TERMINATE_YOURSELF
                                          2022-07-24 07:58:23.278  - info: backitup.0 (1128) Got terminate signal TERMINATE_YOURSELF
                                          2022-07-24 07:58:23.284  - info: discovery.0 (1117) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                                          2022-07-24 07:58:23.286  - info: admin.0 (1090) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                                          2022-07-24 07:58:23.289  - info: host.iobroker-neu stopInstance system.adapter.admin.0 send kill signal
                                          2022-07-24 07:58:23.295  - info: host.iobroker-neu stopInstance system.adapter.discovery.0 send kill signal
                                          2022-07-24 07:58:23.296  - info: host.iobroker-neu stopInstance system.adapter.backitup.0 send kill signal
                                          2022-07-24 07:58:23.330  - info: backitup.0 (1128) Terminated (START_IMMEDIATELY_AFTER_STOP): Without reason
                                          2022-07-24 07:58:23.903  - info: host.iobroker-neu instance system.adapter.discovery.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
                                          2022-07-24 07:58:23.947  - info: host.iobroker-neu instance system.adapter.admin.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
                                          2022-07-24 07:58:23.974  - info: host.iobroker-neu instance system.adapter.backitup.0 terminated with code 156 (START_IMMEDIATELY_AFTER_STOP)
                                          2022-07-24 07:58:23.976  - info: host.iobroker-neu All instances are stopped.
                                          2022-07-24 07:58:24.096  - info: host.iobroker-neu terminated
                                          2022-07-24 08:02:37.840  - info: host.iobroker iobroker.js-controller version 4.0.23 js-controller starting
                                          2022-07-24 08:02:37.856  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                                          2022-07-24 08:02:37.858  - info: host.iobroker hostname: iobroker, node: v14.20.0
                                          2022-07-24 08:02:37.859  - info: host.iobroker ip addresses: 172.17.0.2
                                          2022-07-24 08:02:39.837  - info: host.iobroker connected to Objects and States
                                          2022-07-24 08:02:39.928  - info: host.iobroker Node.js version has changed from unknown to 14.20.0
                                          2022-07-24 08:02:39.969  - info: host.iobroker added notifications configuration of host
                                          2022-07-24 08:02:40.803  - info: host.iobroker Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node
                                          2022-07-24 08:02:40.915  - info: host.iobroker Delete host system.host.iobroker-neu
                                          2022-07-24 08:02:41.020  - info: host.iobroker 28 instances found
                                          2022-07-24 08:02:41.049  - warn: host.iobroker does not start any instances on this host
                                          2022-07-24 08:03:57.749  - info: host.iobroker iobroker.js-controller version 4.0.23 js-controller starting
                                          2022-07-24 08:03:57.763  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                                          2022-07-24 08:03:57.764  - info: host.iobroker hostname: iobroker, node: v14.20.0
                                          2022-07-24 08:03:57.766  - info: host.iobroker ip addresses: 172.17.0.2
                                          2022-07-24 08:03:59.705  - info: host.iobroker connected to Objects and States
                                          2022-07-24 08:03:59.756  - info: host.iobroker added notifications configuration of host
                                          2022-07-24 08:03:59.768  - info: host.iobroker Node.js version has changed from unknown to 14.20.0
                                          2022-07-24 08:03:59.883  - info: host.iobroker Successfully updated capabilities "cap_net_admin, cap_net_bind_service, cap_net_raw" for /usr/bin/node
                                          2022-07-24 08:04:00.474  - info: host.iobroker Delete host system.host.iobroker-neu
                                          2022-07-24 08:04:00.580  - info: host.iobroker 28 instances found
                                          2022-07-24 08:04:00.615  - warn: host.iobroker does not start any instances on this host
                                          

                                          Wieso startet der iobroker keine Instanz?
                                          Ich habe dann erfolgreich den iobroker fix durchlaufen lassen:

                                          curl -sL https://iobroker.net/fix.sh | bash -
                                          

                                          Danach erhalte ich dieses Log

                                          2022-07-25 12:02:52.501  - info: host.iobroker iobroker.js-controller version 4.0.23 js-controller starting
                                          2022-07-25 12:02:52.516  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                                          2022-07-25 12:02:52.517  - info: host.iobroker hostname: iobroker, node: v14.20.0
                                          2022-07-25 12:02:52.519  - info: host.iobroker ip addresses: 172.17.0.2
                                          2022-07-25 12:02:54.668  - error: host.iobroker-Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
                                          

                                          ich habe den Docker gestoppt, die objects.jsonl.lock Datei gelöscht und erneut gestartet.

                                          root@iobroker-neu:/opt/iobroker# pkill -u iobroker                                                                                                                                                  
                                          root@iobroker-neu:/opt/iobroker# iobroker start                                                                                                                                                     
                                          Starting iobroker controller daemon...                                                                                                                                                              
                                          iobroker controller daemon started. PID: 16915                                                                                                                                                      
                                          root@iobroker-neu:/opt/iobroker# 
                                          
                                          2022-07-25 12:08:24.468  - info: host.iobroker received SIGTERM
                                          2022-07-25 12:08:24.572  - info: host.iobroker terminated
                                          2022-07-25 12:08:32.544  - info: host.iobroker iobroker.js-controller version 4.0.23 js-controller starting
                                          2022-07-25 12:08:32.557  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                                          2022-07-25 12:08:32.559  - info: host.iobroker hostname: iobroker, node: v14.20.0
                                          2022-07-25 12:08:32.560  - info: host.iobroker ip addresses: 172.17.0.2
                                          2022-07-25 12:08:35.027  - info: host.iobroker connected to Objects and States
                                          2022-07-25 12:08:35.089  - info: host.iobroker added notifications configuration of host
                                          2022-07-25 12:08:35.902  - info: host.iobroker 28 instances found
                                          2022-07-25 12:08:35.929  - warn: host.iobroker does not start any instances on this host
                                          

                                          Ich habe verschieden Backups versucht, leider bei allen das Problem 😞

                                          andre 1 Reply Last reply Reply Quote 0
                                          • andre
                                            andre Developer @SimKa last edited by andre

                                            @simka sagte in [Synology Docker]Iobroker startet nicht (no database):

                                            ich habe den Docker gestoppt, die objects.jsonl.lock Datei gelöscht und erneut gestartet.
                                            root@iobroker-neu:/opt/iobroker# pkill -u iobroker root@iobroker-neu:/opt/iobroker# iobroker start Starting iobroker controller daemon... iobroker controller daemon started. PID: 16915 root@iobroker-neu:/opt/iobroker#

                                            Bitte kein iobroker start im container. Stattdessen bitte den container neu starten!

                                            Was sagt das container log? Nutzt du Multihost?

                                            Falls du kein Multihost nutzt mach mal in der Konsole des containers:
                                            pkill -u iobroker ODER maint on -y (besser, weils sauberer shutdown vom ioBroker)
                                            und dann
                                            iobroker host this
                                            Danach den Container neu starten...

                                            MfG,
                                            André

                                            S 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            697
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            11
                                            130
                                            7772
                                            Loading More Posts
                                            • Oldest to Newest
                                            • Newest to Oldest
                                            • Most Votes
                                            Reply
                                            • Reply as topic
                                            Log in to reply
                                            Community
                                            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                            The ioBroker Community 2014-2023
                                            logo