Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Installation auf NUC mit Proxmox

    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

    Installation auf NUC mit Proxmox

    This topic has been deleted. Only users with topic management privileges can see it.
    • Chaot
      Chaot last edited by

      Ich hasse dies Sche…....

      Ich schaffe es nicht den ioBroker auf dem System richtig zu installieren.

      Der ioBroker wird installiert, Backup lässt sich einspielen und gibt ewig Fehlermeldungen aus mit fehlenden Rechten.

      Ich schaffe es auch nicht die Rechte auf 777 zu setzen. In der Konsole kommt keine Antwort und über Filezilla ständig "permission denied"

      Ich bin doch als root aktiv. Was ist denn das für ein Sch...system

      Edit: NPM habe ich gemerkt. Ich bin jetzt auf 4.5 und die Installation hat soweit funktioniert

      1 Reply Last reply Reply Quote 0
      • Dutchman
        Dutchman Developer Most Active Administrators last edited by

        Beantworte doch Mal bitte meine Frage, welche node und NPM Version ist installiert?

        Das Setzen von Rechten am besten per console lass filezilla Mal liegen..

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

          node 8.11.3

          npm 4.6.1

          Rechte habe ich jetzt über di Konsole setzen können.

          Ich habe nochmals versucht das Backup aufzuspielen. Allerdings kommt dauernd die Fehlermeldung

          Stop iobroker first!
          

          Insgesamt sieht es so aus:

          haus@haus:/opt/iobroker$ iobroker start
          Starting iobroker controller daemon...
          iobroker controller daemon started. PID: 4648
          haus@haus:/opt/iobroker$ iobroker stop
          iobroker controller daemon is not running
          haus@haus:/opt/iobroker$ sudo iobroker restore 0
          Stop iobroker first!
          
          
          1 Reply Last reply Reply Quote 0
          • Dutchman
            Dutchman Developer Most Active Administrators last edited by

            Du musst sudo vor dem iobroker Stop Commando setzten der Proces läuft als root und lässt sich vom normalen User nicht stoppen!

            Sent from my iPhone using Tapatalk

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

              Ok, Danke.

              Jetzt hat er gestoppt.

              Ich hänge hier schon Stunden und sehe so langsam wirklich nur noch den Tunnel.

              Ich werde jetz nochmal versuchen das Backup einzuspielen.

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

                Mist:

                haus@haus:/$ sudo iobroker stop
                Stopping iobroker controller daemon...
                iobroker controller daemon stopped.
                Exit code for "killall.sh": 123
                haus@haus:/$ sudo iobroker restore 0
                Stop iobroker first!
                
                1 Reply Last reply Reply Quote 0
                • Dutchman
                  Dutchman Developer Most Active Administrators last edited by

                  Was sagt````
                  sudo iobroker status

                  
                  Sent from my iPhone using Tapatalk
                  1 Reply Last reply Reply Quote 0
                  • Chaot
                    Chaot last edited by

                    iobroker is running

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

                      haus@haus:/$ sudo iobroker stop
                      iobroker controller daemon is not running
                      haus@haus:/$ sudo iobroker restore 0
                      Stop iobroker first!
                      haus@haus:/$ iobroker start
                      Starting iobroker controller daemon...
                      iobroker controller daemon started. PID: 8301
                      haus@haus:/$ sudo iobroker stop
                      Stopping iobroker controller daemon...
                      iobroker controller daemon stopped.
                      Exit code for "killall.sh": 123
                      haus@haus:/$ sudo iobroker restore 0
                      Stop iobroker first!
                      haus@haus:/$ sudo iobroker status
                      iobroker is running
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • Chaot
                        Chaot last edited by

                        Ich habe jetzt die VM mal komplett gestoppt und neu gestartet. Ein Reboot war auch nicht möglich wegen ioBroker.

                        1 Reply Last reply Reply Quote 0
                        • Dutchman
                          Dutchman Developer Most Active Administrators last edited by

                          Da wir jetzt nicht wissen wo es schiefgegangen ist und die Installation ein baby ist würde ich sagen :

                          • vm wegschmeißen

                          • neue vm erstellen

                          • OS drauf (welches nimmst du)

                          • OS updaten (sudo apt-get update && upgrade

                          • Node 8 installieren

                          • NPM updaten (6.2)

                          • ioBroker installieren

                          • ioBroker stoppen

                          • Backup einspielen

                          Mache die node und ioBroker Installation als root (also sudo du) und zu dir selber einen Gefallen : mache nach jedem Schritt einen snapshot wen was schiefgeht rollst du zurück

                          Sent from my iPhone using Tapatalk

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

                            Ich habe jetzt Ubuntu 18.04

                            Beim NPM Update habe ich noch eine Frage: Ich bekomme immer nur die 4. irgendwas. Wie bekomme ich die 6.2?

                            1 Reply Last reply Reply Quote 0
                            • Dutchman
                              Dutchman Developer Most Active Administrators last edited by

                              @Chaot:

                              Ich habe jetzt Ubuntu 18.04

                              Beim NPM Update habe ich noch eine Frage: Ich bekomme immer nur die 4. irgendwas. Wie bekomme ich die 6.2? `

                              Welchen Befehl hast du benutzt?

                              Node 8 kommt nämlich nicht mit npm4!

                              Sent from my iPhone using Tapatalk

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

                                curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -
                                
                                1 Reply Last reply Reply Quote 0
                                • Dutchman
                                  Dutchman Developer Most Active Administrators last edited by

                                  Da liegt der Fehler die node 6 Report ist Buggy also anstatt 6 bitte 8nehmen

                                  Sent from my iPhone using Tapatalk

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

                                    und dann kommt automatisch auch der richtige NPM?

                                    1 Reply Last reply Reply Quote 0
                                    • Dutchman
                                      Dutchman Developer Most Active Administrators last edited by

                                      @Chaot:

                                      und dann kommt automatisch auch der richtige NPM? `

                                      Dan kommt glaube ich npm 5.8 das musst du dann noch upgraden

                                      Sent from my iPhone using Tapatalk

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

                                        @Dutchman:

                                        Dan kommt glaube ich npm 5.8 das musst du dann noch upgraden `
                                        NPM 5.8.x wäre ja in Ordnung, aber leider kommt 5.6.0 (böse !).

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

                                          Ok, ich habe jetzt folgenden Ablauf:

                                          sudo apt update && sudo apt upgrade -y
                                          
                                          sudo reboot
                                          
                                          curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash -
                                          
                                          sudo apt-get install -y build-essential libavahi-compat-libdnssd-dev libudev-dev libpam0g-dev nodejs
                                          
                                          sudo npm install npm@latest -g
                                          
                                          npm - v 
                                          = 6.2.0
                                          
                                          node -v
                                          =v8.11.3
                                          
                                          sudo reboot
                                          
                                          sudo mkdir /opt/iobroker
                                          
                                          sudo chmod -R 777 /opt/iobroker
                                          
                                          cd /opt/iobroker
                                          
                                          sudo npm install iobroker --unsafe-perm
                                          
                                          sudo reboot
                                          
                                          sudo iobroker stop
                                          
                                          cd /opt/iobroker
                                          
                                          Ordner <backups>erstellen und Backup ablegen
                                          
                                          sudo chmod -R 777 /opt/iobroker
                                          
                                          sudo iobroker restore 0
                                          
                                          Sudo reboot</backups> 
                                          

                                          War nix wenn ich das richtig verstehe:

                                          haus@haus:~$ sudo iobroker status
                                          No connection to states 127.0.0.1:6379[redis]
                                          
                                          

                                          Kann ich das beheben oder nochmal auf Anfang?

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

                                            Selbst gefunden.

                                            Ich habe jetzt Redis nachinstalliert:

                                            apt-get install redis-server
                                            
                                            sudo chmod 777 -R /var/lib/redis
                                            
                                            sudo reboot
                                            

                                            Der Admin startet jetzt, aber ich vermisse alle Adapter.

                                            In den Instanzen steht:````
                                            File index.html not found

                                            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

                                            375
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            29
                                            128
                                            23859
                                            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