Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. ERROR: Process exited with code 1 / keine Updates mehr

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    ERROR: Process exited with code 1 / keine Updates mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • Thomas Braun
      Thomas Braun Most Active @symsen last edited by

      @symsen sagte in ERROR: Process exited with code 1 / keine Updates mehr:

      ansi-styles

      Das ist eigentlich kein core Modul.

      cd /opt/iobroker
      npm ls ansi-styles
      
      Homoran S 2 Replies Last reply Reply Quote 0
      • Homoran
        Homoran Global Moderator Administrators @Thomas Braun last edited by

        @thomas-braun filesystem schrott?

        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Homoran last edited by

          @homoran

          Schwer zu sagen.

          @symsen

          dmesg -T | grep -i ext4
          

          sagt?

          S 1 Reply Last reply Reply Quote 0
          • S
            symsen @Thomas Braun last edited by

            @thomas-braun sagte in ERROR: Process exited with code 1 / keine Updates mehr:

            @symsen sagte in ERROR: Process exited with code 1 / keine Updates mehr:

            ansi-styles

            Das ist eigentlich kein core Modul.

            cd /opt/iobroker
            npm ls ansi-styles
            
            
            Last login: Tue Nov  1 17:54:43 2022 from 192.168.178.159
            maik@iobroker:~$ cd '/home/maik'
            maik@iobroker:~$ cd /opt/iobroker
            maik@iobroker:/opt/iobroker$ npm ls ansi-styles
            [sudo] Passwort für maik:
            iobroker.inst@3.0.0 /opt/iobroker
            ├─┬ iobroker.js-controller@4.0.23
            │ └─┬ yargs@17.4.1
            │   └─┬ cliui@7.0.4
            │     └─┬ wrap-ansi@7.0.0
            │       └── ansi-styles@4.3.0  deduped
            ├─┬ iobroker.tuya@3.6.15
            │ └─┬ qrcode@1.5.0
            │   └─┬ yargs@15.4.1
            │     └─┬ cliui@6.0.0
            │       └─┬ wrap-ansi@6.2.0
            │         └── ansi-styles@4.3.0  deduped
            ├─┬ iobroker.vis-icontwo@0.89.0
            │ └─┬ np@7.5.0
            │   ├─┬ chalk@4.1.2
            │   │ └── ansi-styles@4.3.0
            │   ├─┬ cosmiconfig@7.0.1
            │   │ └─┬ parse-json@5.2.0
            │   │   └─┬ @babel/code-frame@7.15.8
            │   │     └─┬ @babel/highlight@7.14.5
            │   │       └─┬ chalk@2.4.2
            │   │         └── ansi-styles@3.2.1
            │   ├─┬ listr@0.14.3
            │   │ ├─┬ listr-update-renderer@0.5.0
            │   │ │ └─┬ chalk@1.1.3
            │   │ │   └── ansi-styles@2.2.1
            │   │ └─┬ listr-verbose-renderer@0.5.0
            │   │   └─┬ chalk@2.4.2
            │   │     └── ansi-styles@3.2.1
            │   └─┬ listr-input@0.2.1
            │     └─┬ inquirer-autosubmit-prompt@0.2.0
            │       └─┬ chalk@2.4.2
            │         └── ansi-styles@3.2.1
            └─┬ iobroker.web-speedy@0.2.0 (github:iobroker-community-adapters/ioBroker.web-speedy#d2485e1ba9bdc21d89802a4329bc1caeb9baa456)
              └─┬ speedtest-net@1.6.2
                └─┬ chalk@2.4.2
                  └── ansi-styles@3.2.1
            
            maik@iobroker:/opt/iobroker$
            
            
            1 Reply Last reply Reply Quote 0
            • S
              symsen @Thomas Braun last edited by

              @thomas-braun sagte in ERROR: Process exited with code 1 / keine Updates mehr:

              @homoran

              Schwer zu sagen.

              @symsen

              dmesg -T | grep -i ext4
              

              sagt?

              
              Last login: Tue Nov  1 17:56:45 2022 from 192.168.178.159
              cd '/home/maik'
              maik@iobroker:~$ cd '/home/maik'
              maik@iobroker:~$ dmesg -T | grep -i ext4
              dmesg: read kernel buffer failed: Die Operation ist nicht erlaubt
              maik@iobroker:~$
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @symsen last edited by Thomas Braun

                @symsen

                Okay, dann mit sudo

                sudo dmesg -T | grep -i ext4
                

                Oder ist das wieder so'n Container-Gesumsel?

                S 1 Reply Last reply Reply Quote 0
                • S
                  symsen @Thomas Braun last edited by symsen

                  @thomas-braun sagte in ERROR: Process exited with code 1 / keine Updates mehr:

                  @symsen

                  Okay, dann mit sudo

                  sudo dmesg -T | grep -i ext4
                  

                  Oder ist das wieder so'n Container-Gesumsel?

                  
                  Last login: Tue Nov  1 18:00:14 2022 from 192.168.178.159
                  cd '/home/maik'
                  maik@iobroker:~$ cd '/home/maik'
                  maik@iobroker:~$ sudo dmesg -T | grep -i ext4
                  [sudo] Passwort für maik:
                  [Mo Okt 31 10:13:31 2022] EXT4-fs (sda1): mounted filesystem with ordered datamode. Opts: (null)
                  [Mo Okt 31 10:13:32 2022] EXT4-fs (sda1): re-mounted. Opts: errors=remount-ro
                  maik@iobroker:~$
                  
                  

                  Der ioBroker läuft auf einer VM.

                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @symsen last edited by Thomas Braun

                    @symsen

                    iob stop
                    cd /opt/iobroker
                    sudo -H -u iobroker npm install iobroker.js-controller
                    iob start
                    
                    S 1 Reply Last reply Reply Quote 0
                    • S
                      symsen @Thomas Braun last edited by

                      @thomas-braun sagte in ERROR: Process exited with code 1 / keine Updates mehr:

                      @symsen

                      iob stop
                      cd /opt/iobroker
                      sudo -H -u iobroker npm install iobroker.js-controller
                      iob start
                      
                      
                      Last login: Tue Nov  1 18:17:40 2022 from 192.168.178.159
                      cd '/home/maik'
                      maik@iobroker:~$ cd '/home/maik'
                      maik@iobroker:~$ iob stop
                      maik@iobroker:~$ cd /opt/iobroker
                      maik@iobroker:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller
                      [sudo] Passwort für maik:
                      Das hat nicht funktioniert, bitte nochmal probieren.
                      [sudo] Passwort für maik:
                      
                      > iobroker.js-controller@4.0.23 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                      > node lib/preinstallCheck.js
                      
                      NPM version: 6.14.17
                      
                      > unix-dgram@2.0.6 install /opt/iobroker/node_modules/unix-dgram
                      > node-gyp rebuild
                      
                      make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird betreten
                        CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o
                      In file included from ../node_modules/nan/nan.h:60,
                                       from ../src/unix_dgram.cc:5:
                      /home/iobroker/.cache/node-gyp/14.20.1/include/node/node.h:793:7: warning: cast between incompatible functiontypes from ‘void (*)(v8::Local<v8::Object>)’ to ‘node::addon_register_func’ {aka ‘void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)’} [-Wcast-function-type]
                        793 |       (node::addon_register_func) (regfunc),                          \
                            |       ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                      /home/iobroker/.cache/node-gyp/14.20.1/include/node/node.h:827:3: note: in expansion of macro ‘NODE_MODULE_X’
                        827 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                            |   ^~~~~~~~~~~~~
                      ../src/unix_dgram.cc:404:1: note: in expansion of macro ‘NODE_MODULE’
                        404 | NODE_MODULE(unix_dgram, Initialize)
                            | ^~~~~~~~~~~
                        SOLINK_MODULE(target) Release/obj.target/unix_dgram.node
                        COPY Release/unix_dgram.node
                      make: Verzeichnis „/opt/iobroker/node_modules/unix-dgram/build“ wird verlassen
                      
                      > iobroker.js-controller@4.0.23 install /opt/iobroker/node_modules/iobroker.js-controller
                      > node iobroker.js setup first
                      
                      /opt/iobroker/node_modules/ansi-styles/index.js:162
                              get: assembleS4yles
                                   ^
                      
                      ReferenceError: assembleS4yles is not defined
                          at Object.<anonymous> (/opt/iobroker/node_modules/ansi-styles/index.js:162:7)
                          at Module._compile (internal/modules/cjs/loader.js:1085:14)
                          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                          at Module.load (internal/modules/cjs/loader.js:950:32)
                          at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                          at Module.require (internal/modules/cjs/loader.js:974:19)
                          at require (internal/modules/cjs/helpers.js:101:18)
                          at Object.<anonymous> (/opt/iobroker/node_modules/wrap-ansi/index.js:4:20)
                          at Module._compile (internal/modules/cjs/loader.js:1085:14)
                          at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
                      npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
                      npm WARN http-cookie-agent@1.0.6 requires a peer of tough-cookie@^4.0.0 but none is installed. You must install peer dependencies yourself.
                      npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (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":"x64"})
                      
                      npm ERR! code ELIFECYCLE
                      npm ERR! errno 1
                      npm ERR! iobroker.js-controller@4.0.23 install: `node iobroker.js setup first`
                      npm ERR! Exit status 1
                      npm ERR!
                      npm ERR! Failed at the iobroker.js-controller@4.0.23 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/2022-11-01T17_18_56_246Z-debug.log
                      maik@iobroker:/opt/iobroker$ iob start
                      maik@iobroker:/opt/iobroker$
                      
                      

                      Jetzt kann ich den ioBroker nicht mehr über die Webseite erreichen.

                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @symsen last edited by

                        @symsen

                        sudo ln -s /usr/bin/node /usr/bin/nodejs
                        uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                        iobroker list instances
                        
                        S 1 Reply Last reply Reply Quote 1
                        • S
                          symsen @Thomas Braun last edited by symsen

                          @thomas-braun sagte in ERROR: Process exited with code 1 / keine Updates mehr:

                          @symsen

                          sudo ln -s /usr/bin/node /usr/bin/nodejs
                          uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                          iobroker list instances
                          
                          
                          Last login: Tue Nov  1 18:30:31 2022 from 192.168.178.159
                          cd '/home/maik'
                          maik@iobroker:~$ cd '/home/maik'
                          maik@iobroker:~$ sudo ln -s /usr/bin/node /usr/bin/nodejs
                          [sudo] Passwort für maik:
                          Das hat nicht funktioniert, bitte nochmal probieren.
                          [sudo] Passwort für maik:
                          ln: die symbolische Verknüpfung '/usr/bin/nodejs' konnte nicht angelegt werden: Die Datei existiert bereits
                          maik@iobroker:~$
                          
                          maik@iobroker:~$ iobroker list instances
                          internal/modules/cjs/loader.js:905
                            throw err;
                            ^
                          
                          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                              at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
                              at Function.Module._load (internal/modules/cjs/loader.js:746:27)
                              at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
                              at internal/main/run_main_module.js:17:47 {
                            code: 'MODULE_NOT_FOUND',
                            requireStack: []
                          }
                          maik@iobroker:~$
                          
                          
                          Thomas Braun 2 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @symsen last edited by

                            @symsen
                            Den Rest auch noch.

                            1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @symsen last edited by Thomas Braun

                              @symsen sagte in ERROR: Process exited with code 1 / keine Updates mehr:

                              Das interssanteste fehlt:

                              
                              uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                              
                              S 1 Reply Last reply Reply Quote 0
                              • S
                                symsen @Thomas Braun last edited by

                                @thomas-braun sagte in ERROR: Process exited with code 1 / keine Updates mehr:

                                @symsen sagte in ERROR: Process exited with code 1 / keine Updates mehr:

                                Das interssanteste fehlt:

                                
                                uname -m && test -f /opt/scripts/.docker_config/.thisisdocker && echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm && nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                
                                
                                Last login: Tue Nov  1 18:40:17 2022 from 192.168.178.159
                                cd '/home/maik'
                                maik@iobroker:~$ cd '/home/maik'
                                maik@iobroker:~$ uname -m && test -f /opt/scripts/.docker_config/.thisisdocker&& echo "Docker-Installation" || echo "Kein Docker" && type -P nodejs node npm&& nodejs -v && node -v && npm -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                                x86_64
                                Kein Docker
                                /usr/bin/nodejs
                                /usr/bin/node
                                /usr/bin/npm
                                v14.20.1
                                v14.20.1
                                6.14.17
                                internal/modules/cjs/loader.js:905
                                  throw err;
                                  ^
                                
                                Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15)
                                    at Function.Module._load (internal/modules/cjs/loader.js:746:27)
                                    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
                                    at internal/main/run_main_module.js:17:47 {
                                  code: 'MODULE_NOT_FOUND',
                                  requireStack: []
                                }
                                maik@iobroker:~$
                                
                                
                                1 Reply Last reply Reply Quote 0
                                • S
                                  symsen last edited by

                                  So, ich habe nun neu installiert und das Backup eingespielt, es funktioniert wieder.

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

                                  Support us

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

                                  473
                                  Online

                                  31.8k
                                  Users

                                  80.0k
                                  Topics

                                  1.3m
                                  Posts

                                  error kein update process exited with code 1
                                  4
                                  24
                                  1204
                                  Loading More Posts
                                  • Oldest to Newest
                                  • Newest to Oldest
                                  • Most Votes
                                  Reply
                                  • Reply as topic
                                  Log in to reply
                                  Community
                                  Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                  The ioBroker Community 2014-2023
                                  logo