Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. neu installierter ioBroker über Browser nicht erreichbar

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    neu installierter ioBroker über Browser nicht erreichbar

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

      @Thomas-Braun

      curl -sL https://iobroker.net/install.sh | bash -
      library: loaded
      Library version=2020-04-12
      
      ==========================================================================
      
          Welcome to the ioBroker installer!
          Installer version: 2020-04-12
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/4)
      ==========================================================================
      
      Hit:1 https://deb.nodesource.com/node_12.x buster InRelease
      Get:2 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
      Hit:3 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster InRelease
      Err:2 https://dl.yarnpkg.com/debian stable InRelease
        The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
      Reading package lists... Done
      W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
      W: Failed to fetch https://dl.yarnpkg.com/debian/dists/stable/InRelease  The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
      W: Some index files failed to download. They have been ignored, or old ones used instead.
      Changing npm registry to https://registry.npmjs.org
      Installed gcc-c++
      
      ==========================================================================
          Creating ioBroker user and directory (2/4)
      ==========================================================================
      
      Created /etc/sudoers.d/iobroker
      Directory /opt/iobroker created
      
      ==========================================================================
          Installing ioBroker (3/4)
      ==========================================================================
      
      
      ==========================================================================
          Finalizing installation (4/4)
      ==========================================================================
      
      Enabling autostart...
      Autostart enabled!
      Fixing directory permissions...
      
      ==========================================================================
      
          ioBroker was installed successfully
          Open http://xxx.xxx.xxx.xxx:8081 in a browser and start configuring!
      
      ==========================================================================
      
      
      1 Reply Last reply Reply Quote 0
      • C
        C3PO @Thomas Braun last edited by C3PO

        @Thomas-Braun

        curl -sS https://dl.yarnpkg.com/debia/pubkey.gpg | sudo apt-key add -
        gpg: no valid OpenPGP data found.
        
        Thomas Braun 1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @C3PO last edited by

          @C3PO
          Da fehlt dir ein 'n'. Kopier die Befehle doch rein.

          curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
          
          C 1 Reply Last reply Reply Quote 0
          • C
            C3PO @Thomas Braun last edited by

            @Thomas-Braun

            curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
            OK
            
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @C3PO last edited by

              @C3PO Jetzt sollte die Meldung von apt auch weg sein.

              apt update && apt upgrade
              
              C 1 Reply Last reply Reply Quote 0
              • C
                C3PO @Thomas Braun last edited by

                @Thomas-Braun

                done

                 apt update && apt upgrade
                Hit:1 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster InRelease
                Hit:2 https://deb.nodesource.com/node_12.x buster InRelease
                Hit:3 https://dl.yarnpkg.com/debian stable InRelease
                Reading package lists... Done
                Building dependency tree
                Reading state information... Done
                1 package can be upgraded. Run 'apt list --upgradable' to see it.
                Reading package lists... Done
                Building dependency tree
                Reading state information... Done
                Calculating upgrade... Done
                The following packages will be upgraded:
                  yarn
                1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                Need to get 891 kB of archives.
                After this operation, 8,192 B of additional disk space will be used.
                Do you want to continue? [Y/n] Y
                Get:1 https://dl.yarnpkg.com/debian stable/main armhf yarn all 1.22.4-1 [891 kB]
                Fetched 891 kB in 0s (2,805 kB/s)
                (Reading database ... 83280 files and directories currently installed.)
                Preparing to unpack .../archives/yarn_1.22.4-1_all.deb ...
                Unpacking yarn (1.22.4-1) over (1.19.1-1) ...
                Setting up yarn (1.22.4-1) ...
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @C3PO last edited by Thomas Braun

                  @C3PO Siehste, jetzt funktioniert das yarn-Repo auch wieder.

                  iobroker version
                  iobroker start
                  whoami
                  sudo -u iobroker whoami
                  ls -la /etc/sudoers.d/
                  
                  C 1 Reply Last reply Reply Quote 0
                  • C
                    C3PO @Thomas Braun last edited by

                    @Thomas-Braun

                    muss ich wohl wieder als root machen

                    loxberry@loxberry:~ $ iobroker version
                    2.2.9
                    loxberry@loxberry:~ $ iobroker start
                    loxberry@loxberry:~ $ whoami
                    loxberry
                    loxberry@loxberry:~ $ sudo -u iobroker whoami
                    [sudo] password for loxberry:
                    Sorry, user loxberry is not allowed to execute '/usr/bin/whoami' as iobroker on loxberry.
                    
                    
                    Thomas Braun C 2 Replies Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @C3PO last edited by

                      @C3PO
                      Als root

                      apt install sudo
                      
                      C 1 Reply Last reply Reply Quote 0
                      • C
                        C3PO @C3PO last edited by

                        @C3PO

                        root@loxberry:~# whoami
                        root
                        root@loxberry:~# sudo -u iobroker whoami
                        iobroker
                        root@loxberry:~# ls -la /etc/sudoers.d/
                        total 28
                        dr-xr-xr-x  2 root     root     4096 May 15 23:17 .
                        drwxr-xr-x 21 loxberry loxberry 4096 Sep 24  2019 ..
                        -r--r-----  1 root     root     1145 May 15 23:17 iobroker
                        -rw-rw-r--  1 root     root     1684 Oct 25  2019 lbdefaults
                        -rw-r--r--  1 root     root      586 May 15 15:54 mqttgateway
                        -r--r-----  1 root     root      958 Apr  1  2018 README
                        -rw-r--r--  1 root     root      158 May 15 15:59 weather4lox
                        
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • C
                          C3PO @Thomas Braun last edited by

                          @Thomas-Braun

                          apt install sudo
                          Reading package lists... Done
                          Building dependency tree
                          Reading state information... Done
                          sudo is already the newest version (1.8.27-1+deb10u2).
                          0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                          root@loxberry:~#
                          
                          

                          hatte ich schon mal probiert, sudo geht trotzdem nicht

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

                            @C3PO

                            usermod -aG sudo loxberry
                            
                            C 1 Reply Last reply Reply Quote 0
                            • C
                              C3PO @Thomas Braun last edited by

                              @Thomas-Braun

                              root@loxberry:~# usermod -aG sudo loxberry
                              root@loxberry:~# exit
                              logout
                              loxberry@loxberry:~ $ sudo nodejs -v
                              [sudo] password for loxberry:
                              Sorry, user loxberry is not allowed to execute '/usr/bin/nodejs -v' as root on loxberry.
                              loxberry@loxberry:~ $
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @C3PO last edited by

                                @C3PO
                                Als loxberry

                                groups
                                
                                C 1 Reply Last reply Reply Quote 0
                                • C
                                  C3PO @Thomas Braun last edited by

                                  @Thomas-Braun

                                  loxberry@loxberry:~ $ groups
                                  loxberry tty dialout sudo audio www-data gpio
                                  
                                  
                                  Thomas Braun 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @C3PO last edited by

                                    @C3PO Dann klemmen die den user noch irgendwo anders ab.
                                    Soll mir jetzt auch egal sein...

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

                                      @Thomas-Braun

                                       iobroker status
                                      Socket.io Server detected. Please update to js-controller 2.0 or higher!
                                      Socket.io Server detected. Please update to js-controller 2.0 or higher!
                                      Socket.io Server detected. Please update to js-controller 2.0 or higher!
                                      Socket.io Server detected. Please update to js-controller 2.0 or higher!
                                      Socket.io Server detected. Please update to js-controller 2.0 or higher!
                                      Socket.io Server detected. Please update to js-controller 2.0 or higher!
                                      Socket.io Server detected. Please update to js-controller 2.0 or higher!
                                      Socket.io Server detected. Please update to js-controller 2.0 or higher!
                                      iobroker is running on this host.
                                      
                                      No iobroker host is running.
                                      
                                      Objects type: file
                                      States  type: file
                                      
                                      
                                      Thomas Braun 1 Reply Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @C3PO last edited by

                                        @C3PO
                                        Keine Ahnung wie die 'Kollegen' von LoxBerry da im System rumfuhrwerken.
                                        Sieht auf jedenfalls für mich äußerst schräg aus.

                                        In /opt/iobroker

                                        npm install iobroker.js-controller
                                        
                                        C 1 Reply Last reply Reply Quote 0
                                        • C
                                          C3PO @Thomas Braun last edited by

                                          @Thomas-Braun

                                          root@loxberry:/opt/iobroker# npm install iobroker.js-controller
                                          
                                          > iobroker.js-controller@2.2.9 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                          > node lib/preinstallCheck.js
                                          
                                          NPM version: 6.14.4
                                          
                                          > iobroker.js-controller@2.2.9 install /opt/iobroker/node_modules/iobroker.js-controller
                                          > node iobroker.js setup first
                                          
                                          Socket.io Server detected. Please update to js-controller 2.0 or higher!
                                          Socket.io Server detected. Please update to js-controller 2.0 or higher!
                                          Socket.io Server detected. Please update to js-controller 2.0 or higher!
                                          Socket.io Server detected. Please update to js-controller 2.0 or higher!
                                          Socket.io Server detected. Please update to js-controller 2.0 or higher!
                                          Socket.io Server detected. Please update to js-controller 2.0 or higher!
                                          Socket.io Server detected. Please update to js-controller 2.0 or higher!
                                          Socket.io Server detected. Please update to js-controller 2.0 or higher!
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.1.2 (node_modules/chokidar/node_modules/fsevents):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.3: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                                          npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.5 (node_modules/osx-temperature-sensor):
                                          npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.5: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                                          
                                          + iobroker.js-controller@2.2.9
                                          updated 1 package in 32.054s
                                          
                                          3 packages are looking for funding
                                            run `npm fund` for details
                                          
                                          
                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @C3PO last edited by Thomas Braun

                                            @C3PO Stop mal den LoxBerry Server Kram auf der Kiste.

                                            Als root

                                            netstat -tulpen | grep -v 127.0.0.1
                                            
                                            C 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            909
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            browser js controller update
                                            4
                                            62
                                            3471
                                            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