Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. [HowTo] ioBroker unter Docker auf Synology DiskStation

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.5k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.6k

[HowTo] ioBroker unter Docker auf Synology DiskStation

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
iobrokerdockerbuanetsynologydiskstation
2.9k Beiträge 248 Kommentatoren 1.6m Aufrufe 123 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • StM47S StM47

    Hallo all,

    ich habe aktuell Andres Image in Version 4.0 auf meiner Syno mit Portainer installiert. Läuft soweit ganz gut.
    Allerdings konnte ich die Instalation nur ohne Volume mapping, also ohne automatische Sicherung der Daten von /opt/iobroker in ein lokales Verzeichnis erstellen.
    Habe alles so gemacht, wie von Andre beschrieben.
    container: /opt/iobroker
    host: /volume1/docker/iobroker_data
    Das Verzeichnis habe ich natürlich vorher angelegt.
    Nach der Installation mit Volume mapping, ist ioBroker beim Start, bei Punkt 2 stehen geblieben und hat sich anschließend immer wieder selber neu gestertet. Man kann den Start im Portainer unter Logs live mitverfolgen.
    Ohne Volume mapping läuft der Start problemlos.
    Woran kann das liegen, dass Volume mapping bei mitr nicht funktioniert?

    GlasfaserG Offline
    GlasfaserG Offline
    Glasfaser
    schrieb am zuletzt editiert von
    #1211

    @StM47 sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

    Hallo all,

    Das Verzeichnis habe ich natürlich vorher angelegt.

    Vielleicht liegt es am Besitzer/Rechte , so ist es bei mir ,

    1.JPG

    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

    1 Antwort Letzte Antwort
    0
    • StM47S Offline
      StM47S Offline
      StM47
      schrieb am zuletzt editiert von StM47
      #1212

      @Glasfaser sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

      ,

      Ich denke auch, dass es an den Rechten liegt.
      Ich habe das Verzeichnis mit meienm Admin angelegt und dem Verzeichnis Lese- und Schreibrechte gegeben.

      ioBroker im Docker auf Synology DiskStation DS 716+II mit DSM 6.2.1

      • Lightmanager Air / Lupusec XT2 Plus mit div. Fenster- u. Türkontakten, Rauch- u. Bewegungsmelder / Harmony Hub / Fritzbox 7590 OS7
      • schaltbare Steckdosen / Alexa Echo Dot 3 / Zigbee USB Stick / diverse Xiaomi Produkte / Xiaomi Yeelight Birnen
      GlasfaserG 1 Antwort Letzte Antwort
      0
      • StM47S StM47

        @Glasfaser sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

        ,

        Ich denke auch, dass es an den Rechten liegt.
        Ich habe das Verzeichnis mit meienm Admin angelegt und dem Verzeichnis Lese- und Schreibrechte gegeben.

        GlasfaserG Offline
        GlasfaserG Offline
        Glasfaser
        schrieb am zuletzt editiert von
        #1213

        @StM47

        1.JPG

        Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

        NegaleinN 1 Antwort Letzte Antwort
        0
        • StM47S Offline
          StM47S Offline
          StM47
          schrieb am zuletzt editiert von
          #1214

          Ich danke dir.
          Das Verzeichnis hatte tatsächlich nur Leserechte.
          Habe es abgeändert und iobroker neu installiert.
          Jetzt Läft auch Volume mapping.

          Sehr geil.

          ioBroker im Docker auf Synology DiskStation DS 716+II mit DSM 6.2.1

          • Lightmanager Air / Lupusec XT2 Plus mit div. Fenster- u. Türkontakten, Rauch- u. Bewegungsmelder / Harmony Hub / Fritzbox 7590 OS7
          • schaltbare Steckdosen / Alexa Echo Dot 3 / Zigbee USB Stick / diverse Xiaomi Produkte / Xiaomi Yeelight Birnen
          GlasfaserG 1 Antwort Letzte Antwort
          0
          • StM47S StM47

            Ich danke dir.
            Das Verzeichnis hatte tatsächlich nur Leserechte.
            Habe es abgeändert und iobroker neu installiert.
            Jetzt Läft auch Volume mapping.

            Sehr geil.

            GlasfaserG Offline
            GlasfaserG Offline
            Glasfaser
            schrieb am zuletzt editiert von
            #1215

            @StM47

            Freut mich das es daran lag …… und es jetzt funktioniert.

            Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

            1 Antwort Letzte Antwort
            1
            • StM47S Offline
              StM47S Offline
              StM47
              schrieb am zuletzt editiert von
              #1216

              @dslraser sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

              npm install ioBroker/ioBroker.js-controller

              Ja, mich auch.
              Ich habe noch ein Backitup Backup tar.gz
              Kann ich das jetzt in das Verzeichnis Backup legen und wiederherstellen?

              ioBroker im Docker auf Synology DiskStation DS 716+II mit DSM 6.2.1

              • Lightmanager Air / Lupusec XT2 Plus mit div. Fenster- u. Türkontakten, Rauch- u. Bewegungsmelder / Harmony Hub / Fritzbox 7590 OS7
              • schaltbare Steckdosen / Alexa Echo Dot 3 / Zigbee USB Stick / diverse Xiaomi Produkte / Xiaomi Yeelight Birnen
              GlasfaserG 1 Antwort Letzte Antwort
              0
              • StM47S StM47

                @dslraser sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                npm install ioBroker/ioBroker.js-controller

                Ja, mich auch.
                Ich habe noch ein Backitup Backup tar.gz
                Kann ich das jetzt in das Verzeichnis Backup legen und wiederherstellen?

                GlasfaserG Offline
                GlasfaserG Offline
                Glasfaser
                schrieb am zuletzt editiert von
                #1217

                @StM47

                Ja, aber dann ein Minimal-Backup

                Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                StM47S 1 Antwort Letzte Antwort
                0
                • StM47S Offline
                  StM47S Offline
                  StM47
                  schrieb am zuletzt editiert von StM47
                  #1218

                  Ja, ein Minimal- Backup
                  minimal_2019_10_24-02_00_11_Backup iobroker Standard_backupiobroker.tar.gz

                  Kannst du mir kurz erklären, wie ich das Backup wiederherstelle?
                  Möchte keine Fehler mehr machen.

                  ioBroker im Docker auf Synology DiskStation DS 716+II mit DSM 6.2.1

                  • Lightmanager Air / Lupusec XT2 Plus mit div. Fenster- u. Türkontakten, Rauch- u. Bewegungsmelder / Harmony Hub / Fritzbox 7590 OS7
                  • schaltbare Steckdosen / Alexa Echo Dot 3 / Zigbee USB Stick / diverse Xiaomi Produkte / Xiaomi Yeelight Birnen
                  GlasfaserG 1 Antwort Letzte Antwort
                  0
                  • StM47S StM47

                    Ja, ein Minimal- Backup
                    minimal_2019_10_24-02_00_11_Backup iobroker Standard_backupiobroker.tar.gz

                    Kannst du mir kurz erklären, wie ich das Backup wiederherstelle?
                    Möchte keine Fehler mehr machen.

                    GlasfaserG Offline
                    GlasfaserG Offline
                    Glasfaser
                    schrieb am zuletzt editiert von
                    #1219

                    @StM47

                    hier in den Ordner legen :

                    2.JPG

                    Weiteres vorgehen hier :
                    Link Text

                    Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                    1 Antwort Letzte Antwort
                    0
                    • StM47S Offline
                      StM47S Offline
                      StM47
                      schrieb am zuletzt editiert von
                      #1220

                      Und dann?

                      Mit Backitup local wiederherstellen oder über die Konsole?

                      ioBroker im Docker auf Synology DiskStation DS 716+II mit DSM 6.2.1

                      • Lightmanager Air / Lupusec XT2 Plus mit div. Fenster- u. Türkontakten, Rauch- u. Bewegungsmelder / Harmony Hub / Fritzbox 7590 OS7
                      • schaltbare Steckdosen / Alexa Echo Dot 3 / Zigbee USB Stick / diverse Xiaomi Produkte / Xiaomi Yeelight Birnen
                      GlasfaserG 1 Antwort Letzte Antwort
                      0
                      • StM47S StM47

                        Und dann?

                        Mit Backitup local wiederherstellen oder über die Konsole?

                        GlasfaserG Offline
                        GlasfaserG Offline
                        Glasfaser
                        schrieb am zuletzt editiert von
                        #1221

                        @StM47

                        Mit dem Adapter backitup wiederherstellen ,
                        nicht über die Konsole!

                        Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                        1 Antwort Letzte Antwort
                        1
                        • StM47S Offline
                          StM47S Offline
                          StM47
                          schrieb am zuletzt editiert von
                          #1222

                          Probiere ich aus.
                          Danke dir errst mal!

                          ioBroker im Docker auf Synology DiskStation DS 716+II mit DSM 6.2.1

                          • Lightmanager Air / Lupusec XT2 Plus mit div. Fenster- u. Türkontakten, Rauch- u. Bewegungsmelder / Harmony Hub / Fritzbox 7590 OS7
                          • schaltbare Steckdosen / Alexa Echo Dot 3 / Zigbee USB Stick / diverse Xiaomi Produkte / Xiaomi Yeelight Birnen
                          1 Antwort Letzte Antwort
                          0
                          • GlasfaserG Glasfaser

                            @StM47

                            1.JPG

                            NegaleinN Offline
                            NegaleinN Offline
                            Negalein
                            Global Moderator
                            schrieb am zuletzt editiert von
                            #1223

                            @Glasfaser sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                            @StM47

                            1.JPG

                            Ist das direkt auf der Synology?
                            Oder greifst du da mit einem anderen Tool darauf zu um die Rechte zu ändern?

                            Hatte seit V4 auch schon bei 2 Ordnern das Problem.

                            ° Node.js: 20.17.0 NPM: 10.8.2
                            ° Proxmox, Ubuntu 22.04.3 LTS
                            ° Fixer ---> iob fix

                            GlasfaserG 1 Antwort Letzte Antwort
                            0
                            • NegaleinN Negalein

                              @Glasfaser sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                              @StM47

                              1.JPG

                              Ist das direkt auf der Synology?
                              Oder greifst du da mit einem anderen Tool darauf zu um die Rechte zu ändern?

                              Hatte seit V4 auch schon bei 2 Ordnern das Problem.

                              GlasfaserG Offline
                              GlasfaserG Offline
                              Glasfaser
                              schrieb am zuletzt editiert von
                              #1224

                              @Negalein sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                              @Glasfaser sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:
                              Oder greifst du da mit einem anderen Tool darauf zu um die Rechte zu ändern?

                              Ich nutze schon seit Jahren das Programm WinSCP um auf allen Ordner der Synology zuzugreifen.

                              Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                              NegaleinN 1 Antwort Letzte Antwort
                              0
                              • GlasfaserG Glasfaser

                                @Negalein sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                                @Glasfaser sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:
                                Oder greifst du da mit einem anderen Tool darauf zu um die Rechte zu ändern?

                                Ich nutze schon seit Jahren das Programm WinSCP um auf allen Ordner der Synology zuzugreifen.

                                NegaleinN Offline
                                NegaleinN Offline
                                Negalein
                                Global Moderator
                                schrieb am zuletzt editiert von
                                #1225

                                @Glasfaser sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                                Ich nutze schon seit Jahren das Programm WinSCP um auf allen Ordner der Synology zuzugreifen.

                                Danke

                                Muss ich mir anschauen.

                                ° Node.js: 20.17.0 NPM: 10.8.2
                                ° Proxmox, Ubuntu 22.04.3 LTS
                                ° Fixer ---> iob fix

                                GlasfaserG 1 Antwort Letzte Antwort
                                0
                                • NegaleinN Negalein

                                  @Glasfaser sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                                  Ich nutze schon seit Jahren das Programm WinSCP um auf allen Ordner der Synology zuzugreifen.

                                  Danke

                                  Muss ich mir anschauen.

                                  GlasfaserG Offline
                                  GlasfaserG Offline
                                  Glasfaser
                                  schrieb am zuletzt editiert von
                                  #1226

                                  @Negalein

                                  Hier die Doku zum Einstellen / Einrichten .
                                  Link Text

                                  Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                  NegaleinN 1 Antwort Letzte Antwort
                                  0
                                  • GlasfaserG Glasfaser

                                    @Negalein

                                    Hier die Doku zum Einstellen / Einrichten .
                                    Link Text

                                    NegaleinN Offline
                                    NegaleinN Offline
                                    Negalein
                                    Global Moderator
                                    schrieb am zuletzt editiert von
                                    #1227

                                    @Glasfaser sagte in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                                    @Negalein

                                    Hier die Doku zum Einstellen / Einrichten .
                                    Link Text

                                    Bin schon auf der Syno.
                                    An den Rechten passt alles.

                                    ° Node.js: 20.17.0 NPM: 10.8.2
                                    ° Proxmox, Ubuntu 22.04.3 LTS
                                    ° Fixer ---> iob fix

                                    1 Antwort Letzte Antwort
                                    0
                                    • Thomas WT Offline
                                      Thomas WT Offline
                                      Thomas W
                                      schrieb am zuletzt editiert von Thomas W
                                      #1228

                                      Hallo,

                                      habe auch (aus versehen) auf 4.0 upgedatet. Nun startet iobroker nicht mehr. Gibt es eine "schnelle" Anleitung, wie ich Iobroker neu installieren kann, wobe ich meine daten (alte Logs, Konfig, etc.) behalten kann?

                                      Aktuell ist es so, dass ich iobroker nicht mehr zum Starten bekomme:

                                      Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/controller.js

                                      npm rebuild

                                      > node lib/preinstallCheck.js
                                      
                                      
                                      ┌───────────────────────────────────────────────────┐
                                      │              npm update check failed              │
                                      │        Try running with sudo or get access        │
                                      │       to the local update config store via        │
                                      │ sudo chown -R $USER:$(id -gn $USER) /root/.config │
                                      └───────────────────────────────────────────────────┘
                                      NPM version: 5.6.0
                                      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                      WARNING:
                                      You are using an unsupported npm version!
                                      This can lead to problems when installing further packages
                                      
                                      Please use "npm install -g npm@4" to downgrade npm to 4.x or
                                      use "npm install -g npm@latest" to install a supported version of npm!
                                      You need to make sure to repeat this step after installing an update to NodeJS and/or npm.
                                      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                      npm version >= 5: disabling package-lock
                                      Could not check npm version: Error: EACCES: permission denied, open '/volume1/docker/iobroker_data/.npmrc'
                                      Assuming that correct version is installed.
                                      
                                      > iobroker.js-controller@1.5.14 install /volume1/docker/iobroker_data/node_modules/iobroker.js-controller
                                      > node iobroker.js setup first
                                      
                                      Cannot write file. Not critical: Error: ENOENT: no such file or directory, open '/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/../../../../iob'
                                      Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/../../_service_iobroker.bat'
                                      Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/../../iobroker.bat'
                                      fs.js:885
                                        return binding.mkdir(pathModule._makeLong(path),
                                                       ^
                                      
                                      Error: EACCES: permission denied, mkdir '/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/../../tmp'
                                          at Object.fs.mkdirSync (fs.js:885:18)
                                          at Setup.setup (/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:189:58)
                                          at /volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup.js:653:27
                                          at processCommand (/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup.js:691:15)
                                          at Object.module.exports.execute (/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup.js:3193:5)
                                          at Object.<anonymous> (/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/iobroker.js:1:100)
                                          at Module._compile (module.js:643:30)
                                          at Object.Module._extensions..js (module.js:654:10)
                                          at Module.load (module.js:556:32)
                                          at tryModuleLoad (module.js:499:12)
                                      npm ERR! code ELIFECYCLE
                                      npm ERR! errno 1
                                      npm ERR! iobroker.js-controller@1.5.14 install: `node iobroker.js setup first`
                                      npm ERR! Exit status 1
                                      npm ERR!
                                      npm ERR! Failed at the iobroker.js-controller@1.5.14 install script.
                                      npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /root/.npm/_logs/2019-10-31T14_52_46_785Z-debug.log
                                      

                                      sudo npm install iobroker.js-controller --production

                                      npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
                                      npm WARN notice [SECURITY] parsejson has the following vulnerability: 1 high. Go here for more details: https://www.npmjs.com/advisories?search=parsejson&version=0.0.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
                                      
                                      > iobroker.js-controller@1.5.14 preinstall /volume1/docker/iobroker_data/node_modules/iobroker.js-controller
                                      > node lib/preinstallCheck.js
                                      
                                      
                                      ┌───────────────────────────────────────────────────┐
                                      │              npm update check failed              │
                                      │        Try running with sudo or get access        │
                                      │       to the local update config store via        │
                                      │ sudo chown -R $USER:$(id -gn $USER) /root/.config │
                                      └───────────────────────────────────────────────────┘
                                      NPM version: 5.6.0
                                      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                      WARNING:
                                      You are using an unsupported npm version!
                                      This can lead to problems when installing further packages
                                      
                                      Please use "npm install -g npm@4" to downgrade npm to 4.x or
                                      use "npm install -g npm@latest" to install a supported version of npm!
                                      You need to make sure to repeat this step after installing an update to NodeJS and/or npm.
                                      !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                      npm version >= 5: disabling package-lock
                                      Could not check npm version: Error: EACCES: permission denied, open '/volume1/docker/iobroker_data/.npmrc'
                                      Assuming that correct version is installed.
                                      
                                      > ursa-optional@0.9.10 install /volume1/docker/iobroker_data/node_modules/ursa-optional
                                      > node rebuild.js
                                      
                                      ^C
                                      
                                      
                                      Thomas WT 1 Antwort Letzte Antwort
                                      0
                                      • Thomas WT Thomas W

                                        Hallo,

                                        habe auch (aus versehen) auf 4.0 upgedatet. Nun startet iobroker nicht mehr. Gibt es eine "schnelle" Anleitung, wie ich Iobroker neu installieren kann, wobe ich meine daten (alte Logs, Konfig, etc.) behalten kann?

                                        Aktuell ist es so, dass ich iobroker nicht mehr zum Starten bekomme:

                                        Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/controller.js

                                        npm rebuild

                                        > node lib/preinstallCheck.js
                                        
                                        
                                        ┌───────────────────────────────────────────────────┐
                                        │              npm update check failed              │
                                        │        Try running with sudo or get access        │
                                        │       to the local update config store via        │
                                        │ sudo chown -R $USER:$(id -gn $USER) /root/.config │
                                        └───────────────────────────────────────────────────┘
                                        NPM version: 5.6.0
                                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                        WARNING:
                                        You are using an unsupported npm version!
                                        This can lead to problems when installing further packages
                                        
                                        Please use "npm install -g npm@4" to downgrade npm to 4.x or
                                        use "npm install -g npm@latest" to install a supported version of npm!
                                        You need to make sure to repeat this step after installing an update to NodeJS and/or npm.
                                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                        npm version >= 5: disabling package-lock
                                        Could not check npm version: Error: EACCES: permission denied, open '/volume1/docker/iobroker_data/.npmrc'
                                        Assuming that correct version is installed.
                                        
                                        > iobroker.js-controller@1.5.14 install /volume1/docker/iobroker_data/node_modules/iobroker.js-controller
                                        > node iobroker.js setup first
                                        
                                        Cannot write file. Not critical: Error: ENOENT: no such file or directory, open '/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/../../../../iob'
                                        Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/../../_service_iobroker.bat'
                                        Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/../../iobroker.bat'
                                        fs.js:885
                                          return binding.mkdir(pathModule._makeLong(path),
                                                         ^
                                        
                                        Error: EACCES: permission denied, mkdir '/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/../../tmp'
                                            at Object.fs.mkdirSync (fs.js:885:18)
                                            at Setup.setup (/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:189:58)
                                            at /volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup.js:653:27
                                            at processCommand (/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup.js:691:15)
                                            at Object.module.exports.execute (/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup.js:3193:5)
                                            at Object.<anonymous> (/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/iobroker.js:1:100)
                                            at Module._compile (module.js:643:30)
                                            at Object.Module._extensions..js (module.js:654:10)
                                            at Module.load (module.js:556:32)
                                            at tryModuleLoad (module.js:499:12)
                                        npm ERR! code ELIFECYCLE
                                        npm ERR! errno 1
                                        npm ERR! iobroker.js-controller@1.5.14 install: `node iobroker.js setup first`
                                        npm ERR! Exit status 1
                                        npm ERR!
                                        npm ERR! Failed at the iobroker.js-controller@1.5.14 install script.
                                        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /root/.npm/_logs/2019-10-31T14_52_46_785Z-debug.log
                                        

                                        sudo npm install iobroker.js-controller --production

                                        npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
                                        npm WARN notice [SECURITY] parsejson has the following vulnerability: 1 high. Go here for more details: https://www.npmjs.com/advisories?search=parsejson&version=0.0.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
                                        
                                        > iobroker.js-controller@1.5.14 preinstall /volume1/docker/iobroker_data/node_modules/iobroker.js-controller
                                        > node lib/preinstallCheck.js
                                        
                                        
                                        ┌───────────────────────────────────────────────────┐
                                        │              npm update check failed              │
                                        │        Try running with sudo or get access        │
                                        │       to the local update config store via        │
                                        │ sudo chown -R $USER:$(id -gn $USER) /root/.config │
                                        └───────────────────────────────────────────────────┘
                                        NPM version: 5.6.0
                                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                        WARNING:
                                        You are using an unsupported npm version!
                                        This can lead to problems when installing further packages
                                        
                                        Please use "npm install -g npm@4" to downgrade npm to 4.x or
                                        use "npm install -g npm@latest" to install a supported version of npm!
                                        You need to make sure to repeat this step after installing an update to NodeJS and/or npm.
                                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                        npm version >= 5: disabling package-lock
                                        Could not check npm version: Error: EACCES: permission denied, open '/volume1/docker/iobroker_data/.npmrc'
                                        Assuming that correct version is installed.
                                        
                                        > ursa-optional@0.9.10 install /volume1/docker/iobroker_data/node_modules/ursa-optional
                                        > node rebuild.js
                                        
                                        ^C
                                        
                                        
                                        Thomas WT Offline
                                        Thomas WT Offline
                                        Thomas W
                                        schrieb am zuletzt editiert von
                                        #1229

                                        @Thomas-W said in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                                        Hallo,

                                        habe auch (aus versehen) auf 4.0 upgedatet. Nun startet iobroker nicht mehr. Gibt es eine "schnelle" Anleitung, wie ich Iobroker neu installieren kann, wobe ich meine daten (alte Logs, Konfig, etc.) behalten kann?

                                        Aktuell ist es so, dass ich iobroker nicht mehr zum Starten bekomme:

                                        Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/controller.js

                                        npm rebuild

                                        > node lib/preinstallCheck.js
                                        
                                        
                                        ┌───────────────────────────────────────────────────┐
                                        │              npm update check failed              │
                                        │        Try running with sudo or get access        │
                                        │       to the local update config store via        │
                                        │ sudo chown -R $USER:$(id -gn $USER) /root/.config │
                                        └───────────────────────────────────────────────────┘
                                        NPM version: 5.6.0
                                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                        WARNING:
                                        You are using an unsupported npm version!
                                        This can lead to problems when installing further packages
                                        
                                        Please use "npm install -g npm@4" to downgrade npm to 4.x or
                                        use "npm install -g npm@latest" to install a supported version of npm!
                                        You need to make sure to repeat this step after installing an update to NodeJS and/or npm.
                                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                        npm version >= 5: disabling package-lock
                                        Could not check npm version: Error: EACCES: permission denied, open '/volume1/docker/iobroker_data/.npmrc'
                                        Assuming that correct version is installed.
                                        
                                        > iobroker.js-controller@1.5.14 install /volume1/docker/iobroker_data/node_modules/iobroker.js-controller
                                        > node iobroker.js setup first
                                        
                                        Cannot write file. Not critical: Error: ENOENT: no such file or directory, open '/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/../../../../iob'
                                        Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/../../_service_iobroker.bat'
                                        Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/../../iobroker.bat'
                                        fs.js:885
                                          return binding.mkdir(pathModule._makeLong(path),
                                                         ^
                                        
                                        Error: EACCES: permission denied, mkdir '/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/../../tmp'
                                            at Object.fs.mkdirSync (fs.js:885:18)
                                            at Setup.setup (/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:189:58)
                                            at /volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup.js:653:27
                                            at processCommand (/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup.js:691:15)
                                            at Object.module.exports.execute (/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup.js:3193:5)
                                            at Object.<anonymous> (/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/iobroker.js:1:100)
                                            at Module._compile (module.js:643:30)
                                            at Object.Module._extensions..js (module.js:654:10)
                                            at Module.load (module.js:556:32)
                                            at tryModuleLoad (module.js:499:12)
                                        npm ERR! code ELIFECYCLE
                                        npm ERR! errno 1
                                        npm ERR! iobroker.js-controller@1.5.14 install: `node iobroker.js setup first`
                                        npm ERR! Exit status 1
                                        npm ERR!
                                        npm ERR! Failed at the iobroker.js-controller@1.5.14 install script.
                                        npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                        
                                        npm ERR! A complete log of this run can be found in:
                                        npm ERR!     /root/.npm/_logs/2019-10-31T14_52_46_785Z-debug.log
                                        

                                        sudo npm install iobroker.js-controller --production

                                        npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
                                        npm WARN notice [SECURITY] parsejson has the following vulnerability: 1 high. Go here for more details: https://www.npmjs.com/advisories?search=parsejson&version=0.0.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
                                        
                                        > iobroker.js-controller@1.5.14 preinstall /volume1/docker/iobroker_data/node_modules/iobroker.js-controller
                                        > node lib/preinstallCheck.js
                                        
                                        
                                        ┌───────────────────────────────────────────────────┐
                                        │              npm update check failed              │
                                        │        Try running with sudo or get access        │
                                        │       to the local update config store via        │
                                        │ sudo chown -R $USER:$(id -gn $USER) /root/.config │
                                        └───────────────────────────────────────────────────┘
                                        NPM version: 5.6.0
                                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                        WARNING:
                                        You are using an unsupported npm version!
                                        This can lead to problems when installing further packages
                                        
                                        Please use "npm install -g npm@4" to downgrade npm to 4.x or
                                        use "npm install -g npm@latest" to install a supported version of npm!
                                        You need to make sure to repeat this step after installing an update to NodeJS and/or npm.
                                        !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                        npm version >= 5: disabling package-lock
                                        Could not check npm version: Error: EACCES: permission denied, open '/volume1/docker/iobroker_data/.npmrc'
                                        Assuming that correct version is installed.
                                        
                                        > ursa-optional@0.9.10 install /volume1/docker/iobroker_data/node_modules/ursa-optional
                                        > node rebuild.js
                                        
                                        ^C
                                        
                                        

                                        nu komme ich endlich wieder auf die Oberfläche. Hatte die ganzen Befehle via root auf der Synology ausgeführt. Wenn ich die Befehle im Container via Portainer-Console ausführe, kommen keine Exceptions mehr :)

                                        GlasfaserG 1 Antwort Letzte Antwort
                                        0
                                        • Thomas WT Thomas W

                                          @Thomas-W said in [HowTo][Anleitung] Installation ioBroker in Docker auf Synology DiskStation:

                                          Hallo,

                                          habe auch (aus versehen) auf 4.0 upgedatet. Nun startet iobroker nicht mehr. Gibt es eine "schnelle" Anleitung, wie ich Iobroker neu installieren kann, wobe ich meine daten (alte Logs, Konfig, etc.) behalten kann?

                                          Aktuell ist es so, dass ich iobroker nicht mehr zum Starten bekomme:

                                          Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/controller.js

                                          npm rebuild

                                          > node lib/preinstallCheck.js
                                          
                                          
                                          ┌───────────────────────────────────────────────────┐
                                          │              npm update check failed              │
                                          │        Try running with sudo or get access        │
                                          │       to the local update config store via        │
                                          │ sudo chown -R $USER:$(id -gn $USER) /root/.config │
                                          └───────────────────────────────────────────────────┘
                                          NPM version: 5.6.0
                                          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                          WARNING:
                                          You are using an unsupported npm version!
                                          This can lead to problems when installing further packages
                                          
                                          Please use "npm install -g npm@4" to downgrade npm to 4.x or
                                          use "npm install -g npm@latest" to install a supported version of npm!
                                          You need to make sure to repeat this step after installing an update to NodeJS and/or npm.
                                          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                          npm version >= 5: disabling package-lock
                                          Could not check npm version: Error: EACCES: permission denied, open '/volume1/docker/iobroker_data/.npmrc'
                                          Assuming that correct version is installed.
                                          
                                          > iobroker.js-controller@1.5.14 install /volume1/docker/iobroker_data/node_modules/iobroker.js-controller
                                          > node iobroker.js setup first
                                          
                                          Cannot write file. Not critical: Error: ENOENT: no such file or directory, open '/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/../../../../iob'
                                          Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/../../_service_iobroker.bat'
                                          Cannot delete file. Not critical: Error: EACCES: permission denied, unlink '/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/../../iobroker.bat'
                                          fs.js:885
                                            return binding.mkdir(pathModule._makeLong(path),
                                                           ^
                                          
                                          Error: EACCES: permission denied, mkdir '/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/../../tmp'
                                              at Object.fs.mkdirSync (fs.js:885:18)
                                              at Setup.setup (/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:189:58)
                                              at /volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup.js:653:27
                                              at processCommand (/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup.js:691:15)
                                              at Object.module.exports.execute (/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/lib/setup.js:3193:5)
                                              at Object.<anonymous> (/volume1/docker/iobroker_data/node_modules/iobroker.js-controller/iobroker.js:1:100)
                                              at Module._compile (module.js:643:30)
                                              at Object.Module._extensions..js (module.js:654:10)
                                              at Module.load (module.js:556:32)
                                              at tryModuleLoad (module.js:499:12)
                                          npm ERR! code ELIFECYCLE
                                          npm ERR! errno 1
                                          npm ERR! iobroker.js-controller@1.5.14 install: `node iobroker.js setup first`
                                          npm ERR! Exit status 1
                                          npm ERR!
                                          npm ERR! Failed at the iobroker.js-controller@1.5.14 install script.
                                          npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                          
                                          npm ERR! A complete log of this run can be found in:
                                          npm ERR!     /root/.npm/_logs/2019-10-31T14_52_46_785Z-debug.log
                                          

                                          sudo npm install iobroker.js-controller --production

                                          npm WARN deprecated json3@3.3.2: Please use the native JSON object instead of JSON 3
                                          npm WARN notice [SECURITY] parsejson has the following vulnerability: 1 high. Go here for more details: https://www.npmjs.com/advisories?search=parsejson&version=0.0.3 - Run `npm i npm@latest -g` to upgrade your npm version, and then `npm audit` to get more info.
                                          
                                          > iobroker.js-controller@1.5.14 preinstall /volume1/docker/iobroker_data/node_modules/iobroker.js-controller
                                          > node lib/preinstallCheck.js
                                          
                                          
                                          ┌───────────────────────────────────────────────────┐
                                          │              npm update check failed              │
                                          │        Try running with sudo or get access        │
                                          │       to the local update config store via        │
                                          │ sudo chown -R $USER:$(id -gn $USER) /root/.config │
                                          └───────────────────────────────────────────────────┘
                                          NPM version: 5.6.0
                                          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                          WARNING:
                                          You are using an unsupported npm version!
                                          This can lead to problems when installing further packages
                                          
                                          Please use "npm install -g npm@4" to downgrade npm to 4.x or
                                          use "npm install -g npm@latest" to install a supported version of npm!
                                          You need to make sure to repeat this step after installing an update to NodeJS and/or npm.
                                          !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
                                          npm version >= 5: disabling package-lock
                                          Could not check npm version: Error: EACCES: permission denied, open '/volume1/docker/iobroker_data/.npmrc'
                                          Assuming that correct version is installed.
                                          
                                          > ursa-optional@0.9.10 install /volume1/docker/iobroker_data/node_modules/ursa-optional
                                          > node rebuild.js
                                          
                                          ^C
                                          
                                          

                                          nu komme ich endlich wieder auf die Oberfläche. Hatte die ganzen Befehle via root auf der Synology ausgeführt. Wenn ich die Befehle im Container via Portainer-Console ausführe, kommen keine Exceptions mehr :)

                                          GlasfaserG Offline
                                          GlasfaserG Offline
                                          Glasfaser
                                          schrieb am zuletzt editiert von Glasfaser
                                          #1230

                                          @Thomas-W

                                          Da stimmt was nicht ... Version 5.6.0 !!!????

                                          1.JPG

                                          Schau mal nach mit :

                                          cd /opt/iobroker
                                          
                                          npm -v 
                                          nodejs -v
                                          node -v
                                          

                                          Synology 918+ 16GB - ioBroker in Docker v9 , VISO auf Trekstor Primebook C13 13,3" , Hikvision Domkameras mit Surveillance Station .. CCU RaspberryMatic in Synology VM .. Zigbee CC2538+CC2592 .. Sonoff .. KNX .. Modbus ..

                                          1 Antwort Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          564

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe