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.
    • 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
                                  • Homoran
                                    Homoran Global Moderator Administrators @cruunnerr last edited by Homoran

                                    @cruunnerr

                                    Dann muss ich den text mal ändern 😂

                                    Wie foch die Zeit vergeht.

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

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

                                      @cruunnerr

                                      Dann muss ich den text mal ändern 😂

                                      😛

                                      War mir irgendwie grad nicht sicher, ob ich denn jetzt auch den js-controller 1.5.7 hab.
                                      bitte nicht hauen 😄

                                      1 Reply Last reply Reply Quote 0
                                      • dslraser
                                        dslraser Forum Testing Most Active @Homoran last edited by

                                        @Homoran
                                        Hierr wird auch 8.16 empfohlen. Ich hatte nach dem ich das gesehen habe zwischenzeitlich sogar deswegen ein Downgrade gemacht 🙁

                                        Screenshot_20190603-211228_Chrome.jpg

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

                                          @dslraser
                                          Ist ja auch nicht falsch.

                                          https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten

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

                                            ... wird aber die Tage aktualisiert

                                            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

                                            910
                                            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