Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iobroker funktioniert nicht js:638

    NEWS

    • 15. 05. Wartungsarbeiten am ioBroker Forum

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    iobroker funktioniert nicht js:638

    This topic has been deleted. Only users with topic management privileges can see it.
    • C
      calli236 @Thomas Braun last edited by

      @thomas-braun
      Achso tut mir leid

      pi@raspberrypi:~ $ iobroker is running on this host
      internal/modules/cjs/loader.js:638
      throw err;
      ^

      Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
      at Function.Module._load (internal/modules/cjs/loader.js:562:25)
      at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
      at startup (internal/bootstrap/node.js:283:19)
      at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
      pi@raspberrypi:~ $

      BBTown 1 Reply Last reply Reply Quote 0
      • BBTown
        BBTown @calli236 last edited by

        @calli236
        Log-Files und Codes gehören in "Code-Tags"
        CodeTags.gif

        C 1 Reply Last reply Reply Quote 1
        • C
          calli236 @BBTown last edited by

          @bbtown

          pi@raspberrypi:~ $ iobroker is running on this host
          internal/modules/cjs/loader.js:638
          throw err;
          ^
          
          Error: Cannot find module '/opt/iobroker/node_modules/iobroker.js-controller/iobroker.js'
          at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
          at Function.Module._load (internal/modules/cjs/loader.js:562:25)
          at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
          at startup (internal/bootstrap/node.js:283:19)
          at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)
          pi@raspberrypi:~ $```
          

          code_text

          Thomas Braun 1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @calli236 last edited by Thomas Braun

            @calli236

            dmesg -T | grep -i ext4
            cd /opt/iobroker
            iobroker stop
            sudo -H -u iobroker npm install iobroker.js-controller
            iobroker restart
            
            C 2 Replies Last reply Reply Quote 1
            • C
              calli236 @Thomas Braun last edited by

              @thomas-braun das kam nach dem ersten befehl

              pi@raspberrypi:~ $ dmesg -T | grep -i ext4
              [Mi Nov 24 11:12:30 2021] Kernel command line: coherent_pool=1M 8250.nr_uarts=0 snd_bcm2835.enable_compat_alsa=0 snd_bcm2835.enable_hdmi=1 snd_bcm2835.enable_headphones=1  smsc95xx.macaddr=DC:A6:32:9C:84:64 vc_mem.mem_base=0x3ec00000 vc_mem.mem_size=0x40000000  console=ttyS0,115200 console=tty1 root=PARTUUID=bc543526-02 rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait
              [Mi Nov 24 11:12:31 2021] EXT4-fs (mmcblk0p2): mounted filesystem with ordered data mode. Opts: (null)
              [Mi Nov 24 11:12:31 2021] VFS: Mounted root (ext4 filesystem) readonly on device 179:2.
              [Mi Nov 24 11:12:33 2021] EXT4-fs (mmcblk0p2): re-mounted. Opts: (null)
              pi@raspberrypi:~ $
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @calli236 last edited by Thomas Braun

                @calli236

                Passt. Dann installier es nochmal (s.o.).

                C 1 Reply Last reply Reply Quote 0
                • C
                  calli236 @Thomas Braun last edited by

                  @thomas-braun

                  jetzt gehts vielen Dank 🙂

                  1 Reply Last reply Reply Quote 0
                  • C
                    calli236 @Thomas Braun last edited by

                    @thomas-braun

                    eine frage hätte ich noch wie aktualisiere ich den iobroker weil bei mir ist der immernoch auf version v10.24.1 obwohl ich schon mehrfach auf 14 aktualisiert habe

                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • Thomas Braun
                      Thomas Braun Most Active @calli236 last edited by

                      @calli236

                      Du meinst vermutlich nodeJS.
                      Schau in meiner Signatur, da steht's drin.

                      C 1 Reply Last reply Reply Quote 0
                      • C
                        calli236 @Thomas Braun last edited by

                        @thomas-braun hallo ich mal wieder glaube hab es jetzt geschafft alles zu zerstören

                        pi@raspberrypi:~ $ sudo -H -u iobroker npm install iobroker.js-controller
                        npm WARN checkPermissions Missing write access to /home/pi/node_modules/iobroker   .js-controller
                        npm WARN checkPermissions Missing write access to /home/pi/node_modules
                        npm WARN enoent ENOENT: no such file or directory, open '/home/pi/package.json'
                        npm WARN pi No description
                        npm WARN pi No repository field.
                        npm WARN pi No README data
                        npm WARN pi No license field.
                        
                        npm ERR! code EACCES
                        npm ERR! syscall access
                        npm ERR! path /home/pi/node_modules/iobroker.js-controller
                        npm ERR! errno -13
                        npm ERR! Error: EACCES: permission denied, access '/home/pi/node_modules/iobroke   r.js-controller'
                        npm ERR!  [Error: EACCES: permission denied, access '/home/pi/node_modules/iobro   ker.js-controller'] {
                        npm ERR!   errno: -13,
                        npm ERR!   code: 'EACCES',
                        npm ERR!   syscall: 'access',
                        npm ERR!   path: '/home/pi/node_modules/iobroker.js-controller'
                        npm ERR! }
                        npm ERR!
                        npm ERR! The operation was rejected by your operating system.
                        npm ERR! It is likely you do not have the permissions to access this file as the    current user
                        npm ERR!
                        npm ERR! If you believe this might be a permissions issue, please double-check t   he
                        npm ERR! permissions of the file and its containing directories, or try running
                        npm ERR! the command again as root/Administrator.
                        
                        npm ERR! A complete log of this run can be found in:
                        npm ERR!     /home/iobroker/.npm/_logs/2021-12-28T17_12_15_621Z-debug.log
                        pi@raspberrypi:~ $
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @calli236 last edited by Thomas Braun

                          @calli236

                          Du solltest auch alles eingeben...

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

                          Ist dein nodeJS denn nun senkrecht?

                          C 1 Reply Last reply Reply Quote 0
                          • C
                            calli236 @Thomas Braun last edited by

                            @thomas-braun

                            pi@raspberrypi:/opt/iobroker $ sudo -H -u iobroker npm install iobroker.js-controller
                            
                            > 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":"arm"})
                            
                            + iobroker.js-controller@3.3.22
                            updated 1 package in 29.502s
                            
                            23 packages are looking for funding
                              run `npm fund` for details
                            
                            
                            
                               ╭───────────────────────────────────────────────────────────────╮
                               │                                                               │
                               │      New major version of npm available! 6.14.15 → 8.3.0      │
                               │   Changelog: https://github.com/npm/cli/releases/tag/v8.3.0   │
                               │               Run npm install -g npm to update!               │
                               │                                                               │
                               ╰───────────────────────────────────────────────────────────────╯
                            
                            code_text
                            
                            Thomas Braun 1 Reply Last reply Reply Quote 0
                            • Thomas Braun
                              Thomas Braun Most Active @calli236 last edited by

                              @calli236
                              Und Finger weg von dem npm-Update, das da empfohlen wird.

                              Läuft jetzt wieder alles?

                              C 1 Reply Last reply Reply Quote 0
                              • C
                                calli236 @Thomas Braun last edited by

                                @thomas-braun ne kann keine verbindung herstellen hab bei ebay einen conbee stick bestellt wo neu und funktionsfähig daberi stand hatte den reingesteckt und seid dem geht nichts mehr

                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @calli236 last edited by

                                  @calli236 sagte in iobroker funktioniert nicht js:638:

                                  seid dem geht nichts mehr

                                  Heißt konkret?

                                  C 1 Reply Last reply Reply Quote 1
                                  • C
                                    calli236 @Thomas Braun last edited by

                                    @thomas-braun wenn ich im browser die ip adresse eingebe steht da die seite ist nicht erreichbar

                                    Thomas Braun 1 Reply Last reply Reply Quote 1
                                    • Thomas Braun
                                      Thomas Braun Most Active @calli236 last edited by Thomas Braun

                                      @calli236

                                      Bitte leserlich schreiben, Groß/Kleinschreibung und Satzzeichen sind kein Luxus, soviel Zeit sollte sein.

                                      iobroker status
                                      iobroker list adapters
                                      iobroker list instances
                                      which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                                      
                                      C 1 Reply Last reply Reply Quote 0
                                      • C
                                        calli236 @Thomas Braun last edited by calli236

                                        @thomas-braun das kam beim Ersten

                                        pi@raspberrypi:~ $ iobroker status
                                        iobroker is not running on this host.
                                        
                                        
                                        Objects type: file
                                        States  type: file
                                        

                                        dann das !

                                        system.adapter.admin                   : admin          - v5.2.3
                                        system.adapter.discovery               : discovery      - v2.7.3
                                        pi@raspberrypi:~ $
                                        
                                        pi@raspberrypi:~ $ iobroker list instances
                                          system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                        
                                        + instance is alive
                                        
                                        Thomas Braun 2 Replies Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @calli236 last edited by

                                          @calli236
                                          Und der Rest? Und bitte komplette Ein- wie Ausgaben posten, ich rate ungern auf welches Kommando das nun die Ausgabe sein soll.

                                          1 Reply Last reply Reply Quote 0
                                          • Thomas Braun
                                            Thomas Braun Most Active @calli236 last edited by Thomas Braun

                                            @calli236

                                            iobroker start
                                            iobroker start admin
                                            
                                            C 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

                                            481
                                            Online

                                            31.6k
                                            Users

                                            79.5k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            27
                                            834
                                            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