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

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    IoBroker ist nicht mehr über Browser erreichbar

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                                      • Thomas Braun
                                        Thomas Braun Most Active @Bastel2021 last edited by

                                        @bastel2021

                                        ./iobroker -v
                                        
                                        B 1 Reply Last reply Reply Quote 0
                                        • B
                                          Bastel2021 @Thomas Braun last edited by

                                          @thomas-braun

                                          pi@raspberrypi:/opt/iobroker $ ./iobroker -v
                                          node:internal/modules/cjs/loader:998
                                            throw err;
                                            ^
                                          
                                          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                              at Function.Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
                                              at Function.Module._load (node:internal/modules/cjs/loader:841:27)
                                              at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
                                              at node:internal/main/run_main_module:22:47 {
                                            code: 'MODULE_NOT_FOUND',
                                            requireStack: []
                                          }
                                          pi@raspberrypi:/opt/iobroker $
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @Bastel2021 last edited by

                                            @bastel2021

                                            Fällt mir nix zu ein.

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            506
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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