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.
    • crunchip
      crunchip Forum Testing Most Active @apollon77 last edited by crunchip

      @apollon77 ich habe kein node-red und hatte ich auch noch nie
      kann das von einem anderen Adapter kommen?
      das sind alle meine installierten instanzen

      root@IoBroker:/opt/iobroker# iob list instances
      (node:11720) Warning: Accessing non-existent property 'count' of module exports inside circular dependency
      (Use `node --trace-warnings ...` to show where the warning was created)
      (node:11720) Warning: Accessing non-existent property 'findOne' of module exports inside circular dependency
      (node:11720) Warning: Accessing non-existent property 'remove' of module exports inside circular dependency
      (node:11720) Warning: Accessing non-existent property 'updateOne' of module exports inside circular dependency
       system.adapter.adguard.0                : adguard               : IoBroker                                 - disabled
      + system.adapter.admin.0                  : admin                 : IoBroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
      + system.adapter.alexa2.0                 : alexa2                : IoBroker                                 -  enabled
       system.adapter.alias-manager.0          : alias-manager         : IoBroker                                 -  enabled
      + system.adapter.backitup.0               : backitup              : IoBroker                                 -  enabled
      + system.adapter.ble.0                    : ble                   : IoBroker                                 -  enabled
      + system.adapter.broadlink2.0             : broadlink2            : IoBroker                                 -  enabled
       system.adapter.cameras.0                : cameras               : IoBroker                                 - disabled, port: 8200, bind: 10.1.1.10
      + system.adapter.chromecast.0             : chromecast            : IoBroker                                 -  enabled
      + system.adapter.coronavirus-statistics.0 : coronavirus-statistics: IoBroker                                 -  enabled
       system.adapter.daswetter.0              : daswetter             : IoBroker                                 - disabled
       system.adapter.device-reminder.0        : device-reminder       : IoBroker                                 - disabled
       system.adapter.devices.0                : devices               : IoBroker                                 -  enabled
       system.adapter.discovery.0              : discovery             : IoBroker                                 - disabled
       system.adapter.dwd.0                    : dwd                   : IoBroker                                 -  enabled
       system.adapter.ebus.0                   : ebus                  : IoBroker                                 - disabled
      + system.adapter.echarts.0                : echarts               : IoBroker                                 -  enabled
      + system.adapter.email.0                  : email                 : IoBroker                                 -  enabled
       system.adapter.esphome.0                : esphome               : IoBroker                                 - disabled
       system.adapter.eventlist.0              : eventlist             : IoBroker                                 - disabled
       system.adapter.feiertage.0              : feiertage             : IoBroker                                 -  enabled
       system.adapter.firetv.0                 : firetv                : IoBroker                                 - disabled
       system.adapter.flot.0                   : flot                  : IoBroker                                 -  enabled
       system.adapter.fullcalendar.0           : fullcalendar          : IoBroker                                 - disabled
      + system.adapter.fully-tablet-control.0   : fully-tablet-control  : IoBroker                                 -  enabled
       system.adapter.fullybrowser.0           : fullybrowser          : IoBroker                                 - disabled
      + system.adapter.history.0                : history               : IoBroker                                 -  enabled
       system.adapter.hyperion.0               : hyperion              : IoBroker                                 - disabled
       system.adapter.hyperion_ng.0            : hyperion_ng           : IoBroker                                 - disabled
       system.adapter.ical.0                   : ical                  : IoBroker                                 -  enabled
       system.adapter.ical.1                   : ical                  : IoBroker                                 -  enabled
       system.adapter.icons-addictive-flavour-png.0: icons-addictive-flavour-png: IoBroker                                 -  enabled
       system.adapter.icons-fatcow-hosting.0   : icons-fatcow-hosting  : IoBroker                                 -  enabled
       system.adapter.icons-icons8.0           : icons-icons8          : IoBroker                                 -  enabled
       system.adapter.icons-material-png.0     : icons-material-png    : IoBroker                                 -  enabled
       system.adapter.icons-material-svg.0     : icons-material-svg    : IoBroker                                 -  enabled
       system.adapter.icons-mfd-png.0          : icons-mfd-png         : IoBroker                                 -  enabled
       system.adapter.icons-mfd-svg.0          : icons-mfd-svg         : IoBroker                                 -  enabled
       system.adapter.icons-open-icon-library-png.0: icons-open-icon-library-png: IoBroker                                 -  enabled
       system.adapter.icons-ultimate-png.0     : icons-ultimate-png    : IoBroker                                 -  enabled
      + system.adapter.influxdb.0               : influxdb              : IoBroker                                 -  enabled, port: 8086
      + system.adapter.influxdb.1               : influxdb              : IoBroker                                 -  enabled, port: 8086
      + system.adapter.influxdb.2               : influxdb              : IoBroker                                 -  enabled, port: 8086
      + system.adapter.influxdb.3               : influxdb              : IoBroker                                 -  enabled, port: 8086
      + system.adapter.info.0                   : info                  : IoBroker                                 -  enabled
       system.adapter.iogo.0                   : iogo                  : IoBroker                                 - disabled
      + system.adapter.iot.0                    : iot                   : IoBroker                                 -  enabled
       system.adapter.iqontrol.0               : iqontrol              : IoBroker                                 - disabled
      + system.adapter.jarvis.0                 : jarvis                : IoBroker                                 -  enabled
      + system.adapter.javascript.0             : javascript            : IoBroker                                 -  enabled
       system.adapter.javascript.1             : javascript            : IoBroker                                 - disabled
      + system.adapter.linux-control.0          : linux-control         : IoBroker                                 -  enabled
      + system.adapter.logparser.0              : logparser             : IoBroker                                 -  enabled
       system.adapter.material.0               : material              : IoBroker                                 -  enabled
       system.adapter.meteoalarm.0             : meteoalarm            : IoBroker                                 - disabled
      + system.adapter.mihome.0                 : mihome                : IoBroker                                 -  enabled, port: 9898, bind: 0.0.0.0
       system.adapter.miio.0                   : miio                  : IoBroker                                 - disabled
      + system.adapter.milight-smart-light.0    : milight-smart-light   : IoBroker                                 -  enabled
       system.adapter.minuvis.0                : minuvis               : IoBroker                                 -  enabled
       system.adapter.mobile.0                 : mobile                : IoBroker                                 - disabled
       system.adapter.mqtt.0                   : mqtt                  : IoBroker                                 - disabled, port: 1883, bind: 0.0.0.0
       system.adapter.mytime.0                 : mytime                : IoBroker                                 - disabled
       system.adapter.net-tools.0              : net-tools             : IoBroker                                 - disabled
       system.adapter.nina.0                   : nina                  : IoBroker                                 - disabled
      + system.adapter.nut.0                    : nut                   : IoBroker                                 -  enabled
       system.adapter.onkyo.0                  : onkyo                 : IoBroker                                 - disabled
       system.adapter.onvif.0                  : onvif                 : IoBroker                                 - disabled
       system.adapter.parser.0                 : parser                : IoBroker                                 - disabled
       system.adapter.phantomjs.0              : phantomjs             : IoBroker                                 - disabled
       system.adapter.pi-hole.0                : pi-hole               : IoBroker                                 - disabled
       system.adapter.ping.0                   : ping                  : IoBroker                                 - disabled
       system.adapter.pollenflug.0             : pollenflug            : IoBroker                                 - disabled
       system.adapter.proxmox.0                : proxmox               : IoBroker                                 - disabled, port: 8006
      + system.adapter.radar2.0                 : radar2                : IoBroker                                 -  enabled
       system.adapter.rickshaw.0               : rickshaw              : IoBroker                                 -  enabled
       system.adapter.roadtraffic.0            : roadtraffic           : IoBroker                                 - disabled
       system.adapter.rssfeed.0                : rssfeed               : IoBroker                                 - disabled
      + system.adapter.sayit.0                  : sayit                 : IoBroker                                 -  enabled, port: 0
       system.adapter.scenes.0                 : scenes                : IoBroker                                 - disabled
       system.adapter.scheduler.0              : scheduler             : IoBroker                                 - disabled
       system.adapter.schoolfree.0             : schoolfree            : IoBroker                                 -  enabled
      + system.adapter.seq.0                    : seq                   : IoBroker                                 -  enabled, port: 5341
      + system.adapter.shelly.0                 : shelly                : IoBroker                                 -  enabled, port: 1882, bind: 0.0.0.0
      + system.adapter.shuttercontrol.0         : shuttercontrol        : IoBroker                                 -  enabled
      + system.adapter.simple-api.0             : simple-api            : IoBroker                                 -  enabled, port: 8087, bind: 0.0.0.0, run as: admin
       system.adapter.slideshow.0              : slideshow             : IoBroker                                 - disabled
      + system.adapter.smartcontrol.0           : smartcontrol          : IoBroker                                 -  enabled
       system.adapter.snmp.0                   : snmp                  : IoBroker                                 - disabled
      + system.adapter.socketio.0               : socketio              : IoBroker                                 -  enabled, port: 8084, bind: 0.0.0.0, run as: admin
      + system.adapter.sonoff.0                 : sonoff                : IoBroker                                 -  enabled, port: 1885, bind: 0.0.0.0
      + system.adapter.sourceanalytix.0         : sourceanalytix        : IoBroker                                 -  enabled
       system.adapter.spotify-premium.0        : spotify-premium       : IoBroker                                 - disabled
       system.adapter.statistics.0             : statistics            : IoBroker                                 - disabled
      + system.adapter.tankerkoenig.0           : tankerkoenig          : IoBroker                                 -  enabled
      + system.adapter.telegram.0               : telegram              : IoBroker                                 -  enabled, port: 8443, bind: 0.0.0.0
      + system.adapter.telegram.1               : telegram              : IoBroker                                 -  enabled, port: 8443, bind: 0.0.0.0
       system.adapter.terminal.0               : terminal              : IoBroker                                 - disabled, port: 8088, bind: 0.0.0.0, run as: admin
      + system.adapter.text2command.0           : text2command          : IoBroker                                 -  enabled
      + system.adapter.tr-064.0                 : tr-064                : IoBroker                                 -  enabled
       system.adapter.traccar.0                : traccar               : IoBroker                                 - disabled
      + system.adapter.trashschedule.0          : trashschedule         : IoBroker                                 -  enabled
       system.adapter.tuya.0                   : tuya                  : IoBroker                                 - disabled
       system.adapter.tvspielfilm.0            : tvspielfilm           : IoBroker                                 - disabled
      + system.adapter.unifi.0                  : unifi                 : IoBroker                                 -  enabled
       system.adapter.upnp.0                   : upnp                  : IoBroker                                 - disabled
      + system.adapter.virtualpowermeter.0      : virtualpowermeter     : IoBroker                                 -  enabled
       system.adapter.vis-bars.0               : vis-bars              : IoBroker                                 -  enabled
       system.adapter.vis-canvas-gauges.0      : vis-canvas-gauges     : IoBroker                                 -  enabled
       system.adapter.vis-colorpicker.0        : vis-colorpicker       : IoBroker                                 -  enabled
       system.adapter.vis-fancyswitch.0        : vis-fancyswitch       : IoBroker                                 -  enabled
       system.adapter.vis-google-fonts.0       : vis-google-fonts      : IoBroker                                 -  enabled
       system.adapter.vis-history.0            : vis-history           : IoBroker                                 -  enabled
       system.adapter.vis-hqwidgets.0          : vis-hqwidgets         : IoBroker                                 -  enabled
       system.adapter.vis-icontwo.0            : vis-icontwo           : IoBroker                                 -  enabled
      + system.adapter.vis-inventwo.0           : vis-inventwo          : IoBroker                                 -  enabled
       system.adapter.vis-jqui-mfd.0           : vis-jqui-mfd          : IoBroker                                 -  enabled
       system.adapter.vis-justgage.0           : vis-justgage          : IoBroker                                 -  enabled
       system.adapter.vis-keyboard.0           : vis-keyboard          : IoBroker                                 -  enabled
       system.adapter.vis-lcars.0              : vis-lcars             : IoBroker                                 -  enabled
       system.adapter.vis-map.0                : vis-map               : IoBroker                                 -  enabled
       system.adapter.vis-material-webfont.0   : vis-material-webfont  : IoBroker                                 -  enabled
       system.adapter.vis-material.0           : vis-material          : IoBroker                                 -  enabled
       system.adapter.vis-materialdesign.0     : vis-materialdesign    : IoBroker                                 -  enabled
       system.adapter.vis-metro.0              : vis-metro             : IoBroker                                 -  enabled
       system.adapter.vis-players.0            : vis-players           : IoBroker                                 -  enabled
       system.adapter.vis-plumb.0              : vis-plumb             : IoBroker                                 -  enabled
       system.adapter.vis-rgraph.0             : vis-rgraph            : IoBroker                                 -  enabled
       system.adapter.vis-timeandweather.0     : vis-timeandweather    : IoBroker                                 -  enabled
       system.adapter.vis-weather.0            : vis-weather           : IoBroker                                 -  enabled
       system.adapter.vis.0                    : vis                   : IoBroker                                 -  enabled
       system.adapter.weatherunderground.0     : weatherunderground    : IoBroker                                 -  enabled
      + system.adapter.web.0                    : web                   : IoBroker                                 -  enabled, port: 8082, bind: 0.0.0.0, run as: admin
       system.adapter.whatsapp-cmb.0           : whatsapp-cmb          : IoBroker                                 - disabled
      + system.adapter.wiffi-wz.0               : wiffi-wz              : IoBroker                                 -  enabled
      + system.adapter.wled.0                   : wled                  : IoBroker                                 -  enabled
      + system.adapter.yeelight-2.0             : yeelight-2            : IoBroker                                 -  enabled
      + system.adapter.zigbee.0                 : zigbee                : IoBroker                                 -  enabled, port: tcp://10.1.20.7:20108
      
      

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

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

        Zu "Fehler 1" tippe ich das Du zu schnell warst. In Deinem Log sieht man Das Du die Systemkonfig 18:43 gespeichert hast und damit Admin und Backiutup und Discovery neu gestartet sind. 18:43:11 war wieder alles da. und ich denke das Du irgendwie geschafft hast das Repo in dieser kurzen Zeit zu ändern als Admin sich gerade verabschliedet hat oder sowas ... aber das sehe ich nicht so genau. müsste man mal nachstellen. Passiert es auch wenn du "langsamer" bist?

        im ersten durchgang habe ich sofort nach abschluss des assistenten
        die config nochmal aufgerufen um das repo zu ändern.
        Diesmal mit 4.0.5 habe ich darauf geachtet, das alle instanzen grün sind.
        dann hat es funktioniert.

        auch die anderen fehler sind nun behoben.
        nur den ersten mit dem fixer befehl, habe ich vergessen zu überprüfen.

        1 Reply Last reply Reply Quote 1
        • apollon77
          apollon77 @crunchip last edited by

          @crunchip naja npm zeigt es als extra Paket an. Ich würde behaupten kannst es im iobroker dir mit „npm uninstall mongodb“ löschen.

          Ps: gattest du vllt mal den Blutzucker Adapter drauf? Glaube der hatte das auch.

          crunchip 1 Reply Last reply Reply Quote 1
          • crunchip
            crunchip Forum Testing Most Active @apollon77 last edited by

            @apollon77 ne hatte ich auch nicht, ok dann lösch ich es mal

            apollon77 1 Reply Last reply Reply Quote 1
            • apollon77
              apollon77 @crunchip last edited by

              @crunchip ich adde es mal morgen oben in die faq auch wenn es eher mit nodejs Upgrade auf 14 zu tun hat. Naja mal schauen.

              1 Reply Last reply Reply Quote 0
              • crunchip
                crunchip Forum Testing Most Active last edited by

                @apollon77 ich hab es jetzt mal gelöscht, iob gestoppt, nodejs minor update und iob gestartet( ohne fixer) mal schaun ob der js controller das richtig macht (setcap)

                crunchip 1 Reply Last reply Reply Quote 0
                • F
                  fastfoot @apollon77 last edited by

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

                  (foxriver76) stop the database before executing upgrade self; WIll be effective for all upgrades >4.0.5

                  bedeutet dies dass der iobroker dann vorher nicht mehr gestoppt werden muss?

                  Das Update auf 4.0.5 lief auf 2 Systemen ohne Probleme und ohne den Fixer zu benötigen

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

                    @fastfoot neee. Muss immer noch gestoppt werden. Es ist nur so das das „Upgrade Self“ Kommando eine Datenbank öffnet - und zwar die „alte“ Version. Dann erfolgt die Installation und in dem Zuge wird „setup First“ ausgeführt die dann mit dem „neuen Code“ gegen diese „alte“ Datenbank Version verbindet. Das ist aktuell der Grund für diese Fehler die angezeigt werden und gegen die wir nichts tun können.

                    Daher wird vor dem npm Befehl bei Upgrade Self jetzt die alte Datenbank beendet - damit öffnet setup First dann seine eigene „neue“ Version. Damit sollte sowas nicht mehr passieren

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

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

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

                      EADDRNOTAVAIL: address not available 192.168.2.200:2001

                      Da scheint irgendetwas anderes auf Port 2001 zu Hören, und daher kann der Adapter nicht starten ... Stelle sicher das da nicht noch Zombie Prozesse laufen

                      Das ist was von Homematic. Laut Adapter ist dort meine neue IP 192.168.4.100 Hinterlegt die 192.168.2.200 ist ALT .. wo auch immer das her ist. Nach iob stop scheint alles aber aus zu sein,

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

                      @chrisxy Ääähmm ... was Hast Du genau hier getan? Das ist ist ein Migration-Prozess ... so mir scheint es als ob du aktiv über "iob setup custom" eine Migration zu "file" gemacht hast und dabei gab es einen Permission Fehler.

                      Um es jetzt zu fixen:
                      1.) iob fix um die Rechtefehler zu fixen
                      2.) Wenn DU zurück zum letzten Redis Stand willst editiere die /opt/iobroker/iobroker-data/iobroker.json und ändere bei objects und states jeweils den Typ in "redis" da wo jetzt scheinbar "file" steht.

                      Danach sollte erstmal alles wieder laufen

                      Also mein iob läuft mit Redis. Nach dem iob upgrade self und Neustart hat iob Status "file" vorher "redis"
                      Ich werde es nochmal versuchen und die Datei mal anpassen. Schauen was Passiert.

                      EDIT: Nach iob upgrade self sagt iob status : file .. wenn ich aber die iobroker,json öffne steht bei beiden Typ: redis ...

                      Folgende Meldung bekomme ich bei iob upgrade self:

                      root@iobroker:/# cd /opt/iobroker/
                      root@iobroker:/opt/iobroker# iob upgrade self
                      Update js-controller from @3.3.22 to @4.0.5
                      NPM version: 6.14.10
                      npm install iobroker.js-controller@4.0.5 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                      In file included from ../src/unix_dgram.cc:5:
                      ../../nan/nan.h: In function 'void Nan::AsyncQueueWorker(Nan::AsyncWorker*)':
                      ../../nan/nan.h:2298:62: warning: cast between incompatible function types from 'void (*)(uv_work_t*)' {aka 'void (*)(uv_work_s*)'} to 'uv_after_work_cb' {aka 'void (*)(uv_work_s*, int)'} [-Wcast-function-type]
                           , reinterpret_cast<uv_after_work_cb>(AsyncExecuteComplete)
                                                                                    ^
                      In file included from ../../nan/nan.h:54,
                                       from ../src/unix_dgram.cc:5:
                      ../src/unix_dgram.cc: At global scope:
                      /home/iobroker/.cache/node-gyp/14.15.4/include/node/node.h:758:43: warning: cast between incompatible function types from 'void (*)(v8::Local<v8::Object>)' to 'node::addon_register_func' {aka 'void (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)'} [-Wcast-function-type]
                             (node::addon_register_func) (regfunc),                          \
                                                                 ^
                      /home/iobroker/.cache/node-gyp/14.15.4/include/node/node.h:792:3: note: in expansion of macro 'NODE_MODULE_X'
                         NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                         ^~~~~~~~~~~~~
                      ../src/unix_dgram.cc:404:1: note: in expansion of macro 'NODE_MODULE'
                       NODE_MODULE(unix_dgram, Initialize)
                       ^~~~~~~~~~~
                      
                      apollon77 1 Reply Last reply Reply Quote 0
                      • Diginix
                        Diginix last edited by

                        @apollon77 Update von 3.3.22 auf 4.0.5 lief durch mit folgender Ausgabe:

                        Update js-controller from @3.3.22 to @4.0.5
                        NPM version: 6.14.16
                        npm install iobroker.js-controller@4.0.5 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                        In file included from ../../nan/nan.h:56,
                                         from ../src/unix_dgram.cc:5:
                        /home/iobroker/.cache/node-gyp/14.19.0/include/node/node.h:793:43: warning: cast between incompatible function types from âvoid (*)(v8::Local<v8::Object>)â to ânode::addon_register_funcâ {aka âvoid (*)(v8::Local<v8::Object>, v8::Local<v8::Value>, void*)â} [-Wcast-function-type]
                          793 |       (node::addon_register_func) (regfunc),                          \
                              |                                           ^
                        /home/iobroker/.cache/node-gyp/14.19.0/include/node/node.h:827:3: note: in expansion of macro âNODE_MODULE_Xâ
                          827 |   NODE_MODULE_X(modname, regfunc, NULL, 0)  // NOLINT (readability/null_usage)
                              |   ^~~~~~~~~~~~~
                        ../src/unix_dgram.cc:404:1: note: in expansion of macro âNODE_MODULEâ
                          404 | NODE_MODULE(unix_dgram, Initialize)
                              | ^~~~~~~~~~~
                        Server Objects 127.0.0.1:51724 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
                        Server States 127.0.0.1:42094 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
                        Server Objects 127.0.0.1:51724 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
                        Server States 127.0.0.1:42096 Error from InMemDB: Error: PSUBSCRIBE-UNSUPPORTED for namespace meta.: Data=["meta.*"]
                        Server Objects 127.0.0.1:51724 Error from InMemDB: Error: Unknown LUA script load
                        Server Objects 127.0.0.1:51724 Error from InMemDB: Error: Unknown LUA script load
                        Server Objects 127.0.0.1:51724 Error from InMemDB: Error: Unknown LUA script load
                        Server Objects 127.0.0.1:51724 Error from InMemDB: Error: SET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets",{"type":"Buffer","data":[49]}]
                        Could not migrate objects to corresponding sets: Error SET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets",{"type":"Buffer","data":[49]}]
                        

                        Hoffentlich ok so.

                        iobroker@iobroker:/opt/iobroker$ iobroker start
                        iobroker@iobroker:/opt/iobroker$ iobroker status
                        iobroker is running on this host.
                        
                        
                        Objects type: jsonl
                        States  type: jsonl
                        /usr/bin/iobroker: line 8: 37859 Killed                  node /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js "$@"
                        

                        Die letzte Zeile kam nur beim ersten mal status. Danach nicht mehr.

                        Meine /opt/iobroker/iobroker-data/iobroker.json enthält aber deutlich weniger Blöcke als hier gezeigt:
                        https://github.com/ioBroker/ioBroker.js-controller/blob/master/packages/controller/conf/iobroker-dist.json#L53-L71

                        {
                          "system": {
                            "memoryLimitMB": 0,
                            "hostname": ""
                          },
                          "multihostService": {
                            "enabled": false,
                            "secure": true
                          },
                          "network": {
                            "IPv4": true,
                            "IPv6": true,
                            "bindAddress": null,
                            "useSystemNpm": true
                          },
                          "objects": {
                            "type": "jsonl",
                            "typeComment": "Possible values: 'file' - [port 9001], redis - [port 6379], couch - [port 5984].",
                            "host": "127.0.0.1",
                            "port": 9001,
                            "user": "",
                            "pass": "",
                            "noFileCache": false,
                            "connectTimeout": 2000,
                            "writeFileInterval": 3600000,
                            "options": {
                              "auth_pass": null,
                              "retry_max_delay": 5000
                            }
                          },
                          "states": {
                            "type": "jsonl",
                            "typeComment": "Possible values: 'file' - [port 9000], 'redis' - [port 6379].",
                            "host": "127.0.0.1",
                            "port": 9000,
                            "maxQueue": 1000,
                            "writeFileInterval": 60000,
                            "options": {
                              "auth_pass": null,
                              "retry_max_delay": 5000
                            }
                          },
                          "log": {
                            "level": "warn",
                            "maxDays": 14,
                            "noStdout": true,
                            "transport": {
                              "file1": {
                                "zippedArchive": false,
                                "type": "file",
                                "enabled": true,
                                "filename": "log/iobroker",
                                "fileext": ".log",
                                "maxsize": null,
                                "maxFiles": null
                              },
                              "syslog1": {
                                "type": "syslog",
                                "enabled": false,
                                "host": "localhost",
                                "host_comment": "The host running syslogd, defaults to localhost.",
                                "port_comment": "The port on the host that syslog is running on, defaults to syslogd's default port(514/UDP).",
                                "protocol": "udp4",
                                "protocol_comment": "The network protocol to log over (e.g. tcp4, udp4, unix, unix-connect, etc).",
                                "path_comment": "The path to the syslog dgram socket (i.e. /dev/log or /var/run/syslog for OS X).",
                                "facility_comment": "Syslog facility to use (Default: local0).",
                                "localhost": "iobroker",
                                "localhost_comment": "Host to indicate that log messages are coming from (Default: localhost).",
                                "sysLogType_comment": "The type of the syslog protocol to use (Default: BSD).",
                                "app_name_comment": "The name of the application (Default: process.title).",
                                "eol_comment": "The end of line character to be added to the end of the message (Default: Message without modifications)."
                              }
                            }
                          },
                          "dataDirComment": "Always relative to iobroker.js-controller/",
                          "dataDir": "../../iobroker-data/"
                        }
                        


                        Wie bekommt man die mal auf den neusten Standard?
                        Wird bei jsonl objects.writeFileInterval: 3600000 und states.writeFileInterval: 60000 ignoriert?

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

                          Hallo an alle,

                          auch bei mir funktionieren keine Updates mehr!

                          Node.js
                          v14.19.0
                          NPM
                          v6.14.16

                          Dem JS-Controller hatte ich auf 4.0.4 geupdatet und alle Instanzen sind auf Grün und laufen.

                          Aber beim Versuch eines Updates läuft es durch aber der Adapter startet immer wieder mit der alten Version. auch ein Downgrade geht nicht.

                          Ein Update auf denn JS-Controller 4.0.5 ging auch nicht. Bei dem versuch den JS-Controller per Downgrade auf 3.3.22 zu bringen wurde mir stattdessen der 4.0.5 eingespielt . Aber auch mit dem Funktioniert weder Update noch Downgrade. Auch ein erneuter versuch auf JS-Controller 3.3.22 Downzugraden blieb erfolglos.

                          Installations Verlauf:

                          $ iobroker upgrade iot@1.9.5
                          
                          Update iot from @1.9.3 to @1.9.5
                          
                          host.SmartHomeServer Adapter "system.adapter.iot.0" is stopped.
                          
                          NPM version: 6.14.16
                          
                          Installing iobroker.iot@1.9.5... (System call)
                          
                          Could not check npm version: This directory tree does not contain a package.json
                          
                          Assuming that correct version is installed.
                          
                          host.SmartHomeServer Adapter "system.adapter.iot.0" is started
                          
                          upload [18] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/actions.js actions.js application/javascript
                          
                          upload [17] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/alexalogo.png alexalogo.png image/png
                          
                          upload [16] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/asset-manifest.json asset-manifest.json application/json
                          
                          upload [15] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/blockly.js blockly.js application/javascript
                          
                          upload [14] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/favicon.ico favicon.ico image/vnd.microsoft.icon
                          
                          upload [13] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/index_m.html index_m.html text/html
                          
                          upload [12] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/iot.png iot.png image/png
                          
                          upload [11] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/manifest.json manifest.json application/json
                          
                          upload [10] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/2.faf2f676.chunk.css static/css/2.faf2f676.chunk.css text/css
                          
                          upload [9] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/2.faf2f676.chunk.css.map static/css/2.faf2f676.chunk.css.map application/json
                          
                          upload [8] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/main.e2d673ee.chunk.css static/css/main.e2d673ee.chunk.css text/css
                          
                          upload [7] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/main.e2d673ee.chunk.css.map static/css/main.e2d673ee.chunk.css.map application/json
                          
                          upload [6] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.1b9b16a0.chunk.js static/js/2.1b9b16a0.chunk.js application/javascript
                          
                          upload [5] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.1b9b16a0.chunk.js.LICENSE.txt static/js/2.1b9b16a0.chunk.js.LICENSE.txt text/plain
                          
                          upload [4] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.1b9b16a0.chunk.js.map static/js/2.1b9b16a0.chunk.js.map application/json
                          
                          upload [3] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/main.20d2f37b.chunk.js static/js/main.20d2f37b.chunk.js application/javascript
                          
                          upload [2] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/main.20d2f37b.chunk.js.map static/js/main.20d2f37b.chunk.js.map application/json
                          
                          upload [1] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/runtime-main.ef534f76.js static/js/runtime-main.ef534f76.js application/javascript
                          
                          upload [0] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/runtime-main.ef534f76.js.map static/js/runtime-main.ef534f76.js.map application/json
                          
                          Process exited with code 0
                          

                          und der dazugehörige LOG

                          host.SmartHomeServer
                          2022-02-09 12:05:01.891	info	instance system.adapter.dwd.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                          host.SmartHomeServer
                          2022-02-09 12:05:00.043	info	instance system.adapter.dwd.0 started with pid 19837
                          
                          iot.0
                          2022-02-09 12:03:12.290	info	Connection changed: connect
                          
                          iot.0
                          2022-02-09 12:03:11.887	warn	Cannot update api-secret: undefined
                          
                          iot.0
                          2022-02-09 12:03:11.869	info	Connecting with a18wym7vjdl22g.iot.eu-west-1.amazonaws.com
                          
                          iot.0
                          2022-02-09 12:03:11.846	info	starting. Version 1.9.3 in /opt/iobroker/node_modules/iobroker.iot, node: v14.19.0, js-controller: 4.0.5
                          host.SmartHomeServer
                          2022-02-09 12:03:11.046	info	instance system.adapter.iot.0 started with pid 19205
                          host.SmartHomeServer
                          2022-02-09 12:03:09.408	info	iobroker exit 0
                          host.SmartHomeServer
                          2022-02-09 12:03:08.393	info	iobroker upload [0] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/runtime-main.ef534f76.js.map static/js/runtime-main.ef534f76.js.map application/json
                          host.SmartHomeServer
                          2022-02-09 12:03:08.389	info	iobroker upload [1] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/runtime-main.ef534f76.js static/js/runtime-main.ef534f76.js application/javascript
                          host.SmartHomeServer
                          2022-02-09 12:03:08.385	info	iobroker upload [2] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/main.20d2f37b.chunk.js.map static/js/main.20d2f37b.chunk.js.map application/json
                          host.SmartHomeServer
                          2022-02-09 12:03:08.380	info	iobroker upload [3] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/main.20d2f37b.chunk.js static/js/main.20d2f37b.chunk.js application/javascript
                          host.SmartHomeServer
                          2022-02-09 12:03:08.374	info	instance system.adapter.iot.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
                          host.SmartHomeServer
                          2022-02-09 12:03:08.149	info	iobroker upload [4] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.1b9b16a0.chunk.js.map static/js/2.1b9b16a0.chunk.js.map application/json
                          host.SmartHomeServer
                          2022-02-09 12:03:08.147	info	iobroker upload [5] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.1b9b16a0.chunk.js.LICENSE.txt static/js/2.1b9b16a0.chunk.js.LICENSE.txt text/plain
                          host.SmartHomeServer
                          2022-02-09 12:03:08.136	info	iobroker upload [6] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/js/2.1b9b16a0.chunk.js static/js/2.1b9b16a0.chunk.js application/javascript
                          host.SmartHomeServer
                          2022-02-09 12:03:08.133	info	iobroker upload [7] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/main.e2d673ee.chunk.css.map static/css/main.e2d673ee.chunk.css.map application/json
                          host.SmartHomeServer
                          2022-02-09 12:03:08.131	info	iobroker upload [8] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/main.e2d673ee.chunk.css static/css/main.e2d673ee.chunk.css text/css
                          host.SmartHomeServer
                          2022-02-09 12:03:08.129	info	iobroker upload [9] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/2.faf2f676.chunk.css.map static/css/2.faf2f676.chunk.css.map application/json
                          host.SmartHomeServer
                          2022-02-09 12:03:08.126	info	iobroker upload [10] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/static/css/2.faf2f676.chunk.css static/css/2.faf2f676.chunk.css text/css
                          host.SmartHomeServer
                          2022-02-09 12:03:08.123	info	iobroker upload [11] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/manifest.json manifest.json application/json
                          host.SmartHomeServer
                          2022-02-09 12:03:08.120	info	iobroker upload [12] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/iot.png iot.png image/png
                          host.SmartHomeServer
                          2022-02-09 12:03:08.100	info	iobroker upload [13] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/index_m.html index_m.html text/html
                          host.SmartHomeServer
                          2022-02-09 12:03:08.097	info	iobroker upload [14] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/favicon.ico favicon.ico image/vnd.microsoft.icon
                          host.SmartHomeServer
                          2022-02-09 12:03:08.094	info	iobroker upload [15] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/blockly.js blockly.js application/javascript
                          host.SmartHomeServer
                          2022-02-09 12:03:08.091	info	iobroker upload [16] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/asset-manifest.json asset-manifest.json application/json
                          host.SmartHomeServer
                          2022-02-09 12:03:08.087	info	iobroker upload [17] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/alexalogo.png alexalogo.png image/png
                          host.SmartHomeServer
                          2022-02-09 12:03:08.079	info	iobroker upload [18] iot.admin /opt/iobroker/node_modules/iobroker.iot/admin/actions.js actions.js application/javascript
                          
                          iot.0
                          2022-02-09 12:03:07.957	info	Got terminate signal TERMINATE_YOURSELF
                          host.SmartHomeServer
                          2022-02-09 12:03:07.957	info	stopInstance system.adapter.iot.0 send kill signal
                          host.SmartHomeServer
                          2022-02-09 12:03:07.955	info	stopInstance system.adapter.iot.0 (force=false, process=true)
                          host.SmartHomeServer
                          2022-02-09 12:03:07.954	info	"system.adapter.iot.0" enabled
                          host.SmartHomeServer
                          2022-02-09 12:03:07.943	info	iobroker host.SmartHomeServer Adapter "system.adapter.iot.0" is started
                          host.SmartHomeServer
                          2022-02-09 12:03:07.943	error	iobroker Assuming that correct version is installed.
                          host.SmartHomeServer
                          2022-02-09 12:03:07.942	error	iobroker Could not check npm version: This directory tree does not contain a package.json
                          host.SmartHomeServer
                          2022-02-09 12:03:07.940	info	iobroker Installing iobroker.iot@1.9.5... (System call)
                          host.SmartHomeServer
                          2022-02-09 12:03:07.938	info	iobroker NPM version: 6.14.16
                          
                          iot.0
                          2022-02-09 12:03:07.829	info	Connection lost
                          
                          iot.0
                          2022-02-09 12:03:07.828	info	Connection changed: disconnect
                          
                          iot.0
                          2022-02-09 12:03:07.782	info	Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
                          
                          iot.0
                          2022-02-09 12:03:07.781	info	terminating
                          
                          iot.0
                          2022-02-09 12:03:07.778	info	Got terminate signal TERMINATE_YOURSELF
                          host.SmartHomeServer
                          2022-02-09 12:03:07.777	info	stopInstance system.adapter.iot.0 send kill signal
                          host.SmartHomeServer
                          2022-02-09 12:03:07.775	info	stopInstance system.adapter.iot.0 (force=false, process=true)
                          host.SmartHomeServer
                          2022-02-09 12:03:07.774	info	"system.adapter.iot.0" disabled
                          host.SmartHomeServer
                          2022-02-09 12:03:07.763	info	iobroker host.SmartHomeServer Adapter "system.adapter.iot.0" is stopped.
                          host.SmartHomeServer
                          2022-02-09 12:03:07.748	info	iobroker Update iot from @1.9.3 to @1.9.5
                          host.SmartHomeServer
                          2022-02-09 12:03:06.457	info	iobroker upgrade iot@1.9.5
                          
                          apollon77 1 Reply Last reply Reply Quote 0
                          • ste_glei
                            ste_glei @eXectiX last edited by

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

                            Könnt ihr mir weiter helfen?

                            ich bin nur ein Nutzer der seine Erfahrungen weitergibt. Für Ratschläge oder genaue Hilfe reicht mein Wissen leider nicht.

                            E 1 Reply Last reply Reply Quote 0
                            • crunchip
                              crunchip Forum Testing Most Active @crunchip last edited by

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

                              @apollon77 ich hab es jetzt mal gelöscht, iob gestoppt, nodejs minor update und iob gestartet( ohne fixer) mal schaun ob der js controller das richtig macht (setcap)

                              nun habe ich v4.05 eingespielt, diesmal zum ersten mal passiert, das scheinbar noch Prozesse liefen(hatte nicht gegengeprüft) halbsowild

                              allerdings, kamen mehrere Warnungen aus der influxdb.3 nach dem Start(ist eine Testinstanz v2.x, wo nur 2 Datenpunkte geloggt werden)
                              die anderen 3 Instanzen sind v1.x, ohne Probleme

                              2022-02-09 12:01:18.879 - warn: influxdb.3 (12514) Point could not be written to database: iobroker
                              2022-02-09 12:01:18.880 - warn: influxdb.3 (12514) Error on writePoint("{"value":4.04,"time":"2022-02-09T11:01:07.510Z","from":"system.host.IoBroker","q":0,"ack":true}): RequestTimedOutError: Request timed out / "Request timed out""
                              2022-02-09 12:01:18.881 - info: influxdb.3 (12514) Add point that had error for system.host.IoBroker.load to buffer again, error-count=1
                              2022-02-09 12:01:20.360 - warn: influxdb.3 (12514) Point could not be written to database: iobroker
                              2022-02-09 12:01:20.361 - warn: influxdb.3 (12514) Error on writePoint("{"value":82.83,"time":"2022-02-09T11:01:09.079Z","from":"system.host.IoBroker","q":0,"ack":true}): RequestTimedOutError: Request timed out / "Request timed out""
                              2022-02-09 12:01:20.364 - info: influxdb.3 (12514) Add point that had error for system.host.IoBroker.cpu to buffer again, error-count=1
                              2022-02-09 12:01:28.890 - warn: influxdb.3 (12514) Point could not be written to database: iobroker
                              2022-02-09 12:01:28.891 - warn: influxdb.3 (12514) Error on writePoint("{"value":4.04,"time":"2022-02-09T11:01:07.510Z","from":"system.host.IoBroker","q":0,"ack":true}): RequestTimedOutError: Request timed out / "Request timed out""
                              2022-02-09 12:01:28.892 - info: influxdb.3 (12514) Add point that had error for system.host.IoBroker.load to buffer again, error-count=2
                              2022-02-09 12:01:30.369 - warn: influxdb.3 (12514) Point could not be written to database: iobroker
                              2022-02-09 12:01:30.370 - warn: influxdb.3 (12514) Error on writePoint("{"value":82.83,"time":"2022-02-09T11:01:09.079Z","from":"system.host.IoBroker","q":0,"ack":true}): RequestTimedOutError: Request timed out / "Request timed out""
                              2022-02-09 12:01:30.370 - info: influxdb.3 (12514) Add point that had error for system.host.IoBroker.cpu to buffer again, error-count=2
                              2022-02-09 12:01:38.896 - warn: influxdb.3 (12514) Point could not be written to database: iobroker
                              2022-02-09 12:01:38.897 - warn: influxdb.3 (12514) Error on writePoint("{"value":4.04,"time":"2022-02-09T11:01:07.510Z","from":"system.host.IoBroker","q":0,"ack":true}): RequestTimedOutError: Request timed out / "Request timed out""
                              2022-02-09 12:01:38.898 - info: influxdb.3 (12514) Add point that had error for system.host.IoBroker.load to buffer again, error-count=3
                              2022-02-09 12:01:40.380 - warn: influxdb.3 (12514) Point could not be written to database: iobroker
                              2022-02-09 12:01:40.382 - warn: influxdb.3 (12514) Error on writePoint("{"value":82.83,"time":"2022-02-09T11:01:09.079Z","from":"system.host.IoBroker","q":0,"ack":true}): RequestTimedOutError: Request timed out / "Request timed out""
                              2022-02-09 12:01:40.383 - info: influxdb.3 (12514) Add point that had error for system.host.IoBroker.cpu to buffer again, error-count=3
                              

                              jetzt die Frage, liegt das an v2, oder an den beiden geloggten DP's ?

                              apollon77 1 Reply Last reply Reply Quote 0
                              • E
                                eXectiX @ste_glei last edited by

                                @ste_glei alles klar, ich habe es wieder zum laufen bekommen nachdem ich nochmal Node.js neu installiert habe. Muss wohl irgendwas beim Update des js-controllers kaputt gegangen sein. Trotzdem danke

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

                                  @apollon77

                                  js-controller 4.0.5 ist hier sehr dezent am werkeln, weniger Speicherverbrauch, keine Fehlermeldungen.
                                  Sowohl im lxc debian 10, Node 14.19.0, NPM 6.14.16, als auch auf dem Zeroberry Debian 10, Node 14.18.3, NPM 6.14.16, als auch auf mehreren lxc mit debian 11, Node 16 und NPM 8.

                                  Schnurrt!

                                  1 Reply Last reply Reply Quote 1
                                  • Alligator
                                    Alligator last edited by

                                    So ich hab es jetzt nach zig versuchen geschafft den JS-Controller auf 3.3.22 zu downgraden. Jetzt gehen die Updates wieder.

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

                                      Hab einen Master und zwei Slaves problemlos von 3.3.x auf 4.0.4 aktualisiert.
                                      Upgrade von 4.0.4 auf 4.0.5 lief auf Master und einem Slave problemlos durch.
                                      Der zweite meldet mir jetzt:

                                      pi@suissepi:/opt/iobroker $ iob upgrade self
                                      Update js-controller from @4.0.4 to @4.0.5
                                      NPM version: 6.14.16
                                      Installing iobroker.js-controller@4.0.5... (System call)
                                      Could not check npm version: This directory tree does not contain a package.json
                                      Assuming that correct version is installed.
                                      
                                      

                                      EDIT:
                                      Konnte den kleinen Eidgenossen damit wiederbeleben:

                                      sudo -H -u iobroker npm install iobroker.js-controller
                                      
                                      M 1 Reply Last reply Reply Quote 0
                                      • M
                                        MartyBr @bommel_030 last edited by

                                        @apollon77
                                        Eine kurze Frage: Weiter oben berichte ein User, dass seine Redis-Einstellung durch das neue Format jsonl überschrieben wurde.
                                        Ist das Problem nun in der 4.05 behoben?

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

                                          @apollon77
                                          Ich habe einen ganz frischen Buanet-Container gezogen. Backup eingespielt. Gewartet bis alle Adapter installiert wurden. Funktion geprüft. Dann iobroker upgrade self ausgeführt:

                                          3544 verbose stack Error: iobroker.js-controller@4.0.5 install: `node iobroker.js setup first`
                                          3544 verbose stack Exit status 6
                                          3544 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
                                          3544 verbose stack     at EventEmitter.emit (events.js:400:28)
                                          3544 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
                                          3544 verbose stack     at ChildProcess.emit (events.js:400:28)
                                          3544 verbose stack     at maybeClose (internal/child_process.js:1058:16)
                                          3544 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5)
                                          3545 verbose pkgid iobroker.js-controller@4.0.5
                                          3546 verbose cwd /opt/iobroker
                                          3547 verbose Linux 5.10.60-qnap
                                          3548 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.js-controller@4.0.5" "--loglevel" "error" "--unsafe-perm" "--prefix" "/opt/iobroker"
                                          3549 verbose node v14.19.0
                                          3550 verbose npm  v6.14.16
                                          3551 error code ELIFECYCLE
                                          3552 error errno 6
                                          3553 error iobroker.js-controller@4.0.5 install: `node iobroker.js setup first`
                                          3553 error Exit status 6
                                          3554 error Failed at the iobroker.js-controller@4.0.5 install script.
                                          3554 error This is probably not a problem with npm. There is likely additional logging output above.
                                          3555 verbose exit [ 6, true ]
                                          

                                          Danach ist der js-controller nicht mehr funktionsfähig. Dann den letzten 3er wieder installiert, was einwandfrei funktioniert.

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

                                            @apollon77 sagte in js-controller 4.0 jetzt im BETA/LATEST!:
                                            @apollon77 Wenn du mir sagt was du mit NVM meinst, sagt mir leider nichts, und warum findet die alte Version npm 😞

                                            sudo -H -u iobroker npm -v
                                            sudo -u iobroker npm -v

                                            bringt auch ein ergebnis

                                            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

                                            823
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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