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

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    iobroker funktioniert nicht js:638

    This topic has been deleted. Only users with topic management privileges can see it.
    • 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
                                      • C
                                        calli236 @Thomas Braun last edited by

                                        @thomas-braun 
                                        pi@raspberrypi:~ $ iobroker start
                                        pi@raspberrypi:~ $ iobroker start admin
                                        pi@raspberrypi:~ $ iobroker status
                                        iobroker is not running on this host.
                                        
                                        
                                        Objects type: file
                                        States  type: file
                                        pi@raspberrypi:~ $ iobroker list adapters
                                        system.adapter.admin                   : admin          - v5.2.3
                                        system.adapter.discovery               : discovery      - v2.7.3
                                        pi@raspberrypi:~ $ iobroker instances
                                        iobroker [command]
                                        
                                        Commands:
                                          iobroker setup                                               Setup ioBroker
                                          iobroker start                                               Starts the js-controller
                                          iobroker stop                                                stops the js-controller
                                          iobroker restart                                             Restarts js-controller
                                          iobroker debug <adapter>[.<instance>]                        Starts a Node.js debugging session for the adapter instance
                                          iobroker info                                                Shows the host info
                                          iobroker logs [<adapter>]                                    Monitor log
                                          iobroker add <adapter> [desiredNumber]                       Add instance of adapter
                                          iobroker install <adapter>                                   Installs a specified adapter
                                          iobroker rebuild <adapter>|self                              Rebuilds a specified adapter
                                          iobroker url <url> [<name>]                                  Install adapter from specified url, e.g. GitHub
                                          iobroker del <adapter>                                       Remove adapter from system
                                          iobroker del <adapter>.<instance>                            Remove adapter instance
                                          iobroker update [<repositoryUrl>]                            Update repository and list adapters
                                          iobroker upgrade                                             Upgrade management
                                          iobroker upload                                              Upload management
                                          iobroker object                                              Object management
                                          iobroker state                                               State management
                                          iobroker message <adapter>[.instance] <command> [<message>]  Send message to adapter instance/s
                                          iobroker list <type> [<filter>]                              List all entries, like objects
                                          iobroker chmod <mode> <file>                                 Change file rights
                                          iobroker chown <user> <group> <file>                         Change file ownership
                                          iobroker touch <file>                                        Touch file
                                          iobroker rm <file>                                           Remove file
                                          iobroker file                                                File management
                                          iobroker user                                                User commands
                                          iobroker group                                               group management
                                          iobroker host <hostname>                                     Set host to given hostname
                                          iobroker set <adapter>.<instance>                            Change settings of adapter config
                                          iobroker license <license.file or license.text>              Update license by given file
                                          iobroker cert                                                Certificate management
                                          iobroker clean <yes>                                         Clears all objects and states
                                          iobroker backup                                              Create backup
                                          iobroker restore <backup name or path>                       Restore a specified backup
                                          iobroker validate <backup name or path>                      Validate a specified backup
                                          iobroker status [all|<adapter>.<instance>]                   Status of ioBroker or adapter instance
                                          iobroker repo [<name>]                                       Show repo information
                                          iobroker uuid                                                Show uuid of the installation
                                          iobroker unsetup                                             Reset license, installation secret and language
                                          iobroker fix                                                 Execute the installation fixer script, this updates your ioBroker installation
                                          iobroker multihost                                           Multihost management
                                          iobroker compact                                             compact group management
                                          iobroker plugin                                              Plugin management
                                          iobroker version [<adapter>]                                 Show version of js-controller or specified adapter
                                        
                                        Options:
                                              --help     Show help  [boolean]
                                          -v, --version  Show version  [boolean]
                                        pi@raspberrypi:~ $ wich nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                                        -bash: wich: Kommando nicht gefunden.
                                        pi@raspberrypi:~ $
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @calli236 last edited by Thomas Braun

                                          @calli236

                                          Kopier doch die Befehle...

                                          which usw. heißt das

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

                                            @thomas-braun

                                            pi@raspberrypi:~ $ which nodejs node npm && nodejs -v && node -v && npm -v && sudo apt update && sudo apt update && apt policy nodejs
                                            /usr/bin/node
                                            /usr/bin/npm
                                            pi@raspberrypi:~ $
                                            
                                            Thomas Braun 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

                                            523
                                            Online

                                            31.9k
                                            Users

                                            80.2k
                                            Topics

                                            1.3m
                                            Posts

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