Weiter zum Inhalt
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Hell
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dunkel
  • 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. Nach Shutdown vom Raspberry ioBroker weg

NEWS

  • Neuer ioBroker-Blog online: Monatsrückblick März/April 2026
    BluefoxB
    Bluefox
    8
    1
    1.7k

  • Verwendung von KI bitte immer deutlich kennzeichnen
    HomoranH
    Homoran
    10
    1
    680

  • Monatsrückblick Januar/Februar 2026 ist online!
    BluefoxB
    Bluefox
    18
    1
    1.2k

Nach Shutdown vom Raspberry ioBroker weg

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
rebootproblem
61 Beiträge 4 Kommentatoren 2.9k Aufrufe 3 Beobachtet
  • Ä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.
  • GlasfaserG Glasfaser

    @jmeister79
    zeige mal die Ausgabe von :

    cd /opt/iobroker
    npm ls iobroker.js-controller
    
    jmeister79J Offline
    jmeister79J Offline
    jmeister79
    schrieb am zuletzt editiert von
    #39

    @Glasfaser said in Nach Shutdown vom Raspberry ioBroker weg:

    cd /opt/iobroker
    npm ls iobroker.js-controller

    pi@iobrokerpi:/opt/iobroker $ npm ls iobroker.js-controller
    npm ERR! code MODULE_NOT_FOUND
    npm ERR! Cannot find module 'from2'
    npm ERR! Require stack:
    npm ERR! - /usr/lib/node_modules/npm/node_modules/mississippi/index.js
    npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/lib/entry-index.js
    npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/ls.js
    npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/locales/en.js
    npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/index.js
    npm ERR! - /usr/lib/node_modules/npm/node_modules/pacote/lib/with-tarball-stream.js
    npm ERR! - /usr/lib/node_modules/npm/node_modules/pacote/extract.js
    npm ERR! - /usr/lib/node_modules/npm/node_modules/pacote/index.js
    npm ERR! - /usr/lib/node_modules/npm/lib/fetch-package-metadata.js
    npm ERR! - /usr/lib/node_modules/npm/lib/install/deps.js
    npm ERR! - /usr/lib/node_modules/npm/lib/install/mutate-into-logical-tree.js
    npm ERR! - /usr/lib/node_modules/npm/lib/ls.js
    npm ERR! - /usr/lib/node_modules/npm/lib/npm.js
    npm ERR! - /usr/lib/node_modules/npm/bin/npm-cli.js
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/iobroker/.npm/_logs/2020-09-26T14_03_34_872Z-debug.log
    pi@iobrokerpi:/opt/iobroker $
    
    
    GlasfaserG 1 Antwort Letzte Antwort
    0
    • jmeister79J jmeister79

      @Glasfaser said in Nach Shutdown vom Raspberry ioBroker weg:

      cd /opt/iobroker
      npm ls iobroker.js-controller

      pi@iobrokerpi:/opt/iobroker $ npm ls iobroker.js-controller
      npm ERR! code MODULE_NOT_FOUND
      npm ERR! Cannot find module 'from2'
      npm ERR! Require stack:
      npm ERR! - /usr/lib/node_modules/npm/node_modules/mississippi/index.js
      npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/lib/entry-index.js
      npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/ls.js
      npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/locales/en.js
      npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/index.js
      npm ERR! - /usr/lib/node_modules/npm/node_modules/pacote/lib/with-tarball-stream.js
      npm ERR! - /usr/lib/node_modules/npm/node_modules/pacote/extract.js
      npm ERR! - /usr/lib/node_modules/npm/node_modules/pacote/index.js
      npm ERR! - /usr/lib/node_modules/npm/lib/fetch-package-metadata.js
      npm ERR! - /usr/lib/node_modules/npm/lib/install/deps.js
      npm ERR! - /usr/lib/node_modules/npm/lib/install/mutate-into-logical-tree.js
      npm ERR! - /usr/lib/node_modules/npm/lib/ls.js
      npm ERR! - /usr/lib/node_modules/npm/lib/npm.js
      npm ERR! - /usr/lib/node_modules/npm/bin/npm-cli.js
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/iobroker/.npm/_logs/2020-09-26T14_03_34_872Z-debug.log
      pi@iobrokerpi:/opt/iobroker $
      
      
      GlasfaserG Offline
      GlasfaserG Offline
      Glasfaser
      schrieb am zuletzt editiert von
      #40

      @jmeister79

      Wenn @Thomas-Braun nichts anderes dazu sagt ... würde ich sagen du hast dein
      js-controller abgeschossen bzw. dein System .

      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 ..

      Thomas BraunT 1 Antwort Letzte Antwort
      0
      • jmeister79J jmeister79

        @Thomas-Braun

        Dann bezieht sich das hier auf die Boot Partition?

        [    3.225925] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
        [    3.236272] devtmpfs: mounted
        
        
        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        schrieb am zuletzt editiert von
        #41

        @jmeister79 sagte in Nach Shutdown vom Raspberry ioBroker weg:

        @Thomas-Braun

        Dann bezieht sich das hier auf die Boot Partition?

        [    3.225925] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
        [    3.236272] devtmpfs: mounted
        
        

        Das ist normal. Wird temporär ro gemounted. Dann aber kurz drauf richtig gemounted. So sieht das bei mir aus:

        pi@raspberrypi:~ $ dmesg | egrep 'VFS|EXT4'
        [    0.881703] VFS: Disk quotas dquot_6.6.0
        [    0.881830] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
        [    1.349389] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
        [    1.349481] VFS: Mounted root (ext4 filesystem) readonly on device 179:7.
        [    3.066700] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)
        

        Linux-Werkzeugkasten:
        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
        NodeJS Fixer Skript:
        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

        jmeister79J 1 Antwort Letzte Antwort
        1
        • Thomas BraunT Thomas Braun

          @jmeister79 sagte in Nach Shutdown vom Raspberry ioBroker weg:

          @Thomas-Braun

          Dann bezieht sich das hier auf die Boot Partition?

          [    3.225925] VFS: Mounted root (ext4 filesystem) readonly on device 8:2.
          [    3.236272] devtmpfs: mounted
          
          

          Das ist normal. Wird temporär ro gemounted. Dann aber kurz drauf richtig gemounted. So sieht das bei mir aus:

          pi@raspberrypi:~ $ dmesg | egrep 'VFS|EXT4'
          [    0.881703] VFS: Disk quotas dquot_6.6.0
          [    0.881830] VFS: Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
          [    1.349389] EXT4-fs (mmcblk0p7): mounted filesystem with ordered data mode. Opts: (null)
          [    1.349481] VFS: Mounted root (ext4 filesystem) readonly on device 179:7.
          [    3.066700] EXT4-fs (mmcblk0p7): re-mounted. Opts: (null)
          
          jmeister79J Offline
          jmeister79J Offline
          jmeister79
          schrieb am zuletzt editiert von
          #42

          @Thomas-Braun danke für die erklärung

          1 Antwort Letzte Antwort
          0
          • GlasfaserG Glasfaser

            @jmeister79

            Wenn @Thomas-Braun nichts anderes dazu sagt ... würde ich sagen du hast dein
            js-controller abgeschossen bzw. dein System .

            Thomas BraunT Online
            Thomas BraunT Online
            Thomas Braun
            Most Active
            schrieb am zuletzt editiert von
            #43

            @Glasfaser sagte in Nach Shutdown vom Raspberry ioBroker weg:

            @jmeister79

            Wenn @Thomas-Braun nichts anderes dazu sagt ... würde ich sagen du hast dein
            js-controller abgeschossen bzw. dein System .

            Würde ich auch sagen. Denn hier kommt:

            pi@raspberrypi:/opt/iobroker $ npm ls iobroker.js-controller
            iobroker.inst@2.0.3 /opt/iobroker
            └── iobroker.js-controller@3.1.6
            

            Ich würde vielleicht mal versuchen den iobroker nochmal zu drüber zu installieren.

            Linux-Werkzeugkasten:
            https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
            NodeJS Fixer Skript:
            https://forum.iobroker.net/topic/68035/iob-node-fix-skript
            iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

            jmeister79J 1 Antwort Letzte Antwort
            0
            • Thomas BraunT Thomas Braun

              @Glasfaser sagte in Nach Shutdown vom Raspberry ioBroker weg:

              @jmeister79

              Wenn @Thomas-Braun nichts anderes dazu sagt ... würde ich sagen du hast dein
              js-controller abgeschossen bzw. dein System .

              Würde ich auch sagen. Denn hier kommt:

              pi@raspberrypi:/opt/iobroker $ npm ls iobroker.js-controller
              iobroker.inst@2.0.3 /opt/iobroker
              └── iobroker.js-controller@3.1.6
              

              Ich würde vielleicht mal versuchen den iobroker nochmal zu drüber zu installieren.

              jmeister79J Offline
              jmeister79J Offline
              jmeister79
              schrieb am zuletzt editiert von
              #44

              @Thomas-Braun mit upgrade self?

              prinzipiell kann ich die karte neu einspielen.

              Wie kann das passiert sein?

              hab extra shutdown gemacht heute morgen :-(

              Thomas BraunT 1 Antwort Letzte Antwort
              0
              • jmeister79J jmeister79

                @Thomas-Braun mit upgrade self?

                prinzipiell kann ich die karte neu einspielen.

                Wie kann das passiert sein?

                hab extra shutdown gemacht heute morgen :-(

                Thomas BraunT Online
                Thomas BraunT Online
                Thomas Braun
                Most Active
                schrieb am zuletzt editiert von
                #45

                @jmeister79

                cd /opt/iobroker
                sudo -H -u iobroker npm install iobroker.js-controller
                

                Linux-Werkzeugkasten:
                https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                NodeJS Fixer Skript:
                https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                jmeister79J 1 Antwort Letzte Antwort
                0
                • Thomas BraunT Thomas Braun

                  @jmeister79

                  cd /opt/iobroker
                  sudo -H -u iobroker npm install iobroker.js-controller
                  
                  jmeister79J Offline
                  jmeister79J Offline
                  jmeister79
                  schrieb am zuletzt editiert von
                  #46

                  @Thomas-Braun said in Nach Shutdown vom Raspberry ioBroker weg:

                  cd /opt/iobroker
                  sudo -H -u iobroker npm install iobroker.js-controller

                  das wird wohl nix...

                  pi@iobrokerpi:/opt/iobroker $ cd /opt/iobroker
                  pi@iobrokerpi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                  npm ERR! code MODULE_NOT_FOUND
                  npm ERR! Cannot find module 'lockfile'
                  npm ERR! Require stack:
                  npm ERR! - /usr/lib/node_modules/npm/lib/utils/locker.js
                  npm ERR! - /usr/lib/node_modules/npm/lib/install.js
                  npm ERR! - /usr/lib/node_modules/npm/lib/npm.js
                  npm ERR! - /usr/lib/node_modules/npm/bin/npm-cli.js
                  
                  npm ERR! A complete log of this run can be found in:
                  npm ERR!     /home/iobroker/.npm/_logs/2020-09-26T14_18_58_968Z-debug.log
                  
                  
                  GlasfaserG Thomas BraunT 2 Antworten Letzte Antwort
                  0
                  • jmeister79J jmeister79

                    @Thomas-Braun said in Nach Shutdown vom Raspberry ioBroker weg:

                    cd /opt/iobroker
                    sudo -H -u iobroker npm install iobroker.js-controller

                    das wird wohl nix...

                    pi@iobrokerpi:/opt/iobroker $ cd /opt/iobroker
                    pi@iobrokerpi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                    npm ERR! code MODULE_NOT_FOUND
                    npm ERR! Cannot find module 'lockfile'
                    npm ERR! Require stack:
                    npm ERR! - /usr/lib/node_modules/npm/lib/utils/locker.js
                    npm ERR! - /usr/lib/node_modules/npm/lib/install.js
                    npm ERR! - /usr/lib/node_modules/npm/lib/npm.js
                    npm ERR! - /usr/lib/node_modules/npm/bin/npm-cli.js
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /home/iobroker/.npm/_logs/2020-09-26T14_18_58_968Z-debug.log
                    
                    
                    GlasfaserG Offline
                    GlasfaserG Offline
                    Glasfaser
                    schrieb am zuletzt editiert von
                    #47

                    @jmeister79

                    und bei ..

                    cd /opt/iobroker
                    npm install iobroker.js-controller@3.1.6 --production
                    

                    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
                    • jmeister79J jmeister79

                      @Thomas-Braun said in Nach Shutdown vom Raspberry ioBroker weg:

                      cd /opt/iobroker
                      sudo -H -u iobroker npm install iobroker.js-controller

                      das wird wohl nix...

                      pi@iobrokerpi:/opt/iobroker $ cd /opt/iobroker
                      pi@iobrokerpi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                      npm ERR! code MODULE_NOT_FOUND
                      npm ERR! Cannot find module 'lockfile'
                      npm ERR! Require stack:
                      npm ERR! - /usr/lib/node_modules/npm/lib/utils/locker.js
                      npm ERR! - /usr/lib/node_modules/npm/lib/install.js
                      npm ERR! - /usr/lib/node_modules/npm/lib/npm.js
                      npm ERR! - /usr/lib/node_modules/npm/bin/npm-cli.js
                      
                      npm ERR! A complete log of this run can be found in:
                      npm ERR!     /home/iobroker/.npm/_logs/2020-09-26T14_18_58_968Z-debug.log
                      
                      
                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      schrieb am zuletzt editiert von
                      #48

                      @jmeister79

                      Keine Ahnung wo die komischen Module herkommen.

                      npm cache clear --force
                      

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      jmeister79J 1 Antwort Letzte Antwort
                      0
                      • Thomas BraunT Thomas Braun

                        @jmeister79

                        Keine Ahnung wo die komischen Module herkommen.

                        npm cache clear --force
                        
                        jmeister79J Offline
                        jmeister79J Offline
                        jmeister79
                        schrieb am zuletzt editiert von
                        #49

                        @Thomas-Braun said in Nach Shutdown vom Raspberry ioBroker weg:

                        npm cache clear --force

                        immer das selbe
                        ich ü erschreib das image und mach n restore.

                        verdammt. Aber unendlich vielen dank für Eure Mühe!.

                        Fazit ist nun, dass das NPM irgendwas defekt hat?

                        ich war davon ausgegangen dass n shutdown das verhindert.

                        Nils

                        Thomas BraunT GlasfaserG 2 Antworten Letzte Antwort
                        0
                        • jmeister79J jmeister79

                          @Thomas-Braun said in Nach Shutdown vom Raspberry ioBroker weg:

                          npm cache clear --force

                          immer das selbe
                          ich ü erschreib das image und mach n restore.

                          verdammt. Aber unendlich vielen dank für Eure Mühe!.

                          Fazit ist nun, dass das NPM irgendwas defekt hat?

                          ich war davon ausgegangen dass n shutdown das verhindert.

                          Nils

                          Thomas BraunT Online
                          Thomas BraunT Online
                          Thomas Braun
                          Most Active
                          schrieb am zuletzt editiert von Thomas Braun
                          #50

                          @jmeister79
                          Sauber ist ein

                          iobroker stop
                          sudo shutdown
                          

                          Und dann auch noch 2 Minuten warten, der shutdown braucht auch etwas Zeit (wenn man den nicht forciert). Denn der ist sheduled:

                          sudo shutdown
                          Shutdown scheduled for Sat 2020-09-26 16:29:47 CEST, use 'shutdown -c' to cancel.
                          

                          Linux-Werkzeugkasten:
                          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                          NodeJS Fixer Skript:
                          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                          1 Antwort Letzte Antwort
                          0
                          • jmeister79J jmeister79

                            @Thomas-Braun said in Nach Shutdown vom Raspberry ioBroker weg:

                            npm cache clear --force

                            immer das selbe
                            ich ü erschreib das image und mach n restore.

                            verdammt. Aber unendlich vielen dank für Eure Mühe!.

                            Fazit ist nun, dass das NPM irgendwas defekt hat?

                            ich war davon ausgegangen dass n shutdown das verhindert.

                            Nils

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

                            @jmeister79 sagte in Nach Shutdown vom Raspberry ioBroker weg:

                            immer das selbe

                            Auch mit dem anderen Befehl ???

                            @Glasfaser sagte in Nach Shutdown vom Raspberry ioBroker weg:
                            @jmeister79

                            und bei ..

                            cd /opt/iobroker
                            npm install iobroker.js-controller@3.1.6 --production
                            

                            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 ..

                            jmeister79J 2 Antworten Letzte Antwort
                            0
                            • GlasfaserG Glasfaser

                              @jmeister79 sagte in Nach Shutdown vom Raspberry ioBroker weg:

                              immer das selbe

                              Auch mit dem anderen Befehl ???

                              @Glasfaser sagte in Nach Shutdown vom Raspberry ioBroker weg:
                              @jmeister79

                              und bei ..

                              cd /opt/iobroker
                              npm install iobroker.js-controller@3.1.6 --production
                              
                              jmeister79J Offline
                              jmeister79J Offline
                              jmeister79
                              schrieb am zuletzt editiert von
                              #52

                              @Glasfaser ja

                              1 Antwort Letzte Antwort
                              0
                              • GlasfaserG Glasfaser

                                @jmeister79 sagte in Nach Shutdown vom Raspberry ioBroker weg:

                                immer das selbe

                                Auch mit dem anderen Befehl ???

                                @Glasfaser sagte in Nach Shutdown vom Raspberry ioBroker weg:
                                @jmeister79

                                und bei ..

                                cd /opt/iobroker
                                npm install iobroker.js-controller@3.1.6 --production
                                
                                jmeister79J Offline
                                jmeister79J Offline
                                jmeister79
                                schrieb am zuletzt editiert von
                                #53

                                @Glasfaser

                                pi@iobrokerpi:/opt/iobroker $ cd /opt/iobroker
                                pi@iobrokerpi:/opt/iobroker $ npm install iobroker.js-controller@3.1.6 --production
                                npm ERR! code MODULE_NOT_FOUND
                                npm ERR! Cannot find module 'lockfile'
                                npm ERR! Require stack:
                                npm ERR! - /usr/lib/node_modules/npm/lib/utils/locker.js
                                npm ERR! - /usr/lib/node_modules/npm/lib/install.js
                                npm ERR! - /usr/lib/node_modules/npm/lib/npm.js
                                npm ERR! - /usr/lib/node_modules/npm/bin/npm-cli.js
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2020-09-26T14_24_45_717Z-debug.log
                                pi@iobrokerpi:/opt/iobroker $ npm cache clear --force
                                npm WARN using --force I sure hope you know what you are doing.
                                npm ERR! code MODULE_NOT_FOUND
                                npm ERR! Cannot find module 'from2'
                                npm ERR! Require stack:
                                npm ERR! - /usr/lib/node_modules/npm/node_modules/mississippi/index.js
                                npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/lib/entry-index.js
                                npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/ls.js
                                npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/locales/en.js
                                npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/index.js
                                npm ERR! - /usr/lib/node_modules/npm/lib/cache.js
                                npm ERR! - /usr/lib/node_modules/npm/lib/npm.js
                                npm ERR! - /usr/lib/node_modules/npm/bin/npm-cli.js
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2020-09-26T14_24_58_482Z-debug.log
                                
                                
                                Thomas BraunT GlasfaserG 2 Antworten Letzte Antwort
                                0
                                • jmeister79J jmeister79

                                  @Glasfaser

                                  pi@iobrokerpi:/opt/iobroker $ cd /opt/iobroker
                                  pi@iobrokerpi:/opt/iobroker $ npm install iobroker.js-controller@3.1.6 --production
                                  npm ERR! code MODULE_NOT_FOUND
                                  npm ERR! Cannot find module 'lockfile'
                                  npm ERR! Require stack:
                                  npm ERR! - /usr/lib/node_modules/npm/lib/utils/locker.js
                                  npm ERR! - /usr/lib/node_modules/npm/lib/install.js
                                  npm ERR! - /usr/lib/node_modules/npm/lib/npm.js
                                  npm ERR! - /usr/lib/node_modules/npm/bin/npm-cli.js
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/iobroker/.npm/_logs/2020-09-26T14_24_45_717Z-debug.log
                                  pi@iobrokerpi:/opt/iobroker $ npm cache clear --force
                                  npm WARN using --force I sure hope you know what you are doing.
                                  npm ERR! code MODULE_NOT_FOUND
                                  npm ERR! Cannot find module 'from2'
                                  npm ERR! Require stack:
                                  npm ERR! - /usr/lib/node_modules/npm/node_modules/mississippi/index.js
                                  npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/lib/entry-index.js
                                  npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/ls.js
                                  npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/locales/en.js
                                  npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/index.js
                                  npm ERR! - /usr/lib/node_modules/npm/lib/cache.js
                                  npm ERR! - /usr/lib/node_modules/npm/lib/npm.js
                                  npm ERR! - /usr/lib/node_modules/npm/bin/npm-cli.js
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/iobroker/.npm/_logs/2020-09-26T14_24_58_482Z-debug.log
                                  
                                  
                                  Thomas BraunT Online
                                  Thomas BraunT Online
                                  Thomas Braun
                                  Most Active
                                  schrieb am zuletzt editiert von
                                  #54

                                  @jmeister79
                                  Moment... Installier mal nodejs neu.

                                  sudo apt install nodejs --reinstall
                                  

                                  Linux-Werkzeugkasten:
                                  https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                  NodeJS Fixer Skript:
                                  https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                  iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                  jmeister79J 1 Antwort Letzte Antwort
                                  0
                                  • jmeister79J jmeister79

                                    @Glasfaser

                                    pi@iobrokerpi:/opt/iobroker $ cd /opt/iobroker
                                    pi@iobrokerpi:/opt/iobroker $ npm install iobroker.js-controller@3.1.6 --production
                                    npm ERR! code MODULE_NOT_FOUND
                                    npm ERR! Cannot find module 'lockfile'
                                    npm ERR! Require stack:
                                    npm ERR! - /usr/lib/node_modules/npm/lib/utils/locker.js
                                    npm ERR! - /usr/lib/node_modules/npm/lib/install.js
                                    npm ERR! - /usr/lib/node_modules/npm/lib/npm.js
                                    npm ERR! - /usr/lib/node_modules/npm/bin/npm-cli.js
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2020-09-26T14_24_45_717Z-debug.log
                                    pi@iobrokerpi:/opt/iobroker $ npm cache clear --force
                                    npm WARN using --force I sure hope you know what you are doing.
                                    npm ERR! code MODULE_NOT_FOUND
                                    npm ERR! Cannot find module 'from2'
                                    npm ERR! Require stack:
                                    npm ERR! - /usr/lib/node_modules/npm/node_modules/mississippi/index.js
                                    npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/lib/entry-index.js
                                    npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/ls.js
                                    npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/locales/en.js
                                    npm ERR! - /usr/lib/node_modules/npm/node_modules/cacache/index.js
                                    npm ERR! - /usr/lib/node_modules/npm/lib/cache.js
                                    npm ERR! - /usr/lib/node_modules/npm/lib/npm.js
                                    npm ERR! - /usr/lib/node_modules/npm/bin/npm-cli.js
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /home/iobroker/.npm/_logs/2020-09-26T14_24_58_482Z-debug.log
                                    
                                    
                                    GlasfaserG Offline
                                    GlasfaserG Offline
                                    Glasfaser
                                    schrieb am zuletzt editiert von
                                    #55

                                    @Thomas-Braun
                                    Wegen diesem Hinweis bestimmt :

                                    npm ERR! Cannot find module 'from2'

                                    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 ..

                                    Thomas BraunT 1 Antwort Letzte Antwort
                                    0
                                    • GlasfaserG Glasfaser

                                      @Thomas-Braun
                                      Wegen diesem Hinweis bestimmt :

                                      npm ERR! Cannot find module 'from2'

                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von Thomas Braun
                                      #56

                                      @Glasfaser
                                      Und wegen mississippi z. B.
                                      Das kommt nämlich ggf. aus einem node-Paket, das wir nicht haben wollen. Und auch nicht brauchen.

                                      apt-file search mississippi | grep node
                                      node-mississippi: /usr/lib/nodejs/mississippi/index.js
                                      node-mississippi: /usr/lib/nodejs/mississippi/package.json
                                      node-mississippi: /usr/share/doc/node-mississippi/changelog.Debian.gz
                                      node-mississippi: /usr/share/doc/node-mississippi/changelog.gz
                                      node-mississippi: /usr/share/doc/node-mississippi/copyright
                                      node-mississippi: /usr/share/doc/node-mississippi/readme.md.gz
                                      

                                      @jmeister79 Kann es sein, dass da mal node-* Pakete installiert waren bzw. sind?

                                      sudo apt remove node-*
                                      

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      1 Antwort Letzte Antwort
                                      0
                                      • Thomas BraunT Thomas Braun

                                        @jmeister79
                                        Moment... Installier mal nodejs neu.

                                        sudo apt install nodejs --reinstall
                                        
                                        jmeister79J Offline
                                        jmeister79J Offline
                                        jmeister79
                                        schrieb am zuletzt editiert von
                                        #57

                                        @Thomas-Braun said in Nach Shutdown vom Raspberry ioBroker weg:

                                        sudo apt install nodejs --reinstall

                                        sudo apt install nodejs --reinstall
                                        npm install iobroker.js-controller@3.1.6 --production
                                        
                                        

                                        jetzt tut sich was

                                        1 Antwort Letzte Antwort
                                        0
                                        • jmeister79J Offline
                                          jmeister79J Offline
                                          jmeister79
                                          schrieb am zuletzt editiert von
                                          #58

                                          @Thomas-Braun said in Nach Shutdown vom Raspberry ioBroker weg:

                                          cd /opt/iobroker
                                          sudo -H -u iobroker npm install iobroker.js-controller

                                          pi@iobrokerpi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                                          npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                          
                                          > iobroker.js-controller@3.1.6 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                          > node lib/preinstallCheck.js
                                          
                                          NPM version: 6.14.6
                                          
                                          > canvas@2.6.1 install /opt/iobroker/node_modules/iobroker.iot/node_modules/canvas
                                          > node-pre-gyp install --fallback-to-build
                                          
                                          node-pre-gyp WARN Using request for node-pre-gyp https download
                                          node-pre-gyp WARN Tried to download(404): https://github.com/node-gfx/node-canvas-prebuilt/releases/download/v2.6.1/canvas-v2.6.1-node-v72-linux-glibc-arm.tar.gz
                                          node-pre-gyp WARN Pre-built binaries not found for canvas@2.6.1 and node@12.18.4 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
                                          Package pangocairo was not found in the pkg-config search path.
                                          Perhaps you should add the directory containing `pangocairo.pc'
                                          to the PKG_CONFIG_PATH environment variable
                                          No package 'pangocairo' found
                                          gyp: Call to 'pkg-config pangocairo --libs' returned exit status 1 while in binding.gyp. while trying to load binding.gyp
                                          gyp ERR! configure error
                                          gyp ERR! stack Error: `gyp` failed with exit code: 1
                                          gyp ERR! stack     at ChildProcess.onCpExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16)
                                          gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
                                          gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
                                          gyp ERR! System Linux 5.4.59-v7l+
                                          gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/opt/iobroker/node_modules/iobroker.iot/node_modules/canvas/build/Release/canvas.node" "--module_name=canvas" "--module_path=/opt/iobroker/node_modules/iobroker.iot/node_modules/canvas/build/Release" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72"
                                          gyp ERR! cwd /opt/iobroker/node_modules/iobroker.iot/node_modules/canvas
                                          gyp ERR! node -v v12.18.4
                                          gyp ERR! node-gyp -v v5.1.0
                                          gyp ERR! not ok
                                          node-pre-gyp ERR! build error
                                          node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.iot/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/iobroker.iot/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
                                          node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/opt/iobroker/node_modules/iobroker.iot/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
                                          node-pre-gyp ERR! stack     at ChildProcess.emit (events.js:315:20)
                                          node-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:1021:16)
                                          node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
                                          node-pre-gyp ERR! System Linux 5.4.59-v7l+
                                          node-pre-gyp ERR! command "/usr/bin/node" "/opt/iobroker/node_modules/iobroker.iot/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
                                          node-pre-gyp ERR! cwd /opt/iobroker/node_modules/iobroker.iot/node_modules/canvas
                                          node-pre-gyp ERR! node -v v12.18.4
                                          node-pre-gyp ERR! node-pre-gyp -v v0.11.0
                                          node-pre-gyp ERR! not ok
                                          Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/opt/iobroker/node_modules/iobroker.iot/node_modules/canvas/build/Release/canvas.node --module_name=canvas --module_path=/opt/iobroker/node_modules/iobroker.iot/node_modules/canvas/build/Release --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1)
                                          
                                          > iobroker.js-controller@3.1.6 install /opt/iobroker/node_modules/iobroker.js-controller
                                          > node iobroker.js setup first
                                          
                                          No objects found!
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/@types/request/package.json'
                                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/canvas/package.json'
                                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/dissolve/package.json'
                                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/escodegen/package.json'
                                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/gaxios/package.json'
                                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/localforage/package.json'
                                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/nedb/package.json'
                                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/sharp/package.json'
                                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/ziee/package.json'
                                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/zigbee-shepherd/package.json'
                                          npm WARN enoent ENOENT: no such file or directory, open '/opt/iobroker/node_modules/zigbee-shepherd-converters/package.json'
                                          npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.6.1 (node_modules/iobroker.iot/node_modules/canvas):
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: canvas@2.6.1 install: `node-pre-gyp install --fallback-to-build`
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                          
                                          npm ERR! code ELIFECYCLE
                                          npm ERR! errno 101
                                          npm ERR! iobroker.js-controller@3.1.6 install: `node iobroker.js setup first`
                                          npm ERR! Exit status 101
                                          npm ERR!
                                          npm ERR! Failed at the iobroker.js-controller@3.1.6 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!     /home/iobroker/.npm/_logs/2020-09-26T14_51_25_771Z-debug.log
                                          
                                          
                                          1 Antwort Letzte Antwort
                                          0

                                          Hey! Du scheinst an dieser Unterhaltung interessiert zu sein, hast aber noch kein Konto.

                                          Hast du es satt, bei jedem Besuch durch die gleichen Beiträge zu scrollen? Wenn du dich für ein Konto anmeldest, kommst du immer genau dorthin zurück, wo du zuvor warst, und kannst dich über neue Antworten benachrichtigen lassen (entweder per E-Mail oder Push-Benachrichtigung). Du kannst auch Lesezeichen speichern und Beiträge positiv bewerten, um anderen Community-Mitgliedern deine Wertschätzung zu zeigen.

                                          Mit deinem Input könnte dieser Beitrag noch besser werden 💗

                                          Registrieren Anmelden
                                          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

                                          479

                                          Online

                                          32.9k

                                          Benutzer

                                          83.0k

                                          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