Open ctml91 opened 2 years ago
I am also having issues with 'snapraid diff'.
2022-07-02 01:26:36,586 [INFO ] ============================================================
2022-07-02 01:26:36,586 [INFO ] Run started
2022-07-02 01:26:36,586 [INFO ] ============================================================
2022-07-02 01:26:36,586 [INFO ] Running diff...
2022-07-02 01:26:36,587 [OUTERR] Invalid command '[snapraid]' in '/opt/snapraid-runner/snapraid-runner.conf' at line 1
2022-07-02 01:26:36,888 [ERROR ] Run failed due to unexpected exception:
Traceback (most recent call last):
File "/opt/snapraid-runner/snapraid-runner.py", line 235, in main
run()
File "/opt/snapraid-runner/snapraid-runner.py", line 262, in run
diff_out = snapraid_command("diff", allow_statuscodes=[2])
File "/opt/snapraid-runner/snapraid-runner.py", line 65, in snapraid_command
raise subprocess.CalledProcessError(ret, "snapraid " + command)
subprocess.CalledProcessError: Command 'snapraid diff' returned non-zero exit status 1
I am seeing a similar error.
2023-05-17 04:00:01,610 [INFO ] ============================================================
2023-05-17 04:00:01,611 [INFO ] Run started
2023-05-17 04:00:01,611 [INFO ] ============================================================
2023-05-17 04:00:01,613 [INFO ] Running diff...
2023-05-17 05:28:31,634 [ERROR ] Run failed due to unexpected exception:
Traceback (most recent call last):
File "/home/kevin/mergerfs/snapraid-runner.py", line 235, in main
run()
File "/home/kevin/mergerfs/snapraid-runner.py", line 262, in run
diff_out = snapraid_command("diff", allow_statuscodes=[2])
File "/home/kevin/mergerfs/snapraid-runner.py", line 65, in snapraid_command
raise subprocess.CalledProcessError(ret, "snapraid " + command)
subprocess.CalledProcessError: Command 'snapraid diff' died with <Signals.SIGKILL: 9>.
I am seeing a similar error.
2023-05-17 04:00:01,610 [INFO ] ============================================================ 2023-05-17 04:00:01,611 [INFO ] Run started 2023-05-17 04:00:01,611 [INFO ] ============================================================ 2023-05-17 04:00:01,613 [INFO ] Running diff... 2023-05-17 05:28:31,634 [ERROR ] Run failed due to unexpected exception: Traceback (most recent call last): File "/home/kevin/mergerfs/snapraid-runner.py", line 235, in main run() File "/home/kevin/mergerfs/snapraid-runner.py", line 262, in run diff_out = snapraid_command("diff", allow_statuscodes=[2]) File "/home/kevin/mergerfs/snapraid-runner.py", line 65, in snapraid_command raise subprocess.CalledProcessError(ret, "snapraid " + command) subprocess.CalledProcessError: Command 'snapraid diff' died with <Signals.SIGKILL: 9>.
Fyi I think I had to downgrade to the release before the current latest to resolve it.
I am seeing a similar error.
2023-05-17 04:00:01,610 [INFO ] ============================================================ 2023-05-17 04:00:01,611 [INFO ] Run started 2023-05-17 04:00:01,611 [INFO ] ============================================================ 2023-05-17 04:00:01,613 [INFO ] Running diff... 2023-05-17 05:28:31,634 [ERROR ] Run failed due to unexpected exception: Traceback (most recent call last): File "/home/kevin/mergerfs/snapraid-runner.py", line 235, in main run() File "/home/kevin/mergerfs/snapraid-runner.py", line 262, in run diff_out = snapraid_command("diff", allow_statuscodes=[2]) File "/home/kevin/mergerfs/snapraid-runner.py", line 65, in snapraid_command raise subprocess.CalledProcessError(ret, "snapraid " + command) subprocess.CalledProcessError: Command 'snapraid diff' died with <Signals.SIGKILL: 9>.
Fyi I think I had to downgrade to the release before the current latest to resolve it.
I'm running this on my Ubuntu host directly. So are your saying downgrade the snapraid version?
I am seeing a similar error.
2023-05-17 04:00:01,610 [INFO ] ============================================================ 2023-05-17 04:00:01,611 [INFO ] Run started 2023-05-17 04:00:01,611 [INFO ] ============================================================ 2023-05-17 04:00:01,613 [INFO ] Running diff... 2023-05-17 05:28:31,634 [ERROR ] Run failed due to unexpected exception: Traceback (most recent call last): File "/home/kevin/mergerfs/snapraid-runner.py", line 235, in main run() File "/home/kevin/mergerfs/snapraid-runner.py", line 262, in run diff_out = snapraid_command("diff", allow_statuscodes=[2]) File "/home/kevin/mergerfs/snapraid-runner.py", line 65, in snapraid_command raise subprocess.CalledProcessError(ret, "snapraid " + command) subprocess.CalledProcessError: Command 'snapraid diff' died with <Signals.SIGKILL: 9>.
Fyi I think I had to downgrade to the release before the current latest to resolve it.
I'm running this on my Ubuntu host directly. So are your saying downgrade the snapraid version?
Sorry I'm using the docker container implementation, it's possible the old version of the docker container uses an old snapraid version.
I am seeing a similar error.
2023-05-17 04:00:01,610 [INFO ] ============================================================ 2023-05-17 04:00:01,611 [INFO ] Run started 2023-05-17 04:00:01,611 [INFO ] ============================================================ 2023-05-17 04:00:01,613 [INFO ] Running diff... 2023-05-17 05:28:31,634 [ERROR ] Run failed due to unexpected exception: Traceback (most recent call last): File "/home/kevin/mergerfs/snapraid-runner.py", line 235, in main run() File "/home/kevin/mergerfs/snapraid-runner.py", line 262, in run diff_out = snapraid_command("diff", allow_statuscodes=[2]) File "/home/kevin/mergerfs/snapraid-runner.py", line 65, in snapraid_command raise subprocess.CalledProcessError(ret, "snapraid " + command) subprocess.CalledProcessError: Command 'snapraid diff' died with <Signals.SIGKILL: 9>.
Fyi I think I had to downgrade to the release before the current latest to resolve it.
I'm running this on my Ubuntu host directly. So are your saying downgrade the snapraid version?
Sorry I'm using the docker container implementation, it's possible the old version of the docker container uses an old snapraid version.
Thank's for this hint. It made me go looking at versions and what not to discover that it seems to be a memory issue on my server.
I am using this docker image, https://github.com/xagaba/snapraid which has snapraid runner and snapraid bundled together. I started experiencing failures with the snapraid runner script. Initially it had failed because by deletethreshold of 500 was hit, but it was intentional. I did not end up correcting it right away, and it failed consecutive nights. But now the errors is different, and the snapraid diff actually exits quite early into the process.
snapraid-runner.conf