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.
    • Glasfaser
      Glasfaser @ChrisPrefect last edited by Glasfaser

      @chrisprefect

      Error deleting adapter javascript from disk:

      Da hast aber ganz schön was .........

      Auf hard ...

      cd /opt/iobroker
      npm uninstall javascript
      npm uninstall js-controller
      

      Ausgabe

      iob update -i
      
      ChrisPrefect Homoran 2 Replies Last reply Reply Quote 0
      • ChrisPrefect
        ChrisPrefect @Glasfaser last edited by

        @glasfaser sagte in Javascript Adapter rot:

        iob update -i

        pi@ioBrokerVM:/opt/iobroker$ cd /opt/iobroker
        pi@ioBrokerVM:/opt/iobroker$ npm uninstall javascript
        [sudo] Passwort für pi:
        Das hat nicht funktioniert, bitte nochmal probieren.
        [sudo] Passwort für pi:
        Das hat nicht funktioniert, bitte nochmal probieren.
        [sudo] Passwort für pi:
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
        npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
        
        up to date in 22.931s
        
        155 packages are looking for funding
          run `npm fund` for details
        
        pi@ioBrokerVM:/opt/iobroker$ npm uninstall js-controller
        [..................] / rollbackFailedOptional: verb npm-session 29b8658558937b5f
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@^1.0.7 (node_modules/iobroker.info/node_modules/osx-temperature-sensor):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
        npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@~2.3.2 (node_modules/chokidar/node_modules/fsevents):
        npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
        npm WARN bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
        
        up to date in 20.442s
        
        155 packages are looking for funding
          run `npm fund` for details
        
        pi@ioBrokerVM:/opt/iobroker$
        pi@ioBrokerVM:/opt/iobroker$ iob update -i
        Used repository: stable
        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.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$
        
        
        Glasfaser 1 Reply Last reply Reply Quote 0
        • Homoran
          Homoran Global Moderator Administrators @Glasfaser last edited by

          @glasfaser sagte in Javascript Adapter rot:

          Auf hard ...

          shure?
          ohne -u iobroker -H ?

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

            @chrisprefect

            Erlich ......

            nimm ein Backup .... installiere ioBroker neu

            und lass die Finger von root

            Homoran ChrisPrefect 2 Replies Last reply Reply Quote 1
            • Glasfaser
              Glasfaser @Homoran last edited by

              @homoran sagte in Javascript Adapter rot:

              shure?

              Ja ... wollte sehen was passiert

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

                @glasfaser sagte in Javascript Adapter rot:

                nimm ein Backup

                da sind dann auch deine Skripte drin

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

                  @glasfaser Das Backup das ich habe ist von vorgestern. Das war wohl noch vor dem Update der Admin-Instanz. Aber wenn ich das wieder zurückspiele und wieder update bin ich gleich weit.

                  Homoran Glasfaser 2 Replies Last reply Reply Quote 0
                  • Homoran
                    Homoran Global Moderator Administrators @ChrisPrefect last edited by

                    @chrisprefect sagte in Javascript Adapter rot:

                    Aber wenn ich das wieder zurückspiele und wieder update bin ich gleich weit.

                    nein!
                    Nicht wenn du vorher eine vernünftige Grundinstallation ohne root und ohne Desktop installierst

                    ChrisPrefect 1 Reply Last reply Reply Quote 1
                    • Glasfaser
                      Glasfaser @ChrisPrefect last edited by

                      @chrisprefect sagte in Javascript Adapter rot:

                      und wieder update bin ich gleich weit.

                      Nein...

                      und dann stimmen die Rechte wieder

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

                        @homoran Das schaffe ich in meinem aktuellen Zustand nicht. Um Debian in der VM mit den Virtualbox-Tools zu installieren brauche ich schon einen Tag. Und dann hoffen, dass das Backitup funktioniert ist zu riskant.

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

                          @glasfaser Ich hatte mich seit dem Backup der VM nicht per Root eingeloggt. Wenn dann wär das vor vielen, vielen Monaten mal gewesen.

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

                            @chrisprefect sagte in Javascript Adapter rot:

                            Um Debian in der VM mit den Virtualbox-Tools zu installieren brauche ich schon einen Tag

                            VB kenne ich nicht, bei Proxmox dauert das etwa 1/2 Stunde

                            @chrisprefect sagte in Javascript Adapter rot:

                            Und dann hoffen, dass das Backitup funktioniert ist zu riskant.

                            Das sollte funktionieren.

                            Aber du arbeitest ja mit VMs. Warum machst du nicht erst einmal eine zweite VM parallel neu und installierst da in Ruhe alles

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

                              Ich habe jetzt das Backup der VM zurückgespielt und nochmals alles upgedatet. Diesmal hat es funktioniert. Das einzige, was diesmal anders war, ist, dass ich nun zuerst den Javascript-Adapter auf .19 upgedatet habe, dann den jscrontroller/Host auf 3.3.22 und dann noch den Admin-Adapter auf 5.2.3.

                              Seit dem VM-Backup war ich auch nicht als Root eingeloggt... Schon komisch, dass sich ioBroker bei mir so oft irgendwie aufhängt.

                              Solche Ausfälle sind für mich immer extrem stressig, wenn das Smarthome nicht läuft, gerade wenn man nicht fit ist.

                              Merci für die schnelle und ausführliche Hilfe!

                              Glasfaser 1 Reply Last reply Reply Quote 2
                              • Glasfaser
                                Glasfaser @ChrisPrefect last edited by

                                @chrisprefect

                                .... schön das es wieder geht . 🙂

                                Ein weiteres "rumbastel" wäre auch sinnlos gewesen ... deshalb habe ich auch geschrieben :

                                @glasfaser sagte in Javascript Adapter rot:
                                Erlich ......
                                nimm ein Backup .... installiere ioBroker neu
                                und lass die Finger von root

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

                                Support us

                                ioBroker
                                Community Adapters
                                Donate

                                759
                                Online

                                31.9k
                                Users

                                80.1k
                                Topics

                                1.3m
                                Posts

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