Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. "console.log" keine Anzeige /zeigt nichts mehr an /JS

    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

    "console.log" keine Anzeige /zeigt nichts mehr an /JS

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

      @laser

      Das ist doch schon mal eine andere Basis.

      sudo apt full-upgrade
      sudo reboot
      

      Der iobroker ist da auch schon drauf oder muss der noch installiert werden?

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

        @thomas-braun
        die SSD ist rel alt. Das iobroker Verzeichnis ist nicht vorhanden. Falsch!

        pi@raspberrypi:/opt $ cd iobroker
        pi@raspberrypi:/opt/iobroker $ ls
        backups  INSTALLER_INFO.txt  iob  iobroker  iobroker-data  log  node_modules  package.json  package-lock.json  reinstall.js
        
        
        Thomas Braun 2 Replies Last reply Reply Quote 0
        • Thomas Braun
          Thomas Braun Most Active @Laser last edited by

          @laser

          Dann halt flugs frisch drauf damit. Nachdem die Updates draufgeschraubt worden, selbstverständlich.

          curl -sLf https://iobroker.net/install.sh | bash -
          
          1 Reply Last reply Reply Quote 0
          • Thomas Braun
            Thomas Braun Most Active @Laser last edited by

            @laser

            iobroker status
            

            sagt?

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

              @thomas-braun

              
              pi@raspberrypi:/opt/iobroker $ iobroker status
               Cannot read system.config: null (OK when migrating or restoring)
              iobroker is not running on this host.
              
              
              Thomas Braun 1 Reply Last reply Reply Quote 0
              • Thomas Braun
                Thomas Braun Most Active @Laser last edited by

                @laser

                Installier es drüber. Updates und reboot erledigt?

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

                  @thomas-braun
                  Update und Upgrade läuft gerade
                  Irgend etwas muß ich ja immer wieder falsch gemacht haben- was genau soll ich als Nächstes tun?

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

                    @laser

                    curl -sLf https://iobroker.net/install.sh | bash -
                    

                    funktioniert nicht?

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

                      @thomas-braun
                      mache ich jetzt gerade
                      ist durch -den Fix?

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

                        @laser sagte in "console.log" keine Anzeige /zeigt nichts mehr an /JS:

                        ist durch -den Fix?

                        Was ist durch?

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

                          @thomas-braun
                          Der Befehl:
                          curl -sLf https://iobroker.net/install.sh | bash -

                          aber:

                          
                          pi@raspberrypi:/opt/iobroker $ iobroker restart
                          pi@raspberrypi:/opt/iobroker $ iobroker status
                           Cannot read system.config: null (OK when migrating or restoring)
                          iobroker is not running on this host.
                          
                          
                          Objects type: file
                          States  type: file
                          
                          
                          Thomas Braun 2 Replies Last reply Reply Quote 0
                          • Thomas Braun
                            Thomas Braun Most Active @Laser last edited by

                            @laser

                            Basis klar?

                            uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                            
                            L 1 Reply Last reply Reply Quote 0
                            • L
                              Laser @Thomas Braun last edited by

                              @thomas-braun

                              pi@raspberrypi:/opt/iobroker $ uname -m && which nodejs node npm && nodejs -v && node -v && npm -v && whoami && pwd && sudo apt update &> /dev/null && sudo apt update && apt policy nodejs
                              aarch64
                              /usr/bin/nodejs
                              /usr/bin/node
                              /usr/bin/npm
                              v14.19.3
                              v14.19.3
                              6.14.17
                              pi
                              /opt/iobroker
                              Hit:1 http://security.debian.org/debian-security bullseye-security InRelease
                              Hit:2 http://deb.debian.org/debian bullseye InRelease
                              Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
                              Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
                              Hit:5 https://deb.nodesource.com/node_14.x bullseye InRelease
                              Hit:6 https://www.debmatic.de/debmatic stable InRelease
                              Reading package lists... Done
                              Building dependency tree... Done
                              Reading state information... Done
                              All packages are up to date.
                              nodejs:
                                Installed: 14.19.3-deb-1nodesource1
                                Candidate: 14.19.3-deb-1nodesource1
                                Version table:
                               *** 14.19.3-deb-1nodesource1 500
                                      500 https://deb.nodesource.com/node_14.x bullseye/main arm64 Packages
                                      100 /var/lib/dpkg/status
                                   12.22.5~dfsg-2~11u1 500
                                      500 http://deb.debian.org/debian bullseye/main arm64 Packages
                                      500 http://security.debian.org/debian-security bullseye-security/main arm64 Packages
                              
                              
                              Thomas Braun 1 Reply Last reply Reply Quote 0
                              • Thomas Braun
                                Thomas Braun Most Active @Laser last edited by Thomas Braun

                                @laser

                                Okay, Basis ist sauber:

                                iobroker stop
                                cd /opt/iobroker
                                sudo -H -u iobroker npm install iobroker.js-controller
                                iobroker fix
                                iobroker start
                                
                                1 Reply Last reply Reply Quote 0
                                • Thomas Braun
                                  Thomas Braun Most Active @Laser last edited by

                                  @laser Dann dein Backup einspielen, fertig.

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

                                    @thomas-braun
                                    muß backitup noch korrigieren, dann sollte es laufen

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

                                      @laser

                                      Das heißt im Groben läuf der ioBroker jetzt?

                                      L DJMarc75 2 Replies Last reply Reply Quote 0
                                      • L
                                        Laser @Thomas Braun last edited by Laser

                                        @thomas-braun
                                        ja, ioBroker läuft prinzipiell. Danke für die Unterstützung.
                                        Ohne die hätte ich vermutlich immer wieder einen Fehler gemacht.
                                        Werde jetzt sofort ein Image der SSD ziehen, damit ich eine Basis für das nächste Mal habe.

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

                                          @thomas-braun
                                          du bist perfekt .... was Linux angeht 👍

                                          1 Reply Last reply Reply Quote 0
                                          • Homoran
                                            Homoran Global Moderator Administrators @Laser last edited by Homoran

                                            @laser sagte in "console.log" keine Anzeige /zeigt nichts mehr an /JS:

                                            Ohne die hätte ich vermutlich immer wieder einen Fehler gemacht.

                                            einen kleinen "Fehler" hast du schon.
                                            Der Installer bringt automatisch die empfohlene node-Version mit, wenn noch kein node installiert ist.

                                            Daher ist es kontraproduktiv auf einer neuen Installation beteits ein node zu haben

                                            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

                                            476
                                            Online

                                            31.9k
                                            Users

                                            80.1k
                                            Topics

                                            1.3m
                                            Posts

                                            9
                                            138
                                            11129
                                            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