Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Error/Bug
    4. javascript bleibt rot bei iob Neustart

    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

    javascript bleibt rot bei iob Neustart

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

      @bahnuhr sagte in javascript bleibt rot bei iob Neustart:

      npm install --production

      Ist obsolet mit aktuellen npm Versionen.
      Es soll nun

      npm install --omit=dev
      

      verwendet werden.

      bahnuhr Gargano 2 Replies Last reply Reply Quote 0
      • bahnuhr
        bahnuhr Forum Testing Most Active @Thomas Braun last edited by bahnuhr

        @thomas-braun
        Das kann man aber nicht wissen.
        Zumal im log ja was anderes stand.

        Aber Danke für die Info.
        Muss ich mir mal aufschreiben.

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

          @bahnuhr sagte in javascript bleibt rot bei iob Neustart:

          Zumal im log ja was anderes stand.

          Im Log steht eigentlich genau das drin, wenn man --production verwendet.

          1 Reply Last reply Reply Quote 0
          • bahnuhr
            bahnuhr Forum Testing Most Active @bahnuhr last edited by

            @Thomas-Braun
            das stand im log

            @bahnuhr sagte in javascript bleibt rot bei iob Neustart:

            Dort steht zum Schluss dann:
            Please execute "npm install --production" in adapter directory manually.

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

              @thomas-braun
              Was ist die empfohlene npm und nodejs Version aktuell ?
              Ist das irgendwo immer aktuell beshrieben ? Hab leider nichts gefunden

              bahnuhr Thomas Braun 2 Replies Last reply Reply Quote 0
              • bahnuhr
                bahnuhr Forum Testing Most Active @Gargano last edited by

                @gargano sagte in javascript bleibt rot bei iob Neustart:

                @thomas-braun
                Was ist die empfohlene npm und nodejs Version aktuell ?
                Ist das irgendwo immer aktuell beshrieben ? Hab leider nichts gefunden

                steht doch bei Info drin:
                37636a29-a405-4236-bf1b-a4d00057d8ce-image.png

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

                  @gargano

                  Nodejs@16, die bringt die passende npm@8 gleich richtig mit.
                  Wenn nodejs denn richtig installiert wurde.

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

                    @thomas-braun
                    @bahnuhr
                    Danke , dann habe ich die aktuellste

                    Manchmal sieht man halt den Wald vor lauter Bäumen nicht. 🙄

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

                      @gargano

                      iob diag
                      

                      sagt? Die Summary reicht.

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

                        @thomas-braun

                        ======================= SUMMARY =======================
                                             v.2023-01-02
                        
                        
                        Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                        Installation:           Native
                        Timezone:               Europe/Berlin
                        User-ID:                1000
                        X-Server:               false
                        Boot Target:            graphical.target
                        
                        Pending OS-Updates:     0
                        
                        Nodejs-Installation:    /usr/bin/nodejs         v16.19.1
                                                /usr/bin/node           v16.19.1
                                                /usr/bin/npm            8.19.3
                                                /usr/bin/npx            8.19.3
                        
                        ioBroker Core:          js-controller           4.0.24
                                                admin                   6.3.6
                        
                        ioBroker Status:        iobroker is running on this host.
                        
                        At least one iobroker host is running.
                        
                        Objects type: redis
                        States  type: redis
                        
                        Status admin:
                        + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                        
                        Pending iob updates:    1
                        
                        Active repo(s): Beta (latest)
                        
                        Objects:                19917
                        States:                 18221
                        
                        Size of iob-Database:
                        
                        5.2M    /opt/iobroker/iobroker-data/objects.json.bak
                        5.2M    /opt/iobroker/iobroker-data/objects.json
                        40K     /opt/iobroker/iobroker-data/states.json.bak
                        40K     /opt/iobroker/iobroker-data/states.json
                        
                        
                        =================== END OF SUMMARY ====================
                        
                        Thomas Braun 1 Reply Last reply Reply Quote 0
                        • Thomas Braun
                          Thomas Braun Most Active @Gargano last edited by

                          @gargano

                          Passt grundsätzlich.
                          Schaufel das Update beim iobroker noch rein und stell das RunLevel / Boot Target auf Multi-User um.

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

                            @thomas-braun
                            Das pending Update ist der Gerätemanager, der ist noch auf 1.1.1 , weil der 1.1.2 buggy ist und nicht funktioniert.
                            Warum boot Target auf multi User ?

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

                              @gargano

                              Weil Multi-User/ RunLevel 3 für den Betrieb als Server die richtige Einstellung ist.

                              bahnuhr Gargano 2 Replies Last reply Reply Quote 0
                              • bahnuhr
                                bahnuhr Forum Testing Most Active @Thomas Braun last edited by

                                @thomas-braun

                                Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                                Installation:           kvm
                                Timezone:               Europe/Berlin
                                User-ID:                1000
                                X-Server:               false
                                Boot Target:            graphical.target
                                
                                

                                Ich hab das auch so.
                                Wo kommt dies her ?
                                Hab ich da bei der Installation von Debian 11 irgendwo was falsch angeklickt?

                                Wie stellt man dies um?
                                Und ist dies notwendig?

                                Gargano Thomas Braun 2 Replies Last reply Reply Quote 0
                                • Gargano
                                  Gargano @Thomas Braun last edited by

                                  @thomas-braun Ich dachte ich hätte auf RunLevel 3 eingestellt, aber ich habe jetzt umgestellt.

                                  ======================= SUMMARY =======================
                                                       v.2023-01-02
                                  
                                  
                                  Operatingsystem:        Debian GNU/Linux 11 (bullseye)
                                  Installation:           Native
                                  Timezone:               Europe/Berlin
                                  User-ID:                1000
                                  X-Server:               false
                                  Boot Target:            multi-user.target
                                  
                                  Pending OS-Updates:     0
                                  
                                  Nodejs-Installation:    /usr/bin/nodejs         v16.19.1
                                                          /usr/bin/node           v16.19.1
                                                          /usr/bin/npm            8.19.3
                                                          /usr/bin/npx            8.19.3
                                  
                                  ioBroker Core:          js-controller           4.0.24
                                                          admin                   6.3.6
                                  
                                  ioBroker Status:        iobroker is running on this host.
                                  
                                  At least one iobroker host is running.
                                  
                                  Objects type: redis
                                  States  type: redis
                                  
                                  Status admin:
                                  + system.adapter.admin.0                  : admin                 : raspberrypi                              -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                  
                                  Pending iob updates:    1
                                  
                                  Active repo(s): Beta (latest)
                                  
                                  Objects:                19917
                                  States:                 18221
                                  
                                  Size of iob-Database:
                                  
                                  5.2M    /opt/iobroker/iobroker-data/objects.json.bak
                                  5.2M    /opt/iobroker/iobroker-data/objects.json
                                  40K     /opt/iobroker/iobroker-data/states.json.bak
                                  40K     /opt/iobroker/iobroker-data/states.json
                                  
                                  
                                  =================== END OF SUMMARY ====================
                                  
                                  1 Reply Last reply Reply Quote 0
                                  • Gargano
                                    Gargano @bahnuhr last edited by

                                    @bahnuhr

                                    # systemctl enable multi-user.target
                                    # systemctl set-default multi-user.target
                                    
                                    bahnuhr 1 Reply Last reply Reply Quote 0
                                    • bahnuhr
                                      bahnuhr Forum Testing Most Active @Gargano last edited by

                                      @gargano sagte in javascript bleibt rot bei iob Neustart:

                                      @bahnuhr

                                      # systemctl enable multi-user.target
                                      # systemctl set-default multi-user.target
                                      

                                      Danke dir.

                                      Frage:
                                      notwendig?
                                      Vorteil/Nachteil

                                      Gargano Thomas Braun 2 Replies Last reply Reply Quote 0
                                      • Thomas Braun
                                        Thomas Braun Most Active @bahnuhr last edited by

                                        @bahnuhr

                                        Bei Containern musst du dir das selber suchen, hab ich keinen Plan von.

                                        bahnuhr 1 Reply Last reply Reply Quote 0
                                        • bahnuhr
                                          bahnuhr Forum Testing Most Active @Thomas Braun last edited by

                                          @thomas-braun sagte in javascript bleibt rot bei iob Neustart:

                                          Containern

                                          hab ich nicht.
                                          Läuft in Proxmox in einer VM

                                          Thomas Braun 1 Reply Last reply Reply Quote 0
                                          • Gargano
                                            Gargano @bahnuhr last edited by

                                            @bahnuhr Vorteil : weniger Ressourcen, Nachteil : ?

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            795
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            iob neutstart javascript
                                            4
                                            30
                                            656
                                            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