Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. QNAP NAS Container ioBroker js-controller und node update

    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

    QNAP NAS Container ioBroker js-controller und node update

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

      @glasfaser Habe nun den Code eingegeben:

      root@ioBroker:/opt/iobroker# type -P nodejs && nodejs -v && type -P node && node -v && type -P npm && npm -v && type -P npx && npx -v && apt policy nodejs && ls -lh /opt/iobroker/iobroker-data/&& iob version
      /usr/bin/nodejs
      v10.18.1
      /usr/bin/node
      v10.18.1
      /usr/bin/npm
      6.13.4
      /usr/bin/npx
      6.13.4
      nodejs:
        Installiert:           10.18.1-1nodesource1
        Installationskandidat: 10.18.1-1nodesource1
        Versionstabelle:
       *** 10.18.1-1nodesource1 100
              100 /var/lib/dpkg/status
      insgesamt 15M
      drwxrwxr-x 1 iobroker iobroker  12K Jan 13 18:09 backup-objects
      drwxrwxr-x 1 iobroker iobroker 4,0K Jan 13 16:19 files
      -rw-rwxr-- 1 iobroker iobroker 4,3K Jun  7  2021 iobroker.json
      -rw-r--r-- 1 iobroker iobroker    3 Jan 13 17:57 notifications.json
      -rw-r--r-- 1 iobroker iobroker 6,4M Jan 13 18:15 objects.json
      -rw-r--r-- 1 iobroker iobroker 6,4M Jan 13 18:15 objects.json.bak
      -rw-r--r-- 1 iobroker iobroker 847K Jan 13 18:21 states.json
      -rw-r--r-- 1 iobroker iobroker 847K Jan 13 18:20 states.json.bak
      3.2.16
      root@ioBroker:/opt/iobroker# 
      
      H 1 Reply Last reply Reply Quote 0
      • H
        HolgerCW @HolgerCW last edited by HolgerCW

        Wusste eben nicht ob ich zwischen iob fix und iob diag in dem neuen Fenster bleiben soll bis er neu gestartet ist. Bin mit der Materie komplet nicht vertraut. Kannst Du mit den Daten nun was anfangen ?
        Vielleicht gibt es ja auch eine Möglichkeit das Image komplett neu zu installieren (Vorher backup und so) aber ohne das dann das Smarthome neu eingerichtet werden muss

        Glasfaser 1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @HolgerCW last edited by Glasfaser

          @holgercw sagte in QNAP NAS Container ioBroker js-controller und node update:

          Kannst Du mit den Daten nun was anfangen ?

          Ja ... , erstmal !

          Wie schon auf der Briefmarke zu erkennen , ist dein ioBroker / Container Stein Alt ... also nie gepflegt worden .

          Zeige mal :

          iob list instances
          iob list adapters
          
          H 3 Replies Last reply Reply Quote 0
          • H
            HolgerCW @Glasfaser last edited by Homoran

            @glasfaser

            root@ioBroker:/opt/iobroker# iob list instances
            + system.adapter.admin.0                  : admin                 : ioBroker                                 -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
              system.adapter.ble.0                    : ble                   : ioBroker                                 -  enabled
            + system.adapter.daikin.0                 : daikin                : ioBroker                                 -  enabled
            + system.adapter.daikin.1                 : daikin                : ioBroker                                 -  enabled
            + system.adapter.daikin.2                 : daikin                : ioBroker                                 -  enabled
            + system.adapter.discovery.0              : discovery             : ioBroker                                 -  enabled
            + system.adapter.fullybrowser.0           : fullybrowser          : ioBroker                                 -  enabled
            + system.adapter.hue.0                    : hue                   : ioBroker                                 -  enabled, port: 80
            + system.adapter.info.0                   : info                  : ioBroker                                 -  enabled
            + system.adapter.lgtv11.0                 : lgtv11                : ioBroker                                 -  enabled, port: 8080
            + system.adapter.mihome-vacuum.0          : mihome-vacuum         : ioBroker                                 -  enabled, port: 54321
            + system.adapter.mihome-vacuum.1          : mihome-vacuum         : ioBroker                                 -  enabled, port: 54321
            + system.adapter.ping.0                   : ping                  : ioBroker                                 -  enabled
            + system.adapter.samsung.0                : samsung               : ioBroker                                 -  enabled
            + system.adapter.samsung.1                : samsung               : ioBroker                                 -  enabled
            + system.adapter.shelly.0                 : shelly                : ioBroker                                 -  enabled, port: 1882, bind: 0.0.0.0
            + system.adapter.simple-api.0             : simple-api            : ioBroker                                 -  enabled, port: 8087, bind: 192.168.0.60, run as: admin
            + system.adapter.tesla-motors.0           : tesla-motors          : ioBroker                                 -  enabled
            + system.adapter.vr200.0                  : vr200                 : ioBroker                                 -  enabled
            + system.adapter.wled.0                   : wled                  : ioBroker                                 -  enabled
            
            + instance is alive
            
            1 Reply Last reply Reply Quote 0
            • H
              HolgerCW @Glasfaser last edited by Homoran

              @glasfaser

              system.adapter.admin                   : admin          - v5.1.25
              system.adapter.ble                     : ble            - v0.12.0
              system.adapter.daikin                  : daikin         - v1.4.2
              system.adapter.discovery               : discovery      - v2.7.3
              system.adapter.fritzbox                : fritzbox       - v0.2.1
              system.adapter.fullybrowser            : fullybrowser   - v2.0.10
              system.adapter.hue                     : hue            - v3.7.1
              system.adapter.info                    : info           - v1.9.8
              system.adapter.lgtv-rs                 : lgtv-rs        - v0.1.1
              system.adapter.lgtv11                  : lgtv11         - v1.0.5
              system.adapter.mihome-vacuum           : mihome-vacuum  - v3.8.6
              system.adapter.ping                    : ping           - v1.5.0
              system.adapter.samsung                 : samsung        - v0.2.9
              system.adapter.shelly                  : shelly         - v4.0.7
              system.adapter.simple-api              : simple-api     - v2.6.1
              system.adapter.tesla-motors            : tesla-motors   - v1.3.2
              system.adapter.tr-064                  : tr-064         - v4.2.16
              system.adapter.vr200                   : vr200          - v1.1.0
              system.adapter.wled                    : wled           - v0.6.7
              
              1 Reply Last reply Reply Quote 0
              • H
                HolgerCW @Glasfaser last edited by

                @glasfaser WUsste nie wie ich da ran gehen soll. Habe dann immer wieder aufgegeben. Hoffe jetzt geht es mal vorran

                Glasfaser 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @HolgerCW last edited by

                  @holgercw sagte in QNAP NAS Container ioBroker js-controller und node update:

                  Hoffe jetzt geht es mal vorran

                  Das ganze Problem was ich jetzt sehe , ist das du kein Backup hast mit dem Backitup Adapter !

                  Oder wie machst du Backups !?

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

                    @glasfaser Habe noch nie ein Backup gemacht. Soll ich den backitup adapter installieren auf dem iobroker. Bisher läuft ja auch leider alles, daher habe ich da ein wenig schiss. Ein Update des node und js wäre top wenn das einfach so ginge

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

                      @holgercw sagte in QNAP NAS Container ioBroker js-controller und node update:

                      Bisher läuft ja auch leider alles,

                      dann hast du immer Glück gehabt !

                      Ein Update des node

                      lohnt sich nicht , der Container ist UhrAlt !

                      und js wäre top wenn das einfach so ginge

                      Naja ..

                      Erstmal ein Backup machen !

                      Dann im alten Container den js-controller langsam hochziehen inkl Nodejs usw.

                      Dann ein Backup ,
                      dann einen neuen Container erstellen mit dem aktuelle Image dann dein Backup rein .

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

                        @glasfaser Alles klar. Nur wie mache ich ein Backup und wie mache ich danach die Updates. Bisher war das ja ohne Erfolg ?

                        Glasfaser 1 Reply Last reply Reply Quote 0
                        • Glasfaser
                          Glasfaser @HolgerCW last edited by

                          @holgercw sagte in QNAP NAS Container ioBroker js-controller und node update:

                          Nur wie mache ich ein Backup

                          @glasfaser sagte in QNAP NAS Container ioBroker js-controller und node update:
                          mit dem Backitup Adapter !

                          H 2 Replies Last reply Reply Quote 0
                          • H
                            HolgerCW @Glasfaser last edited by

                            @glasfaser said in QNAP NAS Container ioBroker js-controller und node update:

                            Backitup

                            LEider keine Chance. Adapter nicht installierbar:1.jpg

                            Was nun ?

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

                              @glasfaser Ich konnte ja auch jetzt nicht in der Console iobroker update machen

                              Thomas Braun Homoran Glasfaser 4 Replies Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @HolgerCW last edited by Thomas Braun

                                @holgercw

                                iob stop
                                iob fix 
                                iob nodejs-update
                                

                                Dann schauen ob der backitup-Adapter installierbar ist.

                                Edith: Das ist ein Docker bei dir? Dann vergiss es, das geht da glaub ich nicht/anders.

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

                                  @holgercw sagte in QNAP NAS Container ioBroker js-controller und node update:

                                  @glasfaser Ich konnte ja auch jetzt nicht in der Console iobroker update machen

                                  warum nicht?
                                  zeigen!

                                  @holgercw sagte in QNAP NAS Container ioBroker js-controller und node update:

                                  LEider keine Chance.

                                  wenn man 7 Jahre nichts updated gibt es die alten Repos gar nicht mehr.

                                  Hier trifft nach so langer Zeit wirklich zu:
                                  kein Backup - kein Mitleid!

                                  Du kannst noch versuchen nodejs hochzuziehen um den Controller und einige Adapter upzudaten.
                                  Aber da wirst du auch ggf. am Betriebssystem scheitern.

                                  Du darfst natürlich nicht versuchen die allerneuesten Versionen draufzuspielen.

                                  1 Reply Last reply Reply Quote 0
                                  • Glasfaser
                                    Glasfaser @HolgerCW last edited by Glasfaser

                                    @holgercw

                                    Dann ziehen wir langsam hoch ...

                                    Erstmal

                                    pkill -u iobroker
                                    sudo -H -u iobroker npm install iobroker.js-controller@4.0.24
                                    

                                    Container danach neu starten .

                                    Bei

                                    nodejs: v10.18.1

                                    @Thomas-Braun kannst du nacher helfen... um erstmal nur auf 16 zu kommen für den alten Container !

                                    EDIT :

                                    Mähhh .. ab 4.0.24

                                    Nur die Node.js Version muss weiterhin mindestens 12.x sein, wie oben bereits ausgeführt.

                                    also erst Node-js

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

                                      @glasfaser sagte in QNAP NAS Container ioBroker js-controller und node update:

                                      kannst du nacher helfen... um erstmal nur auf 16 zu kommen für den alten Container !

                                      Keine Ahnung. Ich kann nur apt... Geht das im Container?

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

                                        @thomas-braun

                                        Ja , geht !

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

                                          @holgercw

                                          apt update 
                                          apt policy nodejs
                                          

                                          sagt?

                                          H 2 Replies Last reply Reply Quote 0
                                          • H
                                            HolgerCW @Glasfaser last edited by

                                            @glasfaser ```
                                            root@ioBroker:/opt/iobroker# pkill -u iobroker
                                            root@ioBroker:/opt/iobroker# sudo -H -u iobroker npm install iobroker.js-controller@4.0.24
                                            npm ERR! code ENOTSUP
                                            npm ERR! notsup Unsupported engine for iobroker.js-controller@4.0.24: wanted: {"node":">=12.0.0"} (current: {"node":"10.18.1","npm":"6.13.4"})
                                            npm ERR! notsup Not compatible with your version of node/npm: iobroker.js-controller@4.0.24
                                            npm ERR! notsup Not compatible with your version of node/npm: iobroker.js-controller@4.0.24
                                            npm ERR! notsup Required: {"node":">=12.0.0"}
                                            npm ERR! notsup Actual: {"npm":"6.13.4","node":"10.18.1"}

                                            npm ERR! A complete log of this run can be found in:
                                            npm ERR! /opt/iobroker/.npm/_logs/2024-01-14T13_59_52_793Z-debug.log
                                            root@ioBroker:/opt/iobroker#

                                            Glasfaser 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

                                            744
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            68
                                            3430
                                            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