Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. [gelöst] Iobroker Deamon stoppt laufend - nach JS Update

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    [gelöst] Iobroker Deamon stoppt laufend - nach JS Update

    This topic has been deleted. Only users with topic management privileges can see it.
    • B
      Bradock last edited by

      Hi Du,

      Danke für das lesen!

      Ich bin echt am verzweifeln. Hatte die letzten Tage den Harmony Adapter aus und Io lief. Jetzt wieder zugeschaltet und wieder Probleme.

      Ich bin mir nicht sicher wo ich noch suchen kann.

      Gesendet von iPhone mit Tapatalk Pro

      1 Reply Last reply Reply Quote 0
      • P
        Pman last edited by

        Du könntest mal auf einem weiteren Gerät ioBroker und Harmony Adapter installieren, um zu testen, ob dort die selben Abstürze auftreten. Im Moment habe ich auch keine Idee, die Logs helfen so weit ich das sehe kaum, da dort keine konkreten Meldungen vor dem Absturz auftauchen.

        1 Reply Last reply Reply Quote 0
        • B
          Bradock last edited by

          Hi again,

          ich werde versuchen einen Raspi auszubuddeln und dort mal zu installieren.

          Evtl. hilft uns das beim analysieren.

          1 Reply Last reply Reply Quote 0
          • B
            Bradock last edited by

            Mal eine ganz andere Idee / Frage

            kann es sein, dass der Zugriff vom PC (Firefox) auf zB Admin oder VIS den IoBroker Deamon killt?

            Hier was aus dem Log:

            ! host.IoBroker 2017-10-30 12:30:05.724 error instance system.adapter.hm-rpc.0 terminated with code 7 (Adapter already running)
            ! host.IoBroker 2017-10-30 12:30:05.521 info instance system.adapter.hm-rpc.0 started with pid 3140
            ! web.0 2017-10-30 12:30:04.758 info 2017-10-30T11:30:04.758Z Connected system.user.admin
            ! host.IoBroker 2017-10-30 12:30:02.376 info stopInstance system.adapter.vis.0
            ! host.IoBroker 2017-10-30 12:30:02.376 info "system.adapter.vis.0" enabled
            ! host.IoBroker 2017-10-30 12:30:02.376 info object change system.adapter.vis.0
            ! host.IoBroker 2017-10-30 12:30:02.372 info stopInstance system.adapter.vis.0
            ! host.IoBroker 2017-10-30 12:30:02.372 info "system.adapter.vis.0" disabled
            ! host.IoBroker 2017-10-30 12:30:02.372 info object change system.adapter.vis.0
            ! vis.0 2017-10-30 12:30:02.150 info Upload vis anew, while changes detected…
            ! vis.0 2017-10-30 12:30:02.147 info Changes in index.html detected => update cache.manifest
            ! vis.0 2017-10-30 12:30:01.707 info starting. Version 0.10.15 in /opt/iobroker/node_modules/iobroker.vis, node: v4.7.2
            ! web.0 2017-10-30 12:29:58.867 info http server listening on port 8082
            ! web.0 2017-10-30 12:29:58.866 info socket.io server listening on port 8082
            ! web.0 2017-10-30 12:29:58.750 info starting. Version 2.0.0 in /opt/iobroker/node_modules/iobroker.web, node: v4.7.2
            ! hm-rpc.0 2017-10-30 12:29:58.743 error already running
            ! hm-rpc.0 2017-10-30 12:29:58.478 warn Reconnection to DB.
            ! hm-rpc.0 2017-10-30 12:29:58.435 warn Reconnection to DB.
            ! harmony.0 2017-10-30 12:29:58.135 error already running
            ! harmony.0 2017-10-30 12:29:57.904 info starting. Version 0.7.0 in /opt/iobroker/node_modules/iobroker.harmony, node: v4.7.2
            ! host.IoBroker 2017-10-30 12:29:57.703 info instance system.adapter.web.0 started with pid 3108
            ! botvac.0 2017-10-30 12:29:57.673 error already running
            ! admin.0 2017-10-30 12:29:57.277 error already running
            ! admin.0 2017-10-30 12:29:57.161 info starting. Version 2.0.2 in /opt/iobroker/node_modules/iobroker.admin, node: v4.7.2
            ! botvac.0 2017-10-30 12:29:57.042 warn Reconnection to DB.
            ! botvac.0 2017-10-30 12:29:57.031 warn Reconnection to DB.
            ! admin.0 2017-10-30 12:29:57.011 warn Reconnection to DB.
            ! harmony.0 2017-10-30 12:29:57.005 warn Reconnection to DB.
            ! admin.0 2017-10-30 12:29:57.000 warn Reconnection to DB.
            ! harmony.0 2017-10-30 12:29:56.996 warn Reconnection to DB.
            ! sayit.0 2017-10-30 12:29:56.824 error already running
            ! hm-rega.0 2017-10-30 12:29:56.484 error already running
            ! netatmo.0 2017-10-30 12:29:55.715 error already running
            ! cloud.0 2017-10-30 12:29:55.201 error already running
            ! host.IoBroker 2017-10-30 12:29:54.916 info Restart adapter system.adapter.admin.0 because enabled
            ! host.IoBroker 2017-10-30 12:29:54.915 error instance system.adapter.admin.0 terminated with code 1 ()
            ! admin.0 2017-10-30 12:29:54.884 error port 8081 already in use
            ! host.IoBroker 2017-10-30 12:29:54.809 info Update repository "default" under "http://download.iobroker.net/sources-dist.json"
            ! admin.0 2017-10-30 12:29:54.791 info Request actual repository...
            ! admin.0 2017-10-30 12:29:54.764 info received all objects
            ! admin.0 2017-10-30 12:29:54.675 info received all states
            ! admin.0 2017-10-30 12:29:54.451 info requesting all objects
            ! admin.0 2017-10-30 12:29:54.450 info requesting all states
            ! admin.0 2017-10-30 12:29:54.430 info starting. Version 2.0.2 in /opt/iobroker/node_modules/iobroker.admin, node: v4.7.2
            ! web.0 2017-10-30 12:29:54.420 error already running
            ! javascript.0 2017-10-30 12:29:54.164 error already running
            ! sonos.0 2017-10-30 12:29:53.996 error already running
            ! host.IoBroker 2017-10-30 12:29:53.535 info instance system.adapter.admin.0 started with pid 3098
            ! host.IoBroker 2017-10-30 12:29:53.491 info starting 19 instances
            ! host.IoBroker 2017-10-30 12:29:53.487 info 28 instances found
            ! host.IoBroker 2017-10-30 12:29:53.481 info InMemoryDB connected
            ! inMem-objects 2017-10-30 12:29:53.479 info listening on port 9001
            ! inMem-states 2017-10-30 12:29:53.416 info listening on port 9000
            ! host.IoBroker 2017-10-30 12:29:49.681 info ip addresses: 192.168.0.13 fe80::20c:29ff:fea7:e65a
            ! host.IoBroker 2017-10-30 12:29:49.681 info hostname: IoBroker, node: v4.7.2
            ! host.IoBroker 2017-10-30 12:29:49.681 info Copyright (c) 2014-2016 bluefox, hobbyquaker
            ! host.IoBroker 2017-10-30 12:29:49.679 info iobroker.js-controller version 0.15.3 js-controller starting
            ! harmony.0 2017-10-30 12:29:49.393 info discovered Harmony Hub
            ! harmony.0 2017-10-30 12:29:45.082 warn lost Harmony Hub
            ! harmony.0 2017-10-30 12:29:28.374 info discovered Harmony Hub
            ! harmony.0 2017-10-30 12:29:25.076 warn lost Harmony Hub
            ! harmony.0 2017-10-30 12:28:30.326 info discovered Harmony Hub
            ! harmony.0 2017-10-30 12:28:30.063 warn lost Harmony Hub
            ! harmony.0 2017-10-30 12:27:21.760 info discovered Harmony Hub
            ! harmony.0 2017-10-30 12:26:55.043 warn lost Harmony Hub
            ! harmony.0 2017-10-30 12:22:22.072 info discovered Harmony Hub
            ! harmony.0 2017-10-30 12:21:44.995 warn lost Harmony Hub
            ! harmony.0 2017-10-30 12:21:23.954 info discovered Harmony Hub
            ! harmony.0 2017-10-30 12:21:19.989 warn lost Harmony Hub
            ! harmony.0 2017-10-30 12:20:16.888 info discovered Harmony Hub
            ! harmony.0 2017-10-30 12:20:14.977 warn lost Harmony Hub
            ! harmony.0 2017-10-30 12:18:29.800 info discovered Harmony Hub
            ! harmony.0 2017-10-30 12:18:24.958 warn lost Harmony Hub
            ! harmony.0 2017-10-30 12:17:45.762 info discovered Harmony Hub
            ! harmony.0 2017-10-30 12:17:39.952 warn lost Harmony Hub
            ! harmony.0 2017-10-30 12:17:30.763 info discovered Harmony Hub
            ! harmony.0 2017-10-30 12:17:29.950 warn lost Harmony Hub
            ! harmony.0 2017-10-30 12:16:30.709 info discovered Harmony Hub
            ! harmony.0 2017-10-30 12:16:29.941 warn lost Harmony Hub
            ! harmony.0 2017-10-30 12:13:25.581 info discovered Harmony Hub
            ! harmony.0 2017-10-30 12:13:24.902 warn lost Harmony Hub
            ! harmony.0 2017-10-30 12:13:01.544 info discovered Harmony Hub
            ! harmony.0 2017-10-30 12:12:59.896 warn lost Harmony Hub
            ! harmony.0 2017-10-30 12:09:33.396 info discovered Harmony Hub
            ! harmony.0 2017-10-30 12:09:29.843 warn lost Harmony Hub
            ! harmony.0 2017-10-30 12:07:52.316 info discovered Harmony Hub

            Der Zugriff vom PC aus erfolgte etwa um 12.29 Uhr

            Weder VIS noch Admin waren im Browser aufrufbar.

            Danach per Konsole geprüft:
            2009_log_301017.png

            Sieht so aus, als wenn sich der Deamon gekillt hat durch den Zugriff vom PC, oder was denkt ihr dazu???

            1 Reply Last reply Reply Quote 0
            • B
              Bradock last edited by

              Guten Morgen liebe Gemeinde.

              da ich leider keinen Fehler finde, welcher die Abstürze des IoBroker Deamon auslöst und mittlerweile mein funktionierender Snapshot mit der JS Version 0.15.3 auch nicht mehr stabil läuft, muss ich davon ausgehen, dass etwas am OS (Debian) schief hängt.

              Plan B:

              Ich würde gerne eine neue VM aufsetzen und IoBroker von Grund auf neu installieren.

              Danach möchte ich gerne meine "mühsam" erstellten VIS views umziehen.

              Könnt ihr mir bitte helfen zu verstehen, was ich genau wegsichern muss, um mir hier Arbeit zu sparen?

              Bitte bedenkt dabei, dass ich aber möglichst kein Problem mit umziehen will.

              Besten Dank vorab für Eure Hilfe!

              Gruß Sascha

              1 Reply Last reply Reply Quote 0
              • B
                Bradock last edited by

                Einmal hoch damit!

                Kann mir hier bitte jemand einen Rat / Tipp geben, wie ich am besten meine VIS Views umziehe?

                Habe inzwischen eine frische Debian VM mit IoBroker fertig.

                Danke vorab!!!

                1 Reply Last reply Reply Quote 0
                • Dutchman
                  Dutchman Developer Most Active Administrators last edited by

                  @Bradock:

                  Einmal hoch damit!

                  Kann mir hier bitte jemand einen Rat / Tipp geben, wie ich am besten meine VIS Views umziehe?

                  Habe inzwischen eine frische Debian VM mit IoBroker fertig.

                  Danke vorab!!! `

                  Du kannst deine Views dich einfach exportieren und importieren?

                  Vorher sicher stellen dass alle wigets etc die du benutzt hat installiert sind

                  –-----------------------

                  Send from mobile device

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

                    die Datei /opt/iobroker/iobroker-data/files/vis.0/main/vis-views.json enthält alle views des Projekts Main.

                    Gruß

                    Rainer

                    1 Reply Last reply Reply Quote 0
                    • B
                      Bradock last edited by

                      Danke Dutch,

                      spielt es eine Rolle, dass auch die Adapter in der gleichen Reihenfolge sind?

                      Oder muss ich in VIS die Objekte dann sowieso nochmals alle auswählen?

                      1 Reply Last reply Reply Quote 0
                      • B
                        Bradock last edited by

                        @Homoran:

                        die Datei /opt/iobroker/iobroker-data/files/vis.0/main/vis-views.json enthält alle views des Projekts Main.

                        Gruß

                        Rainer `

                        Auch Dir danke! Kämpfe gerade mit der neuen VM….. Node Version 9.0 ist drauf :shock:

                        Update: Komme nicht mehr von 9.0 runter auf 4x -> habt ihr hier einen Tipp?

                        1 Reply Last reply Reply Quote 0
                        • Dutchman
                          Dutchman Developer Most Active Administrators last edited by

                          @Bradock:

                          @Homoran:

                          die Datei /opt/iobroker/iobroker-data/files/vis.0/main/vis-views.json enthält alle views des Projekts Main.

                          Gruß

                          Rainer `

                          Auch Dir danke! Kämpfe gerade mit der neuen VM….. Node Version 9.0 ist drauf :shock:

                          Update: Komme nicht mehr von 9.0 runter auf 4x -> habt ihr hier einen Tipp? `

                          Deinstallieren geht mir:

                           sudo apt-get purge node
                          sudo apt-get purge nodejs
                          sudo apt-get purge npm
                          sudo apt-get autoremove
                          sudo reboot
                          

                          Installation dann abhängig von deinen System, welches OS?

                          –-----------------------

                          Send from mobile device

                          1 Reply Last reply Reply Quote 0
                          • B
                            Bradock last edited by

                            Hi Du,

                            ich habe das hier schon versucht.

                            Die alten node & node.js Versionen deinstallieren …

                            apt-get --purge remove node

                            apt-get --purge remove nodejs

                            apt-get autoremove

                            reboot

                            -> Nach dem Neustart ein node -v zeigt noch immer v9.0.0

                            grübel

                            1 Reply Last reply Reply Quote 0
                            • Dutchman
                              Dutchman Developer Most Active Administrators last edited by

                              @Bradock:

                              Hi Du,

                              ich habe das hier schon versucht.

                              Die alten node & node.js Versionen deinstallieren …

                              apt-get --purge remove node

                              apt-get --purge remove nodejs

                              apt-get autoremove

                              reboot

                              -> Nach dem Neustart ein node -v zeigt noch immer v9.0.0

                              grübel `

                              Was ist dein OS?

                              –-----------------------

                              Send from mobile device

                              1 Reply Last reply Reply Quote 0
                              • B
                                Bradock last edited by

                                @Dutchman:

                                @Bradock:

                                Hi Du,

                                ich habe das hier schon versucht.

                                Die alten node & node.js Versionen deinstallieren …

                                apt-get --purge remove node

                                apt-get --purge remove nodejs

                                apt-get autoremove

                                reboot

                                -> Nach dem Neustart ein node -v zeigt noch immer v9.0.0

                                grübel `

                                Was ist dein OS?

                                Debian 7

                                –-----------------------

                                Send from mobile device `

                                1 Reply Last reply Reply Quote 0
                                • Dutchman
                                  Dutchman Developer Most Active Administrators last edited by

                                  Dan mal auf die ganz harte Tour…

                                  1\. First of all you need to run the following command from command terminal as sudo.
                                  
                                  sudo rm -rf /usr/local/bin/npm /usr/local/share/man/man1/node* /usr/local/lib/dtrace/node.d ~/.npm ~/.node-gyp /opt/local/bin/node opt/local/include/node /opt/local/lib/node_modules       
                                  
                                  2\. Remove node or node_modules directories from /usr/local/lib with the help of following command.
                                  
                                  sudo rm -rf /usr/local/lib/node*                                                                                 
                                  
                                  3\. Remove node or node_modules directories from /usr/local/include with the help of following command.
                                  
                                  sudo rm -rf /usr/local/include/node*                                                                         
                                  
                                  5\. Remove any node file or dir from /usr/local/bin with the help of following command.
                                  
                                  sudo rm -rf /usr/local/bin/node*                                                                                
                                  
                                  4\.  Go to home directory and remove any node or node_modules directory, if exists. 
                                  
                                  

                                  –-----------------------

                                  Send from mobile device

                                  1 Reply Last reply Reply Quote 0
                                  • B
                                    Bradock last edited by

                                    Hard, but working 😄

                                    root@IoBroker2:/home/sascha# node -v

                                    v4.8.5

                                    1000 Dank!

                                    Jetzt werde ich zur Sicherheit alle Adapter löschen und nur die installieren, welche ich in der alten Instanz auch habe.

                                    Dann versuche ich mal die VIS Views umzuziehen.

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      Bradock last edited by

                                      zu früh gefreut…..

                                      root@IoBroker2:/home/sascha# iobroker start

                                      module.js:327

                                      throw err;

                                      ^

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

                                      at Function.Module._resolveFilename (module.js:325:15)

                                      at Function.Module._load (module.js:276:25)

                                      at Function.Module.runMain (module.js:441:10)

                                      at startup (node.js:140:18)

                                      at node.js:1043:3

                                      Soll ich nochmals drüber installieren?

                                      1 Reply Last reply Reply Quote 0
                                      • Dutchman
                                        Dutchman Developer Most Active Administrators last edited by

                                        Entweder das oder einen reinstall Ausführen siehe auch anderen Post heute von mir und Paul in nem anderen topic:

                                        @paul53:

                                        @Dutchman:

                                        Eventuell noch einen reinstall.sh hinterher `
                                        Dazu sollte erst getestet werden, ob die Datei reinstall.sh in Linux-Format vorliegt.

                                        ls -l /opt/iobroker/reinstall.sh
                                        -rwxrwxrwx 1 root root 654 Aug 23 16:39 /opt/iobroker/reinstall.sh
                                        
                                        

                                        Wenn die Datei ca. 654 Byte groß ist, ist sie im Linux-Format; ist sie mehr als 680 Byte groß, muss sie erst in das Linux-Format gebracht werden, z.B. mit Notepad++. Dann ausführen

                                        cd /opt/iobroker
                                        sudo ./reinstall.sh
                                        iobroker start
                                        ```` `  
                                        

                                        –-----------------------

                                        Send from mobile device

                                        1 Reply Last reply Reply Quote 0
                                        • B
                                          Bradock last edited by

                                          root@IoBroker2:/opt/iobroker# ls -l /opt/iobroker/reinstall.sh

                                          -rw-r–r-- 1 root root 688 Nov 4 11:12 /opt/iobroker/reinstall.sh

                                          Habe jetzt folgendes ausgeführt:

                                          ! root@IoBroker2:/opt/iobroker# sudo npm install iobroker.js-controller npm WARN deprecated tar.gz@1.0.7: <emoji seq="26a0">⚠️</emoji> WARNING <emoji seq="26a0">⚠️</emoji> tar.gz module has been deprecated and your application is vulnerable. Please use tar module instead: https://npmjs.com/tar
                                          ! npm WARN deprecated localhost.daplie.me-certificates@1.3.5: this package has been deprecated
                                          ! > unix-dgram@0.2.3 install /opt/iobroker/node_modules/unix-dgram
                                          ! > node-gyp rebuild
                                          ! make: Entering directory /opt/iobroker/node_modules/unix-dgram/build' ! CXX(target) Release/obj.target/unix_dgram/src/unix_dgram.o ! In file included from ../node_modules/nan/nan.h:190:0, ! from ../src/unix_dgram.cc:5: ! ../node_modules/nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe <bool>Nan::ForceSet(v8::Local<v8::object>, v8::Local<v8::value>, v8::Local<v8::value>, v8::PropertyAttribute)’: ! ../node_modules/nan/nan_maybe_43_inl.h:88:64: warning: ‘v8::Maybe <bool>v8::Object::ForceSet(v8::Local<v8::context>, v8::Local<v8::value>, v8::Local<v8::value>, v8::PropertyAttribute)’ is deprecated (declared at /root/.node-gyp/9.0.0/include/node/v8.h:3114): Use CreateDataProperty / DefineOwnProperty [-Wdeprecated-declarations] ! SOLINK_MODULE(target) Release/obj.target/unix_dgram.node ! COPY Release/unix_dgram.node ! make: Leaving directory /opt/iobroker/node_modules/unix-dgram/build'
                                          ! > ursa@0.9.4 install /opt/iobroker/node_modules/ursa
                                          ! > node-gyp rebuild
                                          ! make: Entering directory /opt/iobroker/node_modules/ursa/build' ! CXX(target) Release/obj.target/ursaNative/src/ursaNative.o ! In file included from ../../nan/nan.h:192:0, ! from ../src/ursaNative.h:10, ! from ../src/ursaNative.cc:3: ! ../../nan/nan_maybe_43_inl.h: In function ‘Nan::Maybe <bool>Nan::ForceSet(v8::Local<v8::object>, v8::Local<v8::value>, v8::Local<v8::value>, v8::PropertyAttribute)’: ! ../../nan/nan_maybe_43_inl.h:112:73: warning: ‘v8::Maybe <bool>v8::Object::ForceSet(v8::Local<v8::context>, v8::Local<v8::value>, v8::Local<v8::value>, v8::PropertyAttribute)’ is deprecated (declared at /root/.node-gyp/9.0.0/include/node/v8.h:3114): Use CreateDataProperty / DefineOwnProperty [-Wdeprecated-declarations] ! SOLINK_MODULE(target) Release/obj.target/ursaNative.node ! COPY Release/ursaNative.node ! make: Leaving directory /opt/iobroker/node_modules/ursa/build'
                                          ! > iobroker.js-controller@1.2.0 install /opt/iobroker/node_modules/iobroker.js-controller
                                          ! > node iobroker.js setup first
                                          ! + iobroker.js-controller@1.2.0
                                          ! added 454 packages in 20.747s
                                          ! root@IoBroker2:/opt/iobroker# iobroker status
                                          ! iobroker is not running
                                          ! root@IoBroker2:/opt/iobroker# iobroker start
                                          ! Starting iobroker controller daemon…
                                          ! iobroker controller daemon started. PID: 4188
                                          ! root@IoBroker2:/opt/iobroker# node -v
                                          ! v9.0.0
                                          ! root@IoBroker2:/opt/iobroker#</v8::value></v8::value></v8::context></bool></v8::value></v8::value></v8::object></bool></v8::value></v8::value></v8::context></bool></v8::value></v8::value></v8::object></bool>

                                          Jetzt ist allerdings wieder Node 9.0 aktiv… 😮

                                          1 Reply Last reply Reply Quote 0
                                          • Dutchman
                                            Dutchman Developer Most Active Administrators last edited by

                                            Am besten mit zB Notepad++

                                            https://superuser.com/questions/479756/ … nd-notepad

                                            Datei auf dein System ziehen, in richtigen Format speichern und wieder auf den Host bringen.

                                            Ich benutze dafür mobaxtherm kräftiger ssh Client (besser als putty) der auch direct filetransfer kann

                                            https://mobaxterm.mobatek.net


                                            Send from mobile device

                                            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

                                            889
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            6
                                            60
                                            5952
                                            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