When I try to start Snapraid script for diff and sync I get an error snapraid is already running but I start the script manually. The content file gets locked at the same disk everytime.
Code
Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; export SHELL=/bin/sh; sudo --shell --non-interactive --user='root' -- /var/lib/openmediavault/cron.d/userdefined-decd984a-bbd2-4c96-99d2-afef308b2f9a 2>&1' with exit code '1': SnapRAID Script Job started [Fri Mar 24 00:22:11 CET 2023]
Running SnapRAID version 12.2
SnapRAID AIO Script version 3.1.DEV9
----------------------------------------
## Preprocessing
Configuration file found.
Checking if all parity and content files are present.
All parity files found.
All content files found.
----------------------------------------
## Processing
### SnapRAID TOUCH [Fri Mar 24 00:22:11 CET 2023]
Checking for zero sub-second files.
The lock file '/srv/dev-disk-by-uuid-3e26929a-83f9-473d-a449-90e0df45aac2/snapraid.content.lock' is already locked!
SnapRAID is already in use!
No zero sub-second timestamp files found.
TOUCH finished [Fri Mar 24 00:22:11 CET 2023]
### SnapRAID DIFF [Fri Mar 24 00:22:11 CET 2023]
```
The lock file '/srv/dev-disk-by-uuid-3e26929a-83f9-473d-a449-90e0df45aac2/snapraid.content.lock' is already locked!
SnapRAID is already in use!
```
DIFF finished [Fri Mar 24 00:22:11 CET 2023]
**ERROR** - Failed to get one or more count values. Unable to continue.
Exiting script. [Fri Mar 24 00:22:11 CET 2023]
Email address is set. Sending email report to **1234** [Fri Mar 24 00:22:11 CET 2023]
OMV\ExecException: Failed to execute command 'export PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin; export LANG=C.UTF-8; export LANGUAGE=; export SHELL=/bin/sh; sudo --shell --non-interactive --user='root' -- /var/lib/openmediavault/cron.d/userdefined-decd984a-bbd2-4c96-99d2-afef308b2f9a 2>&1' with exit code '1': SnapRAID Script Job started [Fri Mar 24 00:22:11 CET 2023]
Running SnapRAID version 12.2
SnapRAID AIO Script version 3.1.DEV9
----------------------------------------
## Preprocessing
Configuration file found.
Checking if all parity and content files are present.
All parity files found.
All content files found.
----------------------------------------
## Processing
### SnapRAID TOUCH [Fri Mar 24 00:22:11 CET 2023]
Checking for zero sub-second files.
The lock file '/srv/dev-disk-by-uuid-3e26929a-83f9-473d-a449-90e0df45aac2/snapraid.content.lock' is already locked!
SnapRAID is already in use!
No zero sub-second timestamp files found.
Display More