Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. Neue Installationsroutine (für Linux)

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.3k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.4k

Neue Installationsroutine (für Linux)

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
installation
415 Beiträge 64 Kommentatoren 116.8k Aufrufe 31 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • OberjembkerO Offline
    OberjembkerO Offline
    Oberjembker
    schrieb am zuletzt editiert von Oberjembker
    #285
    1. Anmerkung aus Zeile 203 (stable):
      # TODO: ^ Can we reduce code repetition in these 3 blocks? ^
      Folgender Vorschlag, der gesamte Block Zeilen 148 - 203 ersetzt durch:
    # 3 blocks code repetition reduced
    function add2sudoers() {
    	local xsudoers=$1
    	shift
    	xarry=("$@")
    	for cmd in "${xarry[@]}"; do
    		# Test each command if and where it is installed
    		cmd_bin=$(echo $cmd | cut -d ' ' -f1)
    		cmd_path=$(which $cmd_bin 2> /dev/null)
    		if [ $? -eq 0 ]; then
    			# Then add the command to SUDOERS_CONTENT
    			full_cmd=$(echo "$cmd" | sed -e "s|$cmd_bin|$cmd_path|")
    			SUDOERS_CONTENT+=$xsudoers"NOPASSWD: $full_cmd\n"
    		fi
    	done
    }
    
    	SUDOERS_CONTENT="$username ALL=(ALL) ALL\n"
    
    	# Add the user to all groups we need and give him passwordless sudo privileges
    	# Define which commands iobroker may execute as sudo without password
    	declare -a iob_commands=(
    		"shutdown -h now" "halt" "poweroff" "reboot"
    		"systemctl start" "systemctl stop"
    		"mount" "umount" "systemd-run"
    		"apt-get" "apt" "dpkg" "make"
    		"ping" "fping" "arp-scan"
    		"setcap" "vcgencmd" "cat" "df"
    	)
    	add2sudoers "$username ALL=(ALL) " "${iob_commands[@]}"
    
    	# Additionally, define which iobroker-related commands may be executed by every user
    	declare -a all_user_commands=(
    			"systemctl start iobroker"
    			"systemctl stop iobroker"
    			"systemctl restart iobroker"
    	)
    	add2sudoers "ALL ALL=" "${all_user_commands[@]}"
    
    	# Furthermore, allow all users to execute node iobroker.js as iobroker
    	if [ "$IOB_USER" != "$USER" ]; then
    		add2sudoers "ALL ALL=($IOB_USER) " "node $CONTROLLER_DIR/iobroker.js"
    	fi
    

    Habe ich unter Raspberry/Buster getestet.

    1 Antwort Letzte Antwort
    1
    • OberjembkerO Offline
      OberjembkerO Offline
      Oberjembker
      schrieb am zuletzt editiert von
      #286
      1. Stable und Buster sind prinzipiell gleich, leider ist das Datum bei beiden veraltet und gleich:
      INSTALLER_VERSION="2019-07-21"
      

      Wäre es nicht auch Zeit, die beiden zusammenzuführen?
      Lieben Gruß,
      Arne.

      1 Antwort Letzte Antwort
      0
      • apollon77A Offline
        apollon77A Offline
        apollon77
        schrieb am zuletzt editiert von
        #287

        @Oberjembker Super Ideen, magst Du unter https://github.com/ioBroker/ioBroker mal einen PR erstellen für installer und fixer? Wenn du es bei dir schon so getestet hast ist das vllt das besten das beim Transfer Deiner Vorschläge nichts verloren geht ...

        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
        1 Antwort Letzte Antwort
        0
        • nieIPN Offline
          nieIPN Offline
          nieIP
          schrieb am zuletzt editiert von
          #288

          Hallo

          ich habe ioBroker auf einem RasPi 3 noch nach der "alten" Methode installiert. heute habe ich so viel am System auf der Kommandozeile zerbastelt, dass ioBroker nach dem ReBoot nicht mehr allein startet und sich Adapter nur noch mit Fehlermeldungen kompilieren lassen.

          Ich würde gern auf einer frischen SD Karte das Betriebssystem und ioBroker neu installieren.
          Es gibt vom backitup Adpater ein minimales und ein total Backup.

          Wie gehe ich am besten vor. Nach Möglchkeit möchte ich nicht die Einstellungen aller Adapter neu machen müssen. Und die VIS Views sollen auch wiederhergestellt werden.
          Reicht dafür ein Minimal Backup?

          J RöstkartoffelR 2 Antworten Letzte Antwort
          0
          • nieIPN nieIP

            Hallo

            ich habe ioBroker auf einem RasPi 3 noch nach der "alten" Methode installiert. heute habe ich so viel am System auf der Kommandozeile zerbastelt, dass ioBroker nach dem ReBoot nicht mehr allein startet und sich Adapter nur noch mit Fehlermeldungen kompilieren lassen.

            Ich würde gern auf einer frischen SD Karte das Betriebssystem und ioBroker neu installieren.
            Es gibt vom backitup Adpater ein minimales und ein total Backup.

            Wie gehe ich am besten vor. Nach Möglchkeit möchte ich nicht die Einstellungen aller Adapter neu machen müssen. Und die VIS Views sollen auch wiederhergestellt werden.
            Reicht dafür ein Minimal Backup?

            J Offline
            J Offline
            Jan1
            schrieb am zuletzt editiert von
            #289

            @nieIP
            Neue SD Karte, Debian Buster nach Anleitung installieren, IOBroker nach Doku installieren, Backitup Adapter drauf und minimal Backup wieder herstellen, lange warten, fertig.

            nieIPN 1 Antwort Letzte Antwort
            0
            • crunchipC Offline
              crunchipC Offline
              crunchip
              Forum Testing Most Active
              schrieb am zuletzt editiert von
              #290

              Warum wird eigentlich immer eine Sd-Karte genommen?
              Ein Usb-Stick läuft doch stabiler/sicherer und verkraftet auch eher mal ein plötzlich Strom weg als eine Sd

              umgestiegen von Proxmox auf Unraid

              J 1 Antwort Letzte Antwort
              0
              • crunchipC crunchip

                Warum wird eigentlich immer eine Sd-Karte genommen?
                Ein Usb-Stick läuft doch stabiler/sicherer und verkraftet auch eher mal ein plötzlich Strom weg als eine Sd

                J Offline
                J Offline
                Jan1
                schrieb am zuletzt editiert von
                #291

                @crunchip
                Weil ein USB Stick hier die schlechtere Wahl wäre. Einer SD ist ein Stromausfall auch egal, aber dem Filesystem darauf genau so wenig wie beim USB Stick.

                1 Antwort Letzte Antwort
                0
                • nieIPN nieIP

                  Hallo

                  ich habe ioBroker auf einem RasPi 3 noch nach der "alten" Methode installiert. heute habe ich so viel am System auf der Kommandozeile zerbastelt, dass ioBroker nach dem ReBoot nicht mehr allein startet und sich Adapter nur noch mit Fehlermeldungen kompilieren lassen.

                  Ich würde gern auf einer frischen SD Karte das Betriebssystem und ioBroker neu installieren.
                  Es gibt vom backitup Adpater ein minimales und ein total Backup.

                  Wie gehe ich am besten vor. Nach Möglchkeit möchte ich nicht die Einstellungen aller Adapter neu machen müssen. Und die VIS Views sollen auch wiederhergestellt werden.
                  Reicht dafür ein Minimal Backup?

                  RöstkartoffelR Offline
                  RöstkartoffelR Offline
                  Röstkartoffel
                  schrieb am zuletzt editiert von Röstkartoffel
                  #292

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

                  ich habe ioBroker auf einem RasPi 3 noch nach der "alten" Methode installiert.
                  ...
                  Es gibt vom backitup Adpater ein minimales und ein total Backup.
                  ...
                  Und die VIS Views sollen auch wiederhergestellt werden.
                  Reicht dafür ein Minimal Backup?

                  wie @Jan1 schon schrieb, ist das die richtige Vorgehensweise.
                  Aber schau bitte ersteinmal, ob im minimal der Ordner /files/vis.0 enthalten und dort drin auch dein VIS-Projekt liegt.
                  War bei meiner alten Installation auf dem Rock64 und dem Backup davon leider nicht der Fall, so das ich nach dem Restore mittels Filezilla den extrahierten VIS.0 Ordner aus dem Total-Backup in das neue ioBroker vom NUC geschoben habe.

                  NUC7i3BNH mit Proxmox und ioBroker (VM Debian Buster), Raspi3 (Slave Smartmeter für eHZ easymeter), Hardware CCU2, SMA SB5000TL-21

                  nieIPN 1 Antwort Letzte Antwort
                  0
                  • RöstkartoffelR Röstkartoffel

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

                    ich habe ioBroker auf einem RasPi 3 noch nach der "alten" Methode installiert.
                    ...
                    Es gibt vom backitup Adpater ein minimales und ein total Backup.
                    ...
                    Und die VIS Views sollen auch wiederhergestellt werden.
                    Reicht dafür ein Minimal Backup?

                    wie @Jan1 schon schrieb, ist das die richtige Vorgehensweise.
                    Aber schau bitte ersteinmal, ob im minimal der Ordner /files/vis.0 enthalten und dort drin auch dein VIS-Projekt liegt.
                    War bei meiner alten Installation auf dem Rock64 und dem Backup davon leider nicht der Fall, so das ich nach dem Restore mittels Filezilla den extrahierten VIS.0 Ordner aus dem Total-Backup in das neue ioBroker vom NUC geschoben habe.

                    nieIPN Offline
                    nieIPN Offline
                    nieIP
                    schrieb am zuletzt editiert von
                    #293

                    @Röstkartoffel sagte in Neue Installationsroutine (für Linux):

                    Aber schau bitte ersteinmal, ob im minimal der Ordner /files/vis.0 enthalten und dort drin auch dein VIS-Projekt liegt.

                    Ja, ist da. Das ist aber ausser leeren Ordnern und dem backup.json auch das einzige, was da drin ist , hmm

                    1 Antwort Letzte Antwort
                    0
                    • J Jan1

                      @nieIP
                      Neue SD Karte, Debian Buster nach Anleitung installieren, IOBroker nach Doku installieren, Backitup Adapter drauf und minimal Backup wieder herstellen, lange warten, fertig.

                      nieIPN Offline
                      nieIPN Offline
                      nieIP
                      schrieb am zuletzt editiert von nieIP
                      #294

                      @Jan1 sagte in Neue Installationsroutine (für Linux):
                      Debian Buster nach Anleitung installieren, I

                      ok, danke, werde ist versuchen.
                      Warum Debian und nicht Raspbian ?

                      Das habe ich mir selbst beantworten können, weil Raspbian auf Debian aufbaut.

                      Reicht die "Lite" Version für ein ioBroker?

                      J 1 Antwort Letzte Antwort
                      0
                      • nieIPN nieIP

                        @Jan1 sagte in Neue Installationsroutine (für Linux):
                        Debian Buster nach Anleitung installieren, I

                        ok, danke, werde ist versuchen.
                        Warum Debian und nicht Raspbian ?

                        Das habe ich mir selbst beantworten können, weil Raspbian auf Debian aufbaut.

                        Reicht die "Lite" Version für ein ioBroker?

                        J Offline
                        J Offline
                        Jan1
                        schrieb am zuletzt editiert von Jan1
                        #295

                        @nieIP
                        Ok, beim Pi eben Raspian 😎
                        Lite ist ausreichend.

                        1 Antwort Letzte Antwort
                        0
                        • M Offline
                          M Offline
                          marco-mh
                          schrieb am zuletzt editiert von
                          #296

                          Hallo Leute, ich versuche schon seit Donnerstag den Iobroker auf einer QNAP TS251+ in der Linux Station unter Ubuntu 18.04 zu installieren.
                          ich habe mich eigentlich an die Anleitung gehalten. node und nodejs sind 10.7, rpm ist 6.11.3
                          ich bekomme folgende Ausgabe.

                          User iobroker created
                          Created /etc/sudoers.d/iobroker
                          chown: invalid group: ‘admin:admin’
                          Directory /opt/iobroker created
                          touch: cannot touch '/opt/iobroker/INSTALLER_INFO.txt': Permission denied
                          chmod: cannot access '/opt/iobroker/INSTALLER_INFO.txt': No such file or directory
                          bash: line 724: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                          bash: line 725: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                          bash: line 726: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                          
                          ==========================================================================
                              Installing ioBroker (3/4)
                          ==========================================================================
                          
                          chown: invalid group: ‘admin:admin’
                          bash: line 746: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                          npm ERR! code EACCES
                          npm ERR! syscall access
                          npm ERR! path /opt/iobroker
                          npm ERR! errno -13
                          npm ERR! Error: EACCES: permission denied, access '/opt/iobroker'
                          npm ERR!  { [Error: EACCES: permission denied, access '/opt/iobroker']
                          npm ERR!   stack: 'Error: EACCES: permission denied, access \'/opt/iobroker\'',
                          npm ERR!   errno: -13,
                          npm ERR!   code: 'EACCES',
                          npm ERR!   syscall: 'access',
                          npm ERR!   path: '/opt/iobroker' }
                          npm ERR! 
                          npm ERR! The operation was rejected by your operating system.
                          npm ERR! It is likely you do not have the permissions to access this file as the current user
                          npm ERR! 
                          npm ERR! If you believe this might be a permissions issue, please double-check the
                          npm ERR! permissions of the file and its containing directories, or try running
                          npm ERR! the command again as root/Administrator.
                          
                          npm ERR! A complete log of this run can be found in:
                          npm ERR!     /home/admin/.npm/_logs/2019-11-29T11_42_35_030Z-debug.log
                          
                          ==========================================================================
                              Finalizing installation (4/4)
                          ==========================================================================
                          
                          bash: line 772: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                          Enabling autostart...
                          Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
                          Autostart enabled!
                          bash: line 947: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                          Fixing directory permissions...
                          This system does not support setting default permissions.
                          Do not use npm to manually install adapters unless you know what you are doing!
                          main: line 551: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                          main: line 272: return: 192.168.178.10: numeric argument required
                          
                          ==========================================================================
                          
                              ioBroker was installed successfully
                              Open http://:8081 in a browser and start configuring!
                          
                          ==========================================================================
                          
                          
                          You need to re-login before doing anything else on the console!
                          
                          

                          unter 16.04 in der Linux Station funktioniert es wunderbar.

                          danke für eure hilfe und Gruß Marco

                          node.js 16.15.1, NPM 8.11, js.Controller 4.0.23

                          apollon77A AlCalzoneA 2 Antworten Letzte Antwort
                          0
                          • M marco-mh

                            Hallo Leute, ich versuche schon seit Donnerstag den Iobroker auf einer QNAP TS251+ in der Linux Station unter Ubuntu 18.04 zu installieren.
                            ich habe mich eigentlich an die Anleitung gehalten. node und nodejs sind 10.7, rpm ist 6.11.3
                            ich bekomme folgende Ausgabe.

                            User iobroker created
                            Created /etc/sudoers.d/iobroker
                            chown: invalid group: ‘admin:admin’
                            Directory /opt/iobroker created
                            touch: cannot touch '/opt/iobroker/INSTALLER_INFO.txt': Permission denied
                            chmod: cannot access '/opt/iobroker/INSTALLER_INFO.txt': No such file or directory
                            bash: line 724: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                            bash: line 725: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                            bash: line 726: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                            
                            ==========================================================================
                                Installing ioBroker (3/4)
                            ==========================================================================
                            
                            chown: invalid group: ‘admin:admin’
                            bash: line 746: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                            npm ERR! code EACCES
                            npm ERR! syscall access
                            npm ERR! path /opt/iobroker
                            npm ERR! errno -13
                            npm ERR! Error: EACCES: permission denied, access '/opt/iobroker'
                            npm ERR!  { [Error: EACCES: permission denied, access '/opt/iobroker']
                            npm ERR!   stack: 'Error: EACCES: permission denied, access \'/opt/iobroker\'',
                            npm ERR!   errno: -13,
                            npm ERR!   code: 'EACCES',
                            npm ERR!   syscall: 'access',
                            npm ERR!   path: '/opt/iobroker' }
                            npm ERR! 
                            npm ERR! The operation was rejected by your operating system.
                            npm ERR! It is likely you do not have the permissions to access this file as the current user
                            npm ERR! 
                            npm ERR! If you believe this might be a permissions issue, please double-check the
                            npm ERR! permissions of the file and its containing directories, or try running
                            npm ERR! the command again as root/Administrator.
                            
                            npm ERR! A complete log of this run can be found in:
                            npm ERR!     /home/admin/.npm/_logs/2019-11-29T11_42_35_030Z-debug.log
                            
                            ==========================================================================
                                Finalizing installation (4/4)
                            ==========================================================================
                            
                            bash: line 772: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                            Enabling autostart...
                            Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
                            Autostart enabled!
                            bash: line 947: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                            Fixing directory permissions...
                            This system does not support setting default permissions.
                            Do not use npm to manually install adapters unless you know what you are doing!
                            main: line 551: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                            main: line 272: return: 192.168.178.10: numeric argument required
                            
                            ==========================================================================
                            
                                ioBroker was installed successfully
                                Open http://:8081 in a browser and start configuring!
                            
                            ==========================================================================
                            
                            
                            You need to re-login before doing anything else on the console!
                            
                            

                            unter 16.04 in der Linux Station funktioniert es wunderbar.

                            danke für eure hilfe und Gruß Marco

                            apollon77A Offline
                            apollon77A Offline
                            apollon77
                            schrieb am zuletzt editiert von
                            #297

                            @marco-mh Naja qnap ist halt leider kein echtes Linux sondern "custom" ... :-( @AlCalzone

                            Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                            • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                            • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                            1 Antwort Letzte Antwort
                            0
                            • M Offline
                              M Offline
                              marco-mh
                              schrieb am zuletzt editiert von
                              #298

                              Hab ich also keine Chance?
                              schade, unter 16.04 gehts
                              aber danke

                              node.js 16.15.1, NPM 8.11, js.Controller 4.0.23

                              1 Antwort Letzte Antwort
                              0
                              • M marco-mh

                                Hallo Leute, ich versuche schon seit Donnerstag den Iobroker auf einer QNAP TS251+ in der Linux Station unter Ubuntu 18.04 zu installieren.
                                ich habe mich eigentlich an die Anleitung gehalten. node und nodejs sind 10.7, rpm ist 6.11.3
                                ich bekomme folgende Ausgabe.

                                User iobroker created
                                Created /etc/sudoers.d/iobroker
                                chown: invalid group: ‘admin:admin’
                                Directory /opt/iobroker created
                                touch: cannot touch '/opt/iobroker/INSTALLER_INFO.txt': Permission denied
                                chmod: cannot access '/opt/iobroker/INSTALLER_INFO.txt': No such file or directory
                                bash: line 724: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                                bash: line 725: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                                bash: line 726: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                                
                                ==========================================================================
                                    Installing ioBroker (3/4)
                                ==========================================================================
                                
                                chown: invalid group: ‘admin:admin’
                                bash: line 746: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                                npm ERR! code EACCES
                                npm ERR! syscall access
                                npm ERR! path /opt/iobroker
                                npm ERR! errno -13
                                npm ERR! Error: EACCES: permission denied, access '/opt/iobroker'
                                npm ERR!  { [Error: EACCES: permission denied, access '/opt/iobroker']
                                npm ERR!   stack: 'Error: EACCES: permission denied, access \'/opt/iobroker\'',
                                npm ERR!   errno: -13,
                                npm ERR!   code: 'EACCES',
                                npm ERR!   syscall: 'access',
                                npm ERR!   path: '/opt/iobroker' }
                                npm ERR! 
                                npm ERR! The operation was rejected by your operating system.
                                npm ERR! It is likely you do not have the permissions to access this file as the current user
                                npm ERR! 
                                npm ERR! If you believe this might be a permissions issue, please double-check the
                                npm ERR! permissions of the file and its containing directories, or try running
                                npm ERR! the command again as root/Administrator.
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/admin/.npm/_logs/2019-11-29T11_42_35_030Z-debug.log
                                
                                ==========================================================================
                                    Finalizing installation (4/4)
                                ==========================================================================
                                
                                bash: line 772: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                                Enabling autostart...
                                Created symlink /etc/systemd/system/multi-user.target.wants/iobroker.service → /lib/systemd/system/iobroker.service.
                                Autostart enabled!
                                bash: line 947: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                                Fixing directory permissions...
                                This system does not support setting default permissions.
                                Do not use npm to manually install adapters unless you know what you are doing!
                                main: line 551: /opt/iobroker/INSTALLER_INFO.txt: Permission denied
                                main: line 272: return: 192.168.178.10: numeric argument required
                                
                                ==========================================================================
                                
                                    ioBroker was installed successfully
                                    Open http://:8081 in a browser and start configuring!
                                
                                ==========================================================================
                                
                                
                                You need to re-login before doing anything else on the console!
                                
                                

                                unter 16.04 in der Linux Station funktioniert es wunderbar.

                                danke für eure hilfe und Gruß Marco

                                AlCalzoneA Offline
                                AlCalzoneA Offline
                                AlCalzone
                                Developer
                                schrieb am zuletzt editiert von
                                #299

                                @marco-mh Ich bräuchte etwas mehr Infos über den User mit dem du angemeldet bist. Wie heißt dessen Gruppe? Normalerweise heißt die Gruppe wie der User.

                                Als "echter" root sollte es gehen, aber dann bekommt admin keinen Zugriff aufs ioBroker-Verzeichnis.

                                Warum `sudo` böse ist: https://forum.iobroker.net/post/17109

                                1 Antwort Letzte Antwort
                                0
                                • M Offline
                                  M Offline
                                  marco-mh
                                  schrieb am zuletzt editiert von
                                  #300

                                  Ich hab es hinbekommen. Allerdings habe ich nicht die Linux Station genommen sondern hab eine Linux VM auf der QNAP installiert.
                                  Danke für die Hilfe

                                  node.js 16.15.1, NPM 8.11, js.Controller 4.0.23

                                  1 Antwort Letzte Antwort
                                  0
                                  • M Offline
                                    M Offline
                                    mpa
                                    schrieb am zuletzt editiert von mpa
                                    #301

                                    Hallo,

                                    ich versuche gerade iobroker auf einer VM mit Ubuntu LTS 18.04.3 zu installieren.
                                    Mittlerweile habe ich jetzt mehrmals die Anleitung https://www.iobroker.net/#de/documentation/install/linux.md durchgeackert aber bekomme es leider nicht hin.

                                    Beim Schritt "Installing ioBroker" bekomme ich immer folgende Fehlermeldungen:

                                    ==========================================================================
                                        Installing ioBroker (3/4)
                                    ==========================================================================
                                    
                                    ../src/unix_dgram.cc: In function ‘void {anonymous}::OnRecv({anonymous}::SocketContext*)’:
                                    ../src/unix_dgram.cc:121:25: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                                         argv);
                                                             ^
                                    In file included from ../src/unix_dgram.cc:5:0:
                                    ../../nan/nan.h:1024:46: note: declared here
                                       NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                                  ^~~~~~~~~~~~
                                    ../src/unix_dgram.cc: In function ‘void {anonymous}::OnWritable({anonymous}::SocketContext*)’:
                                    ../src/unix_dgram.cc:129:28: warning: ‘v8::Local<v8::Value> Nan::MakeCallback(v8::Local<v8::Object>, v8::Local<v8::Function>, int, v8::Local<v8::Value>*)’ is deprecated [-Wdeprecated-declarations]
                                                         0, NULL);
                                                                ^
                                    In file included from ../src/unix_dgram.cc:5:0:
                                    ../../nan/nan.h:1024:46: note: declared here
                                       NAN_DEPRECATED inline v8::Local<v8::Value> MakeCallback(
                                                                                  ^~~~~~~~~~~~
                                    ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Socket(Nan::NAN_METHOD_ARGS_TYPE)’:
                                    ../src/unix_dgram.cc:189:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       domain      = info[0]->Int32Value();
                                                                         ^
                                    In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                                                     from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/unix_dgram.cc:5:
                                    /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/unix_dgram.cc:190:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       type        = info[1]->Int32Value();
                                                                         ^
                                    In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                                                     from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/unix_dgram.cc:5:
                                    /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/unix_dgram.cc:191:37: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       protocol    = info[2]->Int32Value();
                                                                         ^
                                    In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                                                     from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/unix_dgram.cc:5:
                                    /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Bind(Nan::NAN_METHOD_ARGS_TYPE)’:
                                    ../src/unix_dgram.cc:230:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       fd = info[0]->Int32Value();
                                                                ^
                                    In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                                                     from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/unix_dgram.cc:5:
                                    /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/unix_dgram.cc:231:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                       String::Utf8Value path(info[1]);
                                                                     ^
                                    In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                                                     from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/unix_dgram.cc:5:
                                    /root/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here
                                                       explicit Utf8Value(Local<v8::Value> obj));
                                                                ^
                                    /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::SendTo(Nan::NAN_METHOD_ARGS_TYPE)’:
                                    ../src/unix_dgram.cc:258:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       fd = info[0]->Int32Value();
                                                                ^
                                    In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                                                     from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/unix_dgram.cc:5:
                                    /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/unix_dgram.cc:259:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       buf = info[1]->ToObject();
                                                               ^
                                    In file included from /root/.cache/node-gyp/10.17.0/include/node/node.h:63:0,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/unix_dgram.cc:5:
                                    /root/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here
                                     Local<Object> Value::ToObject() const {
                                                   ^~~~~
                                    ../src/unix_dgram.cc:260:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       offset = info[2]->Uint32Value();
                                                                     ^
                                    In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                                                     from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/unix_dgram.cc:5:
                                    /root/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here
                                       V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                                   ^
                                    /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/unix_dgram.cc:261:33: warning: ‘uint32_t v8::Value::Uint32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       length = info[3]->Uint32Value();
                                                                     ^
                                    In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                                                     from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/unix_dgram.cc:5:
                                    /root/.cache/node-gyp/10.17.0/include/node/v8.h:2477:47: note: declared here
                                       V8_DEPRECATED("Use maybe version", uint32_t Uint32Value() const);
                                                                                   ^
                                    /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/unix_dgram.cc:262:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                       String::Utf8Value path(info[4]);
                                                                     ^
                                    In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                                                     from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/unix_dgram.cc:5:
                                    /root/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here
                                                       explicit Utf8Value(Local<v8::Value> obj));
                                                                ^
                                    /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Send(Nan::NAN_METHOD_ARGS_TYPE)’:
                                    ../src/unix_dgram.cc:302:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       fd = info[0]->Int32Value();
                                                                ^
                                    In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                                                     from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/unix_dgram.cc:5:
                                    /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/unix_dgram.cc:303:27: warning: ‘v8::Local<v8::Object> v8::Value::ToObject() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       buf = info[1]->ToObject();
                                                               ^
                                    In file included from /root/.cache/node-gyp/10.17.0/include/node/node.h:63:0,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/unix_dgram.cc:5:
                                    /root/.cache/node-gyp/10.17.0/include/node/v8.h:10046:15: note: declared here
                                     Local<Object> Value::ToObject() const {
                                                   ^~~~~
                                    ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Connect(Nan::NAN_METHOD_ARGS_TYPE)’:
                                    ../src/unix_dgram.cc:340:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       fd = info[0]->Int32Value();
                                                                ^
                                    In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                                                     from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/unix_dgram.cc:5:
                                    /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/unix_dgram.cc:341:33: warning: ‘v8::String::Utf8Value::Utf8Value(v8::Local<v8::Value>)’ is deprecated: Use Isolate version [-Wdeprecated-declarations]
                                       String::Utf8Value path(info[1]);
                                                                     ^
                                    In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                                                     from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/unix_dgram.cc:5:
                                    /root/.cache/node-gyp/10.17.0/include/node/v8.h:2892:28: note: declared here
                                                       explicit Utf8Value(Local<v8::Value> obj));
                                                                ^
                                    /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    ../src/unix_dgram.cc: In function ‘Nan::NAN_METHOD_RETURN_TYPE {anonymous}::Close(Nan::NAN_METHOD_ARGS_TYPE)’:
                                    ../src/unix_dgram.cc:361:28: warning: ‘int32_t v8::Value::Int32Value() const’ is deprecated: Use maybe version [-Wdeprecated-declarations]
                                       fd = info[0]->Int32Value();
                                                                ^
                                    In file included from /root/.cache/node-gyp/10.17.0/include/node/v8.h:26:0,
                                                     from /root/.cache/node-gyp/10.17.0/include/node/node.h:63,
                                                     from ../../nan/nan.h:54,
                                                     from ../src/unix_dgram.cc:5:
                                    /root/.cache/node-gyp/10.17.0/include/node/v8.h:2478:46: note: declared here
                                       V8_DEPRECATED("Use maybe version", int32_t Int32Value() const);
                                                                                  ^
                                    /root/.cache/node-gyp/10.17.0/include/node/v8config.h:324:3: note: in definition of macro ‘V8_DEPRECATED’
                                       declarator __attribute__((deprecated(message)))
                                       ^~~~~~~~~~
                                    
                                    

                                    Könnte mir hier bitte jemand weiterhelfen?

                                    Vielen Dank!

                                    1 Antwort Letzte Antwort
                                    0
                                    • apollon77A Offline
                                      apollon77A Offline
                                      apollon77
                                      schrieb am zuletzt editiert von
                                      #302

                                      Alles nur Warnungen, ignorieren. Wichtig ist was die letzten Zeilen der gesamten Ausgabe sind ... wenn da steht das alles ok ist dann ist alles ok

                                      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                      M 1 Antwort Letzte Antwort
                                      1
                                      • apollon77A apollon77

                                        Alles nur Warnungen, ignorieren. Wichtig ist was die letzten Zeilen der gesamten Ausgabe sind ... wenn da steht das alles ok ist dann ist alles ok

                                        M Offline
                                        M Offline
                                        mpa
                                        schrieb am zuletzt editiert von
                                        #303

                                        @apollon77 da kommt dann leider nichts mehr, da sich die VM aufhängt und Putty dadurch die Verbindung verliert.

                                        1 Antwort Letzte Antwort
                                        0
                                        • ? Offline
                                          ? Offline
                                          Ein ehemaliger Benutzer
                                          schrieb am zuletzt editiert von
                                          #304

                                          Ich versuche gerade, den ioBroker unter Lubuntu zum Laufen zu bringen.
                                          Hierzu habe ich mich an die folgende Anleitung gehalten:
                                          https://www.iobroker.net/#de/documentation/install/linux.md
                                          Es sei wohl auch alles erfolgreich installiert worden.
                                          Nur komme ich mit dem Browser nicht auf die Oberfläche.
                                          http://<iplocalhost>:8081
                                          Es kommt, Seite ist nicht erreichbar
                                          ioborker habe ich mit iobroker stop/start als auch restart probiert neu zu starten

                                          Ich habe dann mal probiert
                                          iobroker start admin

                                          Dann kommt:
                                          module.js:549
                                          throw err;
                                          ^

                                          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                          at Function.Module._resolveFilename (module.js:547:15)

                                          �

                                          AlCalzoneA HomoranH 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

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

                                          255

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe