Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Seite neu Laden lässt ioBroker neustarten

    NEWS

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    Seite neu Laden lässt ioBroker neustarten

    This topic has been deleted. Only users with topic management privileges can see it.
    • Ronny Gerndt
      Ronny Gerndt @Thomas Braun last edited by

      @thomas-braun ich hab die vnc nur offen um zu sehen was passiert ich arbeite nicht da drüber. Wenn ich den zu mache habe ich das selbe verhalten.

      Thomas Braun 2 Replies Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @Ronny Gerndt last edited by

        @ronny-gerndt
        VNC setzt man gar nicht ein. Auch nicht zum gucken oder sowas.
        Was willst du denn auch auf einem System 'gucken', das rein in der Kommandozeile läuft?
        ssh-Zugang ist alles was es braucht.

        1 Reply Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Ronny Gerndt last edited by

          @ronny-gerndt

          iobroker status
          iobroker list adapters
          iobroker list instances
          top 
          free -m 
          who -r
          

          liefert?

          Ronny Gerndt 1 Reply Last reply Reply Quote 0
          • Ronny Gerndt
            Ronny Gerndt @Thomas Braun last edited by

            @thomas-braun ich komm aus der Windows Welt 😉 Da geh ich nur zur Not mal in die Kommandozeile 😄

            pi@raspberrypi:/opt/iobroker $ iobroker status
            iobroker is running on this host.
            
            
            Objects type: file
            States  type: file
            pi@raspberrypi:/opt/iobroker $ iobroker list adapters
            system.adapter.admin                   : admin          - v4.2.1
            system.adapter.alexa2                  : alexa2         - v3.8.1
            system.adapter.backitup                : backitup       - v2.0.5
            system.adapter.daswetter               : daswetter      - v3.0.4
            system.adapter.deconz                  : deconz         - v1.3.11
            system.adapter.fritzbox                : fritzbox       - v0.2.1
            system.adapter.fritzdect               : fritzdect      - v0.2.4
            system.adapter.haassohn                : haassohn       - v1.0.3
            system.adapter.heatingcontrol          : heatingcontrol - v2.2.0
            system.adapter.ical                    : ical           - v1.7.4
            system.adapter.icons-material-svg      : icons-material-svg - v0.1.0
            system.adapter.icons-mfd-svg           : icons-mfd-svg  - v1.0.2
            system.adapter.info                    : info           - v1.7.14
            system.adapter.javascript              : javascript     - v5.0.14
            system.adapter.simple-api              : simple-api     - v2.5.3
            system.adapter.tankerkoenig            : tankerkoenig   - v2.0.5
            system.adapter.tr-064                  : tr-064         - v4.2.4
            system.adapter.trashschedule           : trashschedule  - v1.1.1
            system.adapter.vis                     : vis            - v1.3.4
            system.adapter.vis-hqwidgets           : vis-hqwidgets  - v1.1.7
            system.adapter.vis-material-advanced   : vis-material-advanced - v1.3.0
            system.adapter.vis-metro               : vis-metro      - v1.1.2
            system.adapter.vis-timeandweather      : vis-timeandweather - v1.1.7
            system.adapter.web                     : web            - v3.3.0
            system.adapter.whatsapp-cmb            : whatsapp-cmb   - v0.1.6
            pi@raspberrypi:/opt/iobroker $ iobroker list instances
            + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
            + system.adapter.alexa2.0                 : alexa2                : raspberrypi                              -  enabled
            + system.adapter.backitup.0               : backitup              : raspberrypi                              -  enabled
              system.adapter.daswetter.0              : daswetter             : raspberrypi                              - disabled
            + system.adapter.deconz.0                 : deconz                : raspberrypi                              -  enabled
              system.adapter.fritzdect.0              : fritzdect             : raspberrypi                              - disabled
              system.adapter.ical.0                   : ical                  : raspberrypi                              - disabled
              system.adapter.icons-material-svg.0     : icons-material-svg    : raspberrypi                              -  enabled
              system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : raspberrypi                              -  enabled
            + system.adapter.info.0                   : info                  : raspberrypi                              -  enabled
            + system.adapter.javascript.0             : javascript            : raspberrypi                              -  enabled
            + system.adapter.simple-api.0             : simple-api            : raspberrypi                              -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
              system.adapter.tankerkoenig.0           : tankerkoenig          : raspberrypi                              - disabled
            + system.adapter.tr-064.0                 : tr-064                : raspberrypi                              -  enabled
              system.adapter.trashschedule.0          : trashschedule         : raspberrypi                              - disabled
              system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : raspberrypi                              -  enabled
              system.adapter.vis-material-advanced.0  : vis-material-advanced : raspberrypi                              -  enabled
              system.adapter.vis-metro.0              : vis-metro             : raspberrypi                              -  enabled
              system.adapter.vis-timeandweather.0     : vis-timeandweather    : raspberrypi                              -  enabled
              system.adapter.vis.0                    : vis                   : raspberrypi                              - disabled
            + system.adapter.web.0                    : web                   : raspberrypi                              -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
              system.adapter.whatsapp-cmb.0           : whatsapp-cmb          : raspberrypi                              - disabled
            
            + instance is alive
            pi@raspberrypi:/opt/iobroker $ top
            
            top - 14:17:33 up 2 days, 16:14,  2 users,  load average: 0,12, 0,12, 0,10
            Tasks: 159 total,   1 running, 158 sleeping,   0 stopped,   0 zombie
            %Cpu(s):  6,9 us,  4,2 sy,  0,0 ni, 88,9 id,  0,0 wa,  0,0 hi,  0,0 si,  0,0 st
            MiB Mem :   3906,0 total,   2426,1 free,    708,5 used,    771,4 buff/cache
            MiB Swap:    100,0 total,    100,0 free,      0,0 used.   3148,6 avail Mem 
            
              PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND    
              476 root      20   0   48564  22324  12764 S  18,8   0,6   1:00.93 vncserver+ 
             8834 pi        20   0   10436   2924   2544 R  18,8   0,1   0:00.04 top        
              540 root      20   0  173068  53056  36572 S   6,2   1,3   8:30.40 Xorg       
                1 root      20   0   34820   8328   6524 S   0,0   0,2   0:08.11 systemd    
                2 root      20   0       0      0      0 S   0,0   0,0   0:00.45 kthreadd   
                3 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 rcu_gp     
                4 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 rcu_par_gp 
                8 root       0 -20       0      0      0 I   0,0   0,0   0:00.00 mm_percpu+ 
                9 root      20   0       0      0      0 S   0,0   0,0   0:03.60 ksoftirqd+ 
               10 root      20   0       0      0      0 I   0,0   0,0   0:52.62 rcu_sched  
               11 root      20   0       0      0      0 I   0,0   0,0   0:00.00 rcu_bh     
               12 root      rt   0       0      0      0 S   0,0   0,0   0:00.07 migration+ 
               13 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/0    
               14 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/1    
               15 root      rt   0       0      0      0 S   0,0   0,0   0:00.07 migration+ 
               16 root      20   0       0      0      0 S   0,0   0,0   0:02.16 ksoftirqd+ 
               19 root      20   0       0      0      0 S   0,0   0,0   0:00.00 cpuhp/2    
            Fields Management for window 1:Def, whose current sort field is %CPU
               Navigate with Up/Dn, Right selects for move then <Enter> or Left commits,
               'd' or <Space> toggles display, 's' sets sort.  Use 'q' or <Esc> to end!
            
            * PID     = Process Id      PGRP    = Process Group   OOMs    = OOMEM Score c
            * USER    = Effective Use   TTY     = Controlling T   ENVIRON = Environment v
            * PR      = Priority        TPGID   = Tty Process G   vMj     = Major Faults 
            * NI      = Nice Value      SID     = Session Id      vMn     = Minor Faults 
            * VIRT    = Virtual Image   nTH     = Number of Thr   USED    = Res+Swap Size
            * RES     = Resident Size   P       = Last Used Cpu   nsIPC   = IPC namespace
            * SHR     = Shared Memory   TIME    = CPU Time        nsMNT   = MNT namespace
            * S       = Process Statu   SWAP    = Swapped Size    nsNET   = NET namespace
            * %CPU    = CPU Usage       CODE    = Code Size (Ki   nsPID   = PID namespace
            * %MEM    = Memory Usage    DATA    = Data+Stack (K   nsUSER  = USER namespac
            * TIME+   = CPU Time, hun   nMaj    = Major Page Fa   nsUTS   = UTS namespace
            * COMMAND = Command Name/   nMin    = Minor Page Fa   LXC     = LXC container
              PPID    = Parent Proces   nDRT    = Dirty Pages C   RSan    = RES Anonymous
              UID     = Effective Use   WCHAN   = Sleeping in F   RSfd    = RES File-base
              RUID    = Real User Id    Flags   = Task Flags <s   RSlk    = RES Locked (K
              RUSER   = Real User Nam   CGROUPS = Control Group   RSsh    = RES Shared (K
              SUID    = Saved User Id   SUPGIDS = Supp Groups I   CGNAME  = Control Group
              SUSER   = Saved User Na   SUPGRPS = Supp Groups N   NU      = Last Used NUM
              GID     = Group Id        TGID    = Thread Group 
              GROUP   = Group Name      OOMa    = OOMEM Adjustm
            pi@raspberrypi:/opt/iobroker $ free -m
                          total        used        free      shared  buff/cache   available
            Mem:           3906         711        2424          40         770        3146
            Swap:            99           0          99
            pi@raspberrypi:/opt/iobroker $ who -r
                     Runlevel 5   2021-03-18 21:45
            pi@raspberrypi:/opt/iobroker $ 
            
            Thomas Braun 1 Reply Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @Ronny Gerndt last edited by

              @ronny-gerndt

              Eigentlich relativ unauffällig.
              Aber wenn (die im Moment eh nicht aktive) vis nicht auf einem an den Pi angeschlossenen Display läuft: Mach den Desktop-Kram aus.
              Schau im 'Linux-Werkzeugkasten' aus meiner Signatur wie das auf dem Pi geht.

              Das Log sagt zu früheren Zeitpunkten was?

              Vermutlich ist

              cleaned everything up...
              

              nicht der Anfang.

              Ronny Gerndt 1 Reply Last reply Reply Quote 0
              • Ronny Gerndt
                Ronny Gerndt @Thomas Braun last edited by

                @thomas-braun Ja das ist der Plan irgendwann, wenn ich alles soweit hab da ne Vis zu machen und einen Touchbildschirm an den Raspi anzuschließen, wobei es eventuell auch ein Tablet wird da bin ich noch nicht 100% sicher.

                deconz.0	2021-03-21 14:47:04.567	info	(9233) cleaned everything up...
                admin.0	2021-03-21 14:47:04.560	info	(9102) terminating http server on port 8081
                info.0	2021-03-21 14:47:04.550	info	(9121) cleaned everything up...
                simple-api.0	2021-03-21 14:47:04.560	info	(9658) terminating http server on port 8087
                javascript.0	2021-03-21 14:47:04.560	info	(9598) Stop script script.js.common.Aufwecken
                simple-api.0	2021-03-21 14:47:04.556	error	(9658) States database error: read ECONNRESET
                backitup.0	2021-03-21 14:47:04.544	info	(9673) cleaned everything up...
                web.0	2021-03-21 14:47:04.549	info	(9613) terminated http server on port 8082
                alexa2.0	2021-03-21 13:37:34.067	info	(8545) Subscribing to states...
                

                Ich hatte die ganze Zeit den Log offen, da aktuell nicht viel passiert war der letzte Eintrag von 13:37, dann hab extra um Punkt 14:47 auf F5 gedrückt und dann war wieder alles tot.

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

                  @ronny-gerndt sagte in Seite neu Laden lässt ioBroker neustarten:

                  da aktuell nicht viel passiert war der letzte Eintrag von 13:37, dann hab extra um Punkt 14:47 auf F5 gedrückt und dann war wieder alles tot.

                  ich fürchte her, dass bereits ab 13:37 alles tot war und erst um 14:47 iobroker neustartete

                  1:10 keinerlei logeinträge ist schon sehr seltsam.

                  Wo hast du das log her?
                  auch aus der grafischen Oberfläche kopiert?

                  @ronny-gerndt sagte in Seite neu Laden lässt ioBroker neustarten:

                  Ich hatte die ganze Zeit den Log offen,

                  dann ist die da vielleicht erste mal wieder refreshed worden.

                  Lad mal das heutige log runter und sieh nach was da alles in dieser Zeit wirklich drin steht

                  Ronny Gerndt Thomas Braun 2 Replies Last reply Reply Quote 0
                  • Ronny Gerndt
                    Ronny Gerndt @Homoran last edited by

                    @homoran Ja aus der Weboberfläche. Also bewusst habe ich die letzte Stunde auch nichts gemacht, also keine Lichter an/aus oder sonstiges.
                    Wenn ich über die Weboberfläche Log Herunterlade reicht? Oder gibts doch noch ein anderes das hilfreich sein könnte? Denn in dem heruntergeladenen sieht es genauso aus.

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @Ronny Gerndt last edited by

                      @ronny-gerndt
                      Das log file von heute kann man sich mit

                      less /opt/iobroker/log/iobroker.current.log
                      

                      anschauen.

                      Ronny Gerndt 1 Reply Last reply Reply Quote 0
                      • Thomas Braun
                        Thomas Braun Most Active @Homoran last edited by

                        @homoran sagte in Seite neu Laden lässt ioBroker neustarten:

                        1:10 keinerlei logeinträge ist schon sehr seltsam.

                        In meiner Installation ist das aber die Regel. An ruhigen Tagen (also wenn ich da nix dran rumfummel) habe ich da insgesamt nur ein oder zwei Zeilen drin.

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

                          @thomas-braun sagte in Seite neu Laden lässt ioBroker neustarten:

                          @homoran sagte in Seite neu Laden lässt ioBroker neustarten:

                          1:10 keinerlei logeinträge ist schon sehr seltsam.

                          In meiner Installation ist das aber die Regel. An ruhigen Tagen (also wenn ich da nix dran rumfummel) habe ich da insgesamt nur ein oder zwei Zeilen drin.

                          hast du alles nur auf WARN stehen?

                          bei mir rattert es nur so

                          Thomas Braun F 2 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Homoran last edited by

                            @homoran Nö, alles auf INFO. Hab halt nur brave Adapter und Geräte im Einsatz. 🙂

                            1 Reply Last reply Reply Quote 0
                            • F
                              frankyboy73 @Homoran last edited by frankyboy73

                              @homoran Hi, das kaum Meldungungen im Log stehen, kann ich bestätigen.
                              Mein Log steht auch auf Info, und ich hab nur Morgens ein paar Zeilen drin, wenn die Internetverbindung getrennt wird und wenn ich meinen Ical Adapter starte. Den Rest des Tages kommt eigentlich nichts mehr.
                              Edit: Nur der fritz dect ist bei mir auf Warn, der gibt ja sonst bei jeder Änderung ne Ausgabe.

                              1 Reply Last reply Reply Quote 0
                              • Ronny Gerndt
                                Ronny Gerndt @Thomas Braun last edited by

                                @thomas-braun said in Seite neu Laden lässt ioBroker neustarten:

                                @ronny-gerndt
                                Das log file von heute kann man sich mit

                                less /opt/iobroker/log/iobroker.current.log
                                

                                anschauen.

                                Da sieht der Log genauso aus.

                                @Thomas-Braun ich bin grad mal deinen Linux Werkzeugkasten durchgegangen und habe damit das Problem gerade wie es aussieht eliminiert. Von NodeJs war nur Version 10.irgendwas installiert und von Node 14.16.0. Ich habe Nodejs nun mal auf die gleiche Version gezogen, also 14.16.0 und seitdem scheint es zu laufen. 🙂 Zumindest habe ich in den letzten 10 Minuten keinen Neustart mehr gesehen.

                                Thomas Braun Homoran 3 Replies Last reply Reply Quote 1
                                • Thomas Braun
                                  Thomas Braun Most Active @Ronny Gerndt last edited by

                                  @ronny-gerndt sagte in Seite neu Laden lässt ioBroker neustarten:

                                  ich bin grad mal deinen Linux Werkzeugkasten durchgegangen und habe damit das Problem gerade wie es aussieht eliminiert.

                                  Das freut mich wirklich ganz besonders, wenn dir der Werkzeugkasten etwas helfen konnte. Dafür schreibt man sowas. 🙂

                                  1 Reply Last reply Reply Quote 2
                                  • Homoran
                                    Homoran Global Moderator Administrators @Ronny Gerndt last edited by

                                    @ronny-gerndt sagte in Seite neu Laden lässt ioBroker neustarten:

                                    Ich habe Nodejs nun mal auf die gleiche Version gezogen, also 14.16.0 und seitdem scheint es zu laufen

                                    in Wirklichkeit hattest du 2 node-Installationen parallel.
                                    Das führt zu Problemen

                                    Wenn beide die gleiche Version gehabt hätten wärte es nur nicht so leicht zu finden gewesen.

                                    1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Ronny Gerndt last edited by

                                      @ronny-gerndt

                                      Was sagt denn

                                      which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                      

                                      jetzt genau?

                                      Ronny Gerndt 1 Reply Last reply Reply Quote 0
                                      • Ronny Gerndt
                                        Ronny Gerndt @Thomas Braun last edited by

                                        @thomas-braun
                                        Was mir da gerade noch auffällt bei mir liegt Node un NPM im Local Ordner was nach deinem Guide eigentlich nicht sein sollte?

                                        pi@raspberrypi:~ $ which nodejs && nodejs -v && which node && node -v && which npm && npm -v && apt policy nodejs
                                        /usr/bin/nodejs
                                        v14.16.0
                                        /usr/local/bin/node
                                        v14.16.0
                                        /usr/local/bin/npm
                                        6.14.11
                                        nodejs:
                                          Installiert:           14.16.0-1nodesource1
                                          Installationskandidat: 14.16.0-1nodesource1
                                          Versionstabelle:
                                         *** 14.16.0-1nodesource1 100
                                                100 /var/lib/dpkg/status
                                             12.21.0-1nodesource1 500
                                                500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                             10.24.0~dfsg-1~deb10u1 500
                                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                        

                                        @Homoran Ja das hört sich nicht wirklich gut an wenn das so war.

                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Ronny Gerndt last edited by Thomas Braun

                                          @ronny-gerndt
                                          Ja, du hast immer noch zwei Installationen, jetzt allerdings (für den Moment) mit den gleichen Versionsnummern. Das driftet dir aber mit dem nächsten Update im jetzigen Setup wieder auseinander.
                                          Kurz: Der Kram in
                                          /usr/local
                                          muss da weg. Und deine nodesource.list ist offenbar auch nicht richtig und 'schwimmt' nicht mit den Updates mit.

                                          Ronny Gerndt 1 Reply Last reply Reply Quote 0
                                          • Ronny Gerndt
                                            Ronny Gerndt @Thomas Braun last edited by

                                            @thomas-braun Okay, wie auch immer das passiert ist. Hab da eigentlich nicht bewusst was gemacht.
                                            Das heißt Node und Npm im Local Ordner deinstallieren? Oder was wäre die einfachste Lösung?

                                            Thomas Braun 2 Replies 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

                                            505
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            32
                                            1275
                                            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