NEWS
TESTER gesucht / Backup auf Fritz.nas - node 18.18.0
-
@fastfoot sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:
dann läuft kein github backitup
Doch, das war sogar während ein Backup lief.
-
@thomas-braun ist auch ein neuer tag, evtl muss iobroker neu gestartet werden, das current.log wird da neu erstellt und die Ausgabe erfolgte evtl. gestern. versuche die env wie bisher zu setzen, dann den start und dann grep.
-
@thomas-braun Auf Github ist es aktuell wieder auskommentiert. War nur zu testzwecken
-
@fastfoot poste bitte das aktuelle Script nochmal.
Dann muss ich suchen -
@fastfoot sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:
versuche die env wie bisher zu setzen
Wie war das noch gleich? Ich bin schon #HOECHSTVERWIRRT
-
@simatec ,@Thomas-Braun ah, schade, dann bitte die env in den Systemeinstellungen. Ist zur Sicherheit, gestern hatten wir ja Probleme mit dem Setzen. Für das skript ist es einfach mit dem davorsetzen, aber iob ist ja nur ein script welches dann node aufruft. Einfach um sicher zu sein
-
@fastfoot sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:
dann bitte die env in den Systemeinstellungen.
Wie?
-
@thomas-braun sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:
#HOECHSTVERWIRRT
da siehste mal wie es vielen deiner Klienten manchmal geht Setze in den Systemeinstellungen so dass sie beim Start von iobroker da ist. grep kannste dann vergessen, wir sehen es am Ergebnis. UV_USE_IO_URING=0
-
@thomas-braun sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:
Wie?
ja sakra, da muss doch was sein wo du envs voreinstellen kannst? Pfad, TZ, manpages etc. aber systemweit, in der .bashrc ist ja nur beim login gültig. da gibts doch ein setup programm wo die zeitzone etc. eingestellt wird
-
-
@thomas-braun sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:
In /etc/environment
echad@chet:/opt/iobroker $ echo $UV_USE_IO_URING 0
puh, ich wusste dass du das weisst und jetzt sollte das Backup funktionieren. Probiere einfach mal iob backup und auch das skript
-
/opt/iobroker/backups unmounted //fritz.box/fritz.nas/Hitachi-HTS545012B9SA00-01/iobbackups/chet mounted into /opt/iobroker/backups file test_pipeline_compressed_tar.tar.gz created file test_pipeline_compressed_tar.tar.gz done number of files in test_pipeline_compressed_tar.tar.gz: 0 file test_pipeline_compressed_zlib.tar.gz created file test_pipeline_compressed_zlib.tar.gz done number of files in test_pipeline_compressed_zlib.tar.gz: 0 file test_pipeline_uncompressed.tar created file test_pipeline_uncompressed.tar done number of files in test_pipeline_uncompressed.tar: 0 listing of created files in /opt/iobroker/backups -rwxrwxrwx 1 root root 252416 Oct 14 2023 /opt/iobroker/backups/test_pipeline_uncompressed.tar -rwxrwxrwx 1 root root 16384 Oct 14 00:49 /opt/iobroker/backups/test_pipeline_compressed_zlib.tar.gz -rwxrwxrwx 1 root root 16384 Oct 14 00:49 /opt/iobroker/backups/test_pipeline_compressed_tar.tar.gz
Und Backup geht in die Hose...
-
@thomas-braun gestern ging das doch! im script zeile vor test():
console.log(process.env.UV_USE_IO_URING)
-
Alle Backups von heute sind Murks:
echad@chet:/opt/iobroker $ ls -lAh backups/ | grep 2023_10_14 -rwxrwxrwx 1 root root 16K Oct 14 00:28 historyDB_2023_10_14-00_27_45_chet_backupiobroker.tar.gz -rwxrwxrwx 1 root root 16K Oct 14 00:53 historyDB_2023_10_14-00_53_15_chet_backupiobroker.tar.gz -rwxrwxrwx 1 root root 16K Oct 14 00:27 iobroker_2023_10_14-00_27_33_chet_backupiobroker.tar.gz -rwxrwxrwx 1 root root 16K Oct 14 00:53 iobroker_2023_10_14-00_53_04_chet_backupiobroker.tar.gz -rwxrwxrwx 1 root root 16K Oct 14 00:28 javascripts_2023_10_14-00_28_19_chet_backupiobroker.tar.gz -rwxrwxrwx 1 root root 14K Oct 14 00:53 javascripts_2023_10_14-00_53_48_chet_backupiobroker.tar.gz -rwxrwxrwx 1 root root 957 Oct 14 00:28 zigbee.0_2023_10_14-00_28_18_chet_backupiobroker.tar.gz -rwxrwxrwx 1 root root 968 Oct 14 00:53 zigbee.0_2023_10_14-00_53_47_chet_backupiobroker.tar.gz
Skript:
/opt/iobroker/backups unmounted //fritz.box/fritz.nas/Hitachi-HTS545012B9SA00-01/iobbackups/chet mounted into /opt/iobroker/backups file test_pipeline_compressed_tar.tar.gz created file test_pipeline_compressed_tar.tar.gz done number of files in test_pipeline_compressed_tar.tar.gz: 115 file test_pipeline_compressed_zlib.tar.gz created file test_pipeline_compressed_zlib.tar.gz done number of files in test_pipeline_compressed_zlib.tar.gz: 115 file test_pipeline_uncompressed.tar created file test_pipeline_uncompressed.tar done number of files in test_pipeline_uncompressed.tar: 115 listing of created files in /opt/iobroker/backups -rwxrwxrwx 1 root root 821248 Oct 14 00:58 /opt/iobroker/backups/test_pipeline_uncompressed.tar -rwxrwxrwx 1 root root 154604 Oct 14 00:58 /opt/iobroker/backups/test_pipeline_compressed_zlib.tar.gz -rwxrwxrwx 1 root root 154604 Oct 14 00:58 /opt/iobroker/backups/test_pipeline_compressed_tar.tar.gz
-
@thomas-braun die Ausgabe vor 10Min. war doch negativ, auch beim Skript. Und jetzt ist sie ok. Beide Male sollte die env gesetzt sein. Jetzt bin ich verwirrt
-
@fastfoot
Ich muss ins Bett. Keine Konzentration mehr. -
@fastfoot N8! geht mir auch so. Morgen knacken wir das
-
Ich hab jetzt die Kiste komplett gebootet, damit /etc/environment definitiv gesourct wird.
Backups kaputt.
-
@thomas-braun sagte in TESTER gesucht / Backup auf Fritz.nas - node 18.18.0:
Ich hab jetzt die Kiste komplett gebootet, damit /etc/environment definitiv gesourct wird.
Backups kaputt.
da hab ich noch was, aber nach dem Schlafen
-
Aber die ENV wird jetzt systemweit berücksichtigt:
echad@chet:/opt/iobroker $ node cifs.js 0 Copy output from below /opt/iobroker/backups unmounted //fritz.box/fritz.nas/Hitachi-HTS545012B9SA00-01/iobbackups/chet mounted into /opt/iobroker/backups file test_pipeline_compressed_tar.tar.gz created file test_pipeline_compressed_tar.tar.gz done number of files in test_pipeline_compressed_tar.tar.gz: 115 file test_pipeline_compressed_zlib.tar.gz created file test_pipeline_compressed_zlib.tar.gz done number of files in test_pipeline_compressed_zlib.tar.gz: 115 file test_pipeline_uncompressed.tar created file test_pipeline_uncompressed.tar done number of files in test_pipeline_uncompressed.tar: 115 listing of created files in /opt/iobroker/backups -rwxrwxrwx 1 root root 821248 Oct 14 01:15 /opt/iobroker/backups/test_pipeline_uncompressed.tar -rwxrwxrwx 1 root root 154609 Oct 14 01:15 /opt/iobroker/backups/test_pipeline_compressed_zlib.tar.gz -rwxrwxrwx 1 root root 154609 Oct 14 01:15 /opt/iobroker/backups/test_pipeline_compressed_tar.tar.gz