Skip to content
  • Home
  • Recent
  • Tags
  • 0 Unread 0
  • Categories
  • Unreplied
  • Popular
  • GitHub
  • Docu
  • Hilfe
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
ioBroker Logo

Community Forum

donate donate
  1. ioBroker Community Home
  2. Deutsch
  3. Skripten / Logik
  4. Javascript Adapter rot

NEWS

  • Weihnachtsangebot 2025! 🎄
    BluefoxB
    Bluefox
    22
    1
    1.2k

  • UPDATE 31.10.: Amazon Alexa - ioBroker Skill läuft aus ?
    apollon77A
    apollon77
    48
    3
    9.2k

  • Monatsrückblick – September 2025
    BluefoxB
    Bluefox
    14
    1
    2.5k

Javascript Adapter rot

Scheduled Pinned Locked Moved Skripten / Logik
91 Posts 4 Posters 6.4k Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • ChrisPrefectC ChrisPrefect

    @thomas-braun sagte in Javascript Adapter rot:

    Ich würde den js-controller und den Javascript nochmal drüberbügeln.

    OK, und wie mache ich das?

    Thomas BraunT Online
    Thomas BraunT Online
    Thomas Braun
    Most Active
    wrote on last edited by
    #31

    @chrisprefect

    cd /opt/iobroker 
    sudo -H -u iobroker npm install iobroker.js-controller
    

    Danach

    iobroker upgrade iobroker.javascript@latest
    

    Linux-Werkzeugkasten:
    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
    NodeJS Fixer Skript:
    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

    ChrisPrefectC 1 Reply Last reply
    0
    • Thomas BraunT Thomas Braun

      @chrisprefect

      cd /opt/iobroker 
      sudo -H -u iobroker npm install iobroker.js-controller
      

      Danach

      iobroker upgrade iobroker.javascript@latest
      
      ChrisPrefectC Offline
      ChrisPrefectC Offline
      ChrisPrefect
      wrote on last edited by
      #32

      @thomas-braun

      Hat glaube ich nicht ganz geklappt:

       sudo -H -u iobroker npm install iobroker.js-controller
      npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
      
      > iobroker.js-controller@3.3.22 preinstall /opt/iobroker/node_modules/iobroker.js-controller
      > node lib/preinstallCheck.js
      
      NPM version: 6.14.15
      
      > iobroker.js-controller@3.3.22 install /opt/iobroker/node_modules/iobroker.js-controller
      > node iobroker.js setup first
      
      object _design/custom updated
      object _design/system updated
      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 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 bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
      
      + iobroker.js-controller@3.3.22
      updated 1 package in 39.486s
      
      152 packages are looking for funding
        run `npm fund` for details
      

      iobroker upgrade iobroker.javascript@latest

      Uncaught Rejection: SyntaxError: /opt/iobroker/node_modules/iobroker.javascript/io-package.json: Unexpected end of JSON input
          at parse (<anonymous>)
          at Object.Module._extensions..json (internal/modules/cjs/loader.js:1128:22)
          at Module.load (internal/modules/cjs/loader.js:950:32)
          at Function.Module._load (internal/modules/cjs/loader.js:790:12)
          at Module.require (internal/modules/cjs/loader.js:974:19)
          at require (internal/modules/cjs/helpers.js:93:18)
          at Upgrade.upgradeAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js:368:27)
          at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js:276:26
          at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2623:45)
          at processImmediate (internal/timers.js:466:21)
      
      
      HomoranH Thomas BraunT 2 Replies Last reply
      0
      • ChrisPrefectC ChrisPrefect

        @thomas-braun

        Hat glaube ich nicht ganz geklappt:

         sudo -H -u iobroker npm install iobroker.js-controller
        npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
        
        > iobroker.js-controller@3.3.22 preinstall /opt/iobroker/node_modules/iobroker.js-controller
        > node lib/preinstallCheck.js
        
        NPM version: 6.14.15
        
        > iobroker.js-controller@3.3.22 install /opt/iobroker/node_modules/iobroker.js-controller
        > node iobroker.js setup first
        
        object _design/custom updated
        object _design/system updated
        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 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 bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
        
        + iobroker.js-controller@3.3.22
        updated 1 package in 39.486s
        
        152 packages are looking for funding
          run `npm fund` for details
        

        iobroker upgrade iobroker.javascript@latest

        Uncaught Rejection: SyntaxError: /opt/iobroker/node_modules/iobroker.javascript/io-package.json: Unexpected end of JSON input
            at parse (<anonymous>)
            at Object.Module._extensions..json (internal/modules/cjs/loader.js:1128:22)
            at Module.load (internal/modules/cjs/loader.js:950:32)
            at Function.Module._load (internal/modules/cjs/loader.js:790:12)
            at Module.require (internal/modules/cjs/loader.js:974:19)
            at require (internal/modules/cjs/helpers.js:93:18)
            at Upgrade.upgradeAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js:368:27)
            at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js:276:26
            at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2623:45)
            at processImmediate (internal/timers.js:466:21)
        
        
        HomoranH Do not disturb
        HomoranH Do not disturb
        Homoran
        Global Moderator Administrators
        wrote on last edited by
        #33

        @chrisprefect sagte in Javascript Adapter rot:

        Hat glaube ich nicht ganz geklappt:

        doch! sind nur optionale Abhängigkeiten

        @chrisprefect sagte in Javascript Adapter rot:

        iobroker upgrade iobroker.javascript@latest

        solange sich ioBroker noch aus dem Cache bedient wird das auch so bleiben

        kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

        Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

        der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

        1 Reply Last reply
        0
        • ChrisPrefectC ChrisPrefect

          @thomas-braun

          Hat glaube ich nicht ganz geklappt:

           sudo -H -u iobroker npm install iobroker.js-controller
          npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
          
          > iobroker.js-controller@3.3.22 preinstall /opt/iobroker/node_modules/iobroker.js-controller
          > node lib/preinstallCheck.js
          
          NPM version: 6.14.15
          
          > iobroker.js-controller@3.3.22 install /opt/iobroker/node_modules/iobroker.js-controller
          > node iobroker.js setup first
          
          object _design/custom updated
          object _design/system updated
          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 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 bl@0.7.0 requires a peer of stream-browserify@* but none is installed. You must install peer dependencies yourself.
          
          + iobroker.js-controller@3.3.22
          updated 1 package in 39.486s
          
          152 packages are looking for funding
            run `npm fund` for details
          

          iobroker upgrade iobroker.javascript@latest

          Uncaught Rejection: SyntaxError: /opt/iobroker/node_modules/iobroker.javascript/io-package.json: Unexpected end of JSON input
              at parse (<anonymous>)
              at Object.Module._extensions..json (internal/modules/cjs/loader.js:1128:22)
              at Module.load (internal/modules/cjs/loader.js:950:32)
              at Function.Module._load (internal/modules/cjs/loader.js:790:12)
              at Module.require (internal/modules/cjs/loader.js:974:19)
              at require (internal/modules/cjs/helpers.js:93:18)
              at Upgrade.upgradeAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js:368:27)
              at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js:276:26
              at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2623:45)
              at processImmediate (internal/timers.js:466:21)
          
          
          Thomas BraunT Online
          Thomas BraunT Online
          Thomas Braun
          Most Active
          wrote on last edited by
          #34

          @chrisprefect

          cd /opt/iobroker 
          sudo -H -u iobroker npm cache clean --force
          

          Du bist nicht zufällig da als root unterwegs?

          Linux-Werkzeugkasten:
          https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
          NodeJS Fixer Skript:
          https://forum.iobroker.net/topic/68035/iob-node-fix-skript
          iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

          HomoranH 1 Reply Last reply
          0
          • Thomas BraunT Thomas Braun

            @chrisprefect

            cd /opt/iobroker 
            sudo -H -u iobroker npm cache clean --force
            

            Du bist nicht zufällig da als root unterwegs?

            HomoranH Do not disturb
            HomoranH Do not disturb
            Homoran
            Global Moderator Administrators
            wrote on last edited by
            #35

            @thomas-braun sagte in Javascript Adapter rot:

            Du bist nicht zufällig da als root unterwegs?

            @chrisprefect sagte in Javascript Adapter rot:

            Error: EACCES: permission denied, scandir '/root'

            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

            Thomas BraunT 1 Reply Last reply
            0
            • HomoranH Homoran

              @thomas-braun sagte in Javascript Adapter rot:

              Du bist nicht zufällig da als root unterwegs?

              @chrisprefect sagte in Javascript Adapter rot:

              Error: EACCES: permission denied, scandir '/root'

              Thomas BraunT Online
              Thomas BraunT Online
              Thomas Braun
              Most Active
              wrote on last edited by
              #36

              @homoran

              Genau deswegen... Das /home vom root hat da eigentlich nix zu suchen...

              Linux-Werkzeugkasten:
              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
              NodeJS Fixer Skript:
              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

              ChrisPrefectC 1 Reply Last reply
              0
              • Thomas BraunT Thomas Braun

                @homoran

                Genau deswegen... Das /home vom root hat da eigentlich nix zu suchen...

                ChrisPrefectC Offline
                ChrisPrefectC Offline
                ChrisPrefect
                wrote on last edited by
                #37

                @thomas-braun Habs nochmals mit einem User ausgeführt:

                pi@ioBrokerVM:~$ cd /opt/iobroker
                pi@ioBrokerVM:/opt/iobroker$ sudo -H -u iobroker npm cache clean --force
                [sudo] Passwort für pi:
                npm WARN using --force I sure hope you know what you are doing.
                pi@ioBrokerVM:/opt/iobroker$
                

                Hat aber nichts geändert.

                HomoranH Thomas BraunT 2 Replies Last reply
                0
                • ChrisPrefectC ChrisPrefect

                  @thomas-braun Habs nochmals mit einem User ausgeführt:

                  pi@ioBrokerVM:~$ cd /opt/iobroker
                  pi@ioBrokerVM:/opt/iobroker$ sudo -H -u iobroker npm cache clean --force
                  [sudo] Passwort für pi:
                  npm WARN using --force I sure hope you know what you are doing.
                  pi@ioBrokerVM:/opt/iobroker$
                  

                  Hat aber nichts geändert.

                  HomoranH Do not disturb
                  HomoranH Do not disturb
                  Homoran
                  Global Moderator Administrators
                  wrote on last edited by
                  #38

                  @chrisprefect sagte in Javascript Adapter rot:

                  Hat aber nichts geändert.

                  wobei?
                  hast du danach nochmal iob update -i ausgeführt?
                  Was kam denn da diesmal?

                  kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                  Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                  der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                  ChrisPrefectC 1 Reply Last reply
                  0
                  • HomoranH Homoran

                    @chrisprefect sagte in Javascript Adapter rot:

                    Hat aber nichts geändert.

                    wobei?
                    hast du danach nochmal iob update -i ausgeführt?
                    Was kam denn da diesmal?

                    ChrisPrefectC Offline
                    ChrisPrefectC Offline
                    ChrisPrefect
                    wrote on last edited by
                    #39

                    @homoran

                    pi@ioBrokerVM:/opt/iobroker$ iobroker upgrade iobroker.javascript@latest
                    Uncaught Rejection: SyntaxError: /opt/iobroker/node_modules/iobroker.javascript/io-package.json: Unexpected end of JSON input
                        at parse (<anonymous>)
                        at Object.Module._extensions..json (internal/modules/cjs/loader.js:1128:22)
                        at Module.load (internal/modules/cjs/loader.js:950:32)
                        at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                        at Module.require (internal/modules/cjs/loader.js:974:19)
                        at require (internal/modules/cjs/helpers.js:93:18)
                        at Upgrade.upgradeAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js:368:27)
                        at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js:276:26
                        at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2623:45)
                        at processImmediate (internal/timers.js:466:21)
                    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
                    pi@ioBrokerVM:/opt/iobroker$
                    
                    
                    HomoranH 1 Reply Last reply
                    0
                    • ChrisPrefectC ChrisPrefect

                      @thomas-braun Habs nochmals mit einem User ausgeführt:

                      pi@ioBrokerVM:~$ cd /opt/iobroker
                      pi@ioBrokerVM:/opt/iobroker$ sudo -H -u iobroker npm cache clean --force
                      [sudo] Passwort für pi:
                      npm WARN using --force I sure hope you know what you are doing.
                      pi@ioBrokerVM:/opt/iobroker$
                      

                      Hat aber nichts geändert.

                      Thomas BraunT Online
                      Thomas BraunT Online
                      Thomas Braun
                      Most Active
                      wrote on last edited by
                      #40

                      @chrisprefect sagte in Javascript Adapter rot:

                      Habs nochmals mit einem User ausgeführt

                      Dann warst du zuvor da als root unterwegs?

                      Linux-Werkzeugkasten:
                      https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                      NodeJS Fixer Skript:
                      https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                      iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                      ChrisPrefectC 1 Reply Last reply
                      0
                      • Thomas BraunT Thomas Braun

                        @chrisprefect sagte in Javascript Adapter rot:

                        Habs nochmals mit einem User ausgeführt

                        Dann warst du zuvor da als root unterwegs?

                        ChrisPrefectC Offline
                        ChrisPrefectC Offline
                        ChrisPrefect
                        wrote on last edited by ChrisPrefect
                        #41

                        @thomas-braun ja. Als user bekomme ich sonst zu oft Fehlermeldungen wenn wieder irgend was root Berechtigungen braucht. Das stresst mich dann zu oft.

                        Thomas BraunT 1 Reply Last reply
                        0
                        • ChrisPrefectC ChrisPrefect

                          @homoran

                          pi@ioBrokerVM:/opt/iobroker$ iobroker upgrade iobroker.javascript@latest
                          Uncaught Rejection: SyntaxError: /opt/iobroker/node_modules/iobroker.javascript/io-package.json: Unexpected end of JSON input
                              at parse (<anonymous>)
                              at Object.Module._extensions..json (internal/modules/cjs/loader.js:1128:22)
                              at Module.load (internal/modules/cjs/loader.js:950:32)
                              at Function.Module._load (internal/modules/cjs/loader.js:790:12)
                              at Module.require (internal/modules/cjs/loader.js:974:19)
                              at require (internal/modules/cjs/helpers.js:93:18)
                              at Upgrade.upgradeAdapter (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js:368:27)
                              at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupUpgrade.js:276:26
                              at Immediate.<anonymous> (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:2623:45)
                              at processImmediate (internal/timers.js:466:21)
                          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
                          pi@ioBrokerVM:/opt/iobroker$
                          
                          
                          HomoranH Do not disturb
                          HomoranH Do not disturb
                          Homoran
                          Global Moderator Administrators
                          wrote on last edited by
                          #42

                          @chrisprefect sagte in Javascript Adapter rot:

                          hash unchanged, use cached sources

                          immer noch

                          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                          HomoranH 1 Reply Last reply
                          0
                          • HomoranH Homoran

                            @chrisprefect sagte in Javascript Adapter rot:

                            hash unchanged, use cached sources

                            immer noch

                            HomoranH Do not disturb
                            HomoranH Do not disturb
                            Homoran
                            Global Moderator Administrators
                            wrote on last edited by Homoran
                            #43

                            @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

                            kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                            Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                            der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                            ChrisPrefectC 1 Reply Last reply
                            0
                            • ChrisPrefectC ChrisPrefect

                              @thomas-braun ja. Als user bekomme ich sonst zu oft Fehlermeldungen wenn wieder irgend was root Berechtigungen braucht. Das stresst mich dann zu oft.

                              Thomas BraunT Online
                              Thomas BraunT Online
                              Thomas Braun
                              Most Active
                              wrote on last edited by
                              #44

                              @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.

                              Linux-Werkzeugkasten:
                              https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                              NodeJS Fixer Skript:
                              https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                              iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                              ChrisPrefectC 1 Reply Last reply
                              1
                              • Thomas BraunT Thomas Braun

                                @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.

                                ChrisPrefectC Offline
                                ChrisPrefectC Offline
                                ChrisPrefect
                                wrote on last edited by
                                #45

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

                                Thomas BraunT 1 Reply Last reply
                                0
                                • HomoranH 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

                                  ChrisPrefectC Offline
                                  ChrisPrefectC Offline
                                  ChrisPrefect
                                  wrote on last edited by
                                  #46

                                  @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
                                  0
                                  • ChrisPrefectC ChrisPrefect

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

                                    Thomas BraunT Online
                                    Thomas BraunT Online
                                    Thomas Braun
                                    Most Active
                                    wrote on last edited by
                                    #47

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

                                    Linux-Werkzeugkasten:
                                    https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                    NodeJS Fixer Skript:
                                    https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                    iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                    ChrisPrefectC 1 Reply Last reply
                                    0
                                    • Thomas BraunT Thomas Braun

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

                                      ChrisPrefectC Offline
                                      ChrisPrefectC Offline
                                      ChrisPrefect
                                      wrote on last edited by
                                      #48

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

                                      Thomas BraunT HomoranH 3 Replies Last reply
                                      -1
                                      • ChrisPrefectC ChrisPrefect

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

                                        Thomas BraunT Online
                                        Thomas BraunT Online
                                        Thomas Braun
                                        Most Active
                                        wrote on last edited by
                                        #49

                                        @chrisprefect sagte in Javascript Adapter rot:

                                        Das ist aber nicht das Problem.

                                        Ich behaupte das Gegenteil.

                                        Linux-Werkzeugkasten:
                                        https://forum.iobroker.net/topic/42952/der-kleine-iobroker-linux-werkzeugkasten
                                        NodeJS Fixer Skript:
                                        https://forum.iobroker.net/topic/68035/iob-node-fix-skript
                                        iob_diag: curl -sLf -o diag.sh https://iobroker.net/diag.sh && bash diag.sh

                                        1 Reply Last reply
                                        1
                                        • ChrisPrefectC ChrisPrefect

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

                                          HomoranH Do not disturb
                                          HomoranH Do not disturb
                                          Homoran
                                          Global Moderator Administrators
                                          wrote on last edited by
                                          #50

                                          @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

                                          kein Support per PN! - Fragen im Forum stellen - es gibt fast nichts, was nicht auch für andere interessant ist.

                                          Benutzt das Voting rechts unten im Beitrag wenn er euch geholfen hat.

                                          der Installationsfixer: curl -fsL https://iobroker.net/fix.sh | bash -

                                          ChrisPrefectC 1 Reply Last reply
                                          1
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          Support us

                                          ioBroker
                                          Community Adapters
                                          Donate

                                          479

                                          Online

                                          32.5k

                                          Users

                                          81.7k

                                          Topics

                                          1.3m

                                          Posts
                                          Community
                                          Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen | Einwilligungseinstellungen
                                          ioBroker Community 2014-2025
                                          logo
                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Home
                                          • Recent
                                          • Tags
                                          • Unread 0
                                          • Categories
                                          • Unreplied
                                          • Popular
                                          • GitHub
                                          • Docu
                                          • Hilfe