Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Nach update js-controller 4.0.15 ioBroker problem

    NEWS

    • Neues Video "KI im Smart Home" - ioBroker plus n8n

    • Neues Video über Aliase, virtuelle Geräte und Kategorien

    • Wir empfehlen: Node.js 22.x

    Nach update js-controller 4.0.15 ioBroker problem

    This topic has been deleted. Only users with topic management privileges can see it.
    • M
      MrSonei6 @Thomas Braun last edited by MrSonei6

      @thomas-braun

      alles durch leider ist die web seite immer noch nciht erreichbar ;(

      Ich habe jetzt auch wieder die "iobroker.json" datei abgeändert und die beiden Types in "file" zurück geändert
      Mir hat jemand geraten das ich dort jsonl rein schreiben soll zweimal siehe anleitung

      Anleitung
      /opt/iobroker/iobroker-data/iobroker.json and change the "type": "file"
      that you have in section "objects" and in section "states" to "jsonl" (so goal: "type": "jsonl",)

      pi@raspberrypi:~ $ iobroker stop
      pi@raspberrypi:~ $ iobroker update
      Used repository: stable
      hash unchanged, use cached sources
      update done
      Adapter    "admin"         : 5.3.1    , installed 5.3.1
      Adapter    "alexa2"        : 3.11.2   , installed 3.11.2
      Adapter    "backitup"      : 2.3.3    , installed 2.3.3
      Adapter    "discovery"     : 2.7.5    , installed 2.7.5
      Adapter    "fakeroku"      : 0.2.1    , installed 0.2.1
      Adapter    "harmony"       : 1.2.2    , installed 1.2.2
      Adapter    "hmip"          : 1.15.4   , installed 1.15.4
      Adapter    "hue"           : 3.6.5    , installed 3.6.5
      Adapter    "ical"          : 1.11.4   , installed 1.11.4
      Adapter    "info"          : 1.9.8    , installed 1.9.8
      Adapter    "javascript"    : 5.2.21   , installed 5.2.21
      Controller "js-controller" : 4.0.15   , installed 3.3.22 [Updateable]
      Adapter    "telegram"      : 1.11.1   , installed 1.11.1
      Adapter    "trashschedule" : 1.4.1    , installed 1.4.1
      Adapter    "web"           : 3.4.16   , installed 3.4.16
      pi@raspberrypi:~ $ iobroker upgrade self
      Update js-controller from @3.3.22 to @4.0.15
      NPM version: 6.14.16
      npm install iobroker.js-controller@4.0.15 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
      Server Objects 127.0.0.1:51800 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets"]
      Server Objects 127.0.0.1:51800 Error from InMemDB: Error: GET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.protocolVersion"]
      Server States 127.0.0.1:52088 Error from InMemDB: Error: GET-UNSUPPORTED for namespace meta.: Data=["meta.states.protocolVersion"]
      Server States 127.0.0.1:52090 Error from InMemDB: Error: PSUBSCRIBE-UNSUPPORTED for namespace meta.: Data=["meta.*"]
      Server Objects 127.0.0.1:51800 Error from InMemDB: Error: Unknown LUA script load
      Server Objects 127.0.0.1:51800 Error from InMemDB: Error: Unknown LUA script load
      Server Objects 127.0.0.1:51800 Error from InMemDB: Error: Unknown LUA script load
      Server Objects 127.0.0.1:51800 Error from InMemDB: Error: SET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets",{"type":"Buffer","data":[49]}]
      Could not migrate objects to corresponding sets: Error SET-UNSUPPORTED for namespace cfg.: Data=["meta.objects.features.useSets",{"type":"Buffer","data":[49]}]
      pi@raspberrypi:~ $ iobroker fix
      library: loaded
      Library version=2022-02-10
      
      ==========================================================================
      
          Welcome to the ioBroker installation fixer!
          Script version: 2022-02-13
      
          You might need to enter your password a couple of times.
      
      ==========================================================================
      
      
      ==========================================================================
          Installing prerequisites (1/3)
      ==========================================================================
      
      OK:1 http://archive.raspberrypi.org/debian buster InRelease
      OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
      OK:3 https://deb.nodesource.com/node_12.x buster InRelease
      Paketlisten werden gelesen... Fertig
      Installed gcc-c++
      Installed libcairo2-dev
      Installed libpango1.0-dev
      Installed libjpeg-dev
      Installed librsvg2-dev
      Installed cmake
      
      ==========================================================================
          Checking ioBroker user and directory permissions (2/3)
      ==========================================================================
      
      Created /etc/sudoers.d/iobroker
      Fixing directory permissions...
      
      ==========================================================================
          Checking autostart (3/3)
      ==========================================================================
      
      Enabling autostart...
      Autostart enabled!
      
      ==========================================================================
      
          Your installation was fixed successfully
          Run iobroker start to start ioBroker again!
      
      ==========================================================================
      
      pi@raspberrypi:~ $ iobroker start
      pi@raspberrypi:~ $
      
      
      pi@raspberrypi:~ $
      pi@raspberrypi:~ $ iobroker status
      iobroker is running on this host.
      
      
      Objects type: jsonl
      States  type: jsonl
      pi@raspberrypi:~ $
      pi@raspberrypi:~ $
      pi@raspberrypi:~ $ iobroker update -i
      Used repository: stable
      Adapter    "admin"        : 5.3.1    , installed 5.3.1
      Adapter    "alexa2"       : 3.11.2   , installed 3.11.2
      Adapter    "backitup"     : 2.3.3    , installed 2.3.3
      Adapter    "discovery"    : 2.7.5    , installed 2.7.5
      Adapter    "fakeroku"     : 0.2.1    , installed 0.2.1
      Adapter    "harmony"      : 1.2.2    , installed 1.2.2
      Adapter    "hmip"         : 1.15.4   , installed 1.15.4
      Adapter    "hue"          : 3.6.5    , installed 3.6.5
      Adapter    "ical"         : 1.11.4   , installed 1.11.4
      Adapter    "info"         : 1.9.8    , installed 1.9.8
      Adapter    "javascript"   : 5.2.21   , installed 5.2.21
      Controller "js-controller": 4.0.15   , installed 4.0.15
      Adapter    "telegram"     : 1.11.1   , installed 1.11.1
      Adapter    "trashschedule": 1.4.1    , installed 1.4.1
      Adapter    "web"          : 3.4.16   , installed 3.4.16
      pi@raspberrypi:~ $
      pi@raspberrypi:~ $
      pi@raspberrypi:~ $
      pi@raspberrypi:~ $
      pi@raspberrypi:~ $
      pi@raspberrypi:~ $
      pi@raspberrypi:~ $
      pi@raspberrypi:~ $ iobroker list instances
      + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0 (SSL), run as: admin
      + system.adapter.alexa2.0                 : alexa2                : raspberrypi                              -  enabled
      + system.adapter.backitup.0               : backitup              : raspberrypi                              -  enabled
      + system.adapter.discovery.0              : discovery             : raspberrypi                              -  enabled
      + system.adapter.fakeroku.0               : fakeroku              : raspberrypi                              -  enabled
      + system.adapter.harmony.0                : harmony               : raspberrypi                              -  enabled
      + system.adapter.hmip.0                   : hmip                  : raspberrypi                              -  enabled
      + system.adapter.hue.0                    : hue                   : raspberrypi                              -  enabled, port: 80
        system.adapter.ical.0                   : ical                  : raspberrypi                              -  enabled
      + system.adapter.info.0                   : info                  : raspberrypi                              -  enabled
      + system.adapter.javascript.0             : javascript            : raspberrypi                              -  enabled
        system.adapter.siro.0                   : siro                  : raspberrypi                              - disabled
      + system.adapter.telegram.0               : telegram              : raspberrypi                              -  enabled, port: 8443, bind: 0.0.0.0
      + system.adapter.trashschedule.0          : trashschedule         : raspberrypi                              -  enabled
        system.adapter.web.0                    : web                   : raspberrypi                              - disabled, port: 8082, bind: 0.0.0.0, run as: admin
      
      + instance is alive
      pi@raspberrypi:~ $
      pi@raspberrypi:~ $
      pi@raspberrypi:~ $
      
      
      Thomas Braun 1 Reply Last reply Reply Quote 0
      • Thomas Braun
        Thomas Braun Most Active @MrSonei6 last edited by

        @mrsonei6 sagte in Nach update js-controller 4.0.15 ioBroker problem:

        Mir hat jemand geraten das ich dort jsonl rein schreiben soll zweimal siehe anleitung

        ? Lass die Finger von den json-Files.
        Das wird im Zuge eines ordentlichen Upgrades automatisch gemacht.

        Und jetzt kommst du nicht auf den Admin?
        Achtung! https verwenden.

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

          @thomas-braun

          Es geht wieder
          😉
          Danke

          Wiekann man nun auf node 14 umstellen?
          Was ist das eigentlich 😉

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

            @mrsonei6 sagte in Nach update js-controller 4.0.15 ioBroker problem:

            Wiekann man nun auf node 14 umstellen?

            Schau in meiner Signatur.
            nodeJS ist vereinfacht gesagt das 'Betriebssystem' für den ioBroker.

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

              @thomas-braun

              OK es ist also nicht so einfach mit einem Befehl erledigt?
              Das sieht nach mehr aus in deinem Link

              Vielen dank trotzdem schon mal !!
              Du hast mir das Wochenende gerettet 😉

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

                @mrsonei6 sagte in Nach update js-controller 4.0.15 ioBroker problem:

                OK es ist also nicht so einfach mit einem Befehl erledigt?

                Mit zwei-drei.

                Danach flutscht das auch mit den regulären Updates des Systems mit.
                Wenn du das denn machen würdest...

                Zuerst machst du mal ein Upgrade von dem ganzen Betriebssytem. Das hast du noch nie gemacht.

                Also dringend regelmäßiger das System auf Stand halten.

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

                  @thomas-braun

                  Hallo ich schau mir gerade das thema Node 14 an.
                  Ich weiß nciht so recht welchen anfangsstatus ich habe und was ich machen muss/darf.

                  Würdest du mir kurz durch helfen Bitte? 😉
                  Muss ich ganz oben in der anleitung anfenagen mit Node Erstinstallation?
                  Ist bei mir nicht schon Node 12 installiert?

                  Hier mal ein Output

                  sudo nano /etc/apt/sources.list.d/nodesource.list
                  deb https://deb.nodesource.com/node_12.x buster main
                  deb-src https://deb.nodesource.com/node_12.x buster main
                  
                  Thomas Braun 1 Reply Last reply Reply Quote 0
                  • Thomas Braun
                    Thomas Braun Most Active @MrSonei6 last edited by

                    @mrsonei6 sagte in Nach update js-controller 4.0.15 ioBroker problem:

                    Ist bei mir nicht schon Node 12 installiert?

                    Das weiß ich nicht.
                    Aber das passende Repo hast du offenbar.
                    In der Datei aus der 12 eine 14 machen und das ganz normale Systemupgrade dann.

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

                      @thomas-braun

                      Hi

                      Gibt es einen befehl mir dem man sehen kann ob Node installiert ist?
                      Falls ja: muss ich also in die Datei rein und diese so bearbeiten?

                      sudo nano /etc/apt/sources.list.d/nodesource.list
                      deb https://deb.nodesource.com/node_14.x buster main
                      deb-src https://deb.nodesource.com/node_14.x buster main
                      

                      und dann

                      iobroker stop
                      iobroker update
                      iobroker upgrade self
                      iobroker fix
                      iobroker start
                      

                      richtig

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

                        @mrsonei6 sagte in Nach update js-controller 4.0.15 ioBroker problem:

                        Gibt es einen befehl mir dem man sehen kann ob Node installiert ist?

                        Ja, der steht im HowTo drin.
                        Da steht auch drin, wie man sein Gesamtsystem aktualisiert.

                        1 Reply Last reply Reply Quote 0
                        • M
                          MrSonei6 @MrSonei6 last edited by MrSonei6

                          @mrsonei6

                          Bei dem Link in deiner Signatur geht es gleich los mit Node ERST installation
                          Aber wie man siehen kann ob Node schon installiert ist finde ich ldieder nicht?

                          LG

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

                            @mrsonei6

                            Mal komplett lesen?

                            Unter Check steht... Wie man die Installation checkt.

                            K 1 Reply Last reply Reply Quote 0
                            • M
                              MrSonei6 @MrSonei6 last edited by

                              @mrsonei6
                              Danke

                              bin wie folgt vorgegangen

                              iobroker stop
                              

                              Hab dann in der Datei aus den beidne 12 eine 14 gemacht
                              -sudo nano /etc/apt/sources.list.d/nodesource.list

                              deb https://deb.nodesource.com/node_14.x buster main
                              deb-src https://deb.nodesource.com/node_14.x buster main
                              
                              

                              dann

                              sudo apt update
                              sudo apt upgrade
                              

                              Und der Versionscheck Befehl

                              which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                              

                              Zeigt jetzt auch 14 an

                              pi@raspberrypi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                              /usr/bin/nodejs
                              /usr/bin/node
                              /usr/bin/npm
                              v14.19.0
                              v14.19.0
                              6.14.16
                              pi
                              /home/pi
                              OK:1 http://archive.raspberrypi.org/debian buster InRelease
                              OK:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
                              OK:3 https://deb.nodesource.com/node_14.x buster InRelease
                              Paketlisten werden gelesen... Fertig
                              Abhängigkeitsbaum wird aufgebaut.
                              Statusinformationen werden eingelesen.... Fertig
                              Alle Pakete sind aktuell.
                              nodejs:
                                Installiert:           14.19.0-deb-1nodesource1
                                Installationskandidat: 14.19.0-deb-1nodesource1
                                Versionstabelle:
                               *** 14.19.0-deb-1nodesource1 500
                                      500 https://deb.nodesource.com/node_14.x buster/main armhf Packages
                                      100 /var/lib/dpkg/status
                                   10.24.0~dfsg-1~deb10u1 500
                                      500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                              pi@raspberrypi:~ $
                              
                              

                              DANKE!!!!!!!

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

                                @thomas-braun
                                Bei mir wird beim ersten Start nach jedem Update des js-controller immer diverse Fehler angezeigt.
                                Weist du woran das liegt?

                                js-controller v4.0.19
                                NPM v8.5.0
                                Node.js v14.19.0

                                
                                javascript.0
                                2022-03-09 01:32:58.388	error	coffee-script@1.12.7: CoffeeScript on NPM has moved to "coffeescript" (no hyphen)
                                
                                javascript.0
                                2022-03-09 01:32:58.388	error	deprecated
                                
                                javascript.0
                                2022-03-09 01:32:58.388	error	
                                
                                javascript.0
                                2022-03-09 01:32:58.387	error	WARN
                                
                                javascript.0
                                2022-03-09 01:32:58.387	error	
                                
                                javascript.0
                                2022-03-09 01:32:58.387	error	npm
                                
                                javascript.0
                                2022-03-09 01:32:58.364	error	request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
                                
                                javascript.0
                                2022-03-09 01:32:58.363	error	deprecated
                                
                                javascript.0
                                2022-03-09 01:32:58.363	error	
                                
                                javascript.0
                                2022-03-09 01:32:58.363	error	WARN
                                
                                javascript.0
                                2022-03-09 01:32:58.362	error	
                                
                                javascript.0
                                2022-03-09 01:32:58.362	error	npm
                                
                                javascript.0
                                2022-03-09 01:32:58.341	error	uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
                                
                                javascript.0
                                2022-03-09 01:32:58.341	error	deprecated
                                
                                javascript.0
                                2022-03-09 01:32:58.340	error	
                                
                                javascript.0
                                2022-03-09 01:32:58.340	error	WARN
                                
                                javascript.0
                                2022-03-09 01:32:58.340	error	
                                
                                javascript.0
                                2022-03-09 01:32:58.339	error	npm
                                
                                javascript.0
                                2022-03-09 01:32:58.290	error	node-inspect@2.0.0: This module is part of Node.js core and does not need to be installed separately. It is now unmaintained.
                                
                                javascript.0
                                2022-03-09 01:32:58.290	error	deprecated
                                
                                javascript.0
                                2022-03-09 01:32:58.289	error	
                                
                                javascript.0
                                2022-03-09 01:32:58.289	error	WARN
                                
                                javascript.0
                                2022-03-09 01:32:58.289	error	
                                
                                javascript.0
                                2022-03-09 01:32:58.288	error	npm
                                
                                javascript.0
                                2022-03-09 01:32:58.223	error	har-validator@5.1.5: this library is no longer supported
                                
                                javascript.0
                                2022-03-09 01:32:58.223	error	deprecated
                                
                                javascript.0
                                2022-03-09 01:32:58.222	error	
                                
                                javascript.0
                                2022-03-09 01:32:58.222	error	WARN
                                
                                javascript.0
                                2022-03-09 01:32:58.222	error	
                                
                                javascript.0
                                2022-03-09 01:32:58.221	error	npm
                                
                                mikeal created this issue in request/request

                                open Request’s Past, Present and Future #3142

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

                                  @kusi

                                  Keine Fehler, nur Hinweise. Kann man ignorieren.

                                  Allerdings passt dein npm nicht zu nodejs14.

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

                                    @thomas-braun sagte in Nach update js-controller 4.0.15 ioBroker problem:

                                    Allerdings passt dein npm nicht zu nodejs14.

                                    Danke für den Hinweis.
                                    Was soll ich machen um diesen Missstand zu beheben??

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

                                      @kusi

                                      Für Linux/Debian findet sich eine Anleitung in meiner Signatur.

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

                                        @thomas-braun sagte in Nach update js-controller 4.0.15 ioBroker problem:

                                        eine Anleitung in meiner Signatur

                                        Danke, mir ist jedoch nicht bekannt was ich fixen soll.

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

                                          @kusi

                                          npm8 auf npm6 setzen. Ggf. durch ein reinstall von nodejs14.

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

                                            @thomas-braun sagte in Nach update js-controller 4.0.15 ioBroker problem:

                                            npm8 auf npm6

                                            Werde ich machen, vielen Dank.

                                            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

                                            937
                                            Online

                                            32.1k
                                            Users

                                            80.7k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            32
                                            2749
                                            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