Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. wie bei tinkerboard / armbian note.js aktualisieren ?

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    wie bei tinkerboard / armbian note.js aktualisieren ?

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

      @hal
      Die Vorgehensweise bei deb-basierten Distributionen ist prinzipiell gleich.
      Ubuntu basiert ja auf Debian. Die Unterscheide liegen im Detail, und deswegen sollte man nie Repositories für Debian mit denen für Ubuntu mischen. Ist wie beim Auto. Ein Passat fährt grundsätzlich ganz ähnlich wie ein Golf, dennoch kann man die wenigsten Teile von dem einen Modell auch an das andere schrauben.

      Also den ganzen Kram zu Debian/Buster da raus, da müssen Ubuntu/Focal-Quellen rein.

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

        @hal sagte in wie bei tinkerboard / armbian note.js aktualisieren ?:

        habe aber über sehen, das da debian steht.

        das ist jetzt dein Problem

        HAL 1 Reply Last reply Reply Quote 0
        • HAL
          HAL @Homoran last edited by

          @homoran ok, meinst Du hier ?

           GNU nano 4.8      /etc/apt/sources.list.d/nodesource.list
          # deb https://deb.nodesource.com/node_10.x focal main
          # deb-src https://deb.nodesource.com/node_10.x focal main
          
          # node 12
          deb https://deb.nodesource.com/node_12.x buster main
          deb-src https://deb.nodesource.com/node_12.x buster main
          

          und wo finde ich die Quellen ?

          Homoran Thomas Braun 2 Replies Last reply Reply Quote 0
          • Homoran
            Homoran Global Moderator Administrators @HAL last edited by

            @hal sagte in wie bei tinkerboard / armbian note.js aktualisieren ?:

            und wo finde ich die Quellen ?

            was stand denn da vorher, bevor du es auf "buster" geändert hast?

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

              @hal sagte in wie bei tinkerboard / armbian note.js aktualisieren ?:

              deb https://deb.nodesource.com/node_12.x focal main
              deb-src https://deb.nodesource.com/node_12.x focal main
              

              gehört da rein, die Zeilen zu buster löschen.

              Da müssen aber noch mehr .list-Dateien sein, die buster/debian-Quellen beinhalten.

              1 Reply Last reply Reply Quote 0
              • HAL
                HAL @Homoran last edited by HAL

                @homoran nur die oberen jetzt auskommentierten beiden Zeilen:

                deb https://deb.nodesource.com/node_10.x focal main
                deb-src https://deb.nodesource.com/node_10.x focal main
                

                was ich irritiert, mal steht ubuntu in den Quellen und mal deb:

                pi@tinkerboard:~$ apt-cache policy
                Package files:
                 100 /var/lib/dpkg/status
                     release a=now
                 500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                     release o=Node Source,n=buster,l=Node Source,c=main,b=armhf
                     origin deb.nodesource.com
                 500 https://deb.nodesource.com/node_10.x focal/main armhf Packages
                     release o=Node Source,n=focal,l=Node Source,c=main,b=armhf
                     origin deb.nodesource.com
                 500 https://repos.influxdata.com/debian focal/stable armhf Packages
                     release o=InfluxDB,n=focal,l=InfluxDB,c=stable,b=armhf
                     origin repos.influxdata.com
                 300 http://deb.debian.org/debian-security stable/updates/main armhf Packages
                     release v=10,o=Debian,a=stable,n=buster,l=Debian-Security,c=main,b=armhf
                     origin deb.debian.org
                 300 http://deb.debian.org/debian stable-updates/main armhf Packages
                     release o=Debian,a=stable-updates,n=buster-updates,l=Debian,c=main,b=armhf
                     origin deb.debian.org
                 300 http://deb.debian.org/debian stable/main armhf Packages
                     release v=10.8,o=Debian,a=stable,n=buster,l=Debian,c=main,b=armhf
                     origin deb.debian.org
                 500 http://apt.armbian.com focal/focal-desktop armhf Packages
                     release o=Armbian,a=focal,n=focal,l=Armbian,c=focal-desktop,b=armhf
                     origin apt.armbian.com
                 500 http://apt.armbian.com focal/focal-utils armhf Packages
                     release o=Armbian,a=focal,n=focal,l=Armbian,c=focal-utils,b=armhf
                     origin apt.armbian.com
                 500 http://apt.armbian.com focal/main armhf Packages
                     release o=Armbian,a=focal,n=focal,l=Armbian,c=main,b=armhf
                     origin apt.armbian.com
                 100 http://ports.ubuntu.com focal-backports/universe armhf Packages
                     release v=20.04,o=Ubuntu,a=focal-backports,n=focal,l=Ubuntu,c=universe,b=armhf
                     origin ports.ubuntu.com
                 500 http://ports.ubuntu.com focal-updates/multiverse armhf Packages
                     release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=multiverse,b=armhf
                     origin ports.ubuntu.com
                 500 http://ports.ubuntu.com focal-updates/universe armhf Packages
                     release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=universe,b=armhf
                     origin ports.ubuntu.com
                 500 http://ports.ubuntu.com focal-updates/restricted armhf Packages
                     release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=restricted,b=armhf
                     origin ports.ubuntu.com
                 500 http://ports.ubuntu.com focal-updates/main armhf Packages
                     release v=20.04,o=Ubuntu,a=focal-updates,n=focal,l=Ubuntu,c=main,b=armhf
                     origin ports.ubuntu.com
                 500 http://ports.ubuntu.com focal-security/multiverse armhf Packages
                     release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=multiverse,b=armhf
                     origin ports.ubuntu.com
                 500 http://ports.ubuntu.com focal-security/universe armhf Packages
                     release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=universe,b=armhf
                     origin ports.ubuntu.com
                 500 http://ports.ubuntu.com focal-security/restricted armhf Packages
                     release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=restricted,b=armhf
                     origin ports.ubuntu.com
                 500 http://ports.ubuntu.com focal-security/main armhf Packages
                     release v=20.04,o=Ubuntu,a=focal-security,n=focal,l=Ubuntu,c=main,b=armhf
                     origin ports.ubuntu.com
                 500 http://ports.ubuntu.com focal/multiverse armhf Packages
                     release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=multiverse,b=armhf
                     origin ports.ubuntu.com
                 500 http://ports.ubuntu.com focal/universe armhf Packages
                     release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=universe,b=armhf
                     origin ports.ubuntu.com
                 500 http://ports.ubuntu.com focal/restricted armhf Packages
                     release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=restricted,b=armhf
                     origin ports.ubuntu.com
                 500 http://ports.ubuntu.com focal/main armhf Packages
                     release v=20.04,o=Ubuntu,a=focal,n=focal,l=Ubuntu,c=main,b=armhf
                     origin ports.ubuntu.com
                Pinned packages:
                     chromium-bsu -> 0.9.16.1-2 with priority 700
                     chromium-driver -> 88.0.4324.182-1~deb10u1 with priority 700
                     chromium-driver -> 87.0.4280.141-0.1~deb10u1 with priority 700
                     chromium-l10n -> 88.0.4324.182-1~deb10u1 with priority 700
                     chromium-l10n -> 87.0.4280.141-0.1~deb10u1 with priority 700
                     chromium-shell -> 88.0.4324.182-1~deb10u1 with priority 700
                     chromium-shell -> 87.0.4280.141-0.1~deb10u1 with priority 700
                     chromium -> 88.0.4324.182-1~deb10u1 with priority 700
                     chromium -> 87.0.4280.141-0.1~deb10u1 with priority 700
                     chromium-bsu-data -> 0.9.16.1-2 with priority 700
                     chromium-sandbox -> 88.0.4324.182-1~deb10u1 with priority 700
                     chromium-sandbox -> 87.0.4280.141-0.1~deb10u1 with priority 700
                     chromium-common -> 88.0.4324.182-1~deb10u1 with priority 700
                     chromium-common -> 87.0.4280.141-0.1~deb10u1 with priority 700
                     chromium-tt-rss-notifier -> 0.5.2-2 with priority 700
                     chromium-lwn4chrome -> 1.0-3 with priority 700
                pi@tinkerboard:~$
                
                
                Thomas Braun 1 Reply Last reply Reply Quote 0
                • Thomas Braun
                  Thomas Braun Most Active @HAL last edited by

                  @hal
                  Zuvor

                  sudo apt update
                  

                  Erst dann mit policy nachschauen. Und warum ist da chromium gepinnt?
                  Und warum ist der überhaupt auf einem Server installiert? Hat da nix verloren.

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

                    @thomas-braun damit sind meine rudimentären Linux Kenntnisse überfordert. Aber bisher läuft alles einwandfrei.

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

                      @hal sagte in wie bei tinkerboard / armbian note.js aktualisieren ?:

                      Aber bisher läuft alles einwandfrei.

                      Das sehe ich...
                      ...nicht so.

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

                        @thomas-braun woran sehe ich das ? Im iobroker log taucht kaum Fehler auf. Alle Adapter, Views, Scripte usw. tun es . Grafana und influxDB gehen auch. Die Load ist m.E. nicht zu hoch.
                        Einzig Note.js lässt sich nicht aktualisieren.
                        Müsste ich das System komplett neu aufsetzen um das zu fixen ?

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

                          ich hätte noch einen Raspi 4 rumliegen. Allerdings habe ich das schon mal versucht meine Installation umzuziehen. Alles hat funktioniert, bis auf Alexa und das brauche ich unbedingt für den WAF. Den Fehler konnte ich nicht finden.

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

                            @hal sagte in wie bei tinkerboard / armbian note.js aktualisieren ?:

                            Müsste ich das System komplett neu aufsetzen um das zu fixen ?

                            Ich rate da selten zu, aber hier würde ich das tun. Dann ohne Desktop und so'nem Quatsch wie chromium auf einem Server. Und ohne irgendwelche Quellen, die nicht zur Distribution passen. Wer weiß was du dir da nun alles für Softwarepakete von werweißwoher reingeballert hast.

                            Könnte man zwar natürlich alles aufwändig in Erfahrung bringen, aber das würde geraume Zeit dauern. Da biste mit flugs neuinstallieren und ioBroker per Backup wiederherstellen mit Sicherheit schneller.

                            Du meinst den alexa2-Adapter? Warum sollte der auf einem Tinkerboard laufen, auf einem Raspberry4 aber nicht?
                            Tut er natürlich. Bei mir z. B.

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

                              @thomas-braun genau der Alexa2 Adapter lief, reagierte aber nicht mit Sprache. Ich habe noch die Raspi4 Installation mit InfluxDB und Grafana auf einem USB Stick und probiere es noch mal mit dem Backup vom Tinkerboard

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

                                @hal sagte in wie bei tinkerboard / armbian note.js aktualisieren ?:

                                der Alexa2 Adapter lief, reagierte aber nicht mit Sprache.

                                Das tut der ja auch nicht unmittelbar. Der kann höchstens die richtigen Lautsprecher aktvieren.

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

                                  @thomas-braun ja, sorry, das mache ich dann über note-red für Homematic bzw. java script für lokale Abfragen

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

                                    @hal

                                    Keine Ahnung von node-red. Da wäre dann @mickym eher kompetent. Aber zunächst muss das System auf eine solide Basis gesetzt werden.

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

                                      @thomas-braun ich schreibe gerade das Raspi4 Image auf den Stick und boote gleich mal

                                      HAL 1 Reply Last reply Reply Quote 0
                                      • HAL
                                        HAL @HAL last edited by

                                        nach sudo apt update && apt upgrade :

                                        pi@raspberrypi:~ $ apt-cache policy
                                        Paketdateien:
                                         100 /var/lib/dpkg/status
                                             release a=now
                                         500 http://archive.raspberrypi.org/debian buster/main armhf Packages
                                             release o=Raspberry Pi Foundation,a=testing,n=buster,l=Raspberry Pi Foundation,c=main,b=armhf
                                             origin archive.raspberrypi.org
                                         500 https://deb.nodesource.com/node_12.x buster/main armhf Packages
                                             release o=Node Source,n=buster,l=Node Source,c=main,b=armhf
                                             origin deb.nodesource.com
                                         500 https://repos.influxdata.com/debian buster/stable armhf Packages
                                             release o=InfluxDB,n=buster,l=InfluxDB,c=stable,b=armhf
                                             origin repos.influxdata.com
                                         500 https://packages.grafana.com/oss/deb stable/main armhf Packages
                                             release o=grafana stable,a=stable,n=stable,l=grafana stable,c=main,b=armhf
                                             origin packages.grafana.com
                                         500 http://raspbian.raspberrypi.org/raspbian buster/rpi armhf Packages
                                             release o=Raspbian,a=stable,n=buster,l=Raspbian,c=rpi,b=armhf
                                             origin raspbian.raspberrypi.org
                                         500 http://raspbian.raspberrypi.org/raspbian buster/non-free armhf Packages
                                             release o=Raspbian,a=stable,n=buster,l=Raspbian,c=non-free,b=armhf
                                             origin raspbian.raspberrypi.org
                                         500 http://raspbian.raspberrypi.org/raspbian buster/contrib armhf Packages
                                             release o=Raspbian,a=stable,n=buster,l=Raspbian,c=contrib,b=armhf
                                             origin raspbian.raspberrypi.org
                                         500 http://raspbian.raspberrypi.org/raspbian buster/main armhf Packages
                                             release o=Raspbian,a=stable,n=buster,l=Raspbian,c=main,b=armhf
                                             origin raspbian.raspberrypi.org
                                        Mit Pinning verwaltete Pakete:
                                        pi@raspberrypi:~ $
                                        
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @HAL last edited by Thomas Braun

                                          @hal sagte in wie bei tinkerboard / armbian note.js aktualisieren ?:

                                          Zeilen 5, 8, 11 (vermutlich in der Form jedenfalls), 14 (vermutlich in der Form jedenfalls), 17, 20, 23, 26 sind falsch/überflüssig.

                                          Aber wo sind denn nun die Einträge zu ubuntu/focal hin? Die wären ja richtig gewesen.

                                          [Edit:] Vergiss den Quatsch, ich hatte nicht geblickt dass du ja jetzt Buster am Start hast. Dann passt das natürlich soweit.

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

                                            Habe das selbe Problem?

                                            $ ./iobroker upgrade node-red
                                            Update node-red from @2.0.3 to @2.1.0
                                            host.raspberrypi4-IOB Adapter "system.adapter.node-red.0" is stopped.
                                            NPM version: 6.13.7npm install iobroker.node-red@2.1.0 --loglevel error --unsafe-perm --prefix "/opt/iobroker" (System call)
                                            npm ERR! code ENOTSUP
                                            npm ERR! notsup Unsupported engine for html-to-text@7.0.0: wanted: {"node":">=10.23.2"} (current: {"node":"10.18.0","npm":"6.13.7"})npm ERR! notsup Not compatible with your version of node/npm: html-to-text@7.0.0npm ERR! notsup Not compatible with your version of node/npm: html-to-text@7.0.0npm ERR! notsup Required: {"node":">=10.23.2"}npm ERR! notsup Actual: {"npm":"6.13.7","node":"10.18.0"}

                                            npm ERR! A complete log of this run can be found in:npm ERR! /home/iobroker/.npm/_logs/2021-03-06T10_57_19_021Z-debug.log
                                            upload [4] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/words.js words.js application/javascript
                                            upload [3] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/node-red.png node-red.png image/png
                                            upload [2] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/index_m.html index_m.html text/html
                                            upload [1] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/index.html index.html text/html
                                            upload [0] node-red.admin /opt/iobroker/node_modules/iobroker.node-red/admin/bcrypt.min.js bcrypt.min.js application/javascript
                                            Adapter "node-red" updated
                                            host.raspberrypi4-IOB Adapter "system.adapter.node-red.0" is started
                                            process exited with code 0

                                            No LSB modules are available.
                                            Distributor ID: Raspbian
                                            Description: Raspbian GNU/Linux 10 (buster)
                                            Release: 10
                                            Codename: buster

                                            wendy2702 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

                                            857
                                            Online

                                            32.0k
                                            Users

                                            80.5k
                                            Topics

                                            1.3m
                                            Posts

                                            5
                                            32
                                            1204
                                            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