Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. [fixed]js-controller 0.714 installation funktioniert nicht

    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

    [fixed]js-controller 0.714 installation funktioniert nicht

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

      moin,

      ich wollte heute morgen den js-controller über die Admin Seite updaten. Hallte leider nicht funktioniert! Danach habe ich auf Linux Ebene als Root

      root@Test:~# cd /opt/iobroker

      root@Test:/opt/iobroker# npm install iobroker.js-controller

      nach der Installation

      root@Test:/opt/iobroker iobroker start

      kommt die Fehlermeldung

      module.js:340
          throw err;
                ^
      Error: Cannot find module '/root/node_modules/iobroker.js-controller/iobroker.js'
          at Function.Module._resolveFilename (module.js:338:15)
          at Function.Module._load (module.js:280:25)
          at Function.Module.runMain (module.js:497:10)
          at startup (node.js:119:16)
          at node.js:935:3
      

      was kann ich noch tun?

      mfg

      Arminhh

      1 Reply Last reply Reply Quote 0
      • Bluefox
        Bluefox last edited by

        cd /opt/iobroker
        sudo pgrep -f '^io.*' | sudo xargs kill -KILL
        npm install iobroker.js-controller
        sudo iobroker start
        
        
        1 Reply Last reply Reply Quote 0
        • A
          Arminhh last edited by

          Danke Bluefox für die Hilfe!

          Sudo wird angemeckert weil ich als Root angemeldet bin

          ohne sudo gekomme ich beim kill Befehl diese Fehlermeldung

          root@Test:/opt/iobroker# pgrep -f '^io.*' | xargs kill -KILL
          kill: Ungültige Option -- K
          
          Usage:
           kill [options] <pid>[...]
          
          Options:
           <pid>[...]            send signal to every <pid>listed
           -<signal>, -s, --signal <signal>specify the <signal>to be sent
           -l, --list=[<signal>]  list all signal names, or convert one to a name
           -L, --table            list all signal names in a nice table
          
           -h, --help     display this help and exit
           -V, --version  output version information and exit
          
          For more details see kill(1).
          root@Test:/opt/iobroker# pgrep -f '^io.*' | xargs kill -KILL
          kill: Ungültige Option -- K</signal></signal></signal></signal></pid></pid></pid> 
          

          Daraufhin habe ich auch direkt nach einem reboot versucht zu installieren. Gleiche Fehlermeldung wie weiter oben beschrieben!

          1 Reply Last reply Reply Quote 0
          • Bluefox
            Bluefox last edited by

            Mich irritiert:

            /root/node_modules/iobroker.js-controller/iobroker.js

            Es muss doch /opt/iobroker sein.

            und so was?

            cd /opt/iobroker
            sudo chmod 777 * -R
            sudo pgrep -f '^io.*' | sudo xargs kill -9
            sudo npm install iobroker.js-controller
            sudo ./iobroker start
            
            

            Vor allem, was gibt "sudo npm install iobroker.js-controller" aus?

            1 Reply Last reply Reply Quote 0
            • A
              Arminhh last edited by

              Danke für die Hilfe! Nach dem ich die Rechte gesetzt habe (chmod 777 * -R) hat es funktioniert!!

              mfg

              Arminhh

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

              Support us

              ioBroker
              Community Adapters
              Donate

              414
              Online

              31.8k
              Users

              80.0k
              Topics

              1.3m
              Posts

              2
              5
              649
              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