Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Einsteigerfragen
    4. IoBroker ist nicht mehr über Browser erreichbar

    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 ist nicht mehr über Browser erreichbar

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Bastel2021 last edited by

      das wird ausgegeben


      pi@raspberrypi:~ $ uname -m && type -P nodejs node npm npx && nodejs -v && node -v && npm -v && npx -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
      pi
      pi adm dialout cdrom sudo audio video plugdev games users input render netdev lpadmin gpio i2c spi iobroker
      tty
      /home/pi
      OK:1 http://archive.raspberrypi.org/debian bullseye InRelease
      OK:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
      OK:3 https://deb.nodesource.com/node_16.x bullseye InRelease
      OK:4 https://phoscon.de/apt/deconz bullseye InRelease
      Paketlisten werden gelesen… Fertig
      nodejs:
      Installiert: 16.19.0-deb-1nodesource1
      Installationskandidat: 16.19.0-deb-1nodesource1
      Versionstabelle:
      *** 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
      pi@raspberrypi:~ $

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

        @bastel2021

        sudo -H -u iobroker npm cache clear
        cd /opt/iobroker
        sudo -H -u iobroker npm install iobroker.js-controller
        
        1 Reply Last reply Reply Quote 0
        • B
          Bastel2021 last edited by

          ich glaube das sieht nicht so gut aus


          pi@raspberrypi:~ $ sudo -H -u iobroker npm cache clear

          cd /opt/iobroker

          sudo -H -u iobroker npm install iobroker.js-controller
          npm ERR! As of npm@5, the npm cache self-heals from corruption issues
          npm ERR! by treating integrity mismatches as cache misses. As a result,
          npm ERR! data extracted from the cache is guaranteed to be valid. If you
          npm ERR! want to make sure everything is consistent, use npm cache verify
          npm ERR! instead. Deleting the cache can only make npm go slower, and is
          npm ERR! not likely to correct any problems you may be encountering!
          npm ERR!
          npm ERR! On the other hand, if you're debugging an issue with the installer,
          npm ERR! or race conditions that depend on the timing of writing to an empty
          npm ERR! cache, you can use npm install --cache /tmp/empty-cache to use a
          npm ERR! temporary cache instead of nuking the actual one.
          npm ERR!
          npm ERR! If you're sure you want to delete the entire cache, rerun this command
          npm ERR! with --force.

          npm ERR! A complete log of this run can be found in:
          npm ERR! /home/iobroker/.npm/_logs/2023-01-15T15_51_24_403Z-debug-0.log
          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
          npm ERR! code 22
          npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
          npm ERR! command failed
          npm ERR! command sh -c -- node iobroker.js setup first
          npm ERR! No connection to databases possible ...

          npm ERR! A complete log of this run can be found in:
          npm ERR! /home/iobroker/.npm/_logs/2023-01-15T15_51_26_424Z-debug-0.log
          pi@raspberrypi:/opt/iobroker $

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

            @bastel2021

            Sorry, muss

            sudo -H -u iobroker npm cache clear --force
            

            lauten.

            B 1 Reply Last reply Reply Quote 0
            • B
              Bastel2021 @Thomas Braun last edited by

              @thomas-braun


              pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm cache clear --forcecd /opt/iobroker

              sudo -H -u iobroker npm install iobroker.js-controller
              npm WARN Not Found: /opt/iobroker
              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
              npm ERR! code 22
              npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
              npm ERR! command failed
              npm ERR! command sh -c -- node iobroker.js setup first
              npm ERR! No connection to databases possible ...

              npm ERR! A complete log of this run can be found in:
              npm ERR! /home/iobroker/.npm/_logs/2023-01-15T15_59_37_585Z-debug-0.log
              pi@raspberrypi:/opt/iobroker $

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

                @bastel2021

                iobroker fix
                
                B 1 Reply Last reply Reply Quote 0
                • B
                  Bastel2021 last edited by

                  @thomas-braun sagte in IoBroker ist nicht mehr über Browser erreichbar:

                  iobroker fix

                  1 Reply Last reply Reply Quote 0
                  • B
                    Bastel2021 @Thomas Braun last edited by

                    @thomas-braun


                    pi@raspberrypi:~ $ iobroker fix
                    library: loaded
                    Library version=2022-12-09
                    ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                    pi@raspberrypi:~ $

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

                      @bastel2021

                      Bitte statt der Spoiler lieber CodeTags verwenden. Danke.

                      B 1 Reply Last reply Reply Quote 0
                      • B
                        Bastel2021 @Thomas Braun last edited by

                        @thomas-braun

                        pi@raspberrypi:~ $ iobroker fix
                        library: loaded
                        Library version=2022-12-09
                        ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                        pi@raspberrypi:~ $
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Bastel2021 last edited by

                          @bastel2021

                          cd /opt/iobroker
                          sudo -H -u iobroker npm install iobroker.js-controller
                          
                          B 1 Reply Last reply Reply Quote 0
                          • B
                            Bastel2021 @Thomas Braun last edited by

                            @thomas-braun

                            pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                            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
                            npm ERR! code 22
                            npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                            npm ERR! command failed
                            npm ERR! command sh -c -- node iobroker.js setup first
                            npm ERR! No connection to databases possible ...
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /home/iobroker/.npm/_logs/2023-01-15T16_15_40_711Z-debug-0.log
                            pi@raspberrypi:/opt/iobroker $
                            
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @Bastel2021 last edited by

                              @bastel2021 sagte in IoBroker ist nicht mehr über Browser erreichbar:

                              sudo -H -u iobroker npm install iobroker.js-controller --debug
                              
                              B 1 Reply Last reply Reply Quote 0
                              • B
                                Bastel2021 @Thomas Braun last edited by

                                @thomas-braun

                                pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller --debug
                                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
                                npm ERR! code 22
                                npm ERR! path /opt/iobroker/node_modules/iobroker.js-controller
                                npm ERR! command failed
                                npm ERR! command sh -c -- node iobroker.js setup first
                                npm ERR! No connection to databases possible ...
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2023-01-15T16_20_29_487Z-debug-0.log
                                pi@raspberrypi:/opt/iobroker $
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Bastel2021 last edited by

                                  @bastel2021

                                  ls -lAh /opt/iobroker/iobroker-data/
                                  
                                  B 1 Reply Last reply Reply Quote 0
                                  • B
                                    Bastel2021 @Thomas Braun last edited by

                                    @thomas-braun

                                    pi@raspberrypi:/opt/iobroker $ ls -lAh /opt/iobroker/iobroker-data/
                                    insgesamt 650M
                                    drwxrwxr-x+  2 iobroker iobroker 4,0K 22. Mär 2022  backitup
                                    drwxrwxr-x+  2 iobroker iobroker 4,0K 15. Jan 12:35 backup-objects
                                    drwxrwxr-x+ 17 iobroker iobroker 4,0K 14. Jan 17:26 files
                                    -rw-rwxr--+  1 iobroker iobroker 7,4K 22. Mär 2022  iobroker.json
                                    drwxrwxr-x+  4 iobroker iobroker 4,0K  1. Jan 14:32 node-red
                                    -rw-rw-r--+  1 iobroker iobroker    3 25. Mär 2022  notifications.json
                                    -rw-rwxr--+  1 iobroker iobroker 648M 15. Jan 14:12 objects.jsonl
                                    -rw-rw-r--+  1 iobroker iobroker 1,7M 15. Jan 15:01 states.jsonl
                                    drwxrwxr-x+  2 iobroker iobroker 4,0K 15. Jan 14:12 zigbee_0
                                    pi@raspberrypi:/opt/iobroker $
                                    
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Bastel2021 last edited by

                                      @bastel2021 sagte in IoBroker ist nicht mehr über Browser erreichbar:

                                      648M 15. Jan 14:12 objects.jsonl

                                      Die könnte etwas fett sein.

                                      iob fix
                                      
                                      B 1 Reply Last reply Reply Quote 0
                                      • B
                                        Bastel2021 @Thomas Braun last edited by

                                        @thomas-braun

                                        pi@raspberrypi:/opt/iobroker $ iob fix
                                        library: loaded
                                        Library version=2022-12-09
                                        ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                                        pi@raspberrypi:/opt/iobroker 
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Bastel2021 last edited by

                                          @bastel2021

                                          ls -lAh /opt/iobroker/
                                          
                                          B 1 Reply Last reply Reply Quote 0
                                          • B
                                            Bastel2021 @Thomas Braun last edited by

                                            @thomas-braun

                                            pi@raspberrypi:/opt/iobroker $ ls -lAh /opt/iobroker/
                                            insgesamt 456K
                                            drwxrwxr-x+   2 iobroker iobroker 4,0K 15. Jan 02:40 backups
                                            -rwxrwxrwx+   1 iobroker iobroker  133 22. Mär 2022  INSTALLER_INFO.txt
                                            lrwxrwxrwx    1 iobroker iobroker   22 22. Mär 2022  iob -> /opt/iobroker/iobroker
                                            -rwxrwxr-x+   1 iobroker iobroker  309 22. Mär 2022  iobroker
                                            drwxrwxr-x+   7 iobroker iobroker 4,0K 15. Jan 17:21 iobroker-data
                                            drwxrwxr-x+   2 iobroker iobroker 4,0K 15. Jan 14:59 log
                                            drwxrwxr-x+ 570 iobroker iobroker  20K 15. Jan 17:21 node_modules
                                            -rw-rwxr--+   1 iobroker iobroker  155 22. Mär 2022  .npmrc
                                            -rw-rwxr--+   1 iobroker iobroker  603 14. Jan 17:26 package.json
                                            -rw-rwxr--+   1 iobroker iobroker 406K 14. Jan 17:26 package-lock.json
                                            pi@raspberrypi:/opt/iobroker 
                                            
                                            Thomas Braun 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            858
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            73
                                            3790
                                            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