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 HIer nun die Ausgabe

      3.jpg

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

        @holgercw

        root@ioBroker:/opt/iobroker# iob diag
        iobroker [command]
        
        Commands:
          iobroker setup                                               Setup ioBroker
          iobroker start                                               Starts the js-controller
          iobroker stop                                                stops the js-controller
          iobroker restart                                             Restarts js-controller
          iobroker debug <adapter>[.<instance>]                        Starts a Node.js debugging session for the adapter instance
          iobroker info                                                Shows the host info
          iobroker logs [<adapter>]                                    Monitor log
          iobroker add <adapter> [desiredNumber]                       Add instance of adapter
          iobroker install <adapter>                                   Installs a specified adapter
          iobroker rebuild <adapter>|self                              Rebuilds a specified adapter
          iobroker url <url> [<name>]                                  Install adapter from specified url, e.g. GitHub
          iobroker del <adapter>                                       Remove adapter from system
          iobroker del <adapter>.<instance>                            Remove adapter instance
          iobroker update [<repositoryUrl>]                            Update repository and list adapters
          iobroker upgrade                                             Upgrade management
          iobroker upload                                              Upload management
          iobroker object                                              Object management
          iobroker state                                               State management
          iobroker message <adapter>[.instance] <command> [<message>]  Send message to adapter instance/s
          iobroker list <type> [<filter>]                              List all entries, like objects
          iobroker chmod <mode> <file>                                 Change file rights
          iobroker chown <user> <group> <file>                         Change file ownership
          iobroker touch <file>                                        Touch file
          iobroker rm <file>                                           Remove file
          iobroker file                                                File management
          iobroker user                                                User commands
          iobroker group                                               group management
          iobroker host <hostname>                                     Set host to given hostname
          iobroker set <adapter>.<instance>                            Change settings of adapter config
          iobroker license <license.file or license.text>              Update license by given file
          iobroker cert                                                Certificate management
          iobroker clean <yes>                                         Clears all objects and states
          iobroker backup                                              Create backup
          iobroker restore <backup name or path>                       Restore a specified backup
          iobroker validate <backup name or path>                      Validate a specified backup
          iobroker status [all|<adapter>.<instance>]                   Status of ioBroker or adapter instance
          iobroker repo [<name>]                                       Show repo information
          iobroker uuid                                                Show uuid of the installation
          iobroker unsetup                                             Reset license, installation secret and language
          iobroker fix                                                 Execute the installation fixer script, this updates your ioBroker installation
          iobroker multihost                                           Multihost management
          iobroker compact                                             compact group management
          iobroker plugin                                              Plugin management
          iobroker version [<adapter>]                                 Show version of js-controller or specified adapter
        
        Options:
              --help     Show help  [boolean]
          -v, --version  Show version  [boolean]
        
        1 Reply Last reply Reply Quote 0
        • Glasfaser
          Glasfaser @HolgerCW last edited by

          @holgercw

          Was machst du !

          Zuerst :

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

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

          Wenn ich dort was eingebe und enter drücke passiert nichts:

          Habe kein Qnap ... aber da bist du falsch , du hast da ein Button Terminal ...

          Aber im Grunde um dir zu helfen , brauchen wir keine Briefmarke , sondern ein richtige Ausgabe deines Systems :

          dazu dann einmal

          pkill -u iobroker
          iob fix
          

          danach den Container neu starten ,
          dann

          die Full Ausgabe von

          iob diag
          

          hier in Code-Tags </> posten

          sonst das :

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

          @holgercw

          ich habe so eine Vorahnung, das wieder No connection kommt ,

          dann diese Ausgabe hier posten :

          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 
          
          H 1 Reply Last reply Reply Quote 0
          • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            762
                                            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