Skip to content
  • Home
  • Aktuell
  • Tags
  • 0 Ungelesen 0
  • Kategorien
  • Unreplied
  • Beliebt
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Standard: (Kein Skin)
  • Kein Skin
Einklappen
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller 4.0 jetzt im BETA/LATEST!

NEWS

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    8.4k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    13
    1
    2.0k

  • Neues Video "KI im Smart Home" - ioBroker plus n8n
    BluefoxB
    Bluefox
    15
    1
    2.6k

js-controller 4.0 jetzt im BETA/LATEST!

Geplant Angeheftet Gesperrt Verschoben ioBroker Allgemein
747 Beiträge 70 Kommentatoren 225.3k Aufrufe 60 Watching
  • Älteste zuerst
  • Neuste zuerst
  • Meiste Stimmen
Antworten
  • In einem neuen Thema antworten
Anmelden zum Antworten
Dieses Thema wurde gelöscht. Nur Nutzer mit entsprechenden Rechten können es sehen.
  • apollon77A apollon77

    @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 Abwesend
    O Abwesend
    oFbEQnpoLKKl6mbY5e13
    schrieb am zuletzt editiert von
    #537

    @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?

    apollon77A 1 Antwort Letzte Antwort
    0
    • O oFbEQnpoLKKl6mbY5e13

      @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?

      apollon77A Online
      apollon77A Online
      apollon77
      schrieb am zuletzt editiert von apollon77
      #538

      @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

      Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

      • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
      • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
      O 1 Antwort Letzte Antwort
      0
      • apollon77A 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 Abwesend
        O Abwesend
        oFbEQnpoLKKl6mbY5e13
        schrieb am zuletzt editiert von
        #539

        @apollon77
        JS-Controller oder vis?

        apollon77A 1 Antwort Letzte Antwort
        0
        • O oFbEQnpoLKKl6mbY5e13

          @apollon77
          JS-Controller oder vis?

          apollon77A Online
          apollon77A Online
          apollon77
          schrieb am zuletzt editiert von
          #540

          @ofbeqnpolkkl6mby5e13 Issue bei vis bitte

          Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

          • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
          • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
          O 1 Antwort Letzte Antwort
          0
          • apollon77A apollon77

            @ofbeqnpolkkl6mby5e13 Issue bei vis bitte

            O Abwesend
            O Abwesend
            oFbEQnpoLKKl6mbY5e13
            schrieb am zuletzt editiert von oFbEQnpoLKKl6mbY5e13
            #541

            @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 BraunT apollon77A 2 Antworten Letzte Antwort
            0
            • O 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 BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              schrieb am zuletzt editiert von
              #542

              @ofbeqnpolkkl6mby5e13

              Wie sehen die Rechte denn an

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

              aus?

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              O 1 Antwort Letzte Antwort
              0
              • Thomas BraunT Thomas Braun

                @ofbeqnpolkkl6mby5e13

                Wie sehen die Rechte denn an

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

                aus?

                O Abwesend
                O Abwesend
                oFbEQnpoLKKl6mbY5e13
                schrieb am zuletzt editiert von
                #543

                @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 Antwort Letzte Antwort
                0
                • apollon77A apollon77

                  @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

                  S Offline
                  S Offline
                  saeft_2003
                  Most Active
                  schrieb am zuletzt editiert von saeft_2003
                  #544

                  @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 Antwort Letzte Antwort
                  0
                  • O 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...

                    apollon77A Online
                    apollon77A Online
                    apollon77
                    schrieb am zuletzt editiert von
                    #545

                    @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...

                    ??

                    Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                    • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                    • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                    O 1 Antwort Letzte Antwort
                    0
                    • apollon77A apollon77

                      @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 Abwesend
                      O Abwesend
                      oFbEQnpoLKKl6mbY5e13
                      schrieb am zuletzt editiert von
                      #546

                      @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 Antwort Letzte Antwort
                      0
                      • S 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
                        
                        
                        apollon77A Online
                        apollon77A Online
                        apollon77
                        schrieb am zuletzt editiert von
                        #547

                        @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

                        Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                        • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                        • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                        M 1 Antwort Letzte Antwort
                        0
                        • apollon77A apollon77

                          @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 Offline
                          M Offline
                          Marty56
                          schrieb am zuletzt editiert von
                          #548

                          @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?

                          HW:NUC (16 GB Ram)
                          OS: Debian Bullseye, Promox V7, node v16.x npm 8.19.3

                          apollon77A 1 Antwort Letzte Antwort
                          0
                          • M Marty56

                            @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?

                            apollon77A Online
                            apollon77A Online
                            apollon77
                            schrieb am zuletzt editiert von
                            #549

                            @marty56 Na klar, einfach per iob setup custom machen

                            Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                            • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                            • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                            M 1 Antwort Letzte Antwort
                            0
                            • apollon77A apollon77

                              @marty56 Na klar, einfach per iob setup custom machen

                              M Offline
                              M Offline
                              Marty56
                              schrieb am zuletzt editiert von
                              #550

                              @apollon77 Danke. Hat unproblematisch geklappt.

                              HW:NUC (16 GB Ram)
                              OS: Debian Bullseye, Promox V7, node v16.x npm 8.19.3

                              1 Antwort Letzte Antwort
                              1
                              • E Offline
                                E Offline
                                e-i-k-e
                                schrieb am zuletzt editiert von e-i-k-e
                                #551

                                Aktualisiere gerade ein Slave von 4.0.10 auf 4.0.15.
                                Habe es nun bereits mit sudo -H -u iobroker npm install iobroker.js-controller versucht.

                                Bei den anderen Geräten hatte ich dieses Problem nicht.
                                Was kann ich tun?

                                pi@raspberrypi-display2:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                                
                                > iobroker.js-controller@4.0.10 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                > node lib/preinstallCheck.js
                                
                                NPM version: 6.14.16
                                
                                > iobroker.js-controller@4.0.10 install /opt/iobroker/node_modules/iobroker.js-controller
                                > node iobroker.js setup first
                                
                                No connection to objects 192.168.3.100:6379[redis]
                                /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
                                        throw e;
                                        ^
                                
                                Error: Connection is closed.
                                    at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
                                    at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
                                    at Object.onceWrapper (events.js:520:26)
                                    at Socket.emit (events.js:400:28)
                                    at TCP.<anonymous> (net.js:686:12)
                                Emitted 'error' event on ScanStream instance at:
                                    at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
                                    at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
                                    at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
                                    at processTicksAndRejections (internal/process/task_queues.js:95:5)
                                npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
                                npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                                
                                npm ERR! code ELIFECYCLE
                                npm ERR! errno 1
                                npm ERR! iobroker.js-controller@4.0.10 install: `node iobroker.js setup first`
                                npm ERR! Exit status 1
                                npm ERR!
                                npm ERR! Failed at the iobroker.js-controller@4.0.10 install script.
                                npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                
                                npm ERR! A complete log of this run can be found in:
                                npm ERR!     /home/iobroker/.npm/_logs/2022-02-21T20_58_28_730Z-debug.l
                                

                                Keine Ahnung was jetzt los ist.. :astonished:

                                pi@raspberrypi-display2:~ $ iobroker stop
                                pi@raspberrypi-display2:~ $ iobroker fix
                                library: loaded
                                Library version=2022-02-10
                                ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                                
                                
                                apollon77A 2 Antworten Letzte Antwort
                                0
                                • E e-i-k-e

                                  Aktualisiere gerade ein Slave von 4.0.10 auf 4.0.15.
                                  Habe es nun bereits mit sudo -H -u iobroker npm install iobroker.js-controller versucht.

                                  Bei den anderen Geräten hatte ich dieses Problem nicht.
                                  Was kann ich tun?

                                  pi@raspberrypi-display2:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                                  
                                  > iobroker.js-controller@4.0.10 preinstall /opt/iobroker/node_modules/iobroker.js-controller
                                  > node lib/preinstallCheck.js
                                  
                                  NPM version: 6.14.16
                                  
                                  > iobroker.js-controller@4.0.10 install /opt/iobroker/node_modules/iobroker.js-controller
                                  > node iobroker.js setup first
                                  
                                  No connection to objects 192.168.3.100:6379[redis]
                                  /opt/iobroker/node_modules/standard-as-callback/built/index.js:6
                                          throw e;
                                          ^
                                  
                                  Error: Connection is closed.
                                      at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25)
                                      at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20)
                                      at Object.onceWrapper (events.js:520:26)
                                      at Socket.emit (events.js:400:28)
                                      at TCP.<anonymous> (net.js:686:12)
                                  Emitted 'error' event on ScanStream instance at:
                                      at /opt/iobroker/node_modules/ioredis/built/ScanStream.js:38:22
                                      at tryCatcher (/opt/iobroker/node_modules/standard-as-callback/built/utils.js:12:23)
                                      at /opt/iobroker/node_modules/standard-as-callback/built/index.js:33:51
                                      at processTicksAndRejections (internal/process/task_queues.js:95:5)
                                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
                                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"arm"})
                                  
                                  npm ERR! code ELIFECYCLE
                                  npm ERR! errno 1
                                  npm ERR! iobroker.js-controller@4.0.10 install: `node iobroker.js setup first`
                                  npm ERR! Exit status 1
                                  npm ERR!
                                  npm ERR! Failed at the iobroker.js-controller@4.0.10 install script.
                                  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/iobroker/.npm/_logs/2022-02-21T20_58_28_730Z-debug.l
                                  

                                  Keine Ahnung was jetzt los ist.. :astonished:

                                  pi@raspberrypi-display2:~ $ iobroker stop
                                  pi@raspberrypi-display2:~ $ iobroker fix
                                  library: loaded
                                  Library version=2022-02-10
                                  ioBroker is not installed in /opt/iobroker! Cannot fix anything...
                                  
                                  
                                  apollon77A Online
                                  apollon77A Online
                                  apollon77
                                  schrieb am zuletzt editiert von
                                  #552

                                  @e-i-k-e Wie geht es dem Redis? Steht ggf etwas im Redis log? Ich hab das gefühl das sich der beendet mittendrin.

                                  Beitrag hat geholfen? Votet rechts unten im Beitrag :-) https://paypal.me/Apollon77 / https://github.com/sponsors/Apollon77

                                  • Debug-Log für Instanz einschalten? Admin -> Instanzen -> Expertenmodus -> Instanz aufklappen - Loglevel ändern
                                  • Logfiles auf Platte /opt/iobroker/log/… nutzen, Admin schneidet Zeilen ab
                                  E 1 Antwort Letzte Antwort
                                  0
                                  • apollon77A apollon77

                                    @e-i-k-e Wie geht es dem Redis? Steht ggf etwas im Redis log? Ich hab das gefühl das sich der beendet mittendrin.

                                    E Offline
                                    E Offline
                                    e-i-k-e
                                    schrieb am zuletzt editiert von
                                    #553

                                    @apollon77

                                    Hast du zufällig den Pfad parat?

                                    Ich habe den kompletten Container inkl. Reids mal neu gestartet. Keine Änderung.

                                    Thomas BraunT 1 Antwort Letzte Antwort
                                    0
                                    • E e-i-k-e

                                      @apollon77

                                      Hast du zufällig den Pfad parat?

                                      Ich habe den kompletten Container inkl. Reids mal neu gestartet. Keine Änderung.

                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      schrieb am zuletzt editiert von
                                      #554

                                      @e-i-k-e

                                      less -R /var/log/redis/redis-server.log
                                      

                                      und

                                      systemctl status redis
                                      

                                      anschauen.

                                      Linux-Werkzeugkasten:
                                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                      NodeJS Fixer Skript:
                                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                      E 1 Antwort Letzte Antwort
                                      1
                                      • DiginixD Offline
                                        DiginixD Offline
                                        Diginix
                                        schrieb am zuletzt editiert von Diginix
                                        #555

                                        @AlCalzone @apollon77
                                        Hab eben per CLI admin, web und ws aktualisiert und dann ist der js-controller mal wieder RAM technisch eskaliert mit über 2 GB. Hat sich dann aber ohne mein Zutun wieder stabilisiert. Wahrs. reichten die 6 GB RAM der VM gerade so aus.

                                                      total        used        free      shared  buff/cache   available
                                        Mem:           5941        4407         131           1        1402        1242
                                        Swap:             0           0           0
                                        

                                        4737ce9d-6927-41f3-a9c8-aba20b0ba606-image.png

                                        f03fd880-06cb-48c8-9bb8-f0174972d891-image.png

                                        ..:: So long! Tom ::..

                                        NUC7i3 (Ubuntu Proxmox VM) | Echo Dots 2+3. Gen | Xiaomi Sensoren | Mi Robot 1S | Yeelight | Sonoff | Shelly | H801 RGB | Gosund SP1 | NodeMCU+ESP32 | Kostal Plenticore PV+BYD | openWB

                                        apollon77A 3 Antworten Letzte Antwort
                                        0
                                        • Thomas BraunT Thomas Braun

                                          @e-i-k-e

                                          less -R /var/log/redis/redis-server.log
                                          

                                          und

                                          systemctl status redis
                                          

                                          anschauen.

                                          E Offline
                                          E Offline
                                          e-i-k-e
                                          schrieb am zuletzt editiert von
                                          #556

                                          @thomas-braun

                                          Danke.

                                          Im Log steht immer das gleiche, nichts auffälliges.

                                          11670:C 20 Feb 2022 22:13:49.210 * DB saved on disk
                                          11670:C 20 Feb 2022 22:13:49.228 * RDB: 7 MB of memory used by copy-on-write
                                          139:M 20 Feb 2022 22:13:49.345 * Background saving terminated with success
                                          139:M 20 Feb 2022 22:15:49.680 * 10000 changes in 60 seconds. Saving...
                                          139:M 20 Feb 2022 22:15:49.698 * Background saving started by pid 11703
                                          11703:C 20 Feb 2022 22:16:04.583 * DB saved on disk
                                          11703:C 20 Feb 2022 22:16:04.601 * RDB: 14 MB of memory used by copy-on-write
                                          139:M 20 Feb 2022 22:16:04.688 * Background saving terminated with success
                                          139:M 20 Feb 2022 22:18:21.814 * 10000 changes in 60 seconds. Saving...
                                          
                                          pi@ioBroker-Rock:~$ systemctl status redis
                                          * redis-server.service - Advanced key-value store
                                               Loaded: loaded (/lib/systemd/system/redis-server.service; enabled; vendor preset: enabled)
                                               Active: active (running) since Mon 2022-02-21 22:27:17 CET; 46min ago
                                                 Docs: http://redis.io/documentation,
                                                       man:redis-server(1)
                                              Process: 114 ExecStart=/usr/bin/redis-server /etc/redis/redis.conf (code=exited, status=0/SUCCESS)
                                             Main PID: 135 (redis-server)
                                                Tasks: 4 (limit: 18952)
                                               Memory: 1.7G
                                                  CPU: 6min 39.212s
                                               CGroup: /system.slice/redis-server.service
                                                       `-135 /usr/bin/redis-server 0.0.0.0:6379
                                          

                                          Fünf weitere Slave laufen aber auch problemlos mit dem Master und der Redis DB.

                                          M apollon77A 2 Antworten Letzte Antwort
                                          0
                                          Antworten
                                          • In einem neuen Thema antworten
                                          Anmelden zum Antworten
                                          • Älteste zuerst
                                          • Neuste zuerst
                                          • Meiste Stimmen


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate
                                          FAQ Cloud / IOT
                                          HowTo: Node.js-Update
                                          HowTo: Backup/Restore
                                          Downloads
                                          BLOG

                                          867

                                          Online

                                          32.4k

                                          Benutzer

                                          81.4k

                                          Themen

                                          1.3m

                                          Beiträge
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Anmelden

                                          • Du hast noch kein Konto? Registrieren

                                          • Anmelden oder registrieren, um zu suchen
                                          • Erster Beitrag
                                            Letzter Beitrag
                                          0
                                          • Home
                                          • Aktuell
                                          • Tags
                                          • Ungelesen 0
                                          • Kategorien
                                          • Unreplied
                                          • Beliebt
                                          • GitHub
                                          • Docu
                                          • Hilfe