Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Hardware
    4. Raspi rebooten

    NEWS

    • ioBroker@Smart Living Forum Solingen, 14.06. - Agenda added

    • ioBroker goes Matter ... Matter Adapter in Stable

    • Monatsrückblick - April 2025

    Raspi rebooten

    This topic has been deleted. Only users with topic management privileges can see it.
    • paul53
      paul53 last edited by

      Das hast Du gemacht ?
      @Doku:

      Nach dem ersten Starten des Raspberry Pi bitte mit

      sudo raspi-config

      folgende Einstellungen vornehmen:

      Expand filesystem (Erweitern des root-filesystems bis zur maximalen Größe der verwendeten SD-Karte) `
      Was ergibt

      df -h
      

      auf der Console ?

      1 Reply Last reply Reply Quote 0
      • P
        pfuhsy last edited by

        @Dutchman:

        Was passiert wenn du ioBroker erst stopst, Dan ne Minute wartest und erst dann die Pi rebootest ? `

        Ich habs jetzt 3x versucht und es scheint daran zu liegen. So geht es. Vorerst könnte man damit leben, damit wäre das aber nur ein workarround. Gibt es dazu eine richtige Lösung ?

        @paul53:

        Was ergibt

        df -h
        
        

        auf der Console ? `

        Dateisystem GröÃe Benutzt Verf. Verw% Eingehängt auf

        /dev/root 7,3G 2,1G 4,9G 30% /

        devtmpfs 460M 0 460M 0% /dev

        tmpfs 464M 0 464M 0% /dev/shm

        tmpfs 464M 12M 452M 3% /run

        tmpfs 5,0M 4,0K 5,0M 1% /run/lock

        tmpfs 464M 0 464M 0% /sys/fs/cgroup

        /dev/mmcblk0p1 42M 22M 20M 53% /boot

        tmpfs 93M 0 93M 0% /run/user/1000

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

          @pfuhsy:

          /dev/root 7,3G 2,1G 4,9G 30% / `
          Das passt, ist offenbar eine 8 GB SD Karte.

          1 Reply Last reply Reply Quote 0
          • P
            pfuhsy last edited by

            @paul53:

            @pfuhsy:

            /dev/root 7,3G 2,1G 4,9G 30% / Das passt, ist offenbar eine 8 GB SD Karte.

            OK. Damit wäre die größe meiner Karte geklärt. Aber weiterhelfen tut mir das jetzt nciht, oder 😄 .

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

              Naja,

              Neben der Größe deiner SD Karte wissen wir jetzt auch das du das Expand-File System scheinbar gemacht hast und noch genügend Platz auf der SD-Karte ist.

              Mach doch mal in Summe 3 Putty Sessions zu dem PI auf und dann in

              Session 1````
              tail -f /opt/iobroker/log/iobroker.2018-05-25.log

              
              Session 2````
              tail -f /var/log/syslog
              

              Session 3````
              sudo reboot

              
              Eventuell kommt in den beiden Logfiles eine Info warum der reboot nicht klappt bzw. Welcher Prozess scheinbar nicht sauber beendet wird.
              1 Reply Last reply Reply Quote 0
              • arteck
                arteck Developer Most Active last edited by

                was sagt````
                shutdown -r now

                
                

                shutdown -h

                1 Reply Last reply Reply Quote 0
                • P
                  pfuhsy last edited by

                  @wendy2702:

                  Mach doch mal in Summe 3 Putty Sessions zu dem PI auf und dann in

                  Session 1````
                  tail -f /opt/iobroker/log/iobroker.2018-05-25.log

                  
                  Session 2````
                  tail -f /var/log/syslog
                  

                  Session 3````
                  sudo reboot

                  
                  Eventuell kommt in den beiden Logfiles eine Info warum der reboot nicht klappt bzw. Welcher Prozess scheinbar nicht sauber beendet wird. `  
                  

                  Xession 1:

                  pi@ioBroker-Pi:~ $ tail -f /opt/iobroker/log/iobroker.2018-05-25.log
                  2018-05-25 23:59:42.047  - warn: javascript.0     at Object. <anonymous>(script.js.Scripte.HAA.Status_abfragen:6:3)
                  2018-05-25 23:59:45.050  - warn: javascript.0 Wrong type of node-red.0.HAA.Kommandos.HAA_Status: "boolean". Please fix, while deprecated and will not work in next versions.
                  2018-05-25 23:59:47.048  - warn: javascript.0 Wrong type of node-red.0.HAA.Kommandos.HAA_Status: "boolean". Please fix, while deprecated and will not work in next versions.
                  2018-05-25 23:59:47.049  - warn: javascript.0     at Object. <anonymous>(script.js.Scripte.HAA.Status_abfragen:6:3)
                  2018-05-25 23:59:50.052  - warn: javascript.0 Wrong type of node-red.0.HAA.Kommandos.HAA_Status: "boolean". Please fix, while deprecated and will not work in next versions.
                  2018-05-25 23:59:52.052  - warn: javascript.0 Wrong type of node-red.0.HAA.Kommandos.HAA_Status: "boolean". Please fix, while deprecated and will not work in next versions.
                  2018-05-25 23:59:52.053  - warn: javascript.0     at Object. <anonymous>(script.js.Scripte.HAA.Status_abfragen:6:3)
                  2018-05-25 23:59:55.058  - warn: javascript.0 Wrong type of node-red.0.HAA.Kommandos.HAA_Status: "boolean". Please fix, while deprecated and will not work in next versions.
                  2018-05-25 23:59:57.054  - warn: javascript.0 Wrong type of node-red.0.HAA.Kommandos.HAA_Status: "boolean". Please fix, while deprecated and will not work in next versions.
                  2018-05-25 23:59:57.055  - warn: javascript.0     at Object. <anonymous>(script.js.Scripte.HAA.Status_abfragen:6:3)</anonymous></anonymous></anonymous></anonymous> 
                  

                  Session 2:

                  pi@ioBroker-Pi:~ $ tail -f /var/log/syslog
                  May 26 21:03:39 ioBroker-Pi systemd[9648]: Listening on GnuPG cryptographic agent and passphrase cache (restricted).
                  May 26 21:03:39 ioBroker-Pi systemd[9648]: Listening on GnuPG cryptographic agent (ssh-agent emulation).
                  May 26 21:03:39 ioBroker-Pi systemd[9648]: Listening on GnuPG cryptographic agent and passphrase cache.
                  May 26 21:03:39 ioBroker-Pi systemd[9648]: Reached target Sockets.
                  May 26 21:03:39 ioBroker-Pi systemd[9648]: Reached target Basic System.
                  May 26 21:03:39 ioBroker-Pi systemd[9648]: Reached target Default.
                  May 26 21:03:39 ioBroker-Pi systemd[9648]: Startup finished in 39ms.
                  May 26 21:03:39 ioBroker-Pi systemd[1]: Started User Manager for UID 1000.
                  May 26 21:03:52 ioBroker-Pi systemd[1]: Started Session c3 of user pi.
                  May 26 21:04:06 ioBroker-Pi systemd[1]: Started Session c4 of user pi.
                  
                  

                  Und nu ?

                  1 Reply Last reply Reply Quote 0
                  • P
                    pfuhsy last edited by

                    @arteck:

                    was sagt

                    Code: Alles auswählen

                    shutdown -r now

                    Code: Alles auswählen

                    shutdown -h `

                    pi@ioBroker-Pi:~ $ shutdown -r now
                    Failed to set wall message, ignoring: The name org.freedesktop.PolicyKit1 was no                     t provided by any .service files
                    Failed to reboot system via logind: The name org.freedesktop.PolicyKit1 was not                      provided by any .service files
                    Failed to open /dev/initctl: Keine Berechtigung
                    Failed to talk to init daemon.
                    
                    
                    pi@ioBroker-Pi:~ $ shutdown -h
                    Failed to set wall message, ignoring: The name org.freedesktop.PolicyKit1 was not provided by any .service files
                    Failed to call ScheduleShutdown in logind, proceeding with immediate shutdown: The name org.freedesktop.PolicyKit1 was not provided by any .service files
                    
                    
                    1 Reply Last reply Reply Quote 0
                    • P
                      pfuhsy last edited by

                      Gibt es dazu eine Lösung ?

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

                        Von mir zumindest nicht…. da mir deine Antwort mit den Logs irgendwie durchgegangen ist.

                        Allerdings nützen die Logs nicht wirklich da du das iobroker log vom Vortag genommen hast.

                        Lässt der PI sich rebooten wenn du iobroker zuerst stoppst?

                        sudo iobroker stop
                        
                        sudo shutdown -r now
                        ````oder
                        
                        

                        sudo reboot

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

                          @pfuhsy:

                          Ich denke ich hab so 2-3 min gewartet, was normalerweise ca. 1min. dauert. `
                          Es gibt Installationen bei denen der Shutdown ca. 10 Minuten dauert - warum auch immer.

                          Irgendwo hatte jemand dagegen sogar einen Workaround gepostet.

                          Gruß

                          Rainer

                          1 Reply Last reply Reply Quote 0
                          • P
                            pfuhsy last edited by

                            @wendy2702:

                            Lässt der PI sich rebooten wenn du iobroker zuerst stoppst? `

                            Ja das geht.

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

                              Was hast du außer der iobroker Image installation noch gemacht?

                              Neue USER angelegt?

                              Irgendeine config datei editiert?

                              @pfuhsy:

                              Projektierung und Anpassungen nehme ich dann 3 Etagen höher im Arbeitszimmer vor. Da muss ich zwischendurch mal neustarten. Wäre schon ziemlich nervig dafür ständig runter laufen zu müssen. `

                              Was für Projektierungen und Anpassungen hast du gemacht bzw. was davon erfordert einen restart?

                              Mal Tante google bemüht? –> https://www.google.com/search?q=Failed+ ... refox-b-ab

                              1 Reply Last reply Reply Quote 0
                              • P
                                pfuhsy last edited by

                                @wendy2702:

                                Was hast du außer der iobroker Image installation noch gemacht? `

                                Keine weitere Image installiert. Jeden einzelen Punkt, was ich alles gemacht habe, hab ich natürklich nicht notiert. Wer macht das schon ?

                                @wendy2702:

                                Neue USER angelegt? `

                                Nein.

                                @wendy2702:

                                Irgendeine config datei editiert? `

                                Es gab eine Datei die ich editieren musste um die UART-Schnittstelle nutzen zu können.

                                @wendy2702:

                                Was für Projektierungen und Anpassungen hast du gemacht bzw. was davon erfordert einen restart? `

                                Das ist eine gute Frage. Wenn ich das noch richtig in Erinnerung habe, war es nach der Installation bei den einen oder anderen Adatper notwendig neuzustarten. Auch wenn ich manuell neue Objekte anlegte, konnte ich Sie in Node-Red erstmal gar nicht sehen. Da half meistens ein Neustart. Da waren bestimmt noch ein paar mehr Punkt. Das sind aber die, die mir so auf anhieb eingefallen sind.

                                @wendy2702:

                                Mal Tante google bemüht? –> https://www.google.com/search?q=Failed+ ... refox-b-ab `

                                Ja, werde aber nicht so richtig schlau daraus.

                                1 Reply Last reply Reply Quote 0
                                • C
                                  cimba007 last edited by

                                  Verhalten ist immernoch identisch .. so I can only assume this is working as intended?

                                  1 Reply Last reply Reply Quote 0
                                  • haselchen
                                    haselchen Most Active last edited by

                                    Nunja, ich bin wahrlich kein Experte.

                                    Habe die App Raspi Check und benutze haargenau den Befehl sudo shutdown -h 0 und es geht.

                                    Node.js: v6.14.3

                                    NPM: 6.2.0

                                    Den PI eventuell mal geupdatet?

                                    http://raspberrypiguide.de/howtos/raspb … re-update/

                                    Gibt auch Foreneinträge, die besagen, dass es bei einer 8GB SD-Karte Fehlermeldungen gibt.

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

                                      @Homoran:

                                      @pfuhsy:

                                      Ich denke ich hab so 2-3 min gewartet, was normalerweise ca. 1min. dauert. `
                                      Es gibt Installationen bei denen der Shutdown ca. 10 Minuten dauert - warum auch immer.

                                      Irgendwo hatte jemand dagegen sogar einen Workaround gepostet.

                                      Gruß

                                      Rainer `

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

                                      Support us

                                      ioBroker
                                      Community Adapters
                                      Donate

                                      815
                                      Online

                                      31.7k
                                      Users

                                      79.8k
                                      Topics

                                      1.3m
                                      Posts

                                      9
                                      23
                                      6152
                                      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