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.
    • Glasfaser
      Glasfaser @Fritzk last edited by

      @fritzk

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

        @glasfaser

        iobroker is not running on this host.
        
        
        Objects type: jsonl
        States  type: jsonl
        
        

        da tut sich nix....

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

          @fritzk

          cd /opt/iobroker
          sudo -H -u iobroker npm install iobroker.js-controller
          
          iob start
          
          F 1 Reply Last reply Reply Quote 0
          • 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
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate
                                            FAQ Cloud / IOT
                                            HowTo: Node.js-Update
                                            HowTo: Backup/Restore
                                            Downloads
                                            BLOG

                                            905
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

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