Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Fehler seit Update auf JS Engine 3.4.0

    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 seit Update auf JS Engine 3.4.0

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

      @LDSign:

      Hallo

      Vorhin habe ich die über das Admin-UI angebotene JS Engine Version 3.4.0 installiert. Danach hat er bei mir alle (!) Adapter neu installiert und nun kommen zwei davon nicht hoch:

      Der JS-Adapter an sich:

      host.SmartHome 2017-09-13 08:48:20.516 info Restart adapter system.adapter.javascript.0 because enabled

      host.SmartHome 2017-09-13 08:48:20.516 error instance system.adapter.javascript.0 terminated with code 1 ()

      Und der hm.rega Adapter:

      host.SmartHome 2017-09-13 08:51:30.874 error startInstance hm-rega.0: cannot find start file!

      Update über die Konsole habe ich versucht. Kein Erfolg.

      Wie bekomme ich das wieder zum Laufen?

      Danke und Gruß,

      Frank `
      hm-rega:

      cd /opt/iobroker
      npm cache clean
      npm i iobroker.hm-rega --production
      
      

      javascript: Da muss man untersuchen. Dafür:

      cd /opt/iobroker
      iobroker stop javascript.0
      node node_modules/iobroker.javasciprt/javascript.js --force --logs
      
      

      Und dann schauen, was gesagt wird.

      1 Reply Last reply Reply Quote 0
      • L
        LDSign last edited by

        Neuinstallation von hm.rega lief durch (und funktioniert jetzt).

        node node_modules/iobroker.javasciprt/javascript.js --force --logs
        

        liefert

        module.js:491
            throw err;
            ^
        
        Error: Cannot find module '/opt/iobroker/node_modules/iobroker.javasciprt/javascript.js'
            at Function.Module._resolveFilename (module.js:489:15)
            at Function.Module._load (module.js:439:25)
            at Function.Module.runMain (module.js:609:10)
            at startup (bootstrap_node.js:158:16)
            at bootstrap_node.js:598:3
        

        Danke 🙂

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

          @LDSign:

          node_modules/iobroker.javasciprt/javascript.js –force --logs `

          Wirklich so?

          Gruß

          Rainer

          1 Reply Last reply Reply Quote 0
          • L
            LDSign last edited by

            Oooops - hab ich per Copy&Paste übernommen und nicht kontrolliert 😉

            node node_modules/iobroker.javascript/javascript.js --force --logs
            

            liefert jetzt

            module.js:491
                throw err;
                ^
            
            Error: Cannot find module 'coffee-script'
                at Function.Module._resolveFilename (module.js:489:15)
                at Function.Module._load (module.js:439:25)
                at Module.require (module.js:517:17)
                at require (internal/module.js:11:18)
                at Object. <anonymous>(/opt/iobroker/node_modules/coffee-compiler/coffee-compiler.js:7:10)
                at Module._compile (module.js:573:30)
                at Object.Module._extensions..js (module.js:584:10)
                at Module.load (module.js:507:32)
                at tryModuleLoad (module.js:470:12)
                at Function.Module._load (module.js:462:3)</anonymous> 
            
            1 Reply Last reply Reply Quote 0
            • Bluefox
              Bluefox last edited by

              Dann probiere mal:

              cd /opt/iobroker
              npm i iobroker.javascript --production --force
              
              
              1 Reply Last reply Reply Quote 0
              • L
                LDSign last edited by

                Leider nicht - gleicher Fehler wie im Einstiegspost 😞

                instance system.adapter.javascript.0 terminated with code 1 ()
                
                1 Reply Last reply Reply Quote 0
                • Homoran
                  Homoran Global Moderator Administrators last edited by

                  Versuch es mal bitte zuerst ein

                  sudo npm cache clean
                  

                  Und dann nochmal, wie Bluefox geschrieben hat.

                  Gruß

                  Rainer

                  1 Reply Last reply Reply Quote 0
                  • L
                    LDSign last edited by

                    Auch nix 😞

                    "npm cache clean" scheint auch seit der 5er npm nichts mehr zu nutzen:

                    npm ERR! As of npm@5, the npm cache self-heals from corruption issues and data extracted from the cache is guaranteed to be valid. If you want to make sure everything is consistent, use 'npm cache verify' instead.
                    npm ERR!
                    npm ERR! If you're sure you want to delete the entire cache, rerun this command with --force.
                    
                    npm ERR! A complete log of this run can be found in:
                    npm ERR!     /root/.npm/_logs/2017-09-13T14_35_40_749Z-debug.log
                    
                    
                    npm cache clean --force
                    

                    Hab ich dennoch versucht - ohne Erfolg. Bin ratlos…kann ich auf die Version vor dem Update zurückgehen? Wie bekomme ich heraus, welche das war und wie spiele ich die dann ein?

                    Gruß,

                    Frank

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

                      @LDSign:

                      seit der 5er npm `
                      mit der habe ich nur Probleme!

                      Mein Vorschlag wäre: bitte downgrade auf 3.x (oder 4.x)

                      Gruß

                      Rainer

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

                        @Homoran:

                        @LDSign:

                        seit der 5er npm `
                        mit der habe ich nur Probleme!

                        Mein Vorschlag wäre: bitte downgrade auf 3.x (oder 4.x)

                        Gruß

                        Rainer `
                        Das kann man damit machen:

                        npm i npm@latest-4 -g
                        
                        
                        1 Reply Last reply Reply Quote 0
                        • L
                          LDSign last edited by

                          Habe die 4er Version (4.6.1) von npm jetzt installiert. "npm cache clean" läuft nun wie gewohnt.

                          javascript-adapter erneut installiert (mit den Varianten oben)…als root...mit sudo...nichts 😞

                          Leider immer noch der gleiche Fehler...

                          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

                          839
                          Online

                          31.8k
                          Users

                          80.0k
                          Topics

                          1.3m
                          Posts

                          3
                          12
                          1441
                          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