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.24 Update (Stable)

    NEWS

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

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    js-controller 4.0.24 Update (Stable)

    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      harvey637 last edited by

      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 apollon77 2 Replies Last reply Reply Quote 0
      • H
        harvey637 @harvey637 last edited by

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

        H 1 Reply Last reply Reply Quote 0
        • H
          harvey637 @harvey637 last edited by

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

          DJMarc75 Feuersturm 2 Replies Last reply Reply Quote 0
          • DJMarc75
            DJMarc75 @harvey637 last edited by

            @harvey637 na dann herzlichen Glückwunsch zur komplett verbogenen Installation 👍

            1 Reply Last reply Reply Quote 0
            • Feuersturm
              Feuersturm @harvey637 last edited by

              @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 Reply Quote 0
              • apollon77
                apollon77 @harvey637 last edited by

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

                1 Reply Last reply Reply Quote 0
                • Feuersturm
                  Feuersturm last edited by

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

                  1 Reply Last reply Reply Quote 1
                  • OstfrieseUnterwegs
                    OstfrieseUnterwegs @Feuersturm last edited by

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

                    Feuersturm 1 Reply Last reply Reply Quote 0
                    • realwax
                      realwax last edited by 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.... 😉

                      FredF Thomas Braun 2 Replies Last reply Reply Quote 0
                      • FredF
                        FredF Most Active Forum Testing @realwax last edited by

                        @realwax ioBroker vorher gestoppt?

                        realwax 1 Reply Last reply Reply Quote 1
                        • Thomas Braun
                          Thomas Braun Most Active @realwax last edited by

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

                          1 Reply Last reply Reply Quote 1
                          • Feuersturm
                            Feuersturm @OstfrieseUnterwegs last edited by Feuersturm

                            @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

                            Feuer-sturm created this issue in ioBroker/ioBroker.admin

                            closed Add easier access to changelog for js-controller udpate #1842

                            1 Reply Last reply Reply Quote 0
                            • realwax
                              realwax @FredF last edited by

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

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

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

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

                                Unmittelbar nach Anmeldung am container ist man root.

                                Und das erste was man tut ist in die Userrolle zu schlüpfen. Am besten gleich als solcher anmelden.

                                realwax 1 Reply Last reply Reply Quote 1
                                • realwax
                                  realwax @Thomas Braun last edited by

                                  @thomas-braun Danke grundsätzlich gecheckt auf allen Installationen. Dachte nur am QNAP Docker geht's nicht. Und bisweilen hatte ich Glück nichts zu zerschießen...

                                  realwax 1 Reply Last reply Reply Quote 0
                                  • realwax
                                    realwax @realwax last edited by

                                    Läuft einwandfrei. Multihost mit redis..

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

                                      js-controller 4.0.24 ist seit heute auch im Stable zu finden

                                      B 1 Reply Last reply Reply Quote 2
                                      • Fabio
                                        Fabio @apollon77 last edited by

                                        @apollon77 gerade installiert, läuft bis jetzt fehlerfrei. Vielen Dank euch.

                                        Grüße
                                        Fabio

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

                                          Jep, bei mir bis jetzt auch ohne Fehler 👍

                                          1 Reply Last reply Reply Quote 1
                                          • B
                                            babl @apollon77 last edited by

                                            @apollon77 auch update gemacht, läuft bisher fehlerfrei.

                                            1 Reply Last reply Reply Quote 1
                                            • First post
                                              Last post

                                            Support us

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

                                            574
                                            Online

                                            31.7k
                                            Users

                                            79.6k
                                            Topics

                                            1.3m
                                            Posts

                                            36
                                            108
                                            13679
                                            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