auanasgheps/snapraid-aio-script

Rebuilt system script cannot find conf file

Closed this issue · 6 comments

This was working fine but I had to rebuild system. OMV has moved the name and location of the snapraid.conf file. Can the script be modified to point to the new .conf file?

Yes, OMV has made some changes. The latest stable version supports this. Are you using 3.3.2?

From the config file:

# SnapRAID configuration file location. The default path works on most 
# installations, including OMV6.
# If you're using OMV7, the script will try to pick the file automatically.
# If you have multiple SnapRAID arrays, you must must manually specify the 
# config file you want to use. On OMV7 the files are located at /etc/snapraid/
SNAPRAID_CONF="/etc/snapraid.conf"

Thanks, I am using that version but snapraid is messed up so probably not your script. I'll keep at it.

Do you have an update?

Yes, sorry should have got back to you earlier - all is well. My fault, user error - one of many problems with an OMV rebuild and the new OMV snapraid plugin. Thanks for a useful script.

I get it, rebuilding OMV is never easy because there's always something that has changed. Let me know if you want better instructions for something specific

Closing