Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. (Gelöst) Keine Updates mehr möglich

    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

    (Gelöst) Keine Updates mehr möglich

    This topic has been deleted. Only users with topic management privileges can see it.
    • crunchip
      crunchip Forum Testing Most Active @Glasfaser last edited by

      @glasfaser sagte in Keine Updates mehr möglich:

      Wie hast du das geschaft

      Diese Frage wird wohl nie beantwortet werden und bleibt für immer ein Rätsel 🤣

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

        @crunchip sagte in Keine Updates mehr möglich:

        und bleibt für immer ein Rätsel

        Das versuchen wir ja rauszubekommen

        1 Reply Last reply Reply Quote 0
        • crunchip
          crunchip Forum Testing Most Active @Snatch last edited by

          @snatch sagte in Keine Updates mehr möglich:

          weil es mit der 12er nicht ging

          Gibt ja auch mittlerweile einige Adapter, welche v12 nicht mehr unterstützen. Min ist v14 und empfohlen mittlerweile v16

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

            @Snatch

            @thomas-braun sagte in Keine Updates mehr möglich:

            @snatch sagte in Keine Updates mehr möglich:

            Kann mir da jemand weiterhelfen?

            Wie wurde da node16 installiert? Bitte genaue Vorgehensweise mal beschreiben.

            Bitte dieses beantworten !

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

              @glasfaser Gute Frage, ich habe es nach einer Anleitung hier im Forum auf die 16er geupdate.

              Habe nun nach deiner Anleitung folgendes gemacht

              sudo rm /pfad/zu/der/falschen/datei
              

              Gabe ich ausgeführt. (Fehlerfrei)

              Dann:

              snatch@iobroker:/opt/iobroker$ sudo apt install nodejs --reinstall
              Paketlisten werden gelesen... Fertig
              Abhängigkeitsbaum wird aufgebaut.
              Statusinformationen werden eingelesen.... Fertig
              0 aktualisiert, 0 neu installiert, 1 erneut installiert, 0 zu entfernen und 0 nicht aktualisiert.
              Es müssen 26,5 MB an Archiven heruntergeladen werden.
              Nach dieser Operation werden 0 B Plattenplatz zusätzlich benutzt.
              Holen:1 https://deb.nodesource.com/node_16.x focal/main amd64 nodejs amd64 16.16.0-deb-1nodesource1 [26,5 MB]
              Es wurden 26,5 MB in 2 s geholt (16,8 MB/s).
              (Lese Datenbank ... 131859 Dateien und Verzeichnisse sind derzeit installiert.)
              Vorbereitung zum Entpacken von .../nodejs_16.16.0-deb-1nodesource1_amd64.deb ...
              Entpacken von nodejs (16.16.0-deb-1nodesource1) über (16.16.0-deb-1nodesource1) ...
              nodejs (16.16.0-deb-1nodesource1) wird eingerichtet ...
              Trigger für man-db (2.9.1-1) werden verarbeitet ...
              snatch@iobroker:/opt/iobroker$
              
              

              Aber:

              snatch@iobroker:/opt/iobroker$ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
              x86_64
              /usr/bin/nodejs
              /usr/bin/node
              /usr/bin/npm
              -bash: /usr/local/bin/nodejs: No such file or directory
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Snatch last edited by

                @snatch sagte in Keine Updates mehr möglich:

                Gute Frage, ich habe es nach einer Anleitung hier im Forum

                Welche?!?

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

                  @Thomas-Braun

                  @snatch sagte in Keine Updates mehr möglich:
                  https://deb.nodesource.com/node_16.x focal/main amd64

                  Wegen focal hast du mal das dazu geschrieben , vielleicht liegt es daran !?
                  :

                  https://forum.iobroker.net/topic/35505/gelöst-node-js-update-von-v10-auf-v12-was-ist-zu-beachten/49

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

                    Hallo,

                    Ich habe es nach dieser Anleitung gemacht
                    [https://forum.iobroker.net/topic/22867/how-to-node-js-für-iobroker-richtig-updaten](Link Adresse)

                    Ich hoffe man bekommt das wieder hin... Aber wie gesagt, ich hatte mit der 12er das gleiche Problem. Ein paar Tage davor ging es noch, dann auf einmal waren keine Updates mehr möglich. Daher bin ich auf die 16er.

                    Ich hoffe man bekommt das wieder hin. Wenn nicht muss halt das Backup her.

                    Grüße und Danke

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

                      @snatch sagte in Keine Updates mehr möglich:

                      ich hatte mit der 12er das gleiche Problem.

                      war das Verzeichniss local auch dann schon so !?

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

                        Jetzt sieht es so aus:

                        snatch@iobroker:~$ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                        x86_64
                        /usr/bin/nodejs
                        /usr/bin/node
                        /usr/bin/npm
                        v16.16.0
                        v16.16.0
                        8.11.0
                        snatch
                        /home/snatch
                        [sudo] password for snatch:
                        OK:1 https://packages.grafana.com/oss/deb stable InRelease
                        OK:2 https://repos.influxdata.com/ubuntu focal InRelease
                        OK:3 https://deb.nodesource.com/node_16.x focal InRelease
                        OK:4 http://archive.ubuntu.com/ubuntu focal InRelease
                        OK:5 http://archive.ubuntu.com/ubuntu focal-updates InRelease
                        Holen:6 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
                        Holen:7 http://archive.ubuntu.com/ubuntu focal-security InRelease [114 kB]
                        Es wurden 222 kB in 2 s geholt (95,4 kB/s).
                        Paketlisten werden gelesen... Fertig
                        Abhängigkeitsbaum wird aufgebaut.
                        Statusinformationen werden eingelesen.... Fertig
                        Alle Pakete sind aktuell.
                        nodejs:
                          Installiert:           16.16.0-deb-1nodesource1
                          Installationskandidat: 16.16.0-deb-1nodesource1
                          Versionstabelle:
                         *** 16.16.0-deb-1nodesource1 500
                                500 https://deb.nodesource.com/node_16.x focal/main amd64 Packages
                                100 /var/lib/dpkg/status
                             10.19.0~dfsg-3ubuntu1 500
                                500 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages
                        snatch@iobroker:~$
                        
                        

                        Fehler besteht aber immer noch.

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

                          @glasfaser Das kann ich dir nicht mehr sagen. Sorry!

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

                            @snatch

                            iob update -i
                            
                            S 1 Reply Last reply Reply Quote 0
                            • S
                              Snatch @Thomas Braun last edited by Snatch

                              @thomas-braun sagte in Keine Updates mehr möglich:

                              > iob update -i
                              
                              snatch@iobroker:~$ iob update -i
                              node:internal/modules/cjs/loader:936
                                throw err;
                                ^
                              
                              Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                  at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
                                  at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                                  at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
                                  at node:internal/main/run_main_module:17:47 {
                                code: 'MODULE_NOT_FOUND',
                                requireStack: []
                              }
                              
                              1 Reply Last reply Reply Quote 0
                              • Glasfaser
                                Glasfaser @Snatch last edited by Glasfaser

                                @snatch sagte in Keine Updates mehr möglich:

                                Update vis-timeandweather from @1.1.7 to @ 1.2.2

                                Du bist auch im BETA Zweig unterwegs !

                                S Thomas Braun 2 Replies Last reply Reply Quote 0
                                • S
                                  Snatch @Glasfaser last edited by

                                  @glasfaser Ja das bin ich.

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

                                    @glasfaser sagte in Keine Updates mehr möglich:

                                    Du bist auch im BETA Zweig unterwegs !

                                    Natürlich...

                                    cd /opt/iobroker
                                    sudo -H -u iobroker npm install iobroker.js-controller
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • S
                                      Snatch last edited by

                                      @thomas-braun sagte in Keine Updates mehr möglich:

                                      sudo -H -u iobroker npm install iobroker.js-controller

                                      Genau das habe ich auch gemacht. Dein "iob update -i" und der dann ausgegebene Fehler hat mich direkt veranlasst zu schauen wie man das installiert. Habe einen Thread hier im Forum gefunden und direkt gemacht.

                                      Habe am Schluss ein paar Fehler bekommen:

                                      npm ERR! code ENOENT
                                      npm ERR! syscall open
                                      npm ERR! path /opt/iobroker/iobroker.type-detector/package.json
                                      npm ERR! errno -2
                                      npm ERR! enoent ENOENT: no such file or directory, open '/opt/iobroker/iobroker.type-detector/package.json'
                                      npm ERR! enoent This is related to npm not being able to find a file.
                                      npm ERR! enoent
                                      
                                      npm ERR! A complete log of this run can be found in:
                                      npm ERR!     /home/iobroker/.npm/_logs/2022-07-11T09_04_22_478Z-debug-0.log
                                      
                                      

                                      Dennoch geht das "iob update -i" nun fehlerfrei:

                                      snatch@iobroker:/opt/iobroker$ iob update -i
                                      Used repository: beta
                                      Adapter    "admin"        : 6.1.11   , installed 6.1.10 [Updatable]
                                      Adapter    "alexa2"       : 3.15.2   , installed 3.13.0 [Updatable]
                                      Adapter    "alias-manager": 1.2.6    , installed 1.2.6
                                      Adapter    "backitup"     : 2.4.10   , installed 2.4.9  [Updatable]
                                      Adapter    "cloud"        : 4.2.0    , installed 4.1.2  [Updatable]
                                      Adapter    "coronavirus-statistics": 0.8.7, installed 0.8.7
                                      Adapter    "daswetter"    : 3.1.3    , installed 3.1.3
                                      Adapter    "deconz"       : 1.3.21   , installed 2.0.6
                                      Adapter    "devices"      : 1.0.12   , installed 1.0.12
                                      Adapter    "discovery"    : 3.0.5    , installed 3.0.5
                                      Adapter    "echarts"      : 1.0.12   , installed 1.0.12
                                      Adapter    "esphome"      : 0.2.4    , installed 0.2.4
                                      Adapter    "feiertage"    : 1.1.0    , installed 1.1.0
                                      Adapter    "flot"         : 1.11.0   , installed 1.11.0
                                      Adapter    "fritzbox"     : 0.5.0    , installed 0.5.0
                                      Adapter    "fullybrowser" : 2.1.2    , installed 2.1.2
                                      Adapter    "habpanel"     : 0.5.0    , installed 0.5.0
                                      Adapter    "harmony"      : 1.2.2    , installed 1.2.2
                                      Adapter    "hm-rega"      : 3.0.40   , installed 3.0.40
                                      Adapter    "hm-rpc"       : 1.15.12  , installed 1.15.12
                                      Adapter    "ical"         : 1.13.1   , installed 1.13.1
                                      Adapter    "icons-mfd-png": 1.1.0    , installed 1.1.0
                                      Adapter    "influxdb"     : 3.1.7    , installed 3.1.7
                                      Adapter    "info"         : 1.9.19   , installed 1.9.19
                                      Adapter    "iot"          : 1.11.8   , installed 1.11.8
                                      Adapter    "iqontrol"     : 2.0.1    , installed 2.0.1
                                      Adapter    "javascript"   : 5.8.5    , installed 5.7.0  [Updatable]
                                      Controller "js-controller": 4.0.23   , installed 4.0.23
                                      Adapter    "lovelace"     : 2.2.0    , installed 2.2.0
                                      Adapter    "mihome"       : 1.4.0    , installed 1.4.0
                                      Adapter    "milight-smart-light": 1.2.2, installed 1.2.2
                                      Adapter    "oilfox"       : 4.1.2    , installed 4.1.2
                                      Adapter    "onvif"        : 0.4.4    , installed 0.4.4
                                      Adapter    "ping"         : 1.5.3    , installed 1.5.3
                                      Adapter    "scenes"       : 2.3.9    , installed 2.3.9
                                      Adapter    "shelly"       : 6.0.0    , installed 5.3.2  [Updatable]
                                      Adapter    "simple-api"   : 2.7.0    , installed 2.7.0
                                      Adapter    "snmp"         : 1.0.0    , installed 1.0.0
                                      Adapter    "socketio"     : 6.1.8    , installed 6.1.7  [Updatable]
                                      Adapter    "sonoff"       : 2.5.1    , installed 2.5.1
                                      Adapter    "sourceanalytix": 0.4.14  , installed 0.4.14
                                      Adapter    "sql"          : 2.1.7    , installed 2.1.7
                                      Adapter    "tankerkoenig" : 2.1.1    , installed 2.1.1
                                      Adapter    "text2command" : 2.2.2    , installed 2.2.2
                                      Adapter    "tr-064"       : 4.2.16   , installed 4.2.16
                                      Adapter    "trashschedule": 2.0.3    , installed 2.0.3
                                      Adapter    "tuya"         : 3.6.15   , installed 3.6.15
                                      Adapter    "upnp"         : 1.0.21   , installed 1.0.21
                                      Adapter    "vis"          : 1.4.15   , installed 1.4.15
                                      Adapter    "vis-canvas-gauges": 0.1.5, installed 0.1.5
                                      Adapter    "vis-colorpicker": 1.2.0  , installed 1.2.0
                                      Adapter    "vis-fancyswitch": 1.1.0  , installed 1.1.0
                                      Adapter    "vis-hqwidgets": 1.2.0    , installed 1.2.0
                                      Adapter    "vis-jqui-mfd" : 1.0.12   , installed 1.0.12
                                      Adapter    "vis-keyboard" : 0.0.2    , installed 0.0.2
                                      Adapter    "vis-material" : 0.1.3    , installed 0.1.3
                                      Adapter    "vis-metro"    : 1.2.0    , installed 1.2.0
                                      Adapter    "vis-rgraph"   : 0.0.2    , installed 0.0.2
                                      Adapter    "vis-timeandweather": 1.2.2, installed 1.1.7 [Updatable]
                                      Adapter    "web"          : 5.2.4    , installed 5.2.3  [Updatable]
                                      Adapter    "web-speedy"   : 0.2.0    , installed 0.2.0
                                      Adapter    "whatsapp-cmb" : 0.2.2    , installed 0.2.2
                                      Adapter    "wiobrowser"   : 1.1.4    , installed 1.1.4
                                      Adapter    "wled"         : 0.6.7    , installed 0.6.7
                                      Adapter    "ws"           : 2.1.3    , installed 2.1.2  [Updatable]
                                      Adapter    "yahka"        : 0.13.1   , installed 0.13.1
                                      Adapter    "yeelight-2"   : 1.2.1    , installed 1.2.1
                                      Adapter    "zigbee"       : 1.7.5    , installed 1.7.5
                                      
                                      

                                      Das Update der Adapter geht aber immer noch nicht leider.

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

                                        @snatch sagte in Keine Updates mehr möglich:

                                        Das Update der Adapter geht aber immer noch nicht leider.

                                        Mit welchen Meldungen?

                                        iobroker upgrade alexa2 --debug
                                        

                                        zum Beispiel?

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

                                          @thomas-braun

                                          @thomas-braun sagte in Keine Updates mehr möglich:

                                          iobroker upgrade alexa2 --debug

                                          Was zum Teufel? Jetzt auf einmal geht nichts mehr. Bekomme nun auf einmal diesen Fehler wenn ich das von dir vorgeschlagene Upgrade anstoße:

                                          snatch@iobroker:/opt/iobroker$ iobroker upgrade alexa2 --debug
                                          node:internal/modules/cjs/loader:936
                                            throw err;
                                            ^
                                          
                                          Error: Cannot find module 'jsonfile/utils'
                                          Require stack:
                                          - /opt/iobroker/node_modules/iobroker.js-controller/node_modules/fs-extra/lib/json/output-json.js
                                          - /opt/iobroker/node_modules/iobroker.js-controller/node_modules/fs-extra/lib/json/index.js
                                          - /opt/iobroker/node_modules/iobroker.js-controller/node_modules/fs-extra/lib/index.js
                                          - /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js
                                          - /opt/iobroker/node_modules/iobroker.js-controller/iobroker.js
                                              at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
                                              at Function.Module._load (node:internal/modules/cjs/loader:778:27)
                                              at Module.require (node:internal/modules/cjs/loader:1005:19)
                                              at require (node:internal/modules/cjs/helpers:102:18)
                                              at Object.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/node_modules/fs-extra/lib/json/output-json.js:3:23)
                                              at Module._compile (node:internal/modules/cjs/loader:1105:14)
                                              at Object.Module._extensions..js (node:internal/modules/cjs/loader:1159:10)
                                              at Module.load (node:internal/modules/cjs/loader:981:32)
                                              at Function.Module._load (node:internal/modules/cjs/loader:822:12)
                                              at Module.require (node:internal/modules/cjs/loader:1005:19) {
                                            code: 'MODULE_NOT_FOUND',
                                            requireStack: [
                                              '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/fs-extra/lib/json/output-json.js',
                                              '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/fs-extra/lib/json/index.js',
                                              '/opt/iobroker/node_modules/iobroker.js-controller/node_modules/fs-extra/lib/index.js',
                                              '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js',
                                              '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
                                            ]
                                          }
                                          snatch@iobroker:/opt/iobroker$ Error: Cannot find module 'jsonfile/utils'^C
                                          
                                          

                                          Gleiches auch bei "iob update -i" was aber gerade noch ging. Das gibt es doch nicht.

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

                                            @snatch

                                            cd /opt/iobroker 
                                            npm ls
                                            
                                            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

                                            757
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            62
                                            2910
                                            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