<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hallo zusammen,<div class=""><br class=""></div><div class="">ich bin mir nicht sicher ob ich mir gerade das system komplett zerschossen habe oder nur ein kleiner Fehler passiert ist.</div><div class=""><br class=""></div><div class="">Folgende Ausgangssituation:</div><div class=""><br class=""></div><div class="">Ich betreibe den Volkszähler auf einem Raspberry Pi 2 mit SSD als Festplatte. Ich habe komplett alle Daten auf der SSD. Auf der SD Karte ist nur die Bootsode.bin. Die SSD ist 32GB groß.</div><div class=""><br class=""></div><div class="">Heute habe ich festgestellt dass das Frontende bei einer Änderung eines Kanals eine Fehlermeldung mit Disk Full gebracht hat. </div><div class=""><br class=""></div><div class="">df -h hat ergeben das der Mountpunkt / nur 3,7GB groß und zu 100% voll war. Hier habe ich wohl beim einrichten vergessen die Partitionsgröße anzupassen.</div><div class=""><br class=""></div><div class="">eine Anpassung über raspi-config funktioniert nicht, da das script meldet das sda2 keine SD karte sei. Stimmt ja auch, ist ja eine SSD.</div><div class=""><br class=""></div><div class="">Also google angeworfen und eine Anleitung gefunden wie man mit Disk die partition vergrößert. Dazu sda2 gelöscht und wieder angelegt mit gleichem Startsektor. Dann mit resize2fs /dev/sda2 angepasst. hat wunderbar funktioniert.</div><div class=""><br class=""></div><div class="">df -h ergibt nun für / eine Größe von 30gb.</div><div class=""><br class=""></div><div class="">Allerdings findet das frontend keine Daten mehr. Wenn ich es aufrufe kommt folgende Fehlermeldung:</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><a href="http://192.168.178.34/middleware.php/entity/7d4fc860-53f0-11ea-a672-d170a1ac49e8.json?unique=1585399348516" style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255); text-decoration: none;" class="">middleware.php/entity/XXXXX-53f0-11ea-a672-d170a1ac49e8.json?unique=1585399348516</a><span style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">:</span><br style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""><br style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""><span style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">An exception occured in driver: SQLSTATE[HY000] [2002] No such file or directory</span></div><div class=""><span style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">Ich vermute mal das die Datenbank nicht läuft oder nicht gefunden werden kann. </span></div><div class=""><span style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">Wenn ich mich per ssh einlogge, dann sind die normalen Verzeichnisse soweit alle da</span></div><div class=""><span style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">Kann man da was retten, oder muss ich das System neu aufsetzen?</span></div><div class=""><span style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class=""><br class=""></span></div><div class=""><span style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">Gruß eines etwas zu unbedarften Users</span></div><div class=""><span style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; font-size: 16px; font-variant-ligatures: normal; orphans: 2; widows: 2; background-color: rgb(255, 255, 255);" class="">Tobias</span></div></body></html>