Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. js-controller

    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

    SOLVED js-controller

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

      Hallo,

      mein iobroker läuft an sich richtig gut, nur seit tagen macht er probleme beim updaten. Ledier lässt sich der js-controller nicht updaten. Da kommt immer folgende Meldung. Hat jemand eine Idee, Plattfourm ist ubuntu.

      Update js-controller from @1.4.2 to @1.5.7
      NPM version: 6.8.0
      npm install iobroker.js-controller@1.5.7 --unsafe-perm --production --save --prefix "/opt/iobroker" (System call)
      npm WARN onvif-snapshot@1.0.2 requires a peer of onvif@^0.5.5 but none is installed. You must install peer dependencies yourself.
      npm WARN react-beautiful-dnd@8.0.7 requires a peer of react@^16.3.1 but none is installed. You must install peer dependencies yourself.
      npm WARN react-motion@0.5.2 requires a peer of react@^0.14.9 || ^15.3.0 || ^16.0.0 but none is installed. You must install peer dependencies yourself.
      npm WARN react-redux@5.0.7 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself.
      
      npm ERR! path /opt/iobroker/node_modules/.bin/iobroker
      npm ERR! code EEXIST
      npm ERR! Refusing to delete /opt/iobroker/node_modules/.bin/iobroker: is outside /opt/iobroker/node_modules/iobroker.js-controller and not a link
      npm ERR! File exists: /opt/iobroker/node_modules/.bin/iobroker
      npm ERR! Move it away, and try again.
      
      npm ERR! A complete log of this run can be found in:
      npm ERR!     /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log
      Host "Setesh-Dell" (linux) updated
      
      1 Reply Last reply Reply Quote 0
      • S
        Setesh last edited by

        nach längeren herumprobieren habe ich es geschafft.

        Habe alle Dateien in /opt/iobroker/node_modules/.bin/iobroker per Hand gelöscht und update Prozess neu gestartet.

        1 Reply Last reply Reply Quote 0
        • arteck
          arteck Developer Most Active last edited by arteck

          @Setesh sagte in js-controller:

          /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log

          zeigmal das Log

          1 Reply Last reply Reply Quote 0
          • S
            Setesh last edited by

            Hallo, danke für die Hilfe

            setesh@Setesh-Dell:/opt/iobroker$ sudo bash /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log
            [sudo] password for setesh: 
            /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 1: 0: command not found
            /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 2: 1: command not found
            /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 3: 1: command not found
            /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 4: 1: command not found
            /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 5: 1: command not found
            /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 6: 1: command not found
            /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 7: 1: command not found
            /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 8: 1: command not found
            /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 9: 1: command not found
            /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 10: 1: command not found
            /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 11: 2: command not found
            /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 12: 3: command not found
            /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 13: 4: command not found
            /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 14: 5: command not found
            /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 15: 6: command not found
            /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 16: syntax error near unexpected token `('
            /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log: line 16: `7 http fetch GET 200 https://registry.npmjs.org/iobroker.js-controller 38ms (from cache)'
            
            1 Reply Last reply Reply Quote 0
            • ?
              A Former User last edited by

              @Setesh sagte in js-controller:

              npm ERR! A complete log of this run can be found in:
              npm ERR! /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log

              und was steht in dem Log?

              1 Reply Last reply Reply Quote 0
              • S
                Setesh last edited by

                @arteck said in js-controller:

                /home/setesh/.npm/_logs/2019-02-18T07_24_03_724Z-debug.log

                1476 verbose cwd /opt/iobroker
                1477 verbose Linux 4.15.0-45-generic
                1478 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "iobroker.js-controller@1.5.7" "--unsafe-perm" "--production" "--save" "--prefix" "/opt/iobroker"
                1479 verbose node v8.15.0
                1480 verbose npm  v6.8.0
                1481 error path /opt/iobroker/node_modules/.bin/iobroker
                1482 error code EEXIST
                1483 error Refusing to delete /opt/iobroker/node_modules/.bin/iobroker: is outside /opt/iobroker/node_modules/iobroker.js-controller and not a link
                1484 error File exists: /opt/iobroker/node_modules/.bin/iobroker
                1485 error Move it away, and try again.
                1486 verbose exit [ 1, true ]
                
                
                1 Reply Last reply Reply Quote 0
                • S
                  Setesh last edited by

                  nach längeren herumprobieren habe ich es geschafft.

                  Habe alle Dateien in /opt/iobroker/node_modules/.bin/iobroker per Hand gelöscht und update Prozess neu gestartet.

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

                  Support us

                  ioBroker
                  Community Adapters
                  Donate

                  936
                  Online

                  31.8k
                  Users

                  80.0k
                  Topics

                  1.3m
                  Posts

                  fehlermeldung js-controller update
                  3
                  6
                  705
                  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