Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. Iobroker Problem js controller stürtzt ab

    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 Problem js controller stürtzt ab

    This topic has been deleted. Only users with topic management privileges can see it.
    • F
      Fritzk @Glasfaser last edited by

      @glasfaser
      bringt auch kein Erfolg

      sollte ich eine komplette Neuinstallation machen?

      Glasfaser 1 Reply Last reply Reply Quote 0
      • Glasfaser
        Glasfaser @Fritzk last edited by

        @fritzk
        Bitte zeigen , eine Aussage sagt erstmal nicht viel

        iob restart
        

        wenn er nicht kommt dann

        iob status
        
        F 1 Reply Last reply Reply Quote 0
        • F
          Fritzk @Glasfaser last edited by Fritzk

          @glasfaser

          proxio@Haupt-IoBroker:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller
          [sudo] password for proxio:
          
          removed 210 packages in 3s
          
          296 packages are looking for funding
            run `npm fund` for details
          proxio@Haupt-IoBroker:/opt/iobroker$ iob start
          proxio@Haupt-IoBroker:/opt/iobroker$ iob status
          iobroker is not running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          
          proxio@Haupt-IoBroker:/opt/iobroker$ iob restart
          proxio@Haupt-IoBroker:/opt/iobroker$ iob status
          iobroker is not running on this host.
          
          
          Objects type: jsonl
          States  type: jsonl
          
          
          Thomas Braun Glasfaser 2 Replies Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Fritzk last edited by

            @fritzk

            systemctl status iobroker
            
            F 1 Reply Last reply Reply Quote 0
            • Glasfaser
              Glasfaser @Fritzk last edited by

              @fritzk

              Nochmal

              sudo -H -u iobroker npm cache verify 
              sudo -H -u iobroker npm cache clean --force
              
              sudo reboot
              

              dann

              cd /opt/iobroker
              sudo -H -u iobroker npm install iobroker.js-controller
              
              F 1 Reply Last reply Reply Quote 0
              • F
                Fritzk @Glasfaser last edited by

                @glasfaser

                proxio@Haupt-IoBroker:/opt/iobroker$ sudo -H -u iobroker npm cache verify
                [sudo] password for proxio:
                Cache verified and compressed (~/.npm/_cacache)
                Content verified: 2123 (417424771 bytes)
                Content garbage-collected: 80 (30687112 bytes)
                Index entries: 2123
                Finished in 9.154s
                proxio@Haupt-IoBroker:/opt/iobroker$ sudo -H -u iobroker npm cache clean --force
                npm WARN using --force Recommended protections disabled.
                proxio@Haupt-IoBroker:/opt/iobroker$ sudo reboot
                
                Broadcast message from root@Haupt-IoBroker on pts/4 (Fri 2023-10-06 19:58:27 CEST):
                
                The system will reboot now!
                
                proxio@Haupt-IoBroker:/opt/iobroker$
                login as:
                login as: proxio
                proxio@192.168.178.124's password:
                Linux Haupt-IoBroker 6.2.16-5-pve #1 SMP PREEMPT_DYNAMIC PVE 6.2.16-6 (2023-07-25T15:33Z) x86_64
                
                The programs included with the Debian GNU/Linux system are free software;
                the exact distribution terms for each program are described in the
                individual files in /usr/share/doc/*/copyright.
                
                Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
                permitted by applicable law.
                Last login: Fri Oct  6 20:03:58 2023 from 192.168.178.151
                proxio@Haupt-IoBroker:~$ cd /opt/iobroker
                proxio@Haupt-IoBroker:/opt/iobroker$ sudo -H -u iobroker npm install iobroker.js-controller
                [sudo] password for proxio:
                
                up to date in 3s
                
                296 packages are looking for funding
                  run `npm fund` for details
                
                
                Glasfaser 1 Reply Last reply Reply Quote 0
                • Glasfaser
                  Glasfaser @Fritzk last edited by

                  @fritzk

                  ja ... und was sagt jetzt ioBroker ...

                  iob status
                  
                  F 1 Reply Last reply Reply Quote 0
                  • F
                    Fritzk @Thomas Braun last edited by

                    @thomas-braun

                    proxio@Haupt-IoBroker:/opt/iobroker$ systemctl status iobroker
                    * iobroker.service - ioBroker Home Automation
                         Loaded: loaded (/etc/systemd/system/iobroker.service; enabled; preset: enabled)
                         Active: activating (auto-restart) (Result: exit-code) since Fri 2023-10-06 20:09:54 CEST; 1s ago
                        Process: 546 ExecStart=/iobroker/start.sh # Ersetzen Sie /path/to/iobroker durch den tats<C3><A4>chlichen Pfad zu Ihrem>
                       Main PID: 546 (code=exited, status=203/EXEC)
                            CPU: 809us
                    
                    
                    Thomas Braun 1 Reply Last reply Reply Quote 0
                    • F
                      Fritzk @Glasfaser last edited by

                      @glasfaser

                      proxio@Haupt-IoBroker:/opt/iobroker$ iob status
                      iobroker is not running on this host.
                      
                      
                      Objects type: jsonl
                      States  type: jsonl
                      
                      

                      sagt noch immer das gleiche.....

                      Glasfaser 1 Reply Last reply Reply Quote 0
                      • Glasfaser
                        Glasfaser @Fritzk last edited by Glasfaser

                        @fritzk

                        das finde ich merkwürdig

                        /bin/sh: 1: hcitool: not found
                        

                        nimm mal den NodeJS Fixer Skript in der Signatur von Thomas

                        F 1 Reply Last reply Reply Quote 0
                        • F
                          Fritzk @Glasfaser last edited by

                          @glasfaser
                          Okay ich probier es mal

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

                            @fritzk

                            Da stimmt irgendwas mit dem service nicht.
                            Das sollte eigentlich so aussehen.

                            echad@chet:~ $ systemctl status iobroker
                            ● iobroker.service - ioBroker Server
                                 Loaded: loaded (/lib/systemd/system/iobroker.service; enabled; preset: enabled)
                                 Active: active (running) since Wed 2023-10-04 22:32:41 CEST; 1 day 21h ago
                                   Docs: http://iobroker.net
                               Main PID: 136687 (iobroker.js-con)
                                  Tasks: 475 (limit: 8754)
                                    CPU: 14h 1min 28.002s
                                 CGroup: /system.slice/iobroker.service
                            

                            Die Meldung bei dir:

                            ExecStart=/iobroker/start.sh # Ersetzen Sie /path/to/iobroker durch den tats<C3><A4>chlichen Pfad zu Ihrem>
                            

                            schaut auch schräg aus. Seit wann gibt es da deutsche Texte?

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

                              @fritzk

                              cat /etc/systemd/system/multi-user.target.wants/iobroker.service
                              
                              F 1 Reply Last reply Reply Quote 0
                              • F
                                Fritzk @Thomas Braun last edited by

                                @thomas-braun

                                proxio@Haupt-IoBroker:/opt/iobroker$ cat /etc/systemd/system/multi-user.target.wants/iobroker.service
                                [Unit]
                                Description=ioBroker Server
                                Documentation=http://iobroker.net
                                After=network.target redis.service influxdb.service mysql-server.service mariadb-server.service
                                Wants=redis.service influxdb.service mysql-server.service mariadb-server.service
                                
                                [Service]
                                Type=simple
                                User=iobroker
                                Environment="NODE=$(which node)"
                                ExecStart=/usr/bin/bash -c '${NODE} /opt/iobroker/node_modules/iobroker.js-controller/controller.js'
                                Restart=on-failure
                                RestartSec=3s
                                
                                [Install]
                                WantedBy=multi-user.target
                                
                                
                                Thomas Braun 1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Fritzk last edited by

                                  @fritzk

                                  diff /usr/lib/systemd/system/iobroker.service /etc/systemd/system/multi-user.target.wants/iobroker.service
                                  

                                  Irgendwie scheint da bei dir noch eine zweite iobroker.service (oder so ähnlich) herumzuschwirren.

                                  F 1 Reply Last reply Reply Quote 0
                                  • F
                                    Fritzk @Thomas Braun last edited by Fritzk

                                    @thomas-braun
                                    bei dieser eingabe tut sich nix....

                                    proxio@Haupt-IoBroker:/opt/iobroker$ diff /usr/lib/systemd/system/iobroker.service /etc/systemd/system/multi-user.target.wants/iobroker.service
                                    proxio@Haupt-IoBroker:/opt/iobroker$
                                    
                                    
                                    Thomas Braun 1 Reply Last reply Reply Quote 0
                                    • Thomas Braun
                                      Thomas Braun Most Active @Fritzk last edited by

                                      @fritzk sagte in Iobroker Problem js controller stürtzt ab:

                                      bei dieser eingabe tut sich nix....

                                      Das ist richtig. Bzw. es tut sich schon was, aber nichts für dich sichtbares.
                                      Schnelltest:

                                      systemctl status iob
                                      

                                      eingeben und NICHT per Enter abschießen sondern stattdessen 2x schnell hintereinander die TAB-Taste benutzen.

                                      F 1 Reply Last reply Reply Quote 0
                                      • F
                                        Fritzk @Thomas Braun last edited by

                                        @thomas-braun
                                        Okay

                                        proxio@Haupt-IoBroker:/opt/iobroker$ systemctl status iobroker.service
                                        Display all 290 possibilities? (y or n)
                                        -.mount                                                            remote-cryptsetup.target
                                        -.slice                                                            remote-fs-pre.target
                                        NetworkManager.service                                             remote-fs.target
                                        apparmor.service                                                   remote-veritysetup.target
                                        apt-daily-upgrade.service                                          rescue-ssh.target
                                        apt-daily-upgrade.timer                                            rescue.service
                                        apt-daily.service                                                  rescue.target
                                        apt-daily.timer                                                    rpc-gssd.service
                                        auditd.service                                                     rpc-statd-notify.service
                                        auth-rpcgss-module.service                                         rpc-statd.service
                                        basic.target                                                       rpc-svcgssd.service
                                        bluetooth.target                                                   rpc_pipefs.target
                                        boot-complete.target                                               rpcbind.service
                                        connman.service                                                    rpcbind.socket
                                        console-getty.service                                              rpcbind.target
                                        container-getty@1.service                                          run-credentials-systemd\x2dsysctl.service.mount
                                        container-getty@2.service                                          run-credentials-systemd\x2dsysusers.service.mount
                                        cron.service                                                       run-credentials-systemd\x2dtmpfiles\x2dsetup.service.mount
                                        cryptdisks-early.service                                           run-credentials-systemd\x2dtmpfiles\x2dsetup\x2ddev.service.mount
                                        cryptdisks.service                                                 run-rpc_pipefs.mount
                                        cryptsetup-pre.target                                              run-user-1000.mount
                                        cryptsetup.target                                                  runlevel0.target
                                        ctrl-alt-del.target                                                runlevel1.target
                                        dbus-org.freedesktop.hostname1.service                             runlevel2.target
                                        dbus-org.freedesktop.locale1.service                               runlevel3.target
                                        dbus-org.freedesktop.login1.service                                runlevel4.target
                                        dbus-org.freedesktop.timedate1.service                             runlevel5.target
                                        dbus-org.freedesktop.timesync1.service                             runlevel6.target
                                        dbus.service                                                       sendmail.service
                                        dbus.socket                                                        session-188.scope
                                        debug-shell.service                                                shutdown.target
                                        default.target                                                     sigpwr.target
                                        dev-.lxc-proc.mount                                                sleep.target
                                        dev-.lxc-sys.mount                                                 slices.target
                                        dev-full.mount                                                     smartcard.target
                                        dev-hugepages.mount                                                sockets.target
                                        dev-mqueue.mount                                                   sound.target
                                        dev-null.mount                                                     ssh.service
                                        dev-ptmx.mount                                                     ssh.socket
                                        dev-random.mount                                                   sshd.service
                                        dev-tty.mount                                                      sudo.service
                                        dev-tty1.mount                                                     suspend-then-hibernate.target
                                        dev-tty2.mount                                                     suspend.target
                                        dev-ttyUSB0.mount                                                  swap.target
                                        dev-urandom.mount                                                  sys-devices-system-cpu.mount
                                        dev-zero.mount                                                     sys-devices-virtual-net.mount
                                        display-manager.service                                            sys-fs-fuse-connections.mount
                                        dpkg-db-backup.service                                             sys-kernel-config.mount
                                        dpkg-db-backup.timer                                               sys-kernel-debug.mount
                                        e2scrub_all.service                                                sys-kernel-tracing.mount
                                        e2scrub_all.timer                                                  sysinit.target
                                        e2scrub_reap.service                                               syslog.service
                                        emergency.service                                                  syslog.socket
                                        emergency.target                                                   system-container\x2dgetty.slice
                                        exim4.service                                                      system-modprobe.slice
                                        exit.target                                                        system-postfix.slice
                                        factory-reset.target                                               system-systemd\x2dcryptsetup.slice
                                        final.target                                                       system-update-cleanup.service
                                        first-boot-complete.target                                         system-update-pre.target
                                        fstrim.service                                                     system-update.target
                                        fstrim.timer                                                       system.slice
                                        getty-pre.target                                                   systemd-ask-password-console.path
                                        getty-static.service                                               systemd-ask-password-console.service
                                        getty.target                                                       systemd-ask-password-wall.path
                                        graphical.target                                                   systemd-ask-password-wall.service
                                        gssproxy.service                                                   systemd-binfmt.service
                                        halt.target                                                        systemd-boot-check-no-failures.service
                                        hibernate.target                                                   systemd-exit.service
                                        home.mount                                                         systemd-firstboot.service
                                        hwclock.service                                                    systemd-fsck-root.service
                                        hybrid-sleep.target                                                systemd-fsckd.service
                                        ifupdown-pre.service                                               systemd-fsckd.socket
                                        ifupdown-wait-online.service                                       systemd-halt.service
                                        init.scope                                                         systemd-hibernate.service
                                        initrd-cleanup.service                                             systemd-hostnamed.service
                                        initrd-fs.target                                                   systemd-hwdb-update.service
                                        initrd-parse-etc.service                                           systemd-hybrid-sleep.service
                                        initrd-root-device.target                                          systemd-initctl.service
                                        initrd-root-fs.target                                              systemd-initctl.socket
                                        initrd-switch-root.service                                         systemd-journal-flush.service
                                        initrd-switch-root.target                                          systemd-journald-audit.socket
                                        initrd-udevadm-cleanup-db.service                                  systemd-journald-dev-log.socket
                                        initrd-usr-fs.target                                               systemd-journald.service
                                        initrd.target                                                      systemd-journald.socket
                                        integritysetup-pre.target                                          systemd-kexec.service
                                        integritysetup.target                                              systemd-localed.service
                                        iobroker.service                                                   systemd-logind.service
                                        kexec.target                                                       systemd-machine-id-commit.service
                                        kmod-static-nodes.service                                          systemd-modules-load.service
                                        kmod.service                                                       systemd-network-generator.service
                                        local-fs-pre.target                                                systemd-networkd-wait-online.service
                                        local-fs.target                                                    systemd-networkd.service
                                        logrotate.service                                                  systemd-networkd.socket
                                        logrotate.timer                                                    systemd-oomd.service
                                        machine.slice                                                      systemd-pcrphase-initrd.service
                                        man-db.service                                                     systemd-pcrphase-sysinit.service
                                        man-db.timer                                                       systemd-pcrphase.service
                                        modprobe@dm_mod.service                                            systemd-poweroff.service
                                        modprobe@drm.service                                               systemd-pstore.service
                                        modprobe@efi_pstore.service                                        systemd-quotacheck.service
                                        modprobe@fuse.service                                              systemd-random-seed.service
                                        modprobe@loop.service                                              systemd-reboot.service
                                        multi-user.target                                                  systemd-remount-fs.service
                                        network-online.target                                              systemd-repart.service
                                        network-pre.target                                                 systemd-rfkill.service
                                        network.target                                                     systemd-rfkill.socket
                                        networking.service                                                 systemd-suspend-then-hibernate.service
                                        nfs-client.target                                                  systemd-suspend.service
                                        nfs-common.service                                                 systemd-sysctl.service
                                        nfs-idmapd.service                                                 systemd-sysext.service
                                        nfs-server.service                                                 systemd-sysusers.service
                                        nfs-utils.service                                                  systemd-time-wait-sync.service
                                        nftables.service                                                   systemd-timedated.service
                                        nss-lookup.target                                                  systemd-timesyncd.service
                                        nss-user-lookup.target                                             systemd-tmpfiles-clean.service
                                        pam_namespace.service                                              systemd-tmpfiles-clean.timer
                                        paths.target                                                       systemd-tmpfiles-setup-dev.service
                                        plymouth-quit-wait.service                                         systemd-tmpfiles-setup.service
                                        plymouth-start.service                                             systemd-udev-settle.service
                                        portmap.service                                                    systemd-udev-trigger.service
                                        postfix-resolvconf.path                                            systemd-udevd-control.socket
                                        postfix-resolvconf.service                                         systemd-udevd-kernel.socket
                                        postfix.service                                                    systemd-udevd.service
                                        postfix@-.service                                                  systemd-update-done.service
                                        poweroff.target                                                    systemd-update-utmp-runlevel.service
                                        printer.target                                                     systemd-update-utmp.service
                                        proc-cpuinfo.mount                                                 systemd-user-sessions.service
                                        proc-diskstats.mount                                               systemd-vconsole-setup.service
                                        proc-fs-nfsd.mount                                                 systemd-volatile-root.service
                                        proc-loadavg.mount                                                 time-set.target
                                        proc-meminfo.mount                                                 time-sync.target
                                        proc-slabinfo.mount                                                timers.target
                                        proc-stat.mount                                                    tmp.mount
                                        proc-swaps.mount                                                   udev.service
                                        proc-sys-fs-binfmt_misc.automount                                  umount.target
                                        proc-sys-fs-binfmt_misc.mount                                      urandom.service
                                        proc-sys-net.mount                                                 usb-gadget.target
                                        proc-sysrq\x2dtrigger.mount                                        user-1000.slice
                                        proc-uptime.mount                                                  user-runtime-dir@1000.service
                                        procps.service                                                     user.slice
                                        quotaon.service                                                    user@1000.service
                                        rc-local.service                                                   var-lib-nfs-rpc_pipefs.mount
                                        rc.service                                                         veritysetup-pre.target
                                        rcS.service                                                        veritysetup.target
                                        reboot.target                                                      x11-common.service
                                        proxio@Haupt-IoBroker:/opt/iobroker$ systemctl status iobroker.service
                                        * iobroker.service - ioBroker Home Automation
                                             Loaded: loaded (/etc/systemd/system/iobroker.service; enabled; preset: enabled)
                                             Active: inactive (dead) (Result: exit-code) since Fri 2023-10-06 20:18:53 CEST; 27min ago
                                           Duration: 846us
                                           Main PID: 777 (code=exited, status=203/EXEC)
                                                CPU: 780us
                                        proxio@Haupt-IoBroker:/opt/iobroker$
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Fritzk last edited by

                                          @fritzk sagte in Iobroker Problem js controller stürtzt ab:

                                          sudo systemctl restart iobroker.service
                                          
                                          F 1 Reply Last reply Reply Quote 0
                                          • F
                                            Fritzk @Thomas Braun last edited by

                                            @thomas-braun
                                            ....er mag einfach nicht mehr

                                            proxio@Haupt-IoBroker:/opt/iobroker$ sudo systemctl restart iobroker.service
                                            proxio@Haupt-IoBroker:/opt/iobroker$ iobroker status
                                            iobroker is not running on this host.
                                            
                                            
                                            Objects type: jsonl
                                            States  type: jsonl
                                            proxio@Haupt-IoBroker:/opt/iobroker$
                                            
                                            
                                            Glasfaser 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

                                            634
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

                                            4
                                            55
                                            3221
                                            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