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.
    • Vraanaa
      Vraanaa @Thomas Braun last edited by Vraanaa

      @thomas-braun I did but it didnt update - strange - I stopped iobroker before:
      Edit - sorry I forgot to run sudo apt install -y nodejs

      pi@raspberrypi:~ $ node -v
      v14.21.1
      pi@raspberrypi:~ $ curl -sL https://deb.nodesource.com/setup_16.x | sudo -E bash -
      
      ## Installing the NodeSource Node.js 16.x repo...
      
      
      ## Populating apt-get cache...
      
      + apt-get update
      Hit:1 http://archive.raspberrypi.org/debian buster InRelease
      Hit:2 https://deb.nodesource.com/node_16.x buster InRelease                                 
      Hit:3 http://raspbian.raspberrypi.org/raspbian buster InRelease                             
      Reading package lists... Done
      
      ## Confirming "buster" is supported...
      
      + curl -sLf -o /dev/null 'https://deb.nodesource.com/node_16.x/dists/buster/Release'
      
      ## Adding the NodeSource signing key to your keyring...
      
      + curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | gpg --dearmor | tee /usr/share/keyrings/nodesource.gpg >/dev/null
      gpg: WARNING: unsafe ownership on homedir '/home/pi/.gnupg'
      
      ## Creating apt sources list file for the NodeSource Node.js 16.x repo...
      
      + echo 'deb [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x buster main' > /etc/apt/sources.list.d/nodesource.list
      + echo 'deb-src [signed-by=/usr/share/keyrings/nodesource.gpg] https://deb.nodesource.com/node_16.x buster main' >> /etc/apt/sources.list.d/nodesource.list
      
      ## Running `apt-get update` for you...
      
      + apt-get update
      Hit:1 http://raspbian.raspberrypi.org/raspbian buster InRelease
      Hit:2 http://archive.raspberrypi.org/debian buster InRelease             
      Hit:3 https://deb.nodesource.com/node_16.x buster InRelease              
      Reading package lists... Done                      
      
      ## Run `sudo apt-get install -y nodejs` to install Node.js 16.x and npm
      ## You may also need development tools to build native addons:
           sudo apt-get install gcc g++ make
      ## To install the Yarn package manager, run:
           curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | gpg --dearmor | sudo tee /usr/share/keyrings/yarnkey.gpg >/dev/null
           echo "deb [signed-by=/usr/share/keyrings/yarnkey.gpg] https://dl.yarnpkg.com/debian stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
           sudo apt-get update && sudo apt-get install yarn
      
      
      pi@raspberrypi:~ $ node -v
      v14.21.1
      pi@raspberrypi:~ $ 
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Vraanaa last edited by

        @vraanaa
        What does this command do?

        sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
        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
        
        1 Reply Last reply Reply Quote 0
        • Vraanaa
          Vraanaa @Thomas Braun last edited by

          @thomas-braun now is on version 16

          pi@raspberrypi:~ $ node -v
          v16.18.1
          pi@raspberrypi:~ $ iobroker start
          pi@raspberrypi:~ $ iobroker update
          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: []
          }
          pi@raspberrypi:~ $ iobroker fix
          library: loaded
          Library version=2022-06-15
          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 @Vraanaa last edited by

            @vraanaa

            The 'Buster' release has reached its End of Life.
            Please install the actual stable Release 'Bullseye'

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

              @thomas-braun thank you for you help so far - can you help me little bit with this Bullseye? How exactly I should install it?

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

                @vraanaa

                In german language only:

                https://forum.iobroker.net/topic/47213/upgrade-von-debian-10-buster-auf-11-bullseye

                But I'm sure that there are plenty of instructions out there in English or even your native language.

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

                  @thomas-braun kein problem - ich kann auch Deutch verstehen 👍
                  Vielen Dank - probiere ich und melde.
                  So nach Bullseye instalation soll alles OK sein oder muss ich noch ewas anderes zu tun?

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

                    @vraanaa

                    Nein, der iobroker wird nach einem Upgrade auf Bullseye immer noch kaputt sein. Aber dann ist die Basis schonmal aktuell und stabil.

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

                      @thomas-braun I did all as per manual. can we check if everything is ok before next steps?

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

                        @vraanaa

                        sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                        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
                        

                        what is the feedback to this chain of commands?

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

                          @thomas-braun

                          pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs &> /dev/null
                          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
                          armv7l
                          Kein Docker
                          /usr/bin/nodejs
                          /usr/bin/node
                          /usr/bin/npm
                          v16.18.1
                          v16.18.1
                          8.19.2
                          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: []
                          }
                          pi@raspberrypi:~ $ 
                          
                          
                          
                          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:

                            
                            whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                            
                            Vraanaa 1 Reply Last reply Reply Quote 0
                            • Vraanaa
                              Vraanaa @Thomas Braun last edited by

                              @thomas-braun kommt diese

                              pi@raspberrypi:~ $ whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_SESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                              pi
                              pi adm dialout cdrom sudo audio video plugdev games users input netdev lpadmin gpio i2c spi iobroker
                              x11
                              LXDE-pi
                              /home/pi
                              Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
                              Hit:2 http://archive.raspberrypi.org/debian bullseye InRelease                 
                              Hit:3 https://dl.yarnpkg.com/debian stable InRelease                           
                              Hit:4 https://deb.nodesource.com/node_16.x bullseye InRelease            
                              Reading package lists... Done                      
                              Building dependency tree... Done
                              Reading state information... Done
                              All packages are up to date.
                              nodejs:
                                Installed: 16.18.1-deb-1nodesource1
                                Candidate: 16.18.1-deb-1nodesource1
                                Version table:
                               *** 16.18.1-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 @Vraanaa last edited by

                                @vraanaa

                                Turn the Desktop OFF.
                                A server is running headless. Always.

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

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

                                  Thomas Braun Homoran 2 Replies Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @Vraanaa last edited by

                                    @vraanaa
                                    Nein, auch kein remote DESKTOP.
                                    NO DESKTOP.

                                    sudo raspi-config
                                    
                                    Menu:
                                    1 System Options       
                                    S5 Boot / Auto Login 
                                    B1 Console
                                    
                                    Vraanaa 1 Reply Last reply Reply Quote 0
                                    • Vraanaa
                                      Vraanaa @Thomas Braun last edited by

                                      @thomas-braun I did it:

                                      pi@raspberrypi:~ $ whoami && groups && echo $XDG_SESSION_TYPE && echo $DESKTOP_S                                                                                  ESSION && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy n                                                                                  odejs
                                      pi
                                      pi adm dialout cdrom sudo audio video plugdev games users input netdev lpadmin g                                                                                  pio 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
                                      Hit:4 https://dl.yarnpkg.com/debian stable InRelease
                                      Reading package lists... Done
                                      Building dependency tree... Done
                                      Reading state information... Done
                                      All packages are up to date.
                                      nodejs:
                                        Installed: 16.18.1-deb-1nodesource1
                                        Candidate: 16.18.1-deb-1nodesource1
                                        Version table:
                                       *** 16.18.1-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
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            717
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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