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.
    • Oberjembker
      Oberjembker last edited by

      Guten Abend.
      Ich habe mir die Stable und die Buster Installationsskripte mal angeschaut und möchte ein paar kleinere Änderungen vorschlagen.

      1. Vorschlag: Einführung der Variable SUDOX (o.ä.):
      if [[ $EUID -eq 0 ]];
      then IS_ROOT=true;  SUDOX=""
      else IS_ROOT=false; SUDOX="sudo "; fi
      

      Damit wird an vielen Stellen ein

      if [ "$IS_ROOT" = true ]; then
      	...
      else
      	...
      fi
      

      überflüssig.
      Z.B. diese "geschrumpften" Funktionen:

      set_root_permissions() {
      	file="$1"
      	$SUDOX chown root:$ROOT_GROUP $file
      	$SUDOX chmod 755 $file
      }
      make_executable() {
      	file="$1"
      	$SUDOX chmod 755 $file
      }
      create_user_linux() {
      	...
      	$SUDOX useradd -m -s /usr/sbin/nologin "$username"
      	...
      }
      
      

      usw.

      1 Reply Last reply Reply Quote 3
      • Oberjembker
        Oberjembker last edited by Oberjembker

        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 Reply Last reply Reply Quote 1
        • Oberjembker
          Oberjembker last edited by

          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 Reply Last reply Reply Quote 0
          • apollon77
            apollon77 last edited by

            @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 ...

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

              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östkartoffel 2 Replies Last reply Reply Quote 0
              • J
                Jan1 @nieIP last edited by

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

                nieIP 1 Reply Last reply Reply Quote 0
                • crunchip
                  crunchip Forum Testing Most Active last edited by

                  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 1 Reply Last reply Reply Quote 0
                  • J
                    Jan1 @crunchip last edited by

                    @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 Reply Last reply Reply Quote 0
                    • Röstkartoffel
                      Röstkartoffel @nieIP last edited by 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.

                      nieIP 1 Reply Last reply Reply Quote 0
                      • nieIP
                        nieIP @Röstkartoffel last edited by

                        @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 Reply Last reply Reply Quote 0
                        • nieIP
                          nieIP @Jan1 last edited by 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 1 Reply Last reply Reply Quote 0
                          • J
                            Jan1 @nieIP last edited by Jan1

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

                            1 Reply Last reply Reply Quote 0
                            • M
                              marco-mh last edited by

                              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

                              apollon77 AlCalzone 2 Replies Last reply Reply Quote 0
                              • apollon77
                                apollon77 @marco-mh last edited by

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

                                1 Reply Last reply Reply Quote 0
                                • M
                                  marco-mh last edited by

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

                                  1 Reply Last reply Reply Quote 0
                                  • AlCalzone
                                    AlCalzone Developer @marco-mh last edited by

                                    @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.

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      marco-mh last edited by

                                      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

                                      1 Reply Last reply Reply Quote 0
                                      • M
                                        mpa last edited by mpa

                                        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 Reply Last reply Reply Quote 0
                                        • apollon77
                                          apollon77 last edited by

                                          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 1 Reply Last reply Reply Quote 1
                                          • M
                                            mpa @apollon77 last edited by

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

                                            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

                                            920
                                            Online

                                            31.7k
                                            Users

                                            79.8k
                                            Topics

                                            1.3m
                                            Posts

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