Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. English
    3. ioBroker general
    4. iObroker not accessible

    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 not accessible

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Vraanaa last edited by

      @vraanaa sagte in iObroker not accessible:

      @thomas-braun meinst du dass ich remote vnc desktop benutzen nicht?
      kann ich auch durch putty zum ssh gehen.

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

        @vraanaa

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

          @thomas-braun gleiche

          pi@raspberrypi:~ $ iobroker status
          node:internal/modules/cjs/loader:988
            throw err;
            ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
              at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
              at Function.Module._load (node:internal/modules/cjs/loader:833: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: []
          }
          
          
          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Vraanaa last edited by

            @vraanaa

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

              @thomas-braun

              pi@raspberrypi:~ $ cd /opt/iobroker
              pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
              npm ERR! code 24
              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! Server Cannot start inMem-objects on port 9001: Failed to lock DB file "/opt/iobroker/iobroker-data/objects.jsonl"!
              
              npm ERR! A complete log of this run can be found in:
              npm ERR!     /home/iobroker/.npm/_logs/2022-12-12T22_41_51_919Z-debug-0.log
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Vraanaa last edited by Thomas Braun

                @vraanaa sagte in iObroker not accessible:

                systemctl status iobroker.service
                sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
                
                Vraanaa 1 Reply Last reply Reply Quote 0
                • Vraanaa
                  Vraanaa @Thomas Braun last edited by

                  @thomas-braun

                  pi@raspberrypi:/opt/iobroker $ systemctl status iobroker.servicesystemctl status iobroker.service
                  Unit iobroker.servicesystemctl.service could not be found.
                  Unit status.service could not be found.
                  * iobroker.service - ioBroker Server
                       Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                       Active: active (running) since Mon 2022-12-12 23:46:34 CET; 550ms ago
                         Docs: http://iobroker.net
                     Main PID: 7175 (node)
                        Tasks: 7 (limit: 4915)
                          CPU: 534ms
                       CGroup: /system.slice/iobroker.service
                               `-7175 /usr/bin/node /opt/iobroker/node_modules/iobroker.js-controller/controller.js
                  
                  pro 12 23:46:35 raspberrypi bash[7175]: Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/controller.js'
                  pro 12 23:46:35 raspberrypi bash[7175]:     at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)
                  pro 12 23:46:35 raspberrypi bash[7175]:     at Function.Module._load (node:internal/modules/cjs/loader:833:27)
                  pro 12 23:46:35 raspberrypi bash[7175]:     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
                  pro 12 23:46:35 raspberrypi bash[7175]:     at node:internal/main/run_main_module:22:47 {
                  pro 12 23:46:35 raspberrypi bash[7175]:   code: 'MODULE_NOT_FOUND',
                  pro 12 23:46:35 raspberrypi bash[7175]:   requireStack: []
                  pro 12 23:46:35 raspberrypi bash[7175]: }
                  pro 12 23:46:35 raspberrypi systemd[1]: iobroker.service: Main process exited, code=exited, status=1/FAILURE
                  pro 12 23:46:35 raspberrypi systemd[1]: iobroker.service: Failed with result 'exit-code'.
                  pi@raspberrypi:/opt/iobroker $ sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
                  pi@raspberrypi:/opt/iobroker $ systemctl status iobroker.service
                  sudo lsof /opt/iobroker/iobroker-data/objects.jsonl
                  * iobroker.service - ioBroker Server
                       Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; vendor preset: enabled)
                       Active: activating (auto-restart) (Result: exit-code) since Mon 2022-12-12 23:48:20 CET; 654ms ago
                         Docs: http://iobroker.net
                      Process: 7409 ExecStart=/usr/bin/bash -c ${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js (code=exited, status=1/FAILURE)
                     Main PID: 7409 (code=exited, status=1/FAILURE)
                          CPU: 657ms
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @Vraanaa last edited by

                    @vraanaa

                    sudo systemctl disable iobroker.service
                    sudo systemctl stop iobroker.service
                    cd /opt/iobroker
                    sudo -H -u iobroker npm install iobroker.js-controller
                    
                    Vraanaa 1 Reply Last reply Reply Quote 0
                    • Vraanaa
                      Vraanaa @Thomas Braun last edited by

                      @thomas-braun

                      pi@raspberrypi:~ $ sudo systemctl disable iobroker.service
                      pi@raspberrypi:~ $ sudo systemctl stop iobroker.service
                      pi@raspberrypi:~ $ cd /opt/iobroker
                      pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                      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/2022-12-12T23_22_21_375Z-debug-0.log
                      pi@raspberrypi:/opt/iobroker $
                      
                      
                      Thomas Braun 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Vraanaa last edited by

                        @vraanaa

                        No idea.

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

                          @thomas-braun Thank you anyway. Youre the best - I have a backup image of my iobroker - maybe to completely reinstall entire system...
                          Maybe will help.
                          If I will install entire RPI - new installation will come with Bullseye - or what I need to take care of if I renew entire installation?

                          Thank you for your time and support

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

                            @vraanaa

                            If you want to completely reinstall:
                            Download the Raspberry OS Imager at their site and choose the 64bit Lite Version.

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

                            Support us

                            ioBroker
                            Community Adapters
                            Donate

                            566
                            Online

                            31.9k
                            Users

                            80.2k
                            Topics

                            1.3m
                            Posts

                            4
                            33
                            2883
                            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