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

      @C3PO

      bin als root drauf weil sudo auf dem image gesperrt ist

      Warum das? Dann mach dir den sudo wieder zugängig. Bist ja root, also darfst du das auch.

      Und deine Ausgaben noch in hübsche </> Code-Tags, dann könnte das was werden. Der ioBroker verwendet übrigens 'sudo'. Ich weiß ja nicht wie (und warum) die bei loxberry den sudo auf Eis gelegt haben, aber das könnte knallen in dem Setup.

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

        @Thomas-Braun
        aber du denkst auch das es an der js-controller version liegt?

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

          @C3PO
          Ich denke, das es a) an nicht sauberer Installation liegt und b) an dem anderen 'Konzept' bzgl. root/sudo.
          Wobei vermutlich a) eine direkte Folge von b) ist.

          apt update
          apt dist-upgrade
          

          Wobei, wenn ich mir den Thread bei loxberry anschaue....

          https://github.com/mschlenstedt/Loxberry/issues/188

          Die haben aber mal genau Null Ahnung von Debian, scheint mir.

          christianTF created this issue in mschlenstedt/Loxberry

          closed sudo Standardverhalten wiederherstellen #188

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

            @Thomas-Braun
            Ich hab zumindest null Ahnung davon :-(. Wobie ich auch nicht verstehe was mit SUDO gehen soll was mit root nicht geht.

            hab jetzt mal

            apt update
            apt dist-upgrade
            

            ausgeführt, leider gleiches Problem

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

              @C3PO Ich will/muss die Ausgaben sehen. Meine Glaskugel ist kaputt.

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

                @Thomas-Braun

                 apt update
                Hit:1 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster InRelease
                Hit:2 https://deb.nodesource.com/node_12.x buster InRelease
                Get:3 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
                Err:3 https://dl.yarnpkg.com/debian stable InRelease
                  The following signatures were invalid: EXPKEYSIG 23E7166788B63E1E Yarn Packaging <yarn@dan.cx>
                Reading package lists... Done
                Building dependency tree
                Reading state information... Done
                All packages are up to date.
                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.
                
                

                Rest kommt gleich, muss ich nochmal ausführen, hatte Putty aus versehen geschlossen.

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

                  @C3PO

                  apt dist-upgrade
                  Reading package lists... Done
                  Building dependency tree
                  Reading state information... Done
                  Calculating upgrade... Done
                  0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
                  
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @C3PO last edited by Thomas Braun

                    @C3PO

                    cd /opt/iobroker
                    ls -la 
                    

                    LoxBerry nutzt offenbar yarn als JS-Paketmanager, iobroker setzt auf node.
                    Kann auch von der Seite her zu Problemen kommen. So wie die drauf sind installieren die Module global.

                    Ich würde fast beahupten, es wäre klüger beide Systeme auf getrennten Maschinenen zu fahren.

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

                      @Thomas-Braun

                      ls -la
                      total 156
                      drwx------  10 root root  4096 May 15 22:22 .
                      drwxr-xr-x  21 root root  4096 May 15 22:35 ..
                      -rw-------   1 root root  1311 May 15 22:35 .bash_history
                      -rw-r--r--   1 root root   684 May 15 21:22 .bashrc
                      drwxr-xr-x   3 root root  4096 May 15 20:40 .cache
                      drwx------   3 root root  4096 May 15 20:26 .config
                      drwx------   3 root root  4096 May 15 15:47 .gnupg
                      -rwxr-xr--   1 root root    93 May 15 22:22 iob
                      drwxr-xr-x   2 root root  4096 May 15 20:41 .iobroker
                      -rwxr-xr--   1 root root    93 May 15 22:22 iobroker
                      drwxr-xr-x   3 root root  4096 May 15 22:22 iobroker-data
                      drwxr-xr-x   2 root root  4096 May 15 22:22 log
                      drwxr-xr-x 243 root root 12288 May 15 22:22 node_modules
                      drwxr-xr-x   5 root root  4096 May 15 22:22 .npm
                      -rw-------   1 root root    36 May 15 20:37 .npmrc
                      -rw-r--r--   1 root root 74419 May 15 22:22 package-lock.json
                      -rw-r--r--   1 root root   148 Jul 28  2017 .profile
                      -rw-r--r--   1 root root  5738 May 15 22:22 reinstall.js
                      
                      
                      C 1 Reply Last reply Reply Quote 0
                      • C
                        C3PO @C3PO last edited by

                        @C3PO
                        und Danke schon mal für deine Zeit

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

                          @C3PO

                          curl -sL https://iobroker.net/fix.sh | bash -
                          
                          C 1 Reply Last reply Reply Quote 0
                          • C
                            C3PO @Thomas Braun last edited by C3PO

                            @Thomas-Braun

                            curl -sL https://iobroker.net/fix.sh | bash
                            library: loaded
                            Library version=2020-04-12
                            
                            ==========================================================================
                            
                                Welcome to the ioBroker installation fixer!
                                Script version: 2020-04-12
                            
                            ==========================================================================
                            
                            
                            ==========================================================================
                                Installing prerequisites (1/3)
                            ==========================================================================
                            
                            Hit:1 http://ftp.halifax.rwth-aachen.de/raspbian/raspbian buster InRelease
                            Hit:2 https://deb.nodesource.com/node_12.x buster InRelease
                            Get:3 https://dl.yarnpkg.com/debian stable InRelease [17.1 kB]
                            Err:3 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.
                            Installed gcc-c++
                            
                            ==========================================================================
                                Checking ioBroker user and directory permissions (2/3)
                            ==========================================================================
                            
                            Created /etc/sudoers.d/iobroker
                            Fixing directory permissions...
                            
                            ==========================================================================
                                Checking autostart (3/3)
                            ==========================================================================
                            
                            Enabling autostart...
                            Autostart enabled!
                            
                            ==========================================================================
                            
                                Your installation was fixed successfully
                                Run iobroker start to start ioBroker again!
                            
                            ==========================================================================
                            
                            

                            same 😞

                            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

                              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 -
                                curl: (6) Could not resolve host: dl-yarnpkg.com
                                gpg: no valid OpenPGP data found.
                                
                                
                                Thomas Braun 2 Replies Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @C3PO last edited by

                                  @C3PO

                                  Okay, dann ist der key für yarnpkg halt nicht signiert... Ist auch eigentlich die Baustelle von LoxBerry...

                                  curl -sL https://iobroker.net/install.sh | bash -
                                  
                                  C 1 Reply Last reply Reply Quote 0
                                  • Thomas Braun
                                    Thomas Braun Most Active @C3PO last edited by

                                    @C3PO

                                    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 -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
                                            • First post
                                              Last post

                                            Support us

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

                                            570
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

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