Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • 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

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. ioBroker Allgemein
  4. js-controller 4.0.24 Update (Stable)

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    23
    1
    1.3k

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

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

js-controller 4.0.24 Update (Stable)

Scheduled Pinned Locked Moved ioBroker Allgemein
108 Posts 36 Posters 20.6k Views 34 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • BananaJoeB BananaJoe

    Einen "Fehler" habe ich noch, ich meine das diese Meldung erst seit dem Update des JS-Controllers auf 4.0.24 kommt.
    Wenn ich den Admin-Adapter neu starte kommt immer einmal:

    2022-12-18 14:17:56.974  - warn: admin.2 (1314328) Cannot check node.js versions: Error: unexpected end of file
    

    Wobei er mir unter Info die richtige Version anzeigt:
    419c1d41-13b3-41e2-a334-82ad51718daf-image.png

    Ubuntu selbst bietet mir das Update auf v16.19.0 noch nicht an, das war in der Vergangenheit aber auch schon mal so.

    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    wrote on last edited by
    #24

    @bananajoe sagte in js-controller 4.0.24 Update (Beta):

    Ubuntu selbst bietet mir das Update auf v16.19.0 noch nicht an

    Ganz genau genommen wird dir ein nodejs auch nicht von Ubuntu sondern via nodesource angeboten. Wenn die es denn mal gebaut bekommen und es in ihr Repo packen.

    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

    BananaJoeB 1 Reply Last reply
    0
    • Thomas BraunT Thomas Braun

      @bananajoe sagte in js-controller 4.0.24 Update (Beta):

      Ubuntu selbst bietet mir das Update auf v16.19.0 noch nicht an

      Ganz genau genommen wird dir ein nodejs auch nicht von Ubuntu sondern via nodesource angeboten. Wenn die es denn mal gebaut bekommen und es in ihr Repo packen.

      BananaJoeB Offline
      BananaJoeB Offline
      BananaJoe
      Most Active
      wrote on last edited by
      #25

      @thomas-braun sagte in js-controller 4.0.24 Update (Beta):

      @bananajoe sagte in js-controller 4.0.24 Update (Beta):

      Ubuntu selbst bietet mir das Update auf v16.19.0 noch nicht an

      Ganz genau genommen wird dir ein nodejs auch nicht von Ubuntu sondern via nodesource angeboten. Wenn die es denn mal gebaut bekommen und es in ihr Repo packen.

      Schlecht formuliert, mit Ubuntu meinte ich das das Betriebssystem mir das Update noch nicht anbietet, du hast natürlich recht das die Info dafür aus dem eingebundenen Node-Repo kommt.

      Eine Idee welche Datei er das überprüfen will welche dann unerwartet zu Ende ist?

      ioBroker@Ubuntu 24.04 LTS (VMware) für: >260 Geräte, 5 Switche, 7 AP, 9 IP-Cam, 1 NAS 42TB, 1 ESXi 15TB, 4 Proxmox 1TB, 1 Hyper-V 48TB, 14 x Echo, 5x FireTV, 5 x Tablett/Handy VIS || >=160 Tasmota/Shelly || >=95 ZigBee || PV 8.1kW / Akku 14kWh || 2x USV 750W kaskadiert || Creality CR-10 SE 3D-Drucker

      Thomas BraunT 1 Reply Last reply
      0
      • BananaJoeB BananaJoe

        @thomas-braun sagte in js-controller 4.0.24 Update (Beta):

        @bananajoe sagte in js-controller 4.0.24 Update (Beta):

        Ubuntu selbst bietet mir das Update auf v16.19.0 noch nicht an

        Ganz genau genommen wird dir ein nodejs auch nicht von Ubuntu sondern via nodesource angeboten. Wenn die es denn mal gebaut bekommen und es in ihr Repo packen.

        Schlecht formuliert, mit Ubuntu meinte ich das das Betriebssystem mir das Update noch nicht anbietet, du hast natürlich recht das die Info dafür aus dem eingebundenen Node-Repo kommt.

        Eine Idee welche Datei er das überprüfen will welche dann unerwartet zu Ende ist?

        Thomas BraunT Online
        Thomas BraunT Online
        Thomas Braun
        Most Active
        wrote on last edited by Thomas Braun
        #26

        @bananajoe sagte in js-controller 4.0.24 Update (Beta):

        Eine Idee welche Datei er das überprüfen will welche dann unerwartet zu Ende ist?

        Nein, müsste man mal im Code schauen gegen welche Datei da die Abfrage läuft.
        Ist aber auch glaube ich eher ein Thema für den Admin-Adapter.

        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

        1 Reply Last reply
        0
        • BananaJoeB BananaJoe

          Einen "Fehler" habe ich noch, ich meine das diese Meldung erst seit dem Update des JS-Controllers auf 4.0.24 kommt.
          Wenn ich den Admin-Adapter neu starte kommt immer einmal:

          2022-12-18 14:17:56.974  - warn: admin.2 (1314328) Cannot check node.js versions: Error: unexpected end of file
          

          Wobei er mir unter Info die richtige Version anzeigt:
          419c1d41-13b3-41e2-a334-82ad51718daf-image.png

          Ubuntu selbst bietet mir das Update auf v16.19.0 noch nicht an, das war in der Vergangenheit aber auch schon mal so.

          apollon77A Offline
          apollon77A Offline
          apollon77
          wrote on last edited by
          #27

          @bananajoe Also das hat eher nichts mit dem Update zu tun. Bitte eigenen Thread und mal die Ausgabe von "iob diag" posten

          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
          1 Reply Last reply
          0
          • OstfrieseUnterwegsO Offline
            OstfrieseUnterwegsO Offline
            OstfrieseUnterwegs
            wrote on last edited by
            #28

            iob diag ist ein neuer Befehl, sollte das nicht irgendwo im changelog, readme oder sonstwo erwähnt werden?

            Es wäre hilfreich, wenn beim klick auf den update button im UI nicht nur sinngemäß der Text: Guck doch in das changelog.md stehen würde, sondern das auch ein aktiver Link wäre. Soweit ich das sehe, kann man aus dem Admin UI an keiner Stelle das GIT repo für js-controller anspringen, ich zumindest muss dann immer meine Lesezeichen aus dem Browser bemühen.

            apollon77A FeuersturmF 2 Replies Last reply
            0
            • OstfrieseUnterwegsO OstfrieseUnterwegs

              iob diag ist ein neuer Befehl, sollte das nicht irgendwo im changelog, readme oder sonstwo erwähnt werden?

              Es wäre hilfreich, wenn beim klick auf den update button im UI nicht nur sinngemäß der Text: Guck doch in das changelog.md stehen würde, sondern das auch ein aktiver Link wäre. Soweit ich das sehe, kann man aus dem Admin UI an keiner Stelle das GIT repo für js-controller anspringen, ich zumindest muss dann immer meine Lesezeichen aus dem Browser bemühen.

              apollon77A Offline
              apollon77A Offline
              apollon77
              wrote on last edited by
              #29

              @ostfrieseunterwegs "iob diag" gehört nicht zum controller, von daher andere Baustelle ... und der ist am Ende irrelevant es sei denn es gibt "diagnosefragen" :-)

              js.controller ist unter "Hosts" om Admin und da gibts auch nen Link zum Changelog

              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
              1 Reply Last reply
              1
              • OstfrieseUnterwegsO OstfrieseUnterwegs

                iob diag ist ein neuer Befehl, sollte das nicht irgendwo im changelog, readme oder sonstwo erwähnt werden?

                Es wäre hilfreich, wenn beim klick auf den update button im UI nicht nur sinngemäß der Text: Guck doch in das changelog.md stehen würde, sondern das auch ein aktiver Link wäre. Soweit ich das sehe, kann man aus dem Admin UI an keiner Stelle das GIT repo für js-controller anspringen, ich zumindest muss dann immer meine Lesezeichen aus dem Browser bemühen.

                FeuersturmF Online
                FeuersturmF Online
                Feuersturm
                wrote on last edited by
                #30

                @ostfrieseunterwegs sagte in js-controller 4.0.24 Update (Beta):

                Soweit ich das sehe, kann man aus dem Admin UI an keiner Stelle das GIT repo für js-controller anspringen, ich zumindest muss dann immer meine Lesezeichen aus dem Browser bemühen.

                Mit drei Klicks kommst du zum Changelog:
                d4262c28-f69e-48b2-a7cf-e2bf2fc4d96e-grafik.png
                und
                d9397671-d662-4b06-a09a-bf88c3fd58d0-grafik.png
                und dann
                04021571-53d1-4764-948e-4f24dfb73c5c-grafik.png

                OstfrieseUnterwegsO 1 Reply Last reply
                1
                • H Offline
                  H Offline
                  harvey637
                  wrote on last edited by
                  #31

                  Hmmmm,

                  bei mir mit Problemen:

                  Checking for uncompressed JSONL databases... This might take a while!
                  
                  npx: Installierte 12 in 6.213s
                  No path given, using /opt/iobroker/iobroker-data
                  Compressing /opt/iobroker/iobroker-data/states.jsonl
                  Compressing /opt/iobroker/iobroker-data/objects.jsonl
                  Compressed 2 JSONL files. Done
                  
                  ==========================================================================
                      Checking autostart (4/4)
                  ==========================================================================
                  
                  Enabling autostart...
                  Autostart enabled!
                  
                  ==========================================================================
                  
                      Your installation was fixed successfully
                      Run iobroker start to start ioBroker again!
                  
                  ==========================================================================
                  
                  pi@raspberrypi:/opt/iobroker $ iobroker upgrade self
                  Update js-controller from @4.0.23 to @4.0.24
                  Stopped Objects DB
                  Stopped States DB
                  NPM version: 6.14.17
                  Installing iobroker.js-controller@4.0.24... (System call)
                  host.raspberrypi Cannot install iobroker.js-controller@4.0.24: 236
                  
                  

                  Hmmm ?!?
                  Irgend eine Idee?
                  habe:
                  rebootet
                  nach nach laufenden iobroker Prozessen gesehen (keine)
                  iobroker update, fix und dann upgrade self gemacht, mehrfach erfolglos :-(

                  pi@raspberrypi:/opt/iobroker $ nodejs -v
                  v14.21.1
                  pi@raspberrypi:/opt/iobroker $ npm -v
                  6.14.17
                  
                  
                  H apollon77A 2 Replies Last reply
                  0
                  • H harvey637

                    Hmmmm,

                    bei mir mit Problemen:

                    Checking for uncompressed JSONL databases... This might take a while!
                    
                    npx: Installierte 12 in 6.213s
                    No path given, using /opt/iobroker/iobroker-data
                    Compressing /opt/iobroker/iobroker-data/states.jsonl
                    Compressing /opt/iobroker/iobroker-data/objects.jsonl
                    Compressed 2 JSONL files. Done
                    
                    ==========================================================================
                        Checking autostart (4/4)
                    ==========================================================================
                    
                    Enabling autostart...
                    Autostart enabled!
                    
                    ==========================================================================
                    
                        Your installation was fixed successfully
                        Run iobroker start to start ioBroker again!
                    
                    ==========================================================================
                    
                    pi@raspberrypi:/opt/iobroker $ iobroker upgrade self
                    Update js-controller from @4.0.23 to @4.0.24
                    Stopped Objects DB
                    Stopped States DB
                    NPM version: 6.14.17
                    Installing iobroker.js-controller@4.0.24... (System call)
                    host.raspberrypi Cannot install iobroker.js-controller@4.0.24: 236
                    
                    

                    Hmmm ?!?
                    Irgend eine Idee?
                    habe:
                    rebootet
                    nach nach laufenden iobroker Prozessen gesehen (keine)
                    iobroker update, fix und dann upgrade self gemacht, mehrfach erfolglos :-(

                    pi@raspberrypi:/opt/iobroker $ nodejs -v
                    v14.21.1
                    pi@raspberrypi:/opt/iobroker $ npm -v
                    6.14.17
                    
                    
                    H Offline
                    H Offline
                    harvey637
                    wrote on last edited by
                    #32

                    natürlich auch mit "iobroker stop", also komplett wie in Thread beschrieben.

                    H 1 Reply Last reply
                    0
                    • H harvey637

                      natürlich auch mit "iobroker stop", also komplett wie in Thread beschrieben.

                      H Offline
                      H Offline
                      harvey637
                      wrote on last edited by
                      #33

                      @harvey637
                      erfolgreich gelöst mit update von NPM auf Version 9.2.0 - also jetzt alles ok!
                      Thx
                      Harvey

                      DJMarc75D FeuersturmF 2 Replies Last reply
                      0
                      • H harvey637

                        @harvey637
                        erfolgreich gelöst mit update von NPM auf Version 9.2.0 - also jetzt alles ok!
                        Thx
                        Harvey

                        DJMarc75D Offline
                        DJMarc75D Offline
                        DJMarc75
                        wrote on last edited by
                        #34

                        @harvey637 na dann herzlichen Glückwunsch zur komplett verbogenen Installation :+1:

                        Lehrling seit 1975 !!!
                        Beitrag geholfen ? dann gerne ein upvote rechts unten im Beitrag klicken ;)
                        https://forum.iobroker.net/topic/51555/hinweise-f%C3%BCr-gute-forenbeitr%C3%A4ge

                        1 Reply Last reply
                        0
                        • H harvey637

                          @harvey637
                          erfolgreich gelöst mit update von NPM auf Version 9.2.0 - also jetzt alles ok!
                          Thx
                          Harvey

                          FeuersturmF Online
                          FeuersturmF Online
                          Feuersturm
                          wrote on last edited by
                          #35

                          @harvey637 Schau mal in die Signatur von @Thomas-Braun wie du dein nodejs / npm wieder auf nodejs 16.x und npm 8.x gerade gezogen bekommst.

                          1 Reply Last reply
                          0
                          • H harvey637

                            Hmmmm,

                            bei mir mit Problemen:

                            Checking for uncompressed JSONL databases... This might take a while!
                            
                            npx: Installierte 12 in 6.213s
                            No path given, using /opt/iobroker/iobroker-data
                            Compressing /opt/iobroker/iobroker-data/states.jsonl
                            Compressing /opt/iobroker/iobroker-data/objects.jsonl
                            Compressed 2 JSONL files. Done
                            
                            ==========================================================================
                                Checking autostart (4/4)
                            ==========================================================================
                            
                            Enabling autostart...
                            Autostart enabled!
                            
                            ==========================================================================
                            
                                Your installation was fixed successfully
                                Run iobroker start to start ioBroker again!
                            
                            ==========================================================================
                            
                            pi@raspberrypi:/opt/iobroker $ iobroker upgrade self
                            Update js-controller from @4.0.23 to @4.0.24
                            Stopped Objects DB
                            Stopped States DB
                            NPM version: 6.14.17
                            Installing iobroker.js-controller@4.0.24... (System call)
                            host.raspberrypi Cannot install iobroker.js-controller@4.0.24: 236
                            
                            

                            Hmmm ?!?
                            Irgend eine Idee?
                            habe:
                            rebootet
                            nach nach laufenden iobroker Prozessen gesehen (keine)
                            iobroker update, fix und dann upgrade self gemacht, mehrfach erfolglos :-(

                            pi@raspberrypi:/opt/iobroker $ nodejs -v
                            v14.21.1
                            pi@raspberrypi:/opt/iobroker $ npm -v
                            6.14.17
                            
                            
                            apollon77A Offline
                            apollon77A Offline
                            apollon77
                            wrote on last edited by
                            #36

                            @harvey637 „iob upgrade self --debug“ hätte die genaue Fehlermeldung ausgegeben

                            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
                            1 Reply Last reply
                            0
                            • FeuersturmF Online
                              FeuersturmF Online
                              Feuersturm
                              wrote on last edited by
                              #37

                              @apollon77 Master Slave System erfolgreich auf 4.0.24 aktualisiert und keine Probleme ersichtlich.

                              1 Reply Last reply
                              1
                              • FeuersturmF Feuersturm

                                @ostfrieseunterwegs sagte in js-controller 4.0.24 Update (Beta):

                                Soweit ich das sehe, kann man aus dem Admin UI an keiner Stelle das GIT repo für js-controller anspringen, ich zumindest muss dann immer meine Lesezeichen aus dem Browser bemühen.

                                Mit drei Klicks kommst du zum Changelog:
                                d4262c28-f69e-48b2-a7cf-e2bf2fc4d96e-grafik.png
                                und
                                d9397671-d662-4b06-a09a-bf88c3fd58d0-grafik.png
                                und dann
                                04021571-53d1-4764-948e-4f24dfb73c5c-grafik.png

                                OstfrieseUnterwegsO Offline
                                OstfrieseUnterwegsO Offline
                                OstfrieseUnterwegs
                                wrote on last edited by
                                #38

                                @feuersturm @apollon77 ... Danke, danke. Da klicke ich nie mehr hin, weil ich die Anweisungen nicht mehr brauche. Ich finde es dennoch etwas unglücklich versteckt.

                                FeuersturmF 1 Reply Last reply
                                0
                                • realwaxR Offline
                                  realwaxR Offline
                                  realwax
                                  wrote on last edited by realwax
                                  #39

                                  Könnt Ihr mir helfen / einen Tipp geben?
                                  Bin auf einem buatnet docker container auf meinen QNAP Container Station. Ich mache die node updates entsprechend Anleitung im Container und eben auch die js-controller updates. Bisweilen alles ohne Probleme. Das update bekomme ich nicht hin. Spannend ist - der user hat Zugriff auf die Verzeichnisse. Zur Sicherheit habe ich 777 drauf gelegt - kein Unterschied. DANKE!

                                  root@iobrokerQNAP:/opt/iobroker# iob upgrade self --debug
                                  Update js-controller from @4.0.23 to @4.0.24
                                  Stopped Objects DB
                                  Stopped States DB
                                  NPM version: 8.19.2
                                  Installing iobroker.js-controller@4.0.24... (System call)
                                  npm ERR! code 128
                                  npm ERR! An unknown git error occurred
                                  npm ERR! command git --no-replace-objects clone https://git@github.com/iobroker-community-adapters/kodi-ws.git /root/.npm/_cacache/tmp/git-cloneBnDmuc --recurse-submodules --depth=1
                                  npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-cloneBnDmuc': Permission denied
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /root/.npm/_logs/2022-12-19T14_46_28_684Z-debug-0.log
                                  host.iobrokerQNAP Cannot install iobroker.js-controller@4.0.24: 128
                                  
                                  root@iobrokerQNAP:/opt/iobroker# node -v
                                  v16.18.1
                                  root@iobrokerQNAP:/opt/iobroker# npm -v
                                  8.19.2
                                  root@iobrokerQNAP:/opt/iobroker# 
                                  
                                  which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                                  /usr/bin/node
                                  /usr/bin/npm
                                  
                                  04 timing command:install Completed in 15606ms
                                  505 verbose stack Error: An unknown git error occurred
                                  505 verbose stack     at makeError (/usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js:28:13)
                                  505 verbose stack     at /usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js:37:26
                                  505 verbose stack     at processTicksAndRejections (node:internal/process/task_queues:96:5)
                                  505 verbose stack     at async /usr/lib/node_modules/npm/node_modules/pacote/lib/git.js:262:19
                                  505 verbose stack     at async Object.withTempDir (/usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/with-temp-dir.js:23:14)
                                  505 verbose stack     at async Arborist.[nodeFromEdge] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1061:19)
                                  505 verbose stack     at async Arborist.[buildDepStep] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:930:11)
                                  505 verbose stack     at async Arborist.buildIdealTree (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:211:7)
                                  505 verbose stack     at async Promise.all (index 1)
                                  505 verbose stack     at async Arborist.reify (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:153:5)
                                  506 verbose cwd /opt/iobroker
                                  507 verbose Linux 5.10.60-qnap
                                  508 verbose node v16.18.1
                                  509 verbose npm  v8.19.2
                                  510 error code 128
                                  511 error An unknown git error occurred
                                  512 error command git --no-replace-objects clone https://git@github.com/iobroker-community-adapters/kodi-ws.git /root/.npm/_cacache/tmp/git-cloneUubCKS --recurse-submodules --depth=1
                                  513 error fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-cloneUubCKS': Permission denied
                                  514 verbose exit 128
                                  515 timing npm Completed in 15988ms
                                  516 verbose unfinished npm timer reify 1671460779892
                                  517 verbose unfinished npm timer reify:loadTrees 1671460779904
                                  518 verbose code 128
                                  519 error A complete log of this run can be found in:
                                  

                                  Der root user kommt vom buatnet container.... ;)

                                  FredFF Thomas BraunT 2 Replies Last reply
                                  0
                                  • realwaxR realwax

                                    Könnt Ihr mir helfen / einen Tipp geben?
                                    Bin auf einem buatnet docker container auf meinen QNAP Container Station. Ich mache die node updates entsprechend Anleitung im Container und eben auch die js-controller updates. Bisweilen alles ohne Probleme. Das update bekomme ich nicht hin. Spannend ist - der user hat Zugriff auf die Verzeichnisse. Zur Sicherheit habe ich 777 drauf gelegt - kein Unterschied. DANKE!

                                    root@iobrokerQNAP:/opt/iobroker# iob upgrade self --debug
                                    Update js-controller from @4.0.23 to @4.0.24
                                    Stopped Objects DB
                                    Stopped States DB
                                    NPM version: 8.19.2
                                    Installing iobroker.js-controller@4.0.24... (System call)
                                    npm ERR! code 128
                                    npm ERR! An unknown git error occurred
                                    npm ERR! command git --no-replace-objects clone https://git@github.com/iobroker-community-adapters/kodi-ws.git /root/.npm/_cacache/tmp/git-cloneBnDmuc --recurse-submodules --depth=1
                                    npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-cloneBnDmuc': Permission denied
                                    
                                    npm ERR! A complete log of this run can be found in:
                                    npm ERR!     /root/.npm/_logs/2022-12-19T14_46_28_684Z-debug-0.log
                                    host.iobrokerQNAP Cannot install iobroker.js-controller@4.0.24: 128
                                    
                                    root@iobrokerQNAP:/opt/iobroker# node -v
                                    v16.18.1
                                    root@iobrokerQNAP:/opt/iobroker# npm -v
                                    8.19.2
                                    root@iobrokerQNAP:/opt/iobroker# 
                                    
                                    which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                                    /usr/bin/node
                                    /usr/bin/npm
                                    
                                    04 timing command:install Completed in 15606ms
                                    505 verbose stack Error: An unknown git error occurred
                                    505 verbose stack     at makeError (/usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js:28:13)
                                    505 verbose stack     at /usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js:37:26
                                    505 verbose stack     at processTicksAndRejections (node:internal/process/task_queues:96:5)
                                    505 verbose stack     at async /usr/lib/node_modules/npm/node_modules/pacote/lib/git.js:262:19
                                    505 verbose stack     at async Object.withTempDir (/usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/with-temp-dir.js:23:14)
                                    505 verbose stack     at async Arborist.[nodeFromEdge] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1061:19)
                                    505 verbose stack     at async Arborist.[buildDepStep] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:930:11)
                                    505 verbose stack     at async Arborist.buildIdealTree (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:211:7)
                                    505 verbose stack     at async Promise.all (index 1)
                                    505 verbose stack     at async Arborist.reify (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:153:5)
                                    506 verbose cwd /opt/iobroker
                                    507 verbose Linux 5.10.60-qnap
                                    508 verbose node v16.18.1
                                    509 verbose npm  v8.19.2
                                    510 error code 128
                                    511 error An unknown git error occurred
                                    512 error command git --no-replace-objects clone https://git@github.com/iobroker-community-adapters/kodi-ws.git /root/.npm/_cacache/tmp/git-cloneUubCKS --recurse-submodules --depth=1
                                    513 error fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-cloneUubCKS': Permission denied
                                    514 verbose exit 128
                                    515 timing npm Completed in 15988ms
                                    516 verbose unfinished npm timer reify 1671460779892
                                    517 verbose unfinished npm timer reify:loadTrees 1671460779904
                                    518 verbose code 128
                                    519 error A complete log of this run can be found in:
                                    

                                    Der root user kommt vom buatnet container.... ;)

                                    FredFF Online
                                    FredFF Online
                                    FredF
                                    Most Active Forum Testing
                                    wrote on last edited by
                                    #40

                                    @realwax ioBroker vorher gestoppt?

                                    realwaxR 1 Reply Last reply
                                    1
                                    • realwaxR realwax

                                      Könnt Ihr mir helfen / einen Tipp geben?
                                      Bin auf einem buatnet docker container auf meinen QNAP Container Station. Ich mache die node updates entsprechend Anleitung im Container und eben auch die js-controller updates. Bisweilen alles ohne Probleme. Das update bekomme ich nicht hin. Spannend ist - der user hat Zugriff auf die Verzeichnisse. Zur Sicherheit habe ich 777 drauf gelegt - kein Unterschied. DANKE!

                                      root@iobrokerQNAP:/opt/iobroker# iob upgrade self --debug
                                      Update js-controller from @4.0.23 to @4.0.24
                                      Stopped Objects DB
                                      Stopped States DB
                                      NPM version: 8.19.2
                                      Installing iobroker.js-controller@4.0.24... (System call)
                                      npm ERR! code 128
                                      npm ERR! An unknown git error occurred
                                      npm ERR! command git --no-replace-objects clone https://git@github.com/iobroker-community-adapters/kodi-ws.git /root/.npm/_cacache/tmp/git-cloneBnDmuc --recurse-submodules --depth=1
                                      npm ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-cloneBnDmuc': Permission denied
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /root/.npm/_logs/2022-12-19T14_46_28_684Z-debug-0.log
                                      host.iobrokerQNAP Cannot install iobroker.js-controller@4.0.24: 128
                                      
                                      root@iobrokerQNAP:/opt/iobroker# node -v
                                      v16.18.1
                                      root@iobrokerQNAP:/opt/iobroker# npm -v
                                      8.19.2
                                      root@iobrokerQNAP:/opt/iobroker# 
                                      
                                      which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                                      /usr/bin/node
                                      /usr/bin/npm
                                      
                                      04 timing command:install Completed in 15606ms
                                      505 verbose stack Error: An unknown git error occurred
                                      505 verbose stack     at makeError (/usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/make-error.js:28:13)
                                      505 verbose stack     at /usr/lib/node_modules/npm/node_modules/@npmcli/git/lib/spawn.js:37:26
                                      505 verbose stack     at processTicksAndRejections (node:internal/process/task_queues:96:5)
                                      505 verbose stack     at async /usr/lib/node_modules/npm/node_modules/pacote/lib/git.js:262:19
                                      505 verbose stack     at async Object.withTempDir (/usr/lib/node_modules/npm/node_modules/@npmcli/fs/lib/with-temp-dir.js:23:14)
                                      505 verbose stack     at async Arborist.[nodeFromEdge] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1061:19)
                                      505 verbose stack     at async Arborist.[buildDepStep] (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:930:11)
                                      505 verbose stack     at async Arborist.buildIdealTree (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:211:7)
                                      505 verbose stack     at async Promise.all (index 1)
                                      505 verbose stack     at async Arborist.reify (/usr/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:153:5)
                                      506 verbose cwd /opt/iobroker
                                      507 verbose Linux 5.10.60-qnap
                                      508 verbose node v16.18.1
                                      509 verbose npm  v8.19.2
                                      510 error code 128
                                      511 error An unknown git error occurred
                                      512 error command git --no-replace-objects clone https://git@github.com/iobroker-community-adapters/kodi-ws.git /root/.npm/_cacache/tmp/git-cloneUubCKS --recurse-submodules --depth=1
                                      513 error fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-cloneUubCKS': Permission denied
                                      514 verbose exit 128
                                      515 timing npm Completed in 15988ms
                                      516 verbose unfinished npm timer reify 1671460779892
                                      517 verbose unfinished npm timer reify:loadTrees 1671460779904
                                      518 verbose code 128
                                      519 error A complete log of this run can be found in:
                                      

                                      Der root user kommt vom buatnet container.... ;)

                                      Thomas BraunT Online
                                      Thomas BraunT Online
                                      Thomas Braun
                                      Most Active
                                      wrote on last edited by
                                      #41

                                      @realwax sagte in js-controller 4.0.24 Update (Beta):

                                      ERR! fatal: could not create leading directories of '/root/.npm/_cacache/tmp/git-cloneBnDmuc': Permission denied

                                      Der verwendete User darf dem root nicht in dessen Home schreiben.
                                      Mit Standarduser in der Gruppe 'iobroker' hantieren.

                                      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

                                      1 Reply Last reply
                                      1
                                      • OstfrieseUnterwegsO OstfrieseUnterwegs

                                        @feuersturm @apollon77 ... Danke, danke. Da klicke ich nie mehr hin, weil ich die Anweisungen nicht mehr brauche. Ich finde es dennoch etwas unglücklich versteckt.

                                        FeuersturmF Online
                                        FeuersturmF Online
                                        Feuersturm
                                        wrote on last edited by Feuersturm
                                        #42

                                        @ostfrieseunterwegs sagte in js-controller 4.0.24 Update (Beta):

                                        @feuersturm @apollon77 ... Danke, danke. Da klicke ich nie mehr hin, weil ich die Anweisungen nicht mehr brauche. Ich finde es dennoch etwas unglücklich versteckt.

                                        @apollon77 könnte man hier einen statischen link setzen, welcher zum changelog führt oder wechselt die Ansicht, dass mal Themen für den js Controller aufgeführt werden und mal nur auf das changelog verwiesen wird?

                                        Edit: Admin issue angelegt: https://github.com/ioBroker/ioBroker.admin/issues/1842

                                        1 Reply Last reply
                                        0
                                        • FredFF FredF

                                          @realwax ioBroker vorher gestoppt?

                                          realwaxR Offline
                                          realwaxR Offline
                                          realwax
                                          wrote on last edited by
                                          #43

                                          @fredf Ja gestoppt. In dem Fall im container mit pkill, da iobroker stop nicht funktioniert. (Ist eine buatnet Anleitung info)

                                          @Thomas-Braun

                                          Danke für die Info. Unmittelbar nach Anmeldung am container ist man root. Ich dachte der iobroker user zieht nicht im Container. Aber der iobroker wird dennoch unter seinem user (iobroker) ausgeführt. Vor dem letzten Update klappte das js-controller update unter root. Aber ich arbeite jetzt unter dem iobroker user (su iobroker) und alles ist gut. Auf den pi's ist das standard, aber dachte eben im Container geht's nicht. Nachsehen hilft :P

                                          Danke Thomas für Deinen unermüdlichen Support hier und die Hilfestellung!

                                          Thomas BraunT 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

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

                                          753

                                          Online

                                          32.5k

                                          Users

                                          81.7k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe