Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Fehler beim Upgrade des js-controllers

    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

    Fehler beim Upgrade des js-controllers

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      ChristianF last edited by

      Hallo,

      folgenden Fehler hat es bei mir beim Upgrade des js-controllers gegeben:

      root@HWR-Raspi:/opt/iobroker# npm install iobroker.js-controller --production
      \
      > iobroker.js-controller@0.11.3 install /opt/iobroker/node_modules/iobroker.js-controller
      > node lib/setup.js setup first
      
      fs.js:549
        return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
                       ^
      
      Error: EACCES: permission denied, open '/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/../../../../killall.sh'
          at Error (native)
          at Object.fs.openSync (fs.js:549:18)
          at Object.fs.writeFileSync (fs.js:1156:15)
          at Setup.setup (/opt/iobroker/node_modules/iobroker.js-controller/lib/setup/setupSetup.js:213:24)
          at /opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:538:23
          at Object. <anonymous>(/opt/iobroker/node_modules/iobroker.js-controller/lib/setup.js:559:11)
          at Module._compile (module.js:409:26)
          at Object.Module._extensions..js (module.js:416:10)
          at Module.load (module.js:343:32)
          at Function.Module._load (module.js:300:12)
      npm ERR! Linux 4.4.13-v7+
      npm ERR! argv "/usr/bin/nodejs" "/usr/bin/npm" "install" "iobroker.js-controller" "--production"
      npm ERR! node v4.4.7
      npm ERR! npm  v2.15.8
      npm ERR! code ELIFECYCLE
      
      npm ERR! iobroker.js-controller@0.11.3 install: `node lib/setup.js setup first`
      npm ERR! Exit status 1
      npm ERR!
      npm ERR! Failed at the iobroker.js-controller@0.11.3 install script 'node lib/setup.js setup first'.
      npm ERR! This is most likely a problem with the iobroker.js-controller package,
      npm ERR! not with npm itself.
      npm ERR! Tell the author that this fails on your system:
      npm ERR!     node lib/setup.js setup first
      npm ERR! You can get information on how to open an issue for this project with:
      npm ERR!     npm bugs iobroker.js-controller
      npm ERR! Or if that isn't available, you can get their info via:
      npm ERR!
      npm ERR!     npm owner ls iobroker.js-controller
      npm ERR! There is likely additional logging output above.
      
      npm ERR! Please include the following file with any support request:
      npm ERR!     /opt/iobroker/npm-debug.log</anonymous> 
      

      Einen Fehler bezüglich des Killall Scripts habe ich noch an anderer Stelle: beim Aufruf von ./iobroker stop kommt ein Exitcode 127 für killall.sh . Ich habe kurz nachgelesen und herausgefunden dass 127 der Exitcode ist für "File not found". Vielleicht ist irgendwo ein relativer Pfad falsch oder so?

      Viele grüße

      Christian

      1 Reply Last reply Reply Quote 0
      • C
        ChristianF last edited by

        Hmm, niemand ne Idee?

        Viele Grüße

        Christian

        1 Reply Last reply Reply Quote 0
        • C
          ChristianF last edited by

          Hab die Installation plattgemacht und neu installiert -> läuft.

          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

          868
          Online

          31.9k
          Users

          80.3k
          Topics

          1.3m
          Posts

          1
          3
          856
          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