Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Neue Installationsroutine (für Linux)

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Neue Installationsroutine (für Linux)

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

      @dokbiz

      Ich hab es ohne nvm gemacht. Gibt doch Pakete für jedes Release. Ggf. im AUR.

      D 1 Reply Last reply Reply Quote 0
      • apollon77
        apollon77 @DokBiz last edited by

        @dokbiz und jetzt am besten alles nochmal ohne nvm weil das nicht sinnvoll funktioniert. Der Grund ist das deine nvm Befehle unter deinem Shell User laufen und damit für diesen die gewünschte Version eingerichtet wird. Das ist dem iobroker User unter dem normalerweise alle Prozesse laufen aber egal - Bzw du musst auch (?) in dem User das nvm Zeug setzen. Keine Ahnung was da wie sein muss. Offiziell unterstützen wir kein nvm

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

          @thomas-braun @apollon77

          so stand es in der arch wiki, und für mich liest das sich alles noch ein bisschen, wie hindi 🤷‍♂️

          anyway:
          ich hab jetzt mit

          nvm deactivate
          nvm uninstall 14.19  
          rm -r .nvm
          

          nodejs und nvm wieder 'deinstalliert'

          dann mit

          sudo pacman -S base-devel --needed
          "x Pakete gefunden - Auswahl" Alle = Enter
          "Installation vortsetzen?" = j
          

          installation von AUR paketen vorbereitet

          dann hier:
          download aur @ https://archlinux.org/packages/community/x86_64/nodejs-lts-fermium/
          das AUR paket runtergeladen

          und dann installiert:

          sudo pacman -U /home/dok/Downloads/nodejs-lts-fermium-14.19.0-1-x86_64.pkg.tar.zst
          

          noch nen obligatorisches

          iobroker status
          iobroker stop
          iobrokerfix
          iobroker start
          

          und nun werd ich zumindest schon mal mit ner fetten neon-reklame im browser vom iobroker-assistenten willkommen geheissen 👏

          D 1 Reply Last reply Reply Quote 1
          • D
            DokBiz @DokBiz last edited by

            Ich hab die Installation jetzt mal auf dem Rechner gemacht, auf dem iobroker am Ende dann auch laufen soll, und zwar quasi in richtiger Reihenfolge, und ohne nvm:

            sudo pacman -S base-devel --needed  
            "x Pakete gefunden - Auswahl" Alle = Enter
            "Installation fortsetzen?" = j
            
            # Dateidownload @ https://archlinux.org/packages/community/x86_64/nodejs-lts-fermium/
            sudo pacman -U /home/dok/Downloads/nodejs-lts-fermium-14.19.0-1-x86_64.pkg.tar.zst    
            
            sudo pacman -S npm
            
            sudo reboot  
            
            curl -sLf https://iobroker.net/install.sh | bash -suo
            
            

            Jetzt hängt sich die Installation des Einzeilers auf:

                ~  curl -sLf https://iobroker.net/install.sh | bash -suo                                                                                                                                                                        ✔ 
            allexport       off
            braceexpand     on
            emacs           on
            errexit         off
            errtrace        off
            functrace       off
            hashall         on
            histexpand      off
            history         off
            ignoreeof       off
            interactive-comments    on
            keyword         off
            monitor         off
            noclobber       off
            noexec          off
            noglob          off
            nolog           off
            notify          off
            nounset         on
            onecmd          off
            physical        off
            pipefail        off
            posix           off
            privileged      off
            verbose         off
            vi              off
            xtrace          off
            library: loaded
            Library version=2022-02-10
            
            ==========================================================================
            
                Welcome to the ioBroker installer!
                Installer version: 2022-02-13
                
                You might need to enter your password a couple of times.
            
            ==========================================================================
            
            
            ==========================================================================
                Installing prerequisites (1/4)
            ==========================================================================
            
            [sudo] Passwort für dok: 
            sudo: apt-get: Befehl nicht gefunden
            bash: Zeile 894: MIRROR ist nicht gesetzt.
            
            

            Was hab ich übersehen?

            D 1 Reply Last reply Reply Quote 0
            • D
              DokBiz @DokBiz last edited by

              @dokbiz said in Neue Installationsroutine (für Linux):

              Ich hab die Installation jetzt mal auf dem Rechner gemacht, auf dem iobroker am Ende dann auch laufen soll, und zwar quasi in richtiger Reihenfolge, und ohne nvm:

              ==========================================================================
                  Installing prerequisites (1/4)
              ==========================================================================
              
              [sudo] Passwort für dok: 
              sudo: apt-get: Befehl nicht gefunden
              bash: Zeile 894: MIRROR ist nicht gesetzt.
              
              

              Was hab ich übersehen?

              keiner 'ne idee? 😞

              1Topf 1 Reply Last reply Reply Quote 0
              • 1Topf
                1Topf @DokBiz last edited by

                @dokbiz

                Arch kennt kein apt-get, oder hat sich das geändert?

                Homoran 1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @1Topf last edited by

                  @1topf sagte in Neue Installationsroutine (für Linux):

                  @dokbiz

                  Arch kennt kein apt-get, oder hat sich das geändert?

                  Ich wollte die ganze Zeit nach der Distro fragen 🙂
                  Woher weisst du das mit Arch?
                  muss mir durch die Lappen gegangen sein 😞

                  1Topf 1 Reply Last reply Reply Quote 0
                  • D
                    DokBiz last edited by

                    @1topf said in Neue Installationsroutine (für Linux):

                    Arch kennt kein apt-get, oder hat sich das geändert?

                    Auf dem anderen Rechner hatte es ja, trotz apt-get, funktioniert, und da ist dasselbe Manjaro drauf..

                    In der Zwischenzeit bin ich ein Stück weiter:
                    Mir ist (nach gefühlt 1000 anderen Versuchen, u.a. z.b. den Mirror manuell zusetzen mit 'REGISTRY_URL="https://registry.npmjs.org') aufgefallen, dass ich im Post vom 4. März den Einzeiler einmal mit, und einmal ohne, "-suo" zitiere..
                    Im Log steht er ohne "-suo" (was auch immer das heisst), und wenn ich es weglasse, siehe da, es klappt

                        ~  curl -sLf https://iobroker.net/install.sh | bash -                                                                                                                                                     0|1 ✘  4s   system 
                    library: loaded
                    Library version=2022-02-10
                    
                    ==========================================================================
                    
                        Welcome to the ioBroker installer!
                        Installer version: 2022-02-13
                    
                        You might need to enter your password a couple of times.
                    
                    ==========================================================================
                    
                    
                    ==========================================================================
                        Installing prerequisites (1/4)
                    ==========================================================================
                    
                    sudo: apt-get: Befehl nicht gefunden
                    Changing npm registry to https://registry.npmjs.org
                    Installed acl
                    Installed sudo
                    Installed libcap2-bin
                    Installed build-essential
                    Installed gcc-c++
                    Installed make
                    Installed libavahi-compat-libdnssd-dev
                    Installed libudev-dev
                    Installed libpam0g-dev
                    Installed pkg-config
                    Installed git
                    Installed curl
                    Installed unzip
                    Installed libcairo2-dev
                    Installed libpango1.0-dev
                    Installed libjpeg-dev
                    Installed libgif-dev
                    Installed librsvg2-dev
                    Installed libpixman-1-dev
                    Installed net-tools
                    Installed python-dev
                    Installed cmake
                    
                    ==========================================================================
                        Creating ioBroker user and directory (2/4)
                    ==========================================================================
                    
                    User iobroker created
                    Created /etc/sudoers.d/iobroker
                    Directory /opt/iobroker created
                    
                    ==========================================================================
                        Installing ioBroker (3/4)
                    ==========================================================================
                    
                    
                    ==========================================================================
                        Finalizing installation (4/4)
                    ==========================================================================
                    
                    Enabling autostart...
                    Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /usr/lib/systemd/system/iobroker.service.
                    Autostart enabled!
                    Fixing directory permissions...
                    
                    ==========================================================================
                    
                        ioBroker was installed successfully
                        Open http://192.168.178.145:8081 in a browser and start configuring!
                    
                    ==========================================================================
                    
                    
                    You need to re-login before doing anything else on the console!
                    
                    

                    Nach 'nem Reboot konnte ich im Browser wieder das schicke "Willkommen" bewundern, und nach 'nem versuchten Backup restore bin ich wieder raus:

                        ~  iobroker restore /opt/iobroker/backups/2022_03_10-15_30_03_backupiobroker.tar.gz                                                                                                                       52 ✘  13s   system  
                    iobroker controller daemon is not running
                    host.Dok2012(SmartHome) OK.
                    host.Dok2012(SmartHome) Clear all objects and states...
                    clean 1960 objects...
                    clean 25 states...
                    host.Dok2012(SmartHome) done.
                    host.Dok2012(SmartHome) Processed 0/2492 objects
                    host.Dok2012(SmartHome) Processed 200/2492 objects
                    host.Dok2012(SmartHome) Processed 400/2492 objects
                    host.Dok2012(SmartHome) Processed 600/2492 objects
                    host.Dok2012(SmartHome) Processed 800/2492 objects
                    host.Dok2012(SmartHome) Processed 1000/2492 objects
                    host.Dok2012(SmartHome) Processed 1200/2492 objects
                    host.Dok2012(SmartHome) Processed 1400/2492 objects
                    host.Dok2012(SmartHome) Processed 1600/2492 objects
                    host.Dok2012(SmartHome) Processed 1800/2492 objects
                    Server Objects 127.0.0.1:60846 Error from InMemDB: Error: EXEC without MULTI
                    
                    
                    

                    Die Konsole hängt sich auf.... aber das gehört vermutlich in ein anderes Thread !?

                    Thomas Braun apollon77 2 Replies Last reply Reply Quote 0
                    • 1Topf
                      1Topf @Homoran last edited by

                      @homoran sagte in Neue Installationsroutine (für Linux):

                      @1topf sagte in Neue Installationsroutine (für Linux):

                      @dokbiz

                      Arch kennt kein apt-get, oder hat sich das geändert?

                      Ich wollte die ganze Zeit nach der Distro fragen 🙂
                      Woher weisst du das mit Arch?
                      muss mir durch die Lappen gegangen sein 😞

                      Weiter oben:

                      sudo pacman -S base-devel --needed  
                      "x Pakete gefunden - Auswahl" Alle = Enter
                      "Installation fortsetzen?" = j
                      
                      # Dateidownload @ https://archlinux.org/packages/community/x86_64/nodejs-lts-fermium/
                      sudo pacman -U /home/dok/Downloads/nodejs-lts-fermium-14.19.0-1-x86_64.pkg.tar.zst    
                      
                      sudo pacman -S npm
                      
                      
                      Homoran 1 Reply Last reply Reply Quote 0
                      • Homoran
                        Homoran Global Moderator Administrators @1Topf last edited by

                        @1topf sagte in Neue Installationsroutine (für Linux):

                        Weiter oben:

                        Danke!

                        1 Reply Last reply Reply Quote 0
                        • 1Topf
                          1Topf last edited by

                          @dokbiz sagte in Neue Installationsroutine (für Linux):

                          @1topf said in Neue Installationsroutine (für Linux):

                          Arch kennt kein apt-get, oder hat sich das geändert?

                          Auf dem anderen Rechner hatte es ja, trotz apt-get, funktioniert, und da ist dasselbe Manjaro drauf..

                          Warum muß es denn eigentlich unbedingt Manjaro sein? Einfach nur so? Wie Du merkst, ist es für ioBroker nicht unbedingt die beste Wahl. 🤷‍♂️

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

                            @dokbiz sagte in Neue Installationsroutine (für Linux):

                            dass ich im Post vom 4. März den Einzeiler einmal mit, und einmal ohne, "-suo" zitiere..

                            Wo kommt das eigentlich her?
                            Hab ich bei meiner Installation auf Manjaro nicht so gemacht.
                            Eigentlich nur den Installer wie auch unter Debian ausgeführt und auf die Hilferufe entsprechend per pacman alles händisch nachinstalliert.

                            D 1 Reply Last reply Reply Quote 0
                            • apollon77
                              apollon77 @DokBiz last edited by

                              @dokbiz sagte in Neue Installationsroutine (für Linux):

                              Server Objects 127.0.0.1:60846 Error from InMemDB: Error: EXEC without MULTI

                              Kannst Du das immer so reproduzieren oder hängts immer woanders?

                              D 1 Reply Last reply Reply Quote 0
                              • D
                                DokBiz @1Topf last edited by

                                @1topf said in Neue Installationsroutine (für Linux):

                                Warum muß es denn eigentlich unbedingt Manjaro sein?

                                das hatte ich weiter oben auch schon mal versucht zu erläutern:

                                @dokbiz said in Neue Installationsroutine (für Linux):

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

                                  @thomas-braun said in Neue Installationsroutine (für Linux):

                                  Wo kommt das eigentlich her?

                                  Das weiss ich nicht mehr... ich hatte an dem Tag 1000 Tabs offen, wo ich rumrecherchiert hatte... und irgendwo hab ich das mitkopiert 🤷‍♂️

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    DokBiz @apollon77 last edited by

                                    @apollon77 said in Neue Installationsroutine (für Linux):

                                    Kannst Du das immer so reproduzieren oder hängts immer woanders?

                                    es war eben 3x an derselben stelle, ja...
                                    (allerdings hab ich gerade versucht das komplette iobroker-data verzeichnis zu kopieren, und jetzt erreiche ich den iobroker im browser nicht mehr.... gibt's irgendwo 'nen command allà "iobroker reset all"? 🤦‍♂️ 🙇‍♂️ )

                                    apollon77 1 Reply Last reply Reply Quote 0
                                    • apollon77
                                      apollon77 @DokBiz last edited by

                                      @dokbiz sagte in Neue Installationsroutine (für Linux):

                                      gibt's irgendwo 'nen command allà "iobroker reset all"?

                                      Ja iobroker-data "leeren" und iob setup first

                                      D 1 Reply Last reply Reply Quote 0
                                      • D
                                        DokBiz @apollon77 last edited by

                                        @apollon77
                                        danke!

                                        aber ja: hängt sich wieder an derselben stelle auf:

                                        Server Objects 127.0.0.1:33106 Error from InMemDB: Error: EXEC without MULTI
                                        
                                        
                                        apollon77 1 Reply Last reply Reply Quote 0
                                        • apollon77
                                          apollon77 @DokBiz last edited by

                                          @dokbiz Auch selbe stelle von den Zeilen davor?

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            DokBiz @apollon77 last edited by

                                            @apollon77

                                            ja: 1800/2492

                                            host.Dok2021 Processed 1800/2492 objects
                                            Server Objects 127.0.0.1:33106 Error from InMemDB: Error: EXEC without MULTI
                                            
                                            apollon77 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

                                            645
                                            Online

                                            31.7k
                                            Users

                                            79.7k
                                            Topics

                                            1.3m
                                            Posts

                                            installation
                                            64
                                            415
                                            99566
                                            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