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.
    • DJMarc75
      DJMarc75 @Laser last edited by

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

      Was soll ich denn nun machen?

      Genau das was @thomas-braun schreibt. Nicht mehr und nicht weniger. Dann kommts auch zu ner Lösung.

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

        @djmarc75 /"durchstreich"

        :~ $ sudo nano /etc/apt/sources.list.d/nodesource.list
        pi@raspberrypi:~ $ sudo ln -s /usr/bin/node /usr/bin/nodejs
        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.0
        v14.19.0
        6.14.16
        pi
        /home/pi
        Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
        Hit:2 http://deb.debian.org/debian bullseye InRelease
        Hit:3 http://security.debian.org/debian-security bullseye-security InRelease
        Hit:4 http://deb.debian.org/debian bullseye-updates 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
        78 packages can be upgraded. Run 'apt list --upgradable' to see them.
        nodejs:
          Installed: 14.19.0-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
         *** 14.19.0-deb-1nodesource1 100
                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
        
        
        DJMarc75 Thomas Braun 3 Replies Last reply Reply Quote 0
        • DJMarc75
          DJMarc75 @Laser last edited by

          @laser neinnein, nicht mir antworten, ich bin Anfänger !!!

          1 Reply Last reply Reply Quote 0
          • DJMarc75
            DJMarc75 @Laser last edited by

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

            /"durchstreich"

            jetzt hol ich mir nen Ouzo (OT - Teil 3) 😰

            1 Reply Last reply Reply Quote 0
            • 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
                                            • First post
                                              Last post

                                            Support us

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

                                            871
                                            Online

                                            31.7k
                                            Users

                                            79.9k
                                            Topics

                                            1.3m
                                            Posts

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