Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. js-controller lässts sich nicht updaten

    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 lässts sich nicht updaten

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

      Hallo ,

      leider finde ich keinen passenden Eintrag hier im Forum der mir hilft, daher versuche ich es auf diesem Wege.

      Mein Iobroker ist auf dem folgenden Stand:
      Node.js: v18.17..0
      npm: v9.6.7
      js-controller: 4.0.23

      Nun erhalte ich den Hinweis unter Info, dass ich den js-controller auf 4.0.24 updaten soll.

      Nach langem suchen gehe ich im Moment davon aus ,dass sich das js-controller auf 4.0.24 nicht installieren lässt, da
      es nicht kompatibel ist,korrekt?

      Wie bekomme ich denn eine kompatible Version installiert? Müsste ja eine 5er sein oder?

      Ich habe noch 8 Adapter zu aktualisieren, was aber erst funktionieren wird , wenn ich das Problem mit dem js-controller
      gelöst bekommen habe ,richtig? Die Updates enden immer mit " Process exited with code 0"

      Wenn ich irgendwelche Logs hochladen soll, bitte kurz schreiben was ich dafür in Putty eingeben muss , dann muss ich auch nochmal schauen wie ich das hier richtig hochgeladen bekomme.

      Ich habe wirklich lange gegoogelt und im Forum gesucht aber ich bekomme es nicht hin...
      js-controller 5.0 jetzt in BETA LESEN!! mit dem Link kam ich auch nicht weiter.
      Besten Dank vorab

      bahnuhr Homoran 3 Replies Last reply Reply Quote 0
      • bahnuhr
        bahnuhr Forum Testing Most Active @subman82 last edited by bahnuhr

        @subman82 sagte in js-controller lässts sich nicht updaten:

        Die Updates enden immer mit " Process exited with code 0"

        wenn da 0 steht, dann hat alles geklappt.
        update war erfolgreich.

        Und 4.0.24 ist die aktuelle Version.
        Beta brauchst du nicht !!!

        Fazit:
        alles richtig

        S 1 Reply Last reply Reply Quote 0
        • bahnuhr
          bahnuhr Forum Testing Most Active @subman82 last edited by

          @subman82 sagte in js-controller lässts sich nicht updaten:

          Ich habe noch 8 Adapter zu aktualisieren, was aber erst funktionieren wird , wenn ich das Problem mit dem js-controller
          gelöst bekommen habe ,richtig?

          stell auf stable und schau dann welche Adapter angeboten werden.

          Beta nur dann, wenn du bewusst etwas als beta benutzen willst.

          Aber als newbie eher nicht angesagt.

          S 1 Reply Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @subman82 last edited by

            @subman82 sagte in js-controller lässts sich nicht updaten:

            dass sich das js-controller auf 4.0.24 nicht installieren lässt, da
            es nicht kompatibel ist,

            zu was soll der Controller 4.0.24 nicht kompatibel sein?

            S 1 Reply Last reply Reply Quote 0
            • S
              subman82 @bahnuhr last edited by

              @bahnuhr said in js-controller lässts sich nicht updaten:

              4.0.24

              Hallo,

              ich bekomme die Version 4.0.24 aber nicht installiert, ich habe noch die Version 4.0.23 drauf.
              Updates klappen nicht.

              Homoran bahnuhr 2 Replies Last reply Reply Quote 0
              • S
                subman82 @bahnuhr last edited by

                @bahnuhr

                Finde keine Einstellmöglichkeit das auf stable umzustellen.

                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators @subman82 last edited by

                  @subman82 sagte in js-controller lässts sich nicht updaten:

                  Updates klappen nicht.

                  ...ist keine Fehlerbeschreibung!

                  S 1 Reply Last reply Reply Quote 0
                  • bahnuhr
                    bahnuhr Forum Testing Most Active @subman82 last edited by

                    @subman82 sagte in js-controller lässts sich nicht updaten:

                    @bahnuhr said in js-controller lässts sich nicht updaten:

                    4.0.24

                    Hallo,

                    ich bekomme die Version 4.0.24 aber nicht installiert, ich habe noch die Version 4.0.23 drauf.
                    Updates klappen nicht.

                    versteh ich nicht, oben steht: ... endet mit 0

                    Also haben die updates doch geklappt.

                    Bitte genaue Beschreibung !

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      subman82 @bahnuhr last edited by

                      @bahnuhr

                      Nachdem ich das Update durchgeführt habe , befindet sich der Adapter noch in der Liste der Adapter die ein Update benötigen. Die Adapterversion hat sich nach dem updaten auch nicht geändert, sie ist gleich geblieben wie vor dem updaten.
                      Ich bekomme leider einen Screenshot hochgeladen

                      bahnuhr Homoran DJMarc75 3 Replies Last reply Reply Quote 0
                      • bahnuhr
                        bahnuhr Forum Testing Most Active @subman82 last edited by

                        @subman82 sagte in js-controller lässts sich nicht updaten:

                        @bahnuhr

                        Nachdem ich das Update durchgeführt habe , befindet sich der Adapter noch in der Liste der Adapter die ein Update benötigen. Die Adapterversion hat sich nach dem updaten auch nicht geändert, sie ist gleich geblieben wie vor dem updaten.
                        Ich bekomme leider einen Screenshot hochgeladen

                        Browsercache löschen
                        und
                        iob neu starten.

                        Dann müsste es passen.

                        1 Reply Last reply Reply Quote 0
                        • Homoran
                          Homoran Global Moderator Administrators @subman82 last edited by

                          @subman82 sagte in js-controller lässts sich nicht updaten:

                          Ich bekomme leider einen Screenshot hochgeladen

                          und auch keinen Code?

                          warum nicht?

                          1 Reply Last reply Reply Quote 0
                          • S
                            subman82 @Homoran last edited by

                            @homoran

                            Ich habe das Update des js-controllers gemäß den Anweisungen des Iobrokers durchgeführt.

                            Anweisungen zum Upgrade des js-controllers

                            iobroker stop iobroker update iobroker fix
                            oder wenn das nicht funktioniert: curl -sL https://iobroker.net/fix.sh | bash -
                            iobroker upgrade self
                            iobroker start oder Server rebooten, danach sollte ioBroker neu starten und man kann sicher sein das alle alten Prozesse beendet waren.

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

                              @subman82

                              iob diag
                              

                              in der Langfassung sagt?

                              S 2 Replies Last reply Reply Quote 0
                              • DJMarc75
                                DJMarc75 @subman82 last edited by

                                @subman82 sagte in js-controller lässts sich nicht updaten:

                                Ich bekomme leider einen Screenshot hochgeladen

                                bitte nur 1 Fenster vom Forum offen haben, sonst kommt eine Fehlermeldung. Sonst RELOAD vom Fenster, dann nochmals auf absenden klicken.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  subman82 @Homoran last edited by

                                  @homoran

                                  zum Node.js: v18.17..0.

                                  Ich meine bei meinen Recherchen gelesen zu haben , das diese Node Version nur mit dem js-controller ab Version 5 kompatibel ist. Vielleicht hab ich das auch nur falsch verstanden, daher war es auch als Frage gestellt.

                                  bahnuhr 1 Reply Last reply Reply Quote 0
                                  • bahnuhr
                                    bahnuhr Forum Testing Most Active @subman82 last edited by

                                    @subman82 sagte in js-controller lässts sich nicht updaten:

                                    Ich meine bei meinen Recherchen gelesen zu haben , das diese Node Version nur mit dem js-controller ab Version 5 kompatibel ist.

                                    Nein, das hast du falsch gelesen.

                                    1 Reply Last reply Reply Quote 0
                                    • Homoran
                                      Homoran Global Moderator Administrators @subman82 last edited by

                                      @subman82 und es gab keinerlei Rückmeldungen?

                                      Da das mit der "Inkompatibilität" ja jetzt geklärt ist, wird da auch wohl keine entsprechende Fehlermeldung gekommen sein, oder?

                                      Bitte immer alles zeigen!
                                      kürzt die Sache massiv ab, wenn nicht jeder einzelne Punkt abgefragt und zehnmal diskutiert werden muss, bevor es eindeutig ist.

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        subman82 last edited by

                                        @thomas-braun said in js-controller lässts sich nicht updaten:

                                        @subman82

                                        iob diag
                                        

                                        in der Langfassung sagt?

                                        muss es teilen, sonst bekomme ich es nicht hochgeladen.

                                        ======== Start marking the full check here =========

                                        Skript v.2023-04-16
                                        
                                        *** BASE SYSTEM ***
                                        Model           : Raspberry Pi 4 Model B Rev 1.1
                                        Architecture    : armv7l
                                        Docker          : false
                                        Virtualization  : none
                                        Distributor ID: Raspbian
                                        Description:    Raspbian GNU/Linux 10 (buster)
                                        Release:        10
                                        Codename:       buster
                                        
                                        PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
                                        NAME="Raspbian GNU/Linux"
                                        VERSION_ID="10"
                                        VERSION="10 (buster)"
                                        VERSION_CODENAME=buster
                                        ID=raspbian
                                        ID_LIKE=debian
                                        HOME_URL="http://www.raspbian.org/"
                                        SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
                                        BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
                                        
                                        Systemuptime and Load:
                                         16:02:27 up 24 min,  1 user,  load average: 0.50, 0.78, 0.87
                                        CPU threads: 4
                                        
                                        Raspberry only:
                                        throttled=0x0
                                        Other values than 0x0 hint to temperature/voltage problems
                                        temp=50.1'C
                                        volt=0.8813V
                                        
                                        *** Time and Time Zones ***
                                                       Local time: Fri 2023-08-04 16:02:27 CEST
                                                   Universal time: Fri 2023-08-04 14:02:27 UTC
                                                         RTC time: n/a
                                                        Time zone: Europe/Berlin (CEST, +0200)
                                        System clock synchronized: yes
                                                      NTP service: active
                                                  RTC in local TZ: no
                                        
                                        *** User and Groups ***
                                        pi
                                        /home/pi
                                        pi adm dialout cdrom sudo audio video plugdev games users input netdev gpio i2c                                                                                                                                                              spi iobroker
                                        
                                        *** X-Server-Setup ***
                                        X-Server:       false
                                        Desktop:
                                        Terminal:       tty
                                        Boot Target:    graphical.target
                                        
                                        *** MEMORY ***
                                                      total        used        free      shared  buff/cache   available
                                        Mem:           3.8G        759M        2.6G        8.0M        522M        2.9G
                                        Swap:           99M          0B         99M
                                        Total:         3.9G        759M        2.7G
                                        
                                                 3838 M total memory
                                                  759 M used memory
                                                  288 M active memory
                                                  897 M inactive memory
                                                 2556 M free memory
                                                   86 M buffer memory
                                                  436 M swap cache
                                                   99 M total swap
                                                    0 M used swap
                                                   99 M free swap
                                        
                                        Raspberry only:
                                        oom events: 0
                                        lifetime oom required: 0 Mbytes
                                        total time in oom handler: 0 ms
                                        max time spent in oom handler: 0 ms
                                        
                                        *** FILESYSTEM ***
                                        Filesystem     Type      Size  Used Avail Use% Mounted on
                                        /dev/root      ext4       29G  5.7G   23G  21% /
                                        devtmpfs       devtmpfs  1.8G     0  1.8G   0% /dev
                                        tmpfs          tmpfs     1.9G     0  1.9G   0% /dev/shm
                                        tmpfs          tmpfs     1.9G  8.5M  1.9G   1% /run
                                        tmpfs          tmpfs     5.0M  4.0K  5.0M   1% /run/lock
                                        tmpfs          tmpfs     1.9G     0  1.9G   0% /sys/fs/cgroup
                                        /dev/mmcblk0p1 vfat      253M   49M  204M  20% /boot
                                        /dev/sda1      exfat     115G  297M  115G   1% /media/usbstick
                                        tmpfs          tmpfs     384M     0  384M   0% /run/user/1000
                                        
                                        Messages concerning ext4 filesystem in dmesg:
                                        [Fri Aug  4 15:38:00 2023] Kernel command line: coherent_pool=1M 8250.nr_uarts=0                                                                                                                                                              snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 video=HDMI-A-1:1920x                                                                                                                                                             1080M@60D smsc95xx.macaddr=DC:A6:32:1D:ED:20 vc_mem.mem_base=0x3ec00000 vc_mem.m                                                                                                                                                             em_size=0x40000000  dwc_otg.lpm_enable=0 console=ttyS0,115200 console=tty1 root=                                                                                                                                                             PARTUUID=a372f35c-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
                                        [Fri Aug  4 15:38:01 2023] EXT4-fs (mmcblk0p2): INFO: recovery required on reado                                                                                                                                                             nly filesystem
                                        [Fri Aug  4 15:38:01 2023] EXT4-fs (mmcblk0p2): write access will be enabled dur                                                                                                                                                             ing recovery
                                        [Fri Aug  4 15:38:05 2023] EXT4-fs (mmcblk0p2): recovery complete
                                        [Fri Aug  4 15:38:05 2023] EXT4-fs (mmcblk0p2): mounted filesystem with ordered                                                                                                                                                              data mode. Opts: (null)
                                        [Fri Aug  4 15:38:05 2023] VFS: Mounted root (ext4 filesystem) readonly on devic                                                                                                                                                             e 179:2.
                                        [Fri Aug  4 15:38:08 2023] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
                                        
                                        Show mounted filesystems (real ones only):
                                        TARGET            SOURCE         FSTYPE OPTIONS
                                        /                 /dev/mmcblk0p2 ext4   rw,noatime
                                        |-/sys/fs/bpf     none           bpf    rw,nosuid,nodev,noexec,relatime,mode=700
                                        |-/boot           /dev/mmcblk0p1 vfat   rw,relatime,fmask=0022,dmask=0022,codepa                                                                                                                                                             ge=437,iocharset=ascii,shortname=mixed,errors=remount-ro
                                        `-/media/usbstick /dev/sda1      exfat  rw,noatime,uid=1001,gid=1001,fmask=0022,                                                                                                                                                             dmask=0022,iocharset=utf8,errors=remount-ro
                                        
                                        Files in neuralgic directories:
                                        
                                        /var:
                                        392M    /var/
                                        191M    /var/cache
                                        185M    /var/cache/apt
                                        126M    /var/cache/apt/archives
                                        95M     /var/lib
                                        
                                        Archived and active journals take up 8.0M in the file system.
                                        
                                        /opt/iobroker/backups:
                                        323M    /opt/iobroker/backups/
                                        4.0K    /opt/iobroker/backups/redistmp
                                        
                                        /opt/iobroker/iobroker-data:
                                        341M    /opt/iobroker/iobroker-data/
                                        158M    /opt/iobroker/iobroker-data/files
                                        112M    /opt/iobroker/iobroker-data/backup-objects
                                        51M     /opt/iobroker/iobroker-data/files/javascript.admin
                                        48M     /opt/iobroker/iobroker-data/files/scenes.admin/static
                                        
                                        The five largest files in iobroker-data are:
                                        48M     /opt/iobroker/iobroker-data/objects.jsonl
                                        8.9M    /opt/iobroker/iobroker-data/files/scenes.admin/static/js/2.7de3299d.chun                                                                                                                                                             k.js.map
                                        8.2M    /opt/iobroker/iobroker-data/files/scenes.admin/static/js/2.979c3ea7.chun                                                                                                                                                             k.js.map
                                        7.7M    /opt/iobroker/iobroker-data/objects.json.migrated
                                        7.7M    /opt/iobroker/iobroker-data/objects.json.bak.migrated
                                        
                                        *** NodeJS-Installation ***
                                        
                                        /usr/bin/nodejs         v18.17.0
                                        /usr/bin/node           v18.17.0
                                        /usr/bin/npm            9.6.7
                                        /usr/bin/npx            9.6.7
                                        
                                        
                                        nodejs:
                                          Installed: 18.17.0-deb-1nodesource1
                                          Candidate: 18.17.0-deb-1nodesource1
                                          Version table:
                                         *** 18.17.0-deb-1nodesource1 500
                                                500 https://deb.nodesource.com/node_18.x buster/main armhf Packages
                                                100 /var/lib/dpkg/status
                                             10.24.0~dfsg-1~deb10u3 500
                                                500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                        
                                        Temp directories causing npm8 problem: 0
                                        No problems detected
                                        
                                        *** ioBroker-Installation ***
                                        
                                        ioBroker Status
                                        iobroker is running on this host.
                                        
                                        
                                        Objects type: jsonl
                                        States  type: jsonl
                                        
                                        MULTIHOSTSERVICE/enabled: false
                                        
                                        Core adapters versions
                                        js-controller:  4.0.23
                                        admin:          6.3.5
                                        javascript:     6.1.4
                                        Homoran DJMarc75 2 Replies Last reply Reply Quote 0
                                        • Homoran
                                          Homoran Global Moderator Administrators @subman82 last edited by

                                          @subman82 sagte in js-controller lässts sich nicht updaten:

                                          buster

                                          ist das der Grund für die inkompatibilität?

                                          Das OS ist vollkommen veraltet. Wir sind da bereits bei v12

                                          S 1 Reply Last reply Reply Quote 0
                                          • DJMarc75
                                            DJMarc75 @subman82 last edited by

                                            @subman82 sagte in js-controller lässts sich nicht updaten:

                                            muss es teilen, sonst bekomme ich es nicht hochgeladen

                                            ach komm - die komplette Ausgabe markieren und hier in Codetags posten... und zieh Dein Fenster von Deiner Konsole mal breiter !

                                            S 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

                                            848
                                            Online

                                            31.8k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            42
                                            1650
                                            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