Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. Iobroker startet nicht 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

    Iobroker startet nicht mehr

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

      @sr277

      Bring das erstmal auf nodeJS@16.
      Siehe meine Signatur.

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

        @thomas-braun

        Das sieht hier schon sehr komisch aus.

        pi@raspberrypi:~ $ cd /opt/iobroker
        pi@raspberrypi:/opt/iobroker $ npm ls | grep -E 'github|ERR'
        │ │ │ ├── github-from-package@0.0.0
        │   ├── github-url-from-git@1.5.0
        │   ├─┬ new-github-release-url@1.0.0
        npm ERR! peer dep missing: @types/express@^4.17.13, required by http-proxy-middleware@2.0.2
        npm ERR! peer dep missing: buffer@>=6.0.3, required by crc@4.1.1
        
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @SR277 last edited by

          @sr277

          Nö, alles i. O.

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

            @thomas-braun

            So habe es installiert.

            pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
            pi@raspberrypi:~ $ uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -v && iob -v && whoami && groups && echo $XDG_SESSION_TYPE && pwd && sudo apt-get update &> /dev/null && sudo apt-get update && apt-cache policy nodejs
            armv7l
            /usr/bin/nodejs
            /usr/bin/node
            /usr/bin/npm
            /usr/bin/npx
            v16.19.0
            v16.19.0
            8.19.3
            8.19.3
            4.0.23
            pi
            pi adm dialout cdrom sudo audio video plugdev games users input netdev lpadmin gpio i2c spi iobroker
            tty
            /home/pi
            Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
            Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease
            Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease
            Reading package lists... Done
            nodejs:
              Installed: 16.19.0-deb-1nodesource1
              Candidate: 16.19.0-deb-1nodesource1
              Version table:
             *** 16.19.0-deb-1nodesource1 500
                    500 https://deb.nodesource.com/node_16.x bullseye/main armhf Packages
                    100 /var/lib/dpkg/status
                 12.22.12~dfsg-1~deb11u1 500
                    500 http://raspbian.raspberrypi.org/raspbian bullseye/main armhf Packages
            
            

            Fehler besteht aber weiterhin:

            pi@raspberrypi:~ $ iob start admin
             Objects database error: connect ECONNREFUSED 127.0.0.1:9001
            Uncaught Rejection: /opt/iobroker/node_modules/source-map/lib/base64-vlq.js:91
            0 var di'it;
              ^^^
            
            SyntaxError: Unexpected token 'var'
                at Object.compileFunction (node:vm:360:18)
                at wrapSafe (node:internal/modules/cjs/loader:1094:15)
                at Module._compile (node:internal/modules/cjs/loader:1129:27)
                at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
                at Module.load (node:internal/modules/cjs/loader:1043:32)
                at Function.Module._load (node:internal/modules/cjs/loader:878:12)
                at Module.require (node:internal/modules/cjs/loader:1067:19)
                at require (node:internal/modules/cjs/helpers:103:18)
                at Object.<anonymous> (/opt/iobroker/node_modules/source-map/lib/source-map-generator.js:8:17)
                at Module._compile (node:internal/modules/cjs/loader:1165:14)
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @SR277 last edited by

              @sr277

              cd /opt/iobroker 
              npm ls source-map
              
              S 1 Reply Last reply Reply Quote 0
              • S
                SR277 @Thomas Braun last edited by

                @thomas-braun

                pi@raspberrypi:~ $ cd /opt/iobroker
                pi@raspberrypi:/opt/iobroker $ npm ls source-map
                iobroker.inst@3.0.0 /opt/iobroker
                ├─┬ iobroker.alexa2@3.12.0
                │ └─┬ source-map-support@0.5.21
                │   └── source-map@0.6.1
                └─┬ iobroker.iot@1.11.5
                  └─┬ jsdom@19.0.0
                    └─┬ escodegen@2.0.0
                      └── source-map@0.6.1 deduped
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @SR277 last edited by

                  @sr277

                  Lange das System nicht mehr abgestaubt...

                  iob stop
                  iob fix
                  iob restart
                  
                  S 1 Reply Last reply Reply Quote 0
                  • S
                    SR277 @Thomas Braun last edited by

                    @thomas-braun

                    
                    pi@raspberrypi:~ $ iob stop
                    pi@raspberrypi:~ $ iob fix
                    library: loaded
                    Library version=2022-12-09
                    
                    ==========================================================================
                    
                        Welcome to the ioBroker installation fixer!
                        Script version: 2022-12-22
                    
                        You might need to enter your password a couple of times.
                    
                    ==========================================================================
                    
                    
                    ==========================================================================
                        Installing prerequisites (1/4)
                    ==========================================================================
                    
                    Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
                    Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                    Hit:3 https://deb.nodesource.com/node_16.x bullseye InRelease
                    Reading package lists... Done
                    Installed gcc-c++
                    
                    ==========================================================================
                        Checking ioBroker user and directory permissions (2/4)
                    ==========================================================================
                    
                    Created /etc/sudoers.d/iobroker
                    Fixing directory permissions...
                    
                    ==========================================================================
                        Database maintenance (3/4)
                    ==========================================================================
                    
                    Checking for uncompressed JSONL databases... This might take a while!
                    
                    Compressing /opt/iobroker/iobroker-data/states.jsonl
                    Compressing /opt/iobroker/iobroker-data/objects.jsonl
                    Compressed 2 JSONL files. Done
                    
                    ==========================================================================
                        Checking autostart (4/4)
                    ==========================================================================
                    
                    Enabling autostart...
                    Autostart enabled!
                    
                    ==========================================================================
                    
                        Your installation was fixed successfully
                        Run iobroker start to start ioBroker again!
                    
                    ==========================================================================
                    
                    pi@raspberrypi:~ $ iob restart
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @SR277 last edited by

                      @sr277

                      iobroker status
                      
                      S 1 Reply Last reply Reply Quote 0
                      • S
                        SR277 @Thomas Braun last edited by

                        @thomas-braun

                        pi@raspberrypi:~ $ iobroker status
                         Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                         Objects database error: read ECONNRESET
                         Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                         Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                         Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                         Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                        Uncaught Rejection: /opt/iobroker/node_modules/source-map/lib/base64-vlq.js:91
                        0 var di'it;
                          ^^^
                        
                        SyntaxError: Unexpected token 'var'
                            at Object.compileFunction (node:vm:360:18)
                            at wrapSafe (node:internal/modules/cjs/loader:1094:15)
                            at Module._compile (node:internal/modules/cjs/loader:1129:27)
                            at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
                            at Module.load (node:internal/modules/cjs/loader:1043:32)
                            at Function.Module._load (node:internal/modules/cjs/loader:878:12)
                            at Module.require (node:internal/modules/cjs/loader:1067:19)
                            at require (node:internal/modules/cjs/helpers:103:18)
                            at Object.<anonymous> (/opt/iobroker/node_modules/source-map/lib/source-map-generator.js:8:17)
                            at Module._compile (node:internal/modules/cjs/loader:1165:14)
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @SR277 last edited by

                          @sr277

                          Keine Ahnung.

                          iob update
                          

                          funktioniert vermutlich auch nicht?

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

                            @thomas-braun

                            Ne das gleiche. 😞

                            pi@raspberrypi:~ $ iob update
                             Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                             Objects database error: read ECONNRESET
                             Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                             Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                             Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                             Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                            Uncaught Rejection: /opt/iobroker/node_modules/source-map/lib/base64-vlq.js:91
                            0 var di'it;
                              ^^^
                            
                            SyntaxError: Unexpected token 'var'
                                at Object.compileFunction (node:vm:360:18)
                                at wrapSafe (node:internal/modules/cjs/loader:1094:15)
                                at Module._compile (node:internal/modules/cjs/loader:1129:27)
                                at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
                                at Module.load (node:internal/modules/cjs/loader:1043:32)
                                at Function.Module._load (node:internal/modules/cjs/loader:878:12)
                                at Module.require (node:internal/modules/cjs/loader:1067:19)
                                at require (node:internal/modules/cjs/helpers:103:18)
                                at Object.<anonymous> (/opt/iobroker/node_modules/source-map/lib/source-map-generator.js:8:17)
                                at Module._compile (node:internal/modules/cjs/loader:1165:14)
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @SR277 last edited by

                              @sr277

                              cd /opt/iobroker
                              sudo -H -u iobroker npm install iobroker.alexa2
                              sudo -H -u iobroker npm install iobroker.iot
                              
                              S 1 Reply Last reply Reply Quote 0
                              • S
                                SR277 @Thomas Braun last edited by SR277

                                @thomas-braun

                                
                                pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.alexa2
                                npm WARN old lockfile
                                npm WARN old lockfile The package-lock.json file was created with an old version of npm,
                                npm WARN old lockfile so supplemental metadata must be fetched from the registry.
                                npm WARN old lockfile
                                npm WARN old lockfile This is a one-time fix-up, please be patient...
                                npm WARN old lockfile
                                
                                added 12 packages, removed 121 packages, and changed 31 packages in 1m
                                
                                137 packages are looking for funding
                                  run `npm fund` for details
                                pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.iot
                                
                                added 2 packages, removed 1 package, and changed 1 package in 13s
                                
                                138 packages are looking for funding
                                  run `npm fund` for details
                                
                                

                                Blöde Frage: Wie bekomme ich beim nächsten Befehl das "/opt/iobroker $" wieder weg?

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

                                  @sr277

                                  iob status
                                  
                                  S 1 Reply Last reply Reply Quote 0
                                  • S
                                    SR277 @Thomas Braun last edited by

                                    @thomas-braun

                                    Wie bekomme ich beim nächsten Befehl das "/opt/iobroker $" wieder weg?

                                    pi@raspberrypi:/opt/iobroker $ iob status
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     States database error: connect ECONNREFUSED 127.0.0.1:9000
                                     redis get system.host.raspberrypi.alive, error - Connection is closed.
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     Objects database error: connect ECONNREFUSED 127.0.0.1:9001
                                     redis get system.host.raspberrypi.plugins.sentry.enabled, error - Connection is closed.
                                    Uncaught Rejection: /opt/iobroker/node_modules/source-map/lib/base64-vlq.js:91
                                    0 var di'it;
                                      ^^^
                                    
                                    SyntaxError: Unexpected token 'var'
                                        at Object.compileFunction (node:vm:360:18)
                                        at wrapSafe (node:internal/modules/cjs/loader:1094:15)
                                        at Module._compile (node:internal/modules/cjs/loader:1129:27)
                                        at Object.Module._extensions..js (node:internal/modules/cjs/loader:1219:10)
                                        at Module.load (node:internal/modules/cjs/loader:1043:32)
                                        at Function.Module._load (node:internal/modules/cjs/loader:878:12)
                                        at Module.require (node:internal/modules/cjs/loader:1067:19)
                                        at require (node:internal/modules/cjs/helpers:103:18)
                                        at Object.<anonymous> (/opt/iobroker/node_modules/source-map/lib/source-map-generator.js:8:17)
                                        at Module._compile (node:internal/modules/cjs/loader:1165:14)
                                    
                                    
                                    Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @SR277 last edited by

                                      @sr277 sagte in Iobroker startet nicht mehr:

                                      Wie bekomme ich beim nächsten Befehl das "/opt/iobroker $" wieder weg?

                                      warum?

                                      da bist du richtig!

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

                                        @sr277

                                        ls -lAh /opt/iobroker/iobroker-data/
                                        

                                        Im Prompt steht der Verzeichnispfad, in dem du dich gerade befindest. Vollkommen korrekt für den Moment.

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

                                          @thomas-braun

                                          pi@raspberrypi:/opt/iobroker $ ls -lAh /opt/iobroker/iobroker-data/
                                          total 53M
                                          drwxrwxr-x+  2 iobroker iobroker 4.0K Feb 11  2022 backitup
                                          drwxrwxr-x+  2 iobroker iobroker  12K Oct  1 20:53 backup-objects
                                          drwxrwxr-x+ 70 iobroker iobroker 4.0K May 13  2022 files
                                          -rw-rwxr--+  1 iobroker iobroker 5.0K Feb  8  2022 iobroker.json
                                          drwxrwxr-x+  3 iobroker iobroker 4.0K Jan 26  2022 jarvis
                                          -rw-rwxr--+  1 iobroker iobroker    3 Jan 15 17:19 notifications.json
                                          -rw-rwxr--+  1 iobroker iobroker  14M Feb  8  2022 objects.json.bak.migrated
                                          -rw-rw-r--+  1 iobroker iobroker  17M Jan 15 17:19 objects.jsonl
                                          -rw-rwxr--+  1 iobroker iobroker  14M Feb  8  2022 objects.json.migrated
                                          -rw-rwxr--+  1 iobroker iobroker 2.6M Feb  8  2022 states.json.bak.migrated
                                          -rw-rw-r--+  1 iobroker iobroker 4.2M Jan 15 17:19 states.jsonl
                                          -rw-rwxr--+  1 iobroker iobroker 2.6M Feb  8  2022 states.json.migrated
                                          drwxrwxr-x+  2 iobroker iobroker 4.0K May  1  2022 telegram_0
                                          drwxrwxr-x+  3 iobroker iobroker 4.0K Feb  8  2022 tmp
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @SR277 last edited by

                                            @sr277 sagte in Iobroker startet nicht mehr:

                                            getfacl /opt/iobroker/iobroker-data/objects.jsonl
                                            
                                            S 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            960
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            24
                                            887
                                            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