For some reason, I have stopped receiving the Who’s Online notifications and the ipFire Status emails. I have not changed the mail service settings and confirmed I can receive manually-generated WIO and Status emails (just not receiving automated ones).
The only thing I can think of that may have caused an issue is adding an fcrontab for root (I forgot that I had other users to use for fcron tasks). I see there is a backup (root.orig) but can’t seem to get it activated (if this is really the culprit).
Line 10 in that file is what triggers the periodic actions in WIO. If that line is no longer in your root.orig file then your root fcrontab has been corrupted by your change.
The fcrontab for root only has the custom script I added to the crontab–none of those entries in the github file. But it does look like most of them may be in the root.orig, just surrounded by a bunch of additional text.
If that is the content of your root.orig file then it has got very corrupted.
Then you are not only missing the crontabs for WIO but also the ones for updating the IPS, the IP Blocklist, the firewall rules, etc
Try running the command, as root, fcrontab -e
This will open up the fcrontab for root for editing.
Replace the custom script you entered with the contents of the git repo file.
To get the text without the line numbers just press the label named raw near the top of the git repo page.
Once you have the contents pasted into the file then exit from the editor accepting to save the modified file and you should have your root fcrontab back again.
I think you need to tell us how you added a fcrontab for root.
On a vm system I just edited virtually all of the content away from the root fcrontab by running fcrontab -e and the root.orig just had the single line I left without any other corrupted text.
I was thyen able to copy the text from the git repo file into a file called crontab that I put into the /tmp/ directory and then ran, as root, /usr/bin/fcrontab /tmp/crontab
and the whole original root crontab was correctly installed.
Listing the root.orig also then showed the correct fcrontab for root again.
The only way I could get something looking like what you showed was by trying to list the root crontab itself rather than the root.orig
less /var/spool/cron/root gave me
“/var/spool/cron/root” may be a binary file. See it anyway?
Honestly, I’m not 100% sure how I got the corrupt backup. I may have tried editing the crontab with a text editor, not knowing fcron doesn’t work that way.
When I ran fcrontab -l, ipFire said there was no crontab for root. So I ran the -e option and added my script. That’s when everything stopped working, from what I can tell.
The logs now show WIO getting status updates. I’ll have to wait until the morning to see if the Daily Status Report email comes through.