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 goes Matter ... Matter Adapter in Stable

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    Neue Installationsroutine (für Linux)

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @denjo last edited by

      @denjo

      https://forum.iobroker.net/topic/20211/iobroker-installation-fixer-beta-verf%C3%BCgbar

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

        @Homoran so habe jetzt ein system neu aufgesetzt aber immer noch läuft der amazon dash adapter nicht

        amazon-dash.0	2019-02-28 15:47:24.114	error	at Module.load (module.js:566:32)
        amazon-dash.0	2019-02-28 15:47:24.114	error	at Object.Module._extensions..js (module.js:664:10)
        amazon-dash.0	2019-02-28 15:47:24.114	error	at Module._compile (module.js:653:30)
        amazon-dash.0	2019-02-28 15:47:24.114	error	at Object.<anonymous> (/opt/iobroker/node_modules/pcap/pcap.js:3:21)
        amazon-dash.0	2019-02-28 15:47:24.114	error	at require (internal/module.js:11:18)
        amazon-dash.0	2019-02-28 15:47:24.114	error	at Module.require (module.js:597:17)
        amazon-dash.0	2019-02-28 15:47:24.114	error	at Function.Module._load (module.js:498:3)
        amazon-dash.0	2019-02-28 15:47:24.114	error	at tryModuleLoad (module.js:506:12)
        amazon-dash.0	2019-02-28 15:47:24.114	error	at Module.load (module.js:566:32)
        amazon-dash.0	2019-02-28 15:47:24.114	error	at Object.Module._extensions..node (module.js:682:18)
        amazon-dash.0	2019-02-28 15:47:24.114	error	Error: libpcap.so.0.8: cannot open shared object file: No such file or directory
        amazon-dash.0	2019-02-28 15:47:24.105	error	uncaught exception: libpcap.so.0.8: cannot open shared object file: No such file or directory
        
        Homoran 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @denjo last edited by

          @denjo sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

          uncaught exception: libpcap.so.0.8: cannot open shared object file: No such file or directory

          gibt es bei dem Adapter einen Hinweis dass zusätzliche Module installiert werden müssen?

          Wenn ja, hast du das gemacht?

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

            @Homoran ohh übersehen, klasse endlich läuft alles, vielen dank

            1 Reply Last reply Reply Quote 0
            • S
              Semenchkare last edited by Semenchkare

              Hallo,

              ich habe, seitdem ich das script ausgeführt habe, probleme mit vcard, welches bisher nie muckte.

              vcard.0	2019-03-01 07:49:47.508	error	Error reading file: EACCES: permission denied, open '.node-xmlhttprequest-sync-10671'
              vcard.0	2019-03-01 07:49:47.459	info	starting. Version 0.0.9 in /opt/iobroker/node_modules/iobroker.vcard, node: v8.15.0
              host.IoBroker-Raspi	2019-03-01 07:49:46.177	info	instance system.adapter.vcard.0 started with pid 10671
              tankerkoenig.0	2019-03-01 07:49:36.198	info	Reading data from tankerkoenig ...
              host.IoBroker-Raspi	2019-03-01 07:49:16.842	info	instance system.adapter.daswetter.0 terminated with code 11 (Desired termination)
              daswetter.0	2019-03-01 07:49:16.824	debug	nothing to do
              host.IoBroker-Raspi	2019-03-01 07:49:16.154	info	Restart adapter system.adapter.vcard.0 because enabled
              host.IoBroker-Raspi	2019-03-01 07:49:16.154	error	instance system.adapter.vcard.0 terminated with code 0 (OK)
              Caught	2019-03-01 07:49:16.154	error	by controller[0]: at processImmediate [as _immediateCallback] (timers.js:745:5)
              Caught	2019-03-01 07:49:16.153	error	by controller[0]: at tryOnImmediate (timers.js:768:5)
              Caught	2019-03-01 07:49:16.153	error	by controller[0]: at runCallback (timers.js:810:20)
              Caught	2019-03-01 07:49:16.153	error	by controller[0]: at Immediate._onImmediate (/opt/iobroker/node_modules/iobroker.js-controller/lib/adapter.js:3709:38)
              Caught	2019-03-01 07:49:16.152	error	by controller[0]: at Adapter.emit (events.js:214:7)
              Caught	2019-03-01 07:49:16.152	error	by controller[0]: at emitTwo (events.js:126:13)
              Caught	2019-03-01 07:49:16.152	error	by controller[0]: at Adapter.<anonymous> (/opt/iobroker/node_modules/iobroker.vcard/vcard.js:99:17)
              Caught	2019-03-01 07:49:16.152	error	by controller[0]: at performNumberString (/opt/iobroker/node_modules/iobroker.vcard/vcard.js:323:30)
              Caught	2019-03-01 07:49:16.151	error	by controller[0]: at getNameToNumber (/opt/iobroker/node_modules/iobroker.vcard/vcard.js:401:39)
              Caught	2019-03-01 07:49:16.150	error	by controller[0]: TypeError: Cannot read property 'length' of null
              

              ich habe die Instanz gelöscht und nochmals neu aufgespielt, kein Erfolg....

              Beim Starten der Instanz kommt irgendwie ein Zugriffsfehler auf die Datei...

              vcard.0	2019-03-01 07:58:50.799	error	Error reading file: EACCES: permission denied, open '.node-xmlhttprequest-sync-10762'
              vcard.0	2019-03-01 07:58:50.746	info	starting. Version 0.0.9 in /opt/iobroker/node_modules/iobroker.vcard, node: v8.15.0
              

              klicke ich den Pfad zur vcard-Datei an, kann ich sie am PC ansehen (liegt auf einem internen Web-Server, Synology.

              Kann mir jemand sagen, woran das liegen könnte?

              Gruß

              1 Reply Last reply Reply Quote 0
              • S
                Semenchkare last edited by Semenchkare

                Gelöst!
                Das Problem ist, dass vCard erwartet, dass die Datei iobroker.vcard im Besitz vom user iobroker ist.

                was habe ich getan: die iobroker.vcard auf den pi kopiert (ins verzeichnis opt). Dort habe ich mit chown den Besitzer per sudo chown auf "iobroker" geändert.
                Voila - nach Neustart der Instanz kein Fehler mehr!

                PS: auf dem Webserver konnte ich das nicht ändern, ich hätte dort einen User "iobroker" anlegen müssen, um den Besitz von iobroker.vcard ändern zu können....

                1 Reply Last reply Reply Quote 0
                • A
                  Alexander.G @apollon77 last edited by

                  @apollon77 Wollte abschließend noch berichten. Es war tatsächlich der Rock64 für die Abstürze und zerschossenen Dateien verantwortlich. Hatte mir im Land der Sonne nochmal einen bestellt. Jetzt tut er seit 3 Tagen ohne Probleme☺
                  Danke für die Hilfe!

                  1 Reply Last reply Reply Quote 1
                  • apollon77
                    apollon77 last edited by

                    Super und danke für die Rückmeldung!

                    1 Reply Last reply Reply Quote 0
                    • P
                      peer69 Forum Testing last edited by

                      Habe mein Core-Produktivsystem nun mit Hilfe des Fixer-Skripts umgestellt. Das hat ohne Zwischenfälle funktioniert. Auch die SBC-Slaves konnten ohne Probleme umgestellt werden. Sogar eher anfällige Adapter (bei mir insb. YAHKA und ZWave) kamen anschließend fehlerfrei wieder hoch.
                      Gute Arbeit und vielen Dank dafür! 🙂

                      1 Reply Last reply Reply Quote 1
                      • J
                        jiglitsch last edited by

                        Hallo zusammen.
                        Also irgendwas scheint dich da nicht zu stimmen. Ich habe jetzt zweimal unabhängig voneinander auf zwei Geräten iobroker installiert.
                        In beiden Fällen war iobroker nicht über den Browser erreichbar. In dem Troubleshooting Beitrag habe ich dann den Hinweis gefunden, die Admin-Instanz manuell zu installieren. Das hat auch dann funktioniert... aber das kann doch nicht sein?
                        In allen Tutorials wird nur das Installationsskript ausgeführt und alles funktioniert... nur bei mir nicht.

                        Geräte: Cubitruck
                        OS: Armbian

                        AlCalzone 1 Reply Last reply Reply Quote 0
                        • AlCalzone
                          AlCalzone Developer @jiglitsch last edited by

                          @jiglitsch Dann poste mal einen Log der Installationen sowie den Inhalt der Datei /opt/iobroker/INSTALLER_INFO.txt.

                          Außerdem die Ausgabe der folgenden Befehle:

                          node -v
                          nodejs -v
                          npm -v
                          

                          Ggf. sieht man da schon was schief läuft.

                          1 Reply Last reply Reply Quote 0
                          • J
                            jiglitsch last edited by

                            Output INSTALLER_INFO:
                            Installer version: 2019-05-14
                            Installation date 2019-05-28
                            Platform: linux
                            Installed as non-root user jigl
                            init system: systemd
                            Autostart: systemd
                            ACL enabled: true
                            Installer version: 2019-05-14
                            Installation date 2019-05-28
                            Platform: linux
                            Installed as non-root user jigl
                            init system: systemd
                            Autostart: systemd
                            ACL enabled: true


                            jigl@cubietruck:~$ node -v
                            v8.16.0
                            jigl@cubietruck:~$ nodejs -v
                            v8.16.0
                            jigl@cubietruck:~$ npm -v
                            6.4.1

                            Was genau meinst du mit "Dann poste mal einen Log der Installationen".
                            Danke schonmal

                            AlCalzone 1 Reply Last reply Reply Quote 0
                            • AlCalzone
                              AlCalzone Developer @jiglitsch last edited by

                              @jiglitsch sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                              Was genau meinst du mit "Dann poste mal einen Log der Installationen".

                              Die Ausgabe auf dem Bildschirm, wenn du per Skript installierst.

                              Der Rest sieht alles gut aus

                              1 Reply Last reply Reply Quote 0
                              • J
                                jiglitsch last edited by jiglitsch

                                Ich hab es jetzt gerade nochmal neu installiert.
                                Diesmal hatte ich sogar (wieso auch immer) ein paar eventuell interessante outputs.:

                                jigl@cubietruck:~$ curl -sL https://iobroker.net/install.sh | bash -
                                
                                ==========================================================================
                                
                                    Welcome to the ioBroker installer!
                                    Installer version: 2019-05-14
                                    
                                    You might need to enter your password a couple of times.
                                
                                ==========================================================================
                                
                                
                                ==========================================================================
                                    Installing prerequisites (1/4)
                                ==========================================================================
                                
                                
                                ==========================================================================
                                    Creating ioBroker user and directory (2/4)
                                ==========================================================================
                                
                                Created /etc/sudoers.d/iobroker
                                Directory /opt/iobroker created
                                
                                ==========================================================================
                                    Installing ioBroker (3/4)
                                ==========================================================================
                                
                                ../src/serialport.cpp: In function ‘void EIO_AfterOpen(uv_work_t*)’:
                                ../src/serialport.cpp:95:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                   data->callback.Call(2, argv);
                                                              ^
                                In file included from ../src/./serialport.h:6:0,
                                                 from ../src/serialport.cpp:1:
                                ../../nan/nan.h:1740:3: note: declared here
                                   Call(int argc, v8::Local<v8::Value> argv[]) const {
                                   ^~~~
                                ../src/serialport.cpp: In function ‘void EIO_AfterUpdate(uv_work_t*)’:
                                ../src/serialport.cpp:150:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                   data->callback.Call(1, argv);
                                                              ^
                                In file included from ../src/./serialport.h:6:0,
                                                 from ../src/serialport.cpp:1:
                                ../../nan/nan.h:1740:3: note: declared here
                                   Call(int argc, v8::Local<v8::Value> argv[]) const {
                                   ^~~~
                                ../src/serialport.cpp: In function ‘void EIO_AfterClose(uv_work_t*)’:
                                ../src/serialport.cpp:188:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                   data->callback.Call(1, argv);
                                                              ^
                                In file included from ../src/./serialport.h:6:0,
                                                 from ../src/serialport.cpp:1:
                                ../../nan/nan.h:1740:3: note: declared here
                                   Call(int argc, v8::Local<v8::Value> argv[]) const {
                                   ^~~~
                                ../src/serialport.cpp: In function ‘void EIO_AfterFlush(uv_work_t*)’:
                                ../src/serialport.cpp:231:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                   data->callback.Call(1, argv);
                                                              ^
                                In file included from ../src/./serialport.h:6:0,
                                                 from ../src/serialport.cpp:1:
                                ../../nan/nan.h:1740:3: note: declared here
                                   Call(int argc, v8::Local<v8::Value> argv[]) const {
                                   ^~~~
                                ../src/serialport.cpp: In function ‘void EIO_AfterSet(uv_work_t*)’:
                                ../src/serialport.cpp:285:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                   data->callback.Call(1, argv);
                                                              ^
                                In file included from ../src/./serialport.h:6:0,
                                                 from ../src/serialport.cpp:1:
                                ../../nan/nan.h:1740:3: note: declared here
                                   Call(int argc, v8::Local<v8::Value> argv[]) const {
                                   ^~~~
                                ../src/serialport.cpp: In function ‘void EIO_AfterGet(uv_work_t*)’:
                                ../src/serialport.cpp:336:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                   data->callback.Call(2, argv);
                                                              ^
                                In file included from ../src/./serialport.h:6:0,
                                                 from ../src/serialport.cpp:1:
                                ../../nan/nan.h:1740:3: note: declared here
                                   Call(int argc, v8::Local<v8::Value> argv[]) const {
                                   ^~~~
                                ../src/serialport.cpp: In function ‘void EIO_AfterGetBaudRate(uv_work_t*)’:
                                ../src/serialport.cpp:383:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                   data->callback.Call(2, argv);
                                                              ^
                                In file included from ../src/./serialport.h:6:0,
                                                 from ../src/serialport.cpp:1:
                                ../../nan/nan.h:1740:3: note: declared here
                                   Call(int argc, v8::Local<v8::Value> argv[]) const {
                                   ^~~~
                                ../src/serialport.cpp: In function ‘void EIO_AfterDrain(uv_work_t*)’:
                                ../src/serialport.cpp:424:30: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                   data->callback.Call(1, argv);
                                                              ^
                                In file included from ../src/./serialport.h:6:0,
                                                 from ../src/serialport.cpp:1:
                                ../../nan/nan.h:1740:3: note: declared here
                                   Call(int argc, v8::Local<v8::Value> argv[]) const {
                                   ^~~~
                                ../src/serialport_unix.cpp: In function ‘int setup(int, OpenBaton*)’:
                                ../src/serialport_unix.cpp:166:5: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1005 [-Wformat-truncation=]
                                 int setup(int fd, OpenBaton *data) {
                                     ^~~~~
                                In file included from /usr/include/stdio.h:862:0,
                                                 from ../src/serialport.h:3,
                                                 from ../src/serialport_unix.cpp:2:
                                /usr/include/arm-linux-gnueabihf/bits/stdio2.h:65:44: note: ‘__builtin___snprintf_chk’ output 20 or more bytes (assuming 1043) into a destination of size 1024
                                        __bos (__s), __fmt, __va_arg_pack ());
                                                                            ^
                                ../src/serialport_unix.cpp: In function ‘void EIO_Open(uv_work_t*)’:
                                ../src/serialport_unix.cpp:79:6: warning: ‘%s’ directive output may be truncated writing up to 1023 bytes into a region of size 1003 [-Wformat-truncation=]
                                 void EIO_Open(uv_work_t* req) {
                                      ^~~~~~~~
                                In file included from /usr/include/stdio.h:862:0,
                                                 from ../src/serialport.h:3,
                                                 from ../src/serialport_unix.cpp:2:
                                /usr/include/arm-linux-gnueabihf/bits/stdio2.h:65:44: note: ‘__builtin___snprintf_chk’ output 22 or more bytes (assuming 1045) into a destination of size 1024
                                        __bos (__s), __fmt, __va_arg_pack ());
                                                                            ^
                                ../src/poller.cpp: In static member function ‘static void Poller::onData(uv_poll_t*, int, int)’:
                                ../src/poller.cpp:69:29: warning: ‘v8::Local<v8::Value> Nan::Callback::Call(int, v8::Local<v8::Value>*) const’ is deprecated [-Wdeprecated-declarations]
                                   obj->callback.Call(2, argv);
                                                             ^
                                In file included from ../src/poller.cpp:1:0:
                                ../../nan/nan.h:1740:3: note: declared here
                                   Call(int argc, v8::Local<v8::Value> argv[]) const {
                                   ^~~~
                                
                                ==========================================================================
                                    Finalizing installation (4/4)
                                ==========================================================================
                                
                                Enabling autostart...
                                Autostart enabled!
                                Fixing directory permissions...
                                
                                ==========================================================================
                                
                                    ioBroker was installed successfully
                                    Open http://192.168.178.50:8081 in a browser and start configuring!
                                
                                ==========================================================================
                                
                                
                                You need to re-login before doing anything else on the console!
                                
                                

                                Was zum Teufel... jetzt hat es geklappt O_o. Ich kann iobroker instant im Browser ausfrufen.
                                Das muss ich nicht verstehen.
                                Danke trotzdem 🕵

                                AlCalzone 1 Reply Last reply Reply Quote 0
                                • AlCalzone
                                  AlCalzone Developer @jiglitsch last edited by

                                  @jiglitsch sagte in Neue Installationsroutine und neue Anleitungen (für Linux-basierte Systeme):

                                  jetzt hat es geklappt

                                  Das ist meine Aura 👻 ... passiert mir öfter 😄

                                  1 Reply Last reply Reply Quote 1
                                  • C
                                    cruunnerr last edited by

                                    die links zu den Anleitungen sind defekt 😞

                                    will gerade Biobroker im Proxmox Container installieren und weiß jetzt nicht welche Anleitung nun noch nutzbar ist 😕

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

                                      @cruunnerr

                                      https://doc.iobroker.net/#de/documentation/install/linux.md

                                      C 1 Reply Last reply Reply Quote 0
                                      • C
                                        cruunnerr @Homoran last edited by cruunnerr

                                        @Homoran

                                        Das ging flott. Danke.
                                        SSL Zertifikat war zwar nicht ok, aber einem Admin vertrau ich gerne 🙂

                                        Eine Frage noch...
                                        Habe momentan ioBroker auf nem Server mit node V8.12.0 und npm 4.6.1 laufen.

                                        Will dann den Backup Adapter nutzen um alles wieder auf den neuen Server zu bringen auf dem ja nun node 8.16.0 und npm 6 läuft.

                                        Könnte das Probleme bringen?

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

                                          @cruunnerr

                                          Nö!

                                          Warum dann nicht direkt node 10?

                                          C dslraser 2 Replies Last reply Reply Quote 0
                                          • C
                                            cruunnerr @Homoran last edited by

                                            @Homoran

                                            In der Anleitung stand:
                                            "Die momentan empfohlene Version ist node 8.x; mit js-controller 1.5.7 auch node 10.x, dann in Schritt 4.1. die “8.x” gegen 10.x” austauschen."

                                            Dann hab ich einfach die 8 genommen XD

                                            Homoran 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

                                            601
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

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