Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. PINE Rock64 bootet nicht mehr

    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

    PINE Rock64 bootet nicht mehr

    This topic has been deleted. Only users with topic management privileges can see it.
    • Homoran
      Homoran Global Moderator Administrators @derrapf last edited by

      @derrapf sagte in PINE Rock64 bootet nicht mehr:

      Dann heute morgen Stillstand.

      zumindest gibt es Begründungen im log!

      @derrapf sagte in PINE Rock64 bootet nicht mehr:

      Soll ich abbrechen oder weiter warten ob noch was passiert?

      ich denke er ist "fertig", soweit er kann.
      Habe das log nur überflogen, erste Frage:
      iobroker -v

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

        @derrapf

        Zu
        sharp
        musst du Mal schauen, das muss offenbar selber gebaut werden auf der Distribution. Da hatte ich schon vor einiger Zeit was zu geschrieben wie das u.U. geht.

        Hatte das jetzt aber länger nicht mehr gelesen, eigentlich sollten die benötigten Pakete bei einer frischen iobroker-Installation mitkommen.

        iobroker stop
        iobroker fix
        

        schon durchgeführt?

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

          @thomas-braun Hi alle
          Zu Euren Fragen

          pi@rock64:/opt/iobroker$ iobroker -v
          3.3.15

          Den hab ich mit curl -sL https://iobroker.net/install.sh | bash - installiert

          Das fixit Script hab ich auch laufen lassen, ja.
          Ich habe im Prinzip das hier gemacht: curl -sL https://iobroker.net/fix.sh | bash -

          Node hab ich auch installiert:
          pi@rock64:/opt/iobroker$ node -v
          v12.22.5

          zumindest gibt es Begründungen im log!

          Ja. Nur kann ich als Unix Noob nichts damit anfangen.
          Interessant zu wissen, dass "admin.0.info.connection" kein existierendes Objekt hat.
          Aber genau so gut könnte man mir sagen, dass in einem Ferrari irgendwo ne Schraube fehlt.

          Was ist sharp? Und wie baut man das? Ich google das mal. Hoffentlich blick ich's auch. Ich melde mich wieder.
          Gruss Ralf

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

            @thomas-braun
            Ich lasse das iobroker fix einfach nochmal laufen. Vielleicht hilfts ja.
            Gruss Ralf

            D 1 Reply Last reply Reply Quote 0
            • D
              derrapf @derrapf last edited by

              @derrapf Hab was mit Sharp gefunden. Da gings aber um IOT. Da half ein Downgrad. Das meinst Du aber nicht oder?

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

                @derrapf

                Nein, ich meinte sowas:

                https://forum.iobroker.net/topic/36908/bug-bei-update-usw/16?_=1629200562960

                lsb_release -a
                

                liefert?

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

                  @thomas-braun sagte in PINE Rock64 bootet nicht mehr:

                  lsb_release -a

                  Das liefert

                  pi@rock64:~$ lsb_release -a
                  No LSB modules are available.
                  Distributor ID: Debian
                  Description: Debian GNU/Linux 10 (buster)
                  Release: 10
                  Codename: buster

                  Gruss Ralf

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

                    @derrapf

                    apt policy libvips-dev
                    
                    D 1 Reply Last reply Reply Quote 0
                    • Homoran
                      Homoran Global Moderator Administrators @derrapf last edited by

                      @derrapf sagte in PINE Rock64 bootet nicht mehr:

                      Node hab ich auch installiert:

                      das kommt mit dem iobroker Install auf einem neuen System automatisch wenn du

                      @derrapf sagte in PINE Rock64 bootet nicht mehr:

                      Den hab ich mit curl -sL https://iobroker.net/install.sh | bash - installiert

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

                        @thomas-braun sagte in PINE Rock64 bootet nicht mehr:

                        @derrapf

                        apt policy libvips-dev
                        

                        pi@rock64:~$ apt policy libvips-dev
                        libvips-dev:
                        Installiert: (keine)
                        Installationskandidat: 8.7.4-1+deb10u1
                        Versionstabelle:
                        8.7.4-1+deb10u1 500
                        500 http://deb.debian.org/debian buster/main arm64 Packages

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

                          @homoran sagte in PINE Rock64 bootet nicht mehr:

                          das kommt mit dem iobroker Install auf einem neuen System automatisch wenn du

                          Ah, Ok. aber geschadet hat es hoffentlich nicht, dass ich es vorher installiert hatte..?

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

                            @derrapf

                            Danach müsste eigentlich alles vorhanden sein:

                            https://sharp.pixelplumbing.com/install

                            Mit arm64 kenn ich mich aber nicht aus. @Homoran hat glaube ich so Dinger im Betrieb.

                            ldd --version
                            cd /opt/iobroker
                            npm list sharp 
                            

                            bringt?

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

                              @thomas-braun sagte in PINE Rock64 bootet nicht mehr:

                              ldd --version
                              cd /opt/iobroker
                              npm list sharp

                              Da kommt dann:

                              pi@rock64:/opt/iobroker$ ldd --version
                              ldd (Debian GLIBC 2.28-10) 2.28
                              Copyright © 2018 Free Software Foundation, Inc.
                              Dies ist freie Software; in den Quellen befinden sich die Lizenzbedingungen.
                              Es gibt KEINERLEI Garantie; nicht einmal für die TAUGLICHKEIT oder
                              VERWENDBARKEIT FÜR EINEN ANGEGEBENEN ZWECK.
                              Implementiert von Roland McGrath und Ulrich Drepper.
                              pi@rock64:/opt/iobroker$ cd /opt/iobroker
                              pi@rock64:/opt/iobroker$ npm list sharp
                              iobroker.inst@3.0.0 /opt/iobroker
                              └─┬ iobroker.iot@1.8.22
                                └── UNMET OPTIONAL DEPENDENCY sharp@0.28.1
                              
                              
                              

                              Sieht für mich aus also ob Sharp da wäre. Oder soll ich das gemäß verlinkter Seite nochmal installieren?
                              Gruss Ralf

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

                                @derrapf

                                Nee sharp ist gerade nicht da, die Dependency ist ja UNMET.

                                Mit der alten Version der glibc (2.28) muss man da offenbar auch noch ein paar kräftige Klimmzüge machen. libvips von Hand kompilieren, wie es oben in meinem verlinkten Thread gemacht wurde.

                                Kannst die Klimmzüge machen oder mit dem Fehler leben. Ist ja nur eine optional dependency.
                                Mich würde es allerdings nerven...

                                So sähe das übrigens richtig aus:

                                Last login: Tue Aug 17 14:47:48 2021 from 192.168.178.51
                                echad@chet:~ $ cd /opt/iobroker/
                                echad@chet:/opt/iobroker $ npm list sharp
                                iobroker.inst@3.0.0 /opt/iobroker
                                └─┬ iobroker.iot@1.8.22
                                  └── sharp@0.28.1
                                
                                echad@chet:/opt/iobroker $
                                
                                1 Reply Last reply Reply Quote 0
                                • D
                                  derrapf last edited by derrapf

                                  @thomas-braun
                                  Ok, Hab das mal gemacht. Aber das sieht ungesund für mich aus:

                                  pi@rock64:/opt/iobroker$ npm install sharp
                                  [sudo] Passwort für pi:
                                  
                                  > sharp@0.28.1 install /opt/iobroker/node_modules/iobroker.iot/node_modules/sharp
                                  > (node install/libvips && node install/dll-copy && prebuild-install) || (node-gyp rebuild && node install/dll-copy)
                                  
                                  sharp: Installation error: Use with glibc 2.28 requires manual installation of libvips >= 8.10.6
                                  sharp: Attempting to build from source via node-gyp but this may fail due to the above error
                                  sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
                                  make: Verzeichnis „/opt/iobroker/node_modules/iobroker.iot/node_modules/sharp/build“ wird betreten
                                    CC(target) Release/obj.target/nothing/../../../node-addon-api/nothing.o
                                    AR(target) Release/obj.target/../../../node-addon-api/nothing.a
                                    COPY Release/nothing.a
                                    TOUCH Release/obj.target/libvips-cpp.stamp
                                    CXX(target) Release/obj.target/sharp/src/common.o
                                  ../src/common.cc:24:10: fatal error: vips/vips8: Datei oder Verzeichnis nicht gefunden
                                   #include <vips/vips8>
                                            ^~~~~~~~~~~~
                                  compilation terminated.
                                  make: *** [sharp.target.mk:139: Release/obj.target/sharp/src/common.o] Fehler 1
                                  make: Verzeichnis „/opt/iobroker/node_modules/iobroker.iot/node_modules/sharp/build“ wird verlassen
                                  gyp ERR! build error
                                  gyp ERR! stack Error: `make` failed with exit code: 2
                                  gyp ERR! stack     at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
                                  gyp ERR! stack     at ChildProcess.emit (events.js:314:20)
                                  gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:276:12)
                                  gyp ERR! System Linux 5.10.43-rockchip64
                                  gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
                                  gyp ERR! cwd /opt/iobroker/node_modules/iobroker.iot/node_modules/sharp
                                  gyp ERR! node -v v12.22.5
                                  gyp ERR! node-gyp -v v5.1.0
                                  gyp ERR! not ok
                                  
                                  > sharp@0.28.3 install /opt/iobroker/node_modules/sharp
                                  > (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node inst                                                                                                          all/dll-copy)
                                  
                                  sharp: Installation error: Use with glibc 2.28 requires manual installation of libvips >= 8.10.6
                                  sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
                                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/fsevents):
                                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current                                                                                                          : {"os":"linux","arch":"arm64"})
                                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: osx-temperature-sensor@1.0.7 (node_modules/osx-temperature-sensor):
                                  npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for osx-temperature-sensor@1.0.7: wanted {"os":"darwin","arch":"                                                                                                          any"} (current: {"os":"linux","arch":"arm64"})
                                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.28.1 (node_modules/iobroker.iot/node_modules/sharp):
                                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: sharp@0.28.1 install: `(node install/libvips && node install/dll-copy && prebuild-i                                                                                                          nstall) || (node-gyp rebuild && node install/dll-copy)`
                                  npm WARN optional SKIPPING OPTIONAL DEPENDENCY: Exit status 1
                                  
                                  npm ERR! code ELIFECYCLE
                                  npm ERR! errno 1
                                  npm ERR! sharp@0.28.3 install: `(node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile &&                                                                                                           node-gyp rebuild && node install/dll-copy)`
                                  npm ERR! Exit status 1
                                  npm ERR!
                                  npm ERR! Failed at the sharp@0.28.3 install script.
                                  npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
                                  
                                  npm ERR! A complete log of this run can be found in:
                                  npm ERR!     /home/iobroker/.npm/_logs/2021-08-17T13_13_06_524Z-debug.log
                                  
                                  

                                  Da steht was von "When using npm v6 or earlier, the npm install --unsafe-perm flag must be used when installing as root or a sudo user." aber ich hab's ja nicht als rott installiert.
                                  Oder soll man das?
                                  NPM ist bei mir 6.14.14
                                  Gruss Ralf

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

                                    @derrapf

                                    Wie gesagt, da muss offenbar zuvor die libvips von Hand gebaut werden.

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

                                      @thomas-braun
                                      Ich hab mich mal durchgeklickt und bin hier gelandet
                                      Das mach ich heute nicht mehr. Mit ztiemlicher sicherheit explodoert dann alles. Wir fahren morgen nach Kroatien und ich muss noch packen. Ev. setze ich mich dort mal gemütlich hin und mache weiter.
                                      Wenn ich Dir richtig verstehe macht es aber nichts wenn das fehlt..
                                      Gruss Ralf

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

                                        @derrapf
                                        Nee, das wird dir nur bei jeder Installation wieder gemeldet werden.
                                        Und es kann sein, dass der iot-Adapter mit Bildern nicht anfangen kann. sharp ist für die Bildbearbeitung zuständig.

                                        Schönen Urlaub!

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

                                          @thomas-braun Danke
                                          Ich starte jetz tmal den IOBroker und hoffe das Beste. Wenn er nicht geht mach ich übermorgen vielleicht weiter. Dann vom Hotel aus..
                                          Gruss Ralf

                                          D 1 Reply Last reply Reply Quote 0
                                          • D
                                            derrapf @derrapf last edited by

                                            @derrapf
                                            Oje. Sieh nicht so toll aus.
                                            Also das erste was mir auffällt ist, dass die Weboberfläche im Vergleich zu früher total langsam und unresponsive ist.
                                            Die Adapter werden alle als installiert angezeigt:
                                            Dann werden, soweit ich das sehe alle meine Adapter als installiert angezeigt:
                                            020b3ba3-b68c-4e5d-951e-f9f675f35a15-grafik.png
                                            Die Instanzen sind aber alle weg:
                                            c5e05fb0-a1e0-45c6-a650-4ba67ea57fb8-grafik.png
                                            Das Drücken auf den Play Button bring keine Änderung.
                                            fb90b2e4-06c6-4b0e-ba60-2b1c845d279b-grafik.png
                                            Muss ich ev. das Update nochmal laufen lassen?
                                            Ansonsten ist das Log voll mit Fehlern
                                            f7b3952b-8c46-472d-a140-507019d064b2-grafik.png

                                            Ich glaub ich fang nochmal von vorne an...
                                            Und ihr meint echt das mit dem "Rezept" wäre ein guter Weg...?

                                            Gruss Ralf

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

                                            Support us

                                            ioBroker
                                            Community Adapters
                                            Donate

                                            479
                                            Online

                                            31.8k
                                            Users

                                            80.0k
                                            Topics

                                            1.3m
                                            Posts

                                            3
                                            170
                                            8995
                                            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