Skip to content
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
Logo
  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.1k

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

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

Neue Installationsroutine (für Linux)

Scheduled Pinned Locked Moved ioBroker Allgemein
installation
415 Posts 64 Posters 116.3k Views 31 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    marco-mh
    wrote on last edited by
    #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 Reply Last reply
    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
      wrote on last edited by
      #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 Reply Last reply
      0
      • M Offline
        M Offline
        marco-mh
        wrote on last edited by
        #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 Reply Last reply
        0
        • M Offline
          M Offline
          mpa
          wrote on last edited by 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 Reply Last reply
          0
          • apollon77A Online
            apollon77A Online
            apollon77
            wrote on last edited by
            #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 Reply Last reply
            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
              wrote on last edited by
              #303

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

              1 Reply Last reply
              0
              • ? Offline
                ? Offline
                A Former User
                wrote on last edited by
                #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 Replies Last reply
                0
                • ? A Former User

                  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 Offline
                  AlCalzoneA Offline
                  AlCalzone
                  Developer
                  wrote on last edited by
                  #305

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

                  Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'

                  Das sieht mir nicht nach einer erfolgreichen Installation aus. Probiere es bitte nochmal und zeig uns dann die Ausgabe der Installation.

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

                  1 Reply Last reply
                  0
                  • ? A Former User

                    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)

                    �

                    HomoranH Do not disturb
                    HomoranH Do not disturb
                    Homoran
                    Global Moderator Administrators
                    wrote on last edited by
                    #306

                    @Alina
                    Wieso zwei Threads dazu?

                    Habe dir in dem anderen / älteren geantwortet

                    kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                    Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                    der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      debianatoe
                      wrote on last edited by
                      #307

                      Kann man die neue Linux-Installationsroutine auch in buildroot-Systemen ausführen? buildroot ist ja ein besonders platzsparendes Linux. Das hätte dann insbesondere auf kleinen raspi-Systemen den Vorteil, daß man mehr RAM für den iobroker zur Verfügung hätte.

                      apollon77A 1 Reply Last reply
                      0
                      • D debianatoe

                        Kann man die neue Linux-Installationsroutine auch in buildroot-Systemen ausführen? buildroot ist ja ein besonders platzsparendes Linux. Das hätte dann insbesondere auf kleinen raspi-Systemen den Vorteil, daß man mehr RAM für den iobroker zur Verfügung hätte.

                        apollon77A Online
                        apollon77A Online
                        apollon77
                        wrote on last edited by
                        #308

                        @debianatoe @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
                        AlCalzoneA HomoranH 2 Replies Last reply
                        0
                        • apollon77A apollon77

                          @debianatoe @AlCalzone ?!

                          AlCalzoneA Offline
                          AlCalzoneA Offline
                          AlCalzone
                          Developer
                          wrote on last edited by
                          #309

                          @apollon77 @debianatoe
                          Probier es aus. Ich hab keine Ahnung und bisher nicht davon gehört.

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

                          1 Reply Last reply
                          0
                          • apollon77A apollon77

                            @debianatoe @AlCalzone ?!

                            HomoranH Do not disturb
                            HomoranH Do not disturb
                            Homoran
                            Global Moderator Administrators
                            wrote on last edited by
                            #310

                            @apollon77 Ich denke eher nicht.
                            die CCU baut auf buildroot auf - wenn ich mich richtig erinnere hat sich Jens Maus da schon dran versucht

                            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            D 1 Reply Last reply
                            0
                            • HomoranH Homoran

                              @apollon77 Ich denke eher nicht.
                              die CCU baut auf buildroot auf - wenn ich mich richtig erinnere hat sich Jens Maus da schon dran versucht

                              D Offline
                              D Offline
                              debianatoe
                              wrote on last edited by
                              #311

                              @Homoran Ja, die CCU baut auf buildroot auf. Aber buildroot läßt sich sehr variabel konfigurieren. Insofern wäre es denkbar, daß sich ein spezielles iobroker-buildroot, das mit dem CCU-buildroot nur wenig gemeinsam hat, bauen ließe. Wenn sich allerdings Jens Maus daran schon vergeblich (?) versucht hat, klingt das nach erheblichem Aufwand ...
                              Da wäre aus meiner Sicht ein iobroker-Installationsprofi gefragt, der genau weiß, welche Betriebssystem- und library-Bedingungen Voraussetzung sind.

                              apollon77A 1 Reply Last reply
                              0
                              • D debianatoe

                                @Homoran Ja, die CCU baut auf buildroot auf. Aber buildroot läßt sich sehr variabel konfigurieren. Insofern wäre es denkbar, daß sich ein spezielles iobroker-buildroot, das mit dem CCU-buildroot nur wenig gemeinsam hat, bauen ließe. Wenn sich allerdings Jens Maus daran schon vergeblich (?) versucht hat, klingt das nach erheblichem Aufwand ...
                                Da wäre aus meiner Sicht ein iobroker-Installationsprofi gefragt, der genau weiß, welche Betriebssystem- und library-Bedingungen Voraussetzung sind.

                                apollon77A Online
                                apollon77A Online
                                apollon77
                                wrote on last edited by
                                #312

                                @debianatoe Am Ende stht alles im install.sh drin was auf Github steht ... alles ws fehlt wird nachinstalliert aktuell per apt oder yum

                                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
                                AlCalzoneA 1 Reply Last reply
                                0
                                • apollon77A apollon77

                                  @debianatoe Am Ende stht alles im install.sh drin was auf Github steht ... alles ws fehlt wird nachinstalliert aktuell per apt oder yum

                                  AlCalzoneA Offline
                                  AlCalzoneA Offline
                                  AlCalzone
                                  Developer
                                  wrote on last edited by
                                  #313

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

                                  alles ws fehlt wird nachinstalliert

                                  Das bezieht sich aber auf das, was wir von "normalen" Linux-Systemen kennen und wissen. Ggf muss bei buildroot noch mehr installiert werden.

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

                                  D 1 Reply Last reply
                                  0
                                  • AlCalzoneA AlCalzone

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

                                    alles ws fehlt wird nachinstalliert

                                    Das bezieht sich aber auf das, was wir von "normalen" Linux-Systemen kennen und wissen. Ggf muss bei buildroot noch mehr installiert werden.

                                    D Offline
                                    D Offline
                                    debianatoe
                                    wrote on last edited by
                                    #314

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

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

                                    alles ws fehlt wird nachinstalliert

                                    Das bezieht sich aber auf das, was wir von "normalen" Linux-Systemen kennen und wissen. Ggf muss bei buildroot noch mehr installiert werden.

                                    So ist es leider. Im buildroot-Linux gibt es meines Wissens nach weder apt noch yum. Deshalb kann install.sh in dieser Form leider nicht funktionieren bzw. alles, was fehlt, nachinstallieren. Stand jetzt wäre das eine Menge Handarbeit.

                                    AlCalzoneA 1 Reply Last reply
                                    0
                                    • D debianatoe

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

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

                                      alles ws fehlt wird nachinstalliert

                                      Das bezieht sich aber auf das, was wir von "normalen" Linux-Systemen kennen und wissen. Ggf muss bei buildroot noch mehr installiert werden.

                                      So ist es leider. Im buildroot-Linux gibt es meines Wissens nach weder apt noch yum. Deshalb kann install.sh in dieser Form leider nicht funktionieren bzw. alles, was fehlt, nachinstallieren. Stand jetzt wäre das eine Menge Handarbeit.

                                      AlCalzoneA Offline
                                      AlCalzoneA Offline
                                      AlCalzone
                                      Developer
                                      wrote on last edited by
                                      #315

                                      @debianatoe Wie installiert man dann auf buildroot einen Package-Manager?
                                      Wenn du die nötigen Schritte ermitteln kannst, was zusätzlich nötig ist, lässt sich das sicher in den Installer einbauen.

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

                                      D 1 Reply Last reply
                                      0
                                      • AlCalzoneA AlCalzone

                                        @debianatoe Wie installiert man dann auf buildroot einen Package-Manager?
                                        Wenn du die nötigen Schritte ermitteln kannst, was zusätzlich nötig ist, lässt sich das sicher in den Installer einbauen.

                                        D Offline
                                        D Offline
                                        debianatoe
                                        wrote on last edited by
                                        #316

                                        @AlCalzone Also da bin ich leider überfragt.

                                        1 Reply Last reply
                                        0
                                        • xadoxX Offline
                                          xadoxX Offline
                                          xadox
                                          wrote on last edited by xadox
                                          #317

                                          Können die folgenden Warnings bei der Installation auf Ubuntu 20.10, 20.04 oder Debian 10 ignoriert werden?

                                          In file included from ../../nan/nan.h:56,
                                                           from ../src/main.cpp:3:
                                          /root/.cache/node-gyp/10.23.0/include/node/node.h:573:43: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>)' to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type]
                                                 (node::addon_register_func) (regfunc),                          \
                                                                                     ^
                                          /root/.cache/node-gyp/10.23.0/include/node/node.h:607:3: note: in expansion of macro 'NODE_MODULE_X'
                                             NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                             ^~~~~~~~~~~~~
                                          ../src/main.cpp:42:1: note: in expansion of macro 'NODE_MODULE'
                                           NODE_MODULE(diskusage, Init)
                                           ^~~~~~~~~~~
                                          In file included from /root/.cache/node-gyp/10.23.0/include/node/node.h:63,
                                                           from ../../nan/nan.h:56,
                                                           from ../src/main.cpp:3:
                                          /root/.cache/node-gyp/10.23.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':
                                          /root/.cache/node-gyp/10.23.0/include/node/node_object_wrap.h:84:78:   required from here
                                          /root/.cache/node-gyp/10.23.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                                          reinterpret_cast<Callback>(callback), type);
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          /root/.cache/node-gyp/10.23.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':
                                          ../../nan/nan_object_wrap.h:65:61:   required from here
                                          /root/.cache/node-gyp/10.23.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                          In file included from ../../nan/nan.h:56,
                                                           from ../src/unix_dgram.cc:5:
                                          /root/.cache/node-gyp/10.23.0/include/node/node.h:573:43: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>)' to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type]
                                                 (node::addon_register_func) (regfunc),                          \
                                                                                     ^
                                          /root/.cache/node-gyp/10.23.0/include/node/node.h:607:3: note: in expansion of macro 'NODE_MODULE_X'
                                             NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                                             ^~~~~~~~~~~~~
                                          ../src/unix_dgram.cc:404:1: note: in expansion of macro 'NODE_MODULE'
                                           NODE_MODULE(unix_dgram, Initialize)
                                           ^~~~~~~~~~~
                                          In file included from /root/.cache/node-gyp/10.23.0/include/node/node.h:63,
                                                           from ../../nan/nan.h:56,
                                                           from ../src/unix_dgram.cc:5:
                                          /root/.cache/node-gyp/10.23.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = node::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)]':
                                          /root/.cache/node-gyp/10.23.0/include/node/node_object_wrap.h:84:78:   required from here
                                          /root/.cache/node-gyp/10.23.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<node::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<node::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                                          reinterpret_cast<Callback>(callback), type);
                                                          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
                                          /root/.cache/node-gyp/10.23.0/include/node/v8.h: In instantiation of 'void v8::PersistentBase<T>::SetWeak(P*, typename v8::WeakCallbackInfo<P>::Callback, v8::WeakCallbackType) [with P = Nan::ObjectWrap; T = v8::Object; typename v8::WeakCallbackInfo<P>::Callback = void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)]':
                                          ../../nan/nan_object_wrap.h:65:61:   required from here
                                          /root/.cache/node-gyp/10.23.0/include/node/v8.h:9502:16: warning: cast between incompatible function types from 'v8::WeakCallbackInfo<Nan::ObjectWrap>::Callback' {aka 'void (*)(const v8::WeakCallbackInfo<Nan::ObjectWrap>&)'} to 'Callback' {aka 'void (*)(const v8::WeakCallbackInfo<void>&)'} [-Wcast-function-type]
                                           
                                          
                                          
                                          HomoranH Thomas BraunT 2 Replies Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          530

                                          Online

                                          32.4k

                                          Users

                                          81.4k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe