edgarsuit / FreeNAS-Report

SMART & ZPool Status Report for FreeNAS
GNU General Public License v3.0
113 stars 45 forks source link

Haven't been receiving Emails, also couldn't chmod the sh, instead need to use setfacl #36

Open SatanOrLucifer opened 1 year ago

SatanOrLucifer commented 1 year ago

I have no idea what I'm doing, followed the setup as best I could, when it came to chmod +x multi_report.sh, it says Operation not permitted, after google searching found a forum that says you have to use setfacl as chmod doesn't work with windows SMB shares? If someone could give me the setfacl I need to use that'd be lovely. I tried to look through a setfacl instructional page, but couldn't find a command that makes a file executable. The Cronjob is running though, so it seems like it is executable? But I haven't received any emails, tried updating the email but nothing has worked yet. The email I'm trying to send it to is on the 1and1 email server, anyone else had this problem and know how to fix? Sorry if I'm not providing enough information, if you need more please ask and I'll try to give it to you. Thanks!

SatanOrLucifer commented 1 year ago

Also meant to say the excel generated is updating with the cronjobs run each day, just not getting emails about the results

SxthGear commented 1 year ago

It sounds like you have your script on a SMB share rather than saved locally on your FreeNAS/TrueNAS install. While not directly related to your issues, this project hasn't been updated in some time. A fork of this project run by dak180 has been kept up to date with TrueNAS upgrades and might work better for you: https://github.com/dak180/FreeNAS-Report