Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. ioBroker Allgemein
    4. iobroker geht nicht nach stromausfall

    NEWS

    • Wir empfehlen: Node.js 22.x

    • Neuer Blog: Fotos und Eindrücke aus Solingen

    • ioBroker goes Matter ... Matter Adapter in Stable

    iobroker geht nicht nach stromausfall

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

      @thomas-braun ne mein Sohn bekommt das 😄 😄 (Joke)

      1 Reply Last reply Reply Quote 0
      • OliverIO
        OliverIO @Esmax666 last edited by

        @esmax666 sagte in iobroker geht nicht nach stromausfall:

        was gibt ähnlich wie "fsck" auf windows

        auf windows für FAT oder NTFS
        nennt sich das chkdsk

        durch den Stromausfall kann die logische struktur gestört sein.
        Die kann man ggfs reparieren. chkdisk /f
        aber nur für den fat teil. das kann mit dem rest nix anfangen. das musst du unter linux machen, aber ohne das der stick anderweitig gleichzeitig benutzt wird.

        Aber auch hier verstehe ich nicht ganz, ich dachte auf dem Stick ist das Betriebssystem für den raspberry? Da wirst du mit checkdisk nicht weit kommen, da nur eine kleine fat partition da drauf ist und der rest ist ext irgendwas.

        dennoch was wichtiges würde ich da nicht mehr drauf speichern.

        E 2 Replies Last reply Reply Quote 1
        • E
          Esmax666 @OliverIO last edited by

          @oliverio said in iobroker geht nicht nach stromausfall:

          Aber auch hier verstehe ich nicht ganz, ich dachte auf dem Stick ist das Betriebssystem für den raspberry? Da wirst du mit checkdisk nicht weit kommen, da nur eine kleine fat partition da drauf ist und der rest ist ext irgendwas.

          ich dachte ich kann das auch auf windows prüfen ...

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

            @esmax666 sagte in iobroker geht nicht nach stromausfall:

            ich dachte ich kann das auch auf windows prüfen ...

            Windows kann mit unix-Dateisystemen nix anfangen.

            1 Reply Last reply Reply Quote 0
            • E
              Esmax666 @OliverIO last edited by

              @oliverio
              noch ein frage USB stick oder micro SD ist egal oder ? USB stick hält nicht länger als micro SD ?
              Brauchen wir USB 3 oder USB 2 reicht schon für iobroker wie
              https://www.amazon.de/Intenso-Rainbow-Line-USB-Stick-orange

              OliverIO 1 Reply Last reply Reply Quote 0
              • OliverIO
                OliverIO @Esmax666 last edited by

                @esmax666

                Link funktioniert nicht
                Lieber was wo extreme oder pro oder indudtry
                dabei steht

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

                  @esmax666

                  Link funktioniert nicht
                  Lieber was wo extreme oder pro oder indudtry
                  dabei steht

                  E 1 Reply Last reply Reply Quote 0
                  • E
                    Esmax666 @OliverIO last edited by

                    @oliverio @oliverio said in iobroker geht nicht nach stromausfall:

                    extreme oder pro oder indudtry

                    echt extreme ist aber für speed oder? brauchen wir sowas für ein raspi ?
                    https://www.amazon.de/Intenso-Rainbow-Line-USB-Stick-orange/dp/B0081TNDYW/

                    mit "pro" ich dachte das ist marketing 😄 😄

                    E 1 Reply Last reply Reply Quote 0
                    • E
                      Esmax666 @Esmax666 last edited by

                      er ist z.B schlecht bewertet : (pro)
                      https://www.amazon.de/Verbatim-98664-Flash-Speicherstick-Silber/dp/B00Q5CZ0YI/ref=sr_1_14?__mk_de_DE=ÅMÅŽÕÑ&crid=DOF4SPGYS4OC&keywords=usb+stick+pro&qid=1695495891&sprefix=usb+stick+pro%2Caps%2C113&sr=8-14

                      OliverIO 1 Reply Last reply Reply Quote 0
                      • OliverIO
                        OliverIO @Esmax666 last edited by

                        @esmax666
                        https://geizhals.de/?cat=sm_sdhc&xf=2455_200~307_64~5531_5~8281_64&sort=p&hloc=at&hloc=de&v=e

                        https://geizhals.de/?cat=sm_usb&xf=13301_1~2938_65536~309_65536~474_USB-A~475_200~7970_5&sort=p&hloc=at&hloc=de&v=e

                        Zu Zusätze sind wohl eher bei Karten üblich

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

                          @oliverio

                          Ich würde lieber eine SD Card nehmen
                          Und noch lieber eine SSD

                          Homoran E 2 Replies Last reply Reply Quote 1
                          • Homoran
                            Homoran Global Moderator Administrators @OliverIO last edited by Homoran

                            @oliverio sagte in iobroker geht nicht nach stromausfall:

                            Und noch lieber eine SSD

                            und die an USB2 und einen aktiven Hub

                            1 Reply Last reply Reply Quote 0
                            • E
                              Esmax666 @OliverIO last edited by

                              @oliverio said in iobroker geht nicht nach stromausfall:

                              Ich würde lieber eine SD Card nehmen
                              Ich habe gesehen, dass die Hardware eine Garantie von 10 Jahren oder sogar 30 Jahren hat, ist das wirklich realistisch?

                              also hier für microSD 30 jahre
                              https://geizhals.de/?cat=sm_sdhc&sort=p&hloc=at&hloc=de&v=e&xf=2455_200~5531_30~8281_64

                              USB stick
                              https://geizhals.de/?cat=sm_usb&sort=p&hloc=at&hloc=de&v=e&xf=13301_1~309_65536~474_USB-A~475_200~7970_30

                              wcag22 OliverIO 2 Replies Last reply Reply Quote 0
                              • wcag22
                                wcag22 @Esmax666 last edited by

                                @esmax666
                                Naja, bist Du Dir sicher, dass in 30 Jahren noch SD-Karten genutzt werden, dass es Raspis gibt, Du ioBroker benutzt, oder, oder, oder? 🙂
                                In dem Kontext ist die Lebensdauer dieses Mediums doch recht irrelevant, oder?

                                Ich überlegen die ganze Zeit, worum es im Moment in der Disksussion geht.
                                Wenn ich es richtig verstehe, geht es Dir um ein Speichermedium, welches ein Linux-OS aufnimmt und darauf ioBroker läuft.
                                Das funktioniert zunächst einmal wohl mit allen am Markt erhältlichen SD Cards.

                                Und ja, es gibt sicher Qualitätsunterschiede was die Lebensdauer (Schreib-/Lesezyklen) angeht, was aber wenig mit der Lebensdauer in Jahren zu tun hat.

                                Ich nutze "stinknormale" 32-GB SD-Cards von scandisk. Für den Fall aller Fälle liegen zwei Ersatzkarten mit einem Image der letzten aktuellen Version bereit und gut ist. Kostet doch alles nicht die Welt.
                                Und bislang war nie eine Karte defekt, meist war es die darauf laufende Software durch eigene Dumnmheit.

                                Fun Fact am Rande - und OT:
                                Auf einem alten Handy wird seit ca. 4 Jahren von einer SD Karte meine Playlist (365/7/24) abgespielt. Und ja, jetzt (!) kommt es zu Aussetzern bei der Wiedergabe, was ich der Karte anlaste...

                                1 Reply Last reply Reply Quote 0
                                • OliverIO
                                  OliverIO @Esmax666 last edited by OliverIO

                                  @esmax666
                                  Keine Ahnung ob das realistisch ist.
                                  Meiner Ansicht nach hat der Hersteller einfach genug Reserve Bereiche hinzugefügt, so das da in absehbarer Zeit nix passiert.
                                  Dennoch würde ich noch Max 5 Jahren das Medium austauschen.
                                  Aber wie oben schon geschrieben. Kann sein das da dein raspi auch schon nicht mehr lebt.

                                  Der usb Stick wurde ca 2005/2006 erfunden.
                                  In etwa der gleichen Zeit in die Zukunft kannst dir denken, das es da sticks oder sd Karten nicht mehr gibt.

                                  Mach einfach regelmäßig ein Backup und gut ist.
                                  Die sd Karten mit 5 Jahren haben eine ausreichende Sicherheit, das nicht in einem Jahr gleich was passiert.

                                  E 1 Reply Last reply Reply Quote 1
                                  • E
                                    Esmax666 @Thomas Braun last edited by Esmax666

                                    @thomas-braun said in iobroker geht nicht nach stromausfall:

                                    npm install iobroker.js-controller@3.3.22

                                    Also alles ist jetzt neue installiert:

                                    ich wollte jetzt ein "Downgrade" noch machen und leider habe ich das bekommen, habe ich etwas vergessen ?

                                    
                                    esmax@ubuntu:/opt/iobroker$ npm install iobroker.js-controller@3.3.22
                                    npm ERR! code EACCES
                                    npm ERR! syscall rename
                                    npm ERR! path /opt/iobroker/node_modules/alcalzone-shared
                                    npm ERR! dest /opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF
                                    npm ERR! errno -13
                                    npm ERR! Error: EACCES: permission denied, rename '/opt/iobroker/node_modules/al                                                    calzone-shared' -> '/opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF'
                                    npm ERR!  [Error: EACCES: permission denied, rename '/opt/iobroker/node_modules/                                                    alcalzone-shared' -> '/opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF'] {
                                    npm ERR!   errno: -13,
                                    npm ERR!   code: 'EACCES',
                                    npm ERR!   syscall: 'rename',
                                    npm ERR!   path: '/opt/iobroker/node_modules/alcalzone-shared',
                                    npm ERR!   dest: '/opt/iobroker/node_modules/.alcalzone-shared-FgX40TmF'
                                    npm ERR! }
                                    npm ERR!
                                    npm ERR! The operation was rejected by your operating system.
                                    npm ERR! It is likely you do not have the permissions to access this file as the                                                     current user
                                    npm ERR!
                                    npm ERR! If you believe this might be a permissions issue, please double-check t                                                    he
                                    npm ERR! permissions of the file and its containing directories, or try running
                                    npm ERR! the command again as root/Administrator.
                                    
                                    npm ERR! A complete log of this run can be found in: /home/esmax/.npm/_logs/2023                                                    -09-26T18_26_30_653Z-debug-0.log
                                    esmax@ubuntu:/opt/iobroker$
                                    
                                    
                                    esmax@ubuntu:/opt/iobroker$ iob status
                                    iobroker is not running on this host.
                                    
                                    
                                    Objects type: jsonl
                                    States  type: jsonl
                                    esmax@ubuntu:/opt/iobroker$ iob start
                                    esmax@ubuntu:/opt/iobroker$ iob status
                                    iobroker is running on this host.
                                    
                                    
                                    Objects type: jsonl
                                    States  type: jsonl
                                    esmax@ubuntu:/opt/iobroker$ iob list instances
                                    + system.adapter.admin.0                  : admin                 : ubuntu                                   -  enabled, port: 8081, bind: 0.0.0.0, run as: admin
                                    + system.adapter.backitup.0               : backitup              : ubuntu                                   -  enabled
                                    + system.adapter.discovery.0              : discovery             : ubuntu                                   -  enabled
                                    
                                    + instance is alive
                                    esmax@ubuntu:/opt/iobroker$
                                    
                                    1 Reply Last reply Reply Quote 0
                                    • E
                                      Esmax666 @OliverIO last edited by

                                      @oliverio ja klar das wundert mich wie lange die garantie ist, mal sehen 🙂

                                      E 1 Reply Last reply Reply Quote 0
                                      • E
                                        Esmax666 @Esmax666 last edited by Esmax666

                                        vielleicht fehlt mir noch paar rechte ? sudo ?? 😲

                                        esmax@ubuntu:/opt/iobroker$ iob diag
                                        bash: /home/iobroker/.diag.sh: Permission denied
                                        
                                        Thomas Braun 1 Reply Last reply Reply Quote 0
                                        • Thomas Braun
                                          Thomas Braun Most Active @Esmax666 last edited by

                                          @esmax666 sagte in iobroker geht nicht nach stromausfall:

                                          vielleicht fehlt mir noch paar rechte ?

                                          Würde ich auch sagen. Welche hast du denn?
                                          Auf einem ubuntu erhält der erste angelegte User aber eigentlich direkt die passenden Rechte.

                                          groups 
                                          id
                                          

                                          anschauen.

                                          E 1 Reply Last reply Reply Quote 2
                                          • E
                                            Esmax666 @Thomas Braun last edited by

                                            @thomas-braun said in iobroker geht nicht nach stromausfall:

                                            Am besten kopierst du die Datei erstmal nach /opt/iobroker/backup und dann in dem Verzeichnis ausführen.

                                            wie kann man ein Files über SSH kopieren ?

                                            Also file ist jetzt auf mein windows Rechner : iobroker restore "C:\Users\xx\Downloads\iobroker_2022_09_21-02_40_10_backupiobroker.tar.gz" ??

                                            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

                                            707
                                            Online

                                            32.0k
                                            Users

                                            80.4k
                                            Topics

                                            1.3m
                                            Posts

                                            7
                                            154
                                            9204
                                            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