Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Skripten / Logik
    4. Javascript Adapter rot

    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

    Javascript Adapter rot

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @Homoran last edited by Homoran

      @chrisprefect sagte in Javascript Adapter rot:

      Das stresst mich dann zu oft.

      und jetzt hast du das System zu sehr gestresst
      Wahrscheinlich sind die Rechte durch die nutzung von root verbogen

      iobroker stop
      iobroker fix
      iobroker start
      

      als USER

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

        @chrisprefect sagte in Javascript Adapter rot:

        Das stresst mich dann zu oft.

        Und mich stressen Systeme, die von Leuten, die selbst ernannt 'keine Ahnung haben' mit dem root kaputt gefummelt werden.

        Ich bin dann raus.

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

          @thomas-braun Ich musste erst rumfummeln nachdem das System nicht mehr ging.

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

            @homoran Also das Cache-Löschen geht beim zweiten Mal sehr schnell, das heisst beim ersten Mal wurde viel gelöscht.

            Habe nochmals rebootet, den Fixer laufen lassen und nochmals update gemacht.

            Der Javascript-Adapter ist aber noch immer auf der Version .18 und rot.

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

              @chrisprefect
              NEIN. mit dem root muss man nie rumfummenln. Gerade nicht ohne Ahnung was man da überhaupt fummelt.

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

                @thomas-braun Kann sein. Das ist aber nicht das Problem.

                Thomas Braun Homoran 3 Replies Last reply Reply Quote -1
                • Thomas Braun
                  Thomas Braun Most Active @ChrisPrefect last edited by

                  @chrisprefect sagte in Javascript Adapter rot:

                  Das ist aber nicht das Problem.

                  Ich behaupte das Gegenteil.

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

                    @chrisprefect sagte in Javascript Adapter rot:

                    Das ist aber nicht das Problem.

                    woher weisst du das?

                    Arbeiten mit dem Root verbiegt Rechte, mit denen der user iobroker dann nicht mehr arbeiten darf

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

                      @chrisprefect sagte in Javascript Adapter rot:

                      Das ist aber nicht das Problem.

                      was sagt denn jetzt iob update -i??
                      und vorher nichts anderes!!!

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

                        @homoran weil das System nach dem Update von ioBroker nicht mehr ging und ich mich erst dann per ssh eingeloggt habe.

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

                          @homoran

                          
                          pi@ioBrokerVM:/opt/iobroker$ iob update -i
                          Used repository: beta
                          hash unchanged, use cached sources
                          update done
                          Cannot read or parse /opt/iobroker/node_modules/iobroker.js-controller/lib/../node_modules/iobroker.javascript/io-package.json: /opt/iobroker/node_modules/iobroker.javascript/io-package.json: Unexpected end of JSON input
                          Cannot read or parse /opt/iobroker/node_modules/iobroker.js-controller/lib/../node_modules/iobroker.javascript/io-package.json: /opt/iobroker/node_modules/iobroker.javascript/io-package.json: Unexpected end of JSON input
                          Adapter    "admin"         : 5.2.3    , installed 5.2.3
                          Adapter    "alexa2"        : 3.12.0   , installed 3.12.0
                          Adapter    "backitup"      : 2.2.3    , installed 2.2.3
                          Adapter    "cloud"         : 4.1.0    , installed 4.1.0
                          Adapter    "deconz"        : 1.3.19   , installed 1.3.19
                          Adapter    "discovery"     : 2.7.5    , installed 2.7.5
                          Adapter    "email"         : 1.0.10   , installed 1.0.10
                          Adapter    "find-my-iphone": 0.2.17   , installed 0.2.17
                          Adapter    "flot"          : 1.10.7   , installed 1.10.7
                          Adapter    "geofency"      : 1.0.3    , installed 1.0.3
                          Adapter    "habpanel"      : 0.4.3    , installed 0.4.3
                          Adapter    "history"       : 1.10.5   , installed 1.10.5
                          Adapter    "icons-material-png": 0.1.0   , installed 0.1.0
                          Adapter    "icons-material-svg": 0.1.0   , installed 0.1.0
                          Adapter    "icons-ultimate-png": 1.0.1   , installed 1.0.1
                          Adapter    "influxdb"      : 2.4.0    , installed 2.4.0
                          Adapter    "info"          : 1.9.16   , installed 1.9.16
                          Adapter    "iot"           : 1.8.25   , installed 1.8.25
                          Adapter    "iqontrol"      : 1.11.0   , installed 1.11.0
                          Adapter    "jarvis"        : 3.0.7    , installed 3.0.7
                          Controller "js-controller" : 3.3.22   , installed 3.3.22
                          Adapter    "lifx"          : 0.1.1    , installed 0.1.1
                          Adapter    "linkeddevices" : 1.4.3    , installed 1.4.3
                          Adapter    "material"      : 1.1.2    , installed 1.1.2
                          Adapter    "mihome-vacuum" : 3.3.1    , installed 3.3.1
                          Adapter    "mobile"        : 1.0.1    , installed 1.0.1
                          Adapter    "modbus"        : 3.4.17   , installed 3.4.17
                          Adapter    "mqtt"          : 2.4.1    , installed 2.4.1
                          Adapter    "node-red"      : 2.4.1    , installed 2.4.1
                          Adapter    "octoprint"     : 2.1.1    , installed 2.1.1
                          Adapter    "onvif"         : 0.4.4    , installed 0.4.4
                          Adapter    "ping"          : 1.5.0    , installed 1.5.0
                          Adapter    "proxy"         : 1.2.2    , installed 1.2.2
                          Adapter    "rickshaw"      : 1.0.0    , installed 1.0.0
                          Adapter    "rpi2"          : 1.3.1    , installed 1.3.1
                          Adapter    "samsung"       : 0.2.9    , installed 0.2.9
                          Adapter    "scenes"        : 2.3.8    , installed 2.3.8
                          Adapter    "shelly"        : 5.0.0    , installed 5.0.0
                          Adapter    "simple-api"    : 2.6.2    , installed 2.6.2
                          Adapter    "smartcontrol"  : 1.2.1    , installed 1.2.1
                          Adapter    "socketio"      : 3.1.5    , installed 3.1.5
                          Adapter    "sonoff"        : 2.4.7    , installed 2.4.7
                          Adapter    "statistics"    : 1.0.10   , installed 1.0.10
                          Adapter    "stockmarket"   : 0.0.2    , installed 0.0.2
                          Adapter    "sureflap"      : 1.0.9    , installed 1.0.9
                          Adapter    "swiss-weather-api": 1.0.2   , installed 1.0.2
                          Adapter    "telegram"      : 1.10.0   , installed 1.10.0
                          Adapter    "tesla-motors"  : 1.0.7    , installed 1.0.7
                          Adapter    "tileboard"     : 0.3.1    , installed 0.3.1
                          Adapter    "tr-064"        : 4.2.15   , installed 4.2.15
                          Adapter    "unifi"         : 0.5.10   , installed 0.5.10
                          Adapter    "vis"           : 1.4.6    , installed 1.4.7
                          Adapter    "vis-bars"      : 0.1.4    , installed 0.1.4
                          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-history"   : 1.0.0    , installed 1.0.0
                          Adapter    "vis-hqwidgets" : 1.1.9    , installed 1.1.9
                          Adapter    "vis-inventwo"  : 3.2.5    , installed 3.2.5
                          Adapter    "vis-jqui-mfd"  : 1.0.12   , installed 1.0.12
                          Adapter    "vis-justgage"  : 1.0.2    , installed 1.0.2
                          Adapter    "vis-lcars"     : 1.0.4    , installed 1.0.4
                          Adapter    "vis-map"       : 1.0.4    , installed 1.0.4
                          Adapter    "vis-material"  : 0.1.3    , installed 0.1.3
                          Adapter    "vis-materialdesign": 0.5.9   , installed 0.5.9
                          Adapter    "vis-metro"     : 1.1.2    , installed 1.1.2
                          Adapter    "vis-rgraph"    : 0.0.2    , installed 0.0.2
                          Adapter    "vis-timeandweather": 1.1.7   , installed 1.1.7
                          Adapter    "weatherunderground": 3.3.1   , installed 3.3.1
                          Adapter    "web"           : 3.4.16   , installed 3.4.16
                          Adapter    "windows-control": 0.1.5   , installed 0.1.5
                          Adapter    "yahka"         : 0.13.1   , installed 0.13.1
                          Adapter    "zigbee"        : 1.6.12   , installed 1.6.12
                          
                          
                          Homoran 1 Reply Last reply Reply Quote 0
                          • Homoran
                            Homoran Global Moderator Administrators @ChrisPrefect last edited by

                            @chrisprefect sagte in Javascript Adapter rot:

                            ich mich erst dann per ssh eingeloggt habe.

                            und vorher noch nie???

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

                              @chrisprefect

                              immer noch cached sources - die müssten weg sein!!
                              dann stell mal das Repo auf stable und mach den Befehl nochmal

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

                                @homoran

                                pi@ioBrokerVM:/opt/iobroker$ cd /opt/iobroker
                                pi@ioBrokerVM:/opt/iobroker$ sudo -H -u iobroker npm cache clean --force
                                npm WARN using --force I sure hope you know what you are doing.
                                pi@ioBrokerVM:/opt/iobroker$ iob update -i
                                Used repository: stable
                                hash changed or no sources cached => force download of new sources
                                update done
                                Cannot read or parse /opt/iobroker/node_modules/iobroker.js-controller/lib/../node_modules/iobroker.javascript/io-package.json: /opt/iobroker/node_modules/iobroker.javascript/io-package.json: Unexpected end of JSON input
                                Cannot read or parse /opt/iobroker/node_modules/iobroker.js-controller/lib/../node_modules/iobroker.javascript/io-package.json: /opt/iobroker/node_modules/iobroker.javascript/io-package.json: Unexpected end of JSON input
                                Adapter    "admin"         : 5.2.3    , installed 5.2.3
                                Adapter    "alexa2"        : 3.11.2   , installed 3.12.0
                                Adapter    "backitup"      : 2.2.2    , installed 2.2.3
                                Adapter    "cloud"         : 4.1.0    , installed 4.1.0
                                Adapter    "deconz"        : 1.3.19   , installed 1.3.19
                                Adapter    "discovery"     : 2.7.3    , installed 2.7.5
                                Adapter    "email"         : 1.0.10   , installed 1.0.10
                                Adapter    "flot"          : 1.10.7   , installed 1.10.7
                                Adapter    "geofency"      : 1.0.3    , installed 1.0.3
                                Adapter    "habpanel"      : 0.4.3    , installed 0.4.3
                                Adapter    "history"       : 1.9.14   , installed 1.10.5
                                Adapter    "icons-material-png": 0.1.0   , installed 0.1.0
                                Adapter    "icons-material-svg": 0.1.0   , installed 0.1.0
                                Adapter    "icons-ultimate-png": 1.0.1   , installed 1.0.1
                                Adapter    "influxdb"      : 1.9.5    , installed 2.4.0
                                Adapter    "info"          : 1.9.8    , installed 1.9.16
                                Adapter    "iot"           : 1.8.24   , installed 1.8.25
                                Adapter    "iqontrol"      : 1.8.2    , installed 1.11.0
                                Adapter    "jarvis"        : 2.2.1    , installed 3.0.7
                                Controller "js-controller" : 3.3.22   , installed 3.3.22
                                Adapter    "lifx"          : 0.1.1    , installed 0.1.1
                                Adapter    "linkeddevices" : 1.4.3    , installed 1.4.3
                                Adapter    "material"      : 1.0.4    , installed 1.1.2
                                Adapter    "mihome-vacuum" : 3.3.1    , installed 3.3.1
                                Adapter    "mobile"        : 1.0.1    , installed 1.0.1
                                Adapter    "modbus"        : 3.4.14   , installed 3.4.17
                                Adapter    "mqtt"          : 2.4.0    , installed 2.4.1
                                Adapter    "node-red"      : 2.4.1    , installed 2.4.1
                                Adapter    "octoprint"     : 2.1.0    , installed 2.1.1
                                Adapter    "onvif"         : 0.4.4    , installed 0.4.4
                                Adapter    "ping"          : 1.5.0    , installed 1.5.0
                                Adapter    "proxy"         : 1.2.2    , installed 1.2.2
                                Adapter    "rickshaw"      : 1.0.0    , installed 1.0.0
                                Adapter    "rpi2"          : 1.3.1    , installed 1.3.1
                                Adapter    "samsung"       : 0.2.9    , installed 0.2.9
                                Adapter    "scenes"        : 2.3.8    , installed 2.3.8
                                Adapter    "shelly"        : 4.0.7    , installed 5.0.0
                                Adapter    "simple-api"    : 2.6.1    , installed 2.6.2
                                Adapter    "smartcontrol"  : 1.2.1    , installed 1.2.1
                                Adapter    "socketio"      : 3.1.4    , installed 3.1.5
                                Adapter    "sonoff"        : 2.4.5    , installed 2.4.7
                                Adapter    "statistics"    : 1.0.9    , installed 1.0.10
                                Adapter    "swiss-weather-api": 1.0.2   , installed 1.0.2
                                Adapter    "telegram"      : 1.10.0   , installed 1.10.0
                                Adapter    "tesla-motors"  : 0.5.2    , installed 1.0.7
                                Adapter    "tr-064"        : 4.2.14   , installed 4.2.15
                                Adapter    "unifi"         : 0.5.10   , installed 0.5.10
                                Adapter    "vis"           : 1.4.5    , installed 1.4.7
                                Adapter    "vis-bars"      : 0.1.4    , installed 0.1.4
                                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-history"   : 1.0.0    , installed 1.0.0
                                Adapter    "vis-hqwidgets" : 1.1.7    , installed 1.1.9
                                Adapter    "vis-inventwo"  : 3.2.5    , installed 3.2.5
                                Adapter    "vis-jqui-mfd"  : 1.0.12   , installed 1.0.12
                                Adapter    "vis-justgage"  : 1.0.2    , installed 1.0.2
                                Adapter    "vis-lcars"     : 1.0.4    , installed 1.0.4
                                Adapter    "vis-map"       : 1.0.4    , installed 1.0.4
                                Adapter    "vis-metro"     : 1.1.2    , installed 1.1.2
                                Adapter    "vis-rgraph"    : 0.0.2    , installed 0.0.2
                                Adapter    "vis-timeandweather": 1.1.7   , installed 1.1.7
                                Adapter    "weatherunderground": 3.3.1   , installed 3.3.1
                                Adapter    "web"           : 3.4.9    , installed 3.4.16
                                Adapter    "windows-control": 0.1.5   , installed 0.1.5
                                Adapter    "yahka"         : 0.13.1   , installed 0.13.1
                                Adapter    "zigbee"        : 1.6.6    , installed 1.6.12
                                pi@ioBrokerVM:/opt/iobroker$
                                
                                
                                Homoran 1 Reply Last reply Reply Quote 0
                                • Homoran
                                  Homoran Global Moderator Administrators @ChrisPrefect last edited by

                                  @chrisprefect schon besser.

                                  Aber
                                  Hast du mal npm-Befehle außerhalb von /opt/iobroker ausgeführt?
                                  zum Beispiel im home vom Root?

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

                                    @homoran Ich habe Node 14 installiert heute. Hat das war mit npm zu tun?

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

                                      @chrisprefect sagte in Javascript Adapter rot:

                                      Ich habe Node 14 installiert heute.

                                      ???

                                      Meine Frage war:

                                      @homoran sagte in Javascript Adapter rot:

                                      Hast du mal npm-Befehle außerhalb von /opt/iobroker ausgeführt?

                                      Das bezog sich auf die ioBroker Installation

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

                                        @homoran Sorry, keine Ahnung was du meinst. Was ist npm? Das hat irgendwas mit Node zu tun. Deshalb habe ich das geschrieben. Ich bin nach der Anleitung von Thomas Braun vorgegangen

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

                                          @chrisprefect sagte in Javascript Adapter rot:

                                          Was ist npm?

                                          du führst doch gerade (verkürzt) npm cache clean aus.

                                          npm ist der node package Manager
                                          der muss bei ioBroker zugehörigen Befehlen vom user iobroker ausgeführt werden, nicht vom root und nicht vom pi

                                          irgendwo wird bei latest noch etwas gecached und nicht neu geladen.

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

                                            @homoran Ich kopiere, das was du mir schreibst ins Putty-Fenster.

                                            Jetzt bin ich mit pi angemeldet. Also auch nicht gut. Ich weiss nicht, ob ich das Passwort vom user iobroker kenne.

                                            Homoran 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            597
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            91
                                            3746
                                            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