Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller 4.0 jetzt im BETA/LATEST!

    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

    js-controller 4.0 jetzt im BETA/LATEST!

    This topic has been deleted. Only users with topic management privileges can see it.
    • wendy2702
      wendy2702 @saeft_2003 last edited by

      @saeft_2003 laut syslog OOM Killer.

      Leider fängt das syslog erst um 2:30Uhr an….

      Interessant wäre ab dem Zeitpunkt wo Backit Up aktiv wird besser noch 1-2 Minuten vorher

      S 1 Reply Last reply Reply Quote 0
      • S
        saeft_2003 Most Active @wendy2702 last edited by

        @wendy2702

        Hier die Zeit vorher.

        
        Feb 21 01:30:37 iobroker systemd[1]: opt-iobroker-backups.mount: Succeeded.
        Feb 21 02:09:46 iobroker bash[1273690]: [Yahka-0 8F5A@Garage auf@@On] characteristic value expected boolean and received undefined
        Feb 21 02:09:46 iobroker bash[1273690]: [Yahka-0 8F5A@Garage zu@@On] characteristic value expected boolean and received undefined
        Feb 21 02:09:46 iobroker bash[1273690]: [Yahka-0 8F5A@Bilder von Kameras@@On] characteristic value expected boolean and received undefined
        Feb 21 02:17:01 iobroker CRON[1357482]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
        Feb 21 02:30:20 iobroker kernel: [1838536.805459] CIFS: Attempting to mount //192.168.178.106/homes/Patrick/Drive/Backitup_iobroker
        Feb 21 02:30:35 iobroker kernel: [1838552.512326] io.javascript.0 invoked oom-killer: gfp_mask=0x100cca(GFP_HIGHUSER_MOVABLE), order=0, oom_score_adj=0
        
        

        Meint ihr dass das Problem mit der 2.3.3 behoben sein könnte, oder das wirklich zu wenig Arbeitsspeicher frei ist? 4,2 GB sind in der Regel von 4,9 GB belegt… 700 MB frei sollte doch reichen?

        wendy2702 1 Reply Last reply Reply Quote 0
        • wendy2702
          wendy2702 @saeft_2003 last edited by

          @saeft_2003 4,9GB Arbeitsspeicher!?

          Schau mal mit

          free -m
          
          

          Oder

          htop
          

          Wenn du ein Backup startest

          S 1 Reply Last reply Reply Quote 0
          • S
            saeft_2003 Most Active @wendy2702 last edited by saeft_2003

            @wendy2702

            Ja so zeigt es proxmox an. Eingestellt habe ich 5GB ich kann der Iobroker VM ohne Probleme noch mehr RAM geben.

            Muss ich mir nachher mal anschauen…

            Edit:

            
            root@iobroker:~# free -m
                          gesamt       benutzt     frei      gemns.  Puffer/Cache verfügbar
            Speicher:       4812        3954         541           0         316         630
            Swap:            974         221         753
            
            
            Thomas Braun apollon77 3 Replies Last reply Reply Quote 0
            • Thomas Braun
              Thomas Braun Most Active @saeft_2003 last edited by

              @saeft_2003

              Nein, das reicht nicht, wenn die Daten im RAM komprimiert werden.
              Und als root agiert man nicht im Container.

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

                @moko Also nein kann damit nichts zu tun haben ... und ja Backitup 2.3.3 ist noch im Latest ... wie auch der controller 4

                M 1 Reply Last reply Reply Quote 0
                • apollon77
                  apollon77 @saeft_2003 last edited by apollon77

                  @saeft_2003 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                  io.javascript.0 invoked oom-killer:

                  Eindeutig ... In dem Fall war dein RAM voll und das Linux hat dir speicher frei geräumt.

                  Du hast 47 Instanzen Mit einem Verbrauch von 50MB im Schnitt brauchen 47 Instanzen mind als 2,35GB ... was sagt denn Dein System "free -m" im Normalfall?
                  EDIT: Ahh ist schon gepostet

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

                    @saeft_2003 naja mit 630MB frei ist dann die Frage wie gross denn so das Backup ist wenn es tut? bzw wieviele Daten sind es denn die da gesichert werden

                    O S 2 Replies Last reply Reply Quote 0
                    • O
                      oFbEQnpoLKKl6mbY5e13 @apollon77 last edited by

                      @apollon77

                      Nachdem ich ja bereits auf JS-Controller 4.0.15 war. Musste ich heute leider wegen eines Problems ein Restore vom Vortag machen. Also habe ich JS-Controller 4.0.12 installiert und ein Restore gestartet. Leider kann VIS nun nicht mehr installiert werden:

                      2022-02-21 10:17:49.796  - info: host.iobroker iobroker.js-controller version 4.0.12 js-controller starting
                      2022-02-21 10:17:49.804  - info: host.iobroker Copyright (c) 2014-2022 bluefox, 2014 hobbyquaker
                      2022-02-21 10:17:49.805  - info: host.iobroker hostname: iobroker, node: v14.19.0
                      2022-02-21 10:17:49.807  - info: host.iobroker ip addresses: 192.168.0.202
                      2022-02-21 10:17:50.127  - info: host.iobroker connected to Objects and States
                      2022-02-21 10:17:50.157  - info: host.iobroker added notifications configuration of host
                      2022-02-21 10:17:50.271  - info: host.iobroker Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                      2022-02-21 10:17:50.334  - info: host.iobroker 54 instances found
                      2022-02-21 10:17:50.441  - info: host.iobroker starting 2 instances
                      2022-02-21 10:17:50.470  - warn: host.iobroker startInstance cannot find adapter "vis@1.4.12". Try to install it... 1 attempt
                      2022-02-21 10:17:50.472  - info: host.iobroker iobroker install vis@1.4.12 using installedFrom
                      2022-02-21 10:17:50.680  - info: host.iobroker instance system.adapter.admin.0 started with pid 1259
                      2022-02-21 10:17:52.878  - info: admin.0 (1259) Plugin sentry Sentry Plugin disabled for this process because sending of statistic data is disabled for the system
                      2022-02-21 10:17:52.988  - info: admin.0 (1259) starting. Version 5.3.0 in /opt/iobroker/node_modules/iobroker.admin, node: v14.19.0, js-controller: 4.0.12
                      2022-02-21 10:17:53.049  - info: admin.0 (1259) requesting all states
                      2022-02-21 10:17:53.050  - info: admin.0 (1259) requesting all objects
                      2022-02-21 10:17:53.494  - info: admin.0 (1259) Request actual repository...
                      2022-02-21 10:17:54.165  - info: host.iobroker Updating repository "beta" under "http://download.iobroker.net/sources-dist-latest.json"
                      2022-02-21 10:17:54.350  - info: host.iobroker iobroker npm-install: NPM version: 6.14.16Installing iobroker.vis@1.4.12... (System call)
                      2022-02-21 10:17:54.704  - info: host.iobroker instance system.adapter.backitup.0 started with pid 1305
                      2022-02-21 10:17:56.967  - info: admin.0 (1259) received all objects
                      2022-02-21 10:17:58.206  - info: admin.0 (1259) Repository received successfully.
                      2022-02-21 10:17:58.305  - info: admin.0 (1259) http server listening on port 8081
                      2022-02-21 10:17:58.306  - info: admin.0 (1259) Use link "http://localhost:8081" to configure.
                      2022-02-21 10:17:58.927  - info: backitup.0 (1305) starting. Version 2.3.3 in /opt/iobroker/node_modules/iobroker.backitup, node: v14.19.0, js-controller: 4.0.12
                      2022-02-21 10:17:59.067  - info: backitup.0 (1305) [iobroker] backup was activated at 02:00 every 1 day(s)
                      2022-02-21 10:17:59.159  - info: backitup.0 (1305) [ccu] backup was activated at 01:30 every 3 day(s)
                      2022-02-21 10:18:49.379  - info: host.iobroker iobroker npm-install: 
                      2022-02-21 10:18:49.382  - info: host.iobroker iobroker npm-install: > iobroker.vis@1.4.12 install /opt/iobroker/node_modules/iobroker.vis> node main.js --install
                      2022-02-21 10:18:51.086  - info: vis.0 (1361) starting. Version 1.4.12 in /opt/iobroker/node_modules/iobroker.vis, node: v14.19.0, js-controller: 4.0.12
                      2022-02-21 10:18:51.281  - info: vis.0 (1361) vis license is OK.
                      2022-02-21 10:18:51.851  - error: vis.0 (1361) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch().
                      2022-02-21 10:18:51.853  - error: vis.0 (1361) unhandled promise rejection: Not exists
                      2022-02-21 10:18:51.857  - error: vis.0 (1361) Error: Not exists
                          at Object.maybeCallbackWithError (/opt/iobroker/node_modules/@iobroker/js-controller-common/lib/common/tools.js:2961:17)
                          at ObjectsInRedisClient._readFile (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1042:26)
                          at Immediate.<anonymous> (/opt/iobroker/node_modules/@iobroker/db-objects-redis/lib/objects/objectsInRedisClient.js:1091:29)
                          at processImmediate (internal/timers.js:466:21)
                      2022-02-21 10:18:51.858  - error: vis.0 (1361) Not exists
                      2022-02-21 10:18:52.364  - info: vis.0 (1361) terminating
                      2022-02-21 10:18:52.366  - warn: vis.0 (1361) Terminated (UNCAUGHT_EXCEPTION): Without reason
                      

                      Was kann ich tun?

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

                        @ofbeqnpolkkl6mby5e13 Versuch mal vis downgrade auf 4.0.5 und danach wieder hoch auf 4.0.12 Und bitte mit dem Log ein Vis issue anlegen

                        O 1 Reply Last reply Reply Quote 0
                        • O
                          oFbEQnpoLKKl6mbY5e13 @apollon77 last edited by

                          @apollon77
                          JS-Controller oder vis?

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

                            @ofbeqnpolkkl6mby5e13 Issue bei vis bitte

                            O 1 Reply Last reply Reply Quote 0
                            • O
                              oFbEQnpoLKKl6mbY5e13 @apollon77 last edited by oFbEQnpoLKKl6mbY5e13

                              @apollon77

                              Das behebt das Problem nicht:

                              2022-02-21 10:40:38.147  - info: host.iobroker "system.adapter.vis.0" enabled
                              2022-02-21 10:40:39.910  - info: vis.0 (2892) starting. Version 1.4.5 in /opt/iobroker/node_modules/iobroker.vis, node: v14.19.0, js-controller: 4.0.12
                              2022-02-21 10:40:40.184  - info: vis.0 (2892) vis license is OK.
                              2022-02-21 10:40:40.242  - error: vis.0 (2892) uncaught exception: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/fritzdect/css/style.css'
                              2022-02-21 10:40:40.245  - error: vis.0 (2892) Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/fritzdect/css/style.css'
                                  at Object.openSync (fs.js:497:3)
                                  at Object.writeFileSync (fs.js:1528:35)
                                  at copyFileSync (/opt/iobroker/node_modules/iobroker.vis/lib/install.js:16:8)
                                  at /opt/iobroker/node_modules/iobroker.vis/lib/install.js:36:17
                                  at Array.forEach (<anonymous>)
                                  at copyFolderRecursiveSync (/opt/iobroker/node_modules/iobroker.vis/lib/install.js:31:15)
                                  at /opt/iobroker/node_modules/iobroker.vis/lib/install.js:34:17
                                  at Array.forEach (<anonymous>)
                                  at copyFolderRecursiveSync (/opt/iobroker/node_modules/iobroker.vis/lib/install.js:31:15)
                                  at /opt/iobroker/node_modules/iobroker.vis/lib/install.js:34:17
                              2022-02-21 10:40:40.246  - error: vis.0 (2892) Exception-Code: EACCES: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.vis/www/widgets/fritzdect/css/style.css'
                              2022-02-21 10:40:40.762  - info: vis.0 (2892) terminating
                              2022-02-21 10:40:40.764  - warn: vis.0 (2892) Terminated (UNCAUGHT_EXCEPTION): Without reason
                              2022-02-21 10:40:41.371  - info: host.iobroker instance system.adapter.vis.0 terminated while should be started once
                              

                              Ich führe mal ein iobroker fix durch.

                              Nach iobroker fix:

                              2022-02-21 10:51:21.640  - info: vis.0 (1348) starting. Version 1.4.5 in /opt/iobroker/node_modules/iobroker.vis, node: v14.19.0, js-controller: 4.0.12
                              2022-02-21 10:51:21.904  - info: vis.0 (1348) vis license is OK.
                              2022-02-21 10:51:23.094  - info: vis.0 (1348) Terminated (NO_ERROR): Without reason
                              2022-02-21 10:51:23.691  - info: host.iobroker instance system.adapter.vis.0 terminated while should be started once
                              

                              Danach wieder hoch zu 1.4.12. Jetzt läuft vis wieder. Nur hätte ich mir das alles sparen können, weil mein ursprüngliches Problem weiterhin existiert...

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

                                @ofbeqnpolkkl6mby5e13

                                Wie sehen die Rechte denn an

                                /opt/iobroker/node_modules/iobroker.vis/www/widgets/fritzdect/css/style.css
                                

                                aus?

                                O 1 Reply Last reply Reply Quote 0
                                • O
                                  oFbEQnpoLKKl6mbY5e13 @Thomas Braun last edited by

                                  @thomas-braun
                                  Wie gesagt, das Problem konnte durch iobroker fix behoben werden.

                                  # ls -l /opt/iobroker/node_modules/iobroker.vis/www/widgets/fritzdect/css/style.css
                                  -rw-rw-rw- 1 iobroker iobroker 70 Feb 21 11:05 /opt/iobroker/node_modules/iobroker.vis/www/widgets/fritzdect/css/style.css
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    saeft_2003 Most Active @apollon77 last edited by saeft_2003

                                    @apollon77 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                                    @saeft_2003 naja mit 630MB frei ist dann die Frage wie gross denn so das Backup ist wenn es tut? bzw wieviele Daten sind es denn die da gesichert werden

                                    Das backup hat 90MB.

                                    edit: ich habe ohne den ram zu erhöhen ein Backup manuell gestartet das lief ohne Probleme durch.

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

                                      @ofbeqnpolkkl6mby5e13 sagte in js-controller 4.0 jetzt im BETA/LATEST!:

                                      Nur hätte ich mir das alles sparen können, weil mein ursprüngliches Problem weiterhin existiert...

                                      ??

                                      O 1 Reply Last reply Reply Quote 0
                                      • O
                                        oFbEQnpoLKKl6mbY5e13 @apollon77 last edited by

                                        @apollon77

                                        Restore mit VIS v1.4.12 geht mindestens bei mir nicht und hat mit JS-Controller nichts zu tun. Das Problem, weshalb ich auf einen älteren Stand wollte, ist aber Off-Topic.

                                        Danke für die Hilfe!

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

                                          @saeft_2003 Kannst du mir mal einen gefallen tun?

                                          Mach mal eine Shell auf mit "top", dann drücke "Shift-M" - das sortiert dir die EInträge nach RAM nutzung. Dnan am besten davon nen Screenshot

                                          Jetzt bitte mal zwei Dinge tun:
                                          1.) in einer zweiten Shell ein "iob backup" ausführen
                                          2.) Backup über BackItUp manuell starten

                                          Und bei beiden Dingen bitte mal das "top" beobachten ... Wo steigt der RAM Verbrauch an und wenn ja in welchem prozess?

                                          Vllt kommen wir so ein bissl dahinter

                                          M 1 Reply Last reply Reply Quote 0
                                          • M
                                            Marty56 @apollon77 last edited by

                                            @apollon77
                                            Ich habe meine zweite iobroker Instanz (Raspberry 3) ohne Probleme umgestellt.
                                            Dort hatte ich früher die States auf redis umgestellt und würde jetzt gern auf JSONL migrieren.

                                            iobroker status
                                            iobroker is running on this host.
                                            
                                            
                                            Objects type: jsonl
                                            States  type: redis
                                            

                                            Ist das unproblematisch?

                                            apollon77 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

                                            427
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            70
                                            747
                                            171546
                                            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