What's new

Diversion error v5.4.8

BeachGuy

Senior Member
Friday @ 2:12
Update blocking list Updated on Feb 14 04:00

Last update error(s):
Skynet Lock File Detected (/jffs/scripts/firewall save) (pid=16071, runtime=0s) - Exiting Restart Skynet manually to immediately include the new whitelisted domains. Unable to refresh Skynet to whitelist domains in shared-Diversion-whitelist. Restart Skynet manually to immediately include the new whitelisted domains..

This happened on v5.4.7 too and I was told to upgrade to v5.4.8 which I did.
 
Since the content of the shared-Diversion-whitelist rarely changes I am going to omit the Skynet refresh unless the md5 hash of said file actually changed.
This will eliminate the conflict in 99.5% of the cases. I wonder what takes Skynet so long to hold the lock file for 12 minutes and more @Adamm

I will release a Diversion update shortly.
 
I’m confused by the “Friday @ 2:12” and the “Feb 14 04:00” (Sat). The 0s age suggests the update-bl.div still ran at 00 minutes when firewall save runs.
 
Reboot required? Seems it's still running the old crons.
 
I’m confused by the “Friday @ 2:12” and the “Feb 14 04:00” (Sat). The 0s age suggests the update-bl.div still ran at 00 minutes when firewall save runs.
So am I, if it is at 04:00 then Diversion is not up to date or it was updated incorrectly. An update using the u option 100% changes the cron job times in Diversion.
Reboot required? Seems it's still running the old crons.
See above.
 
So am I, if it is at 04:00 then Diversion is not up to date or it was updated incorrectly. An update using the u option 100% changes the cron job times in Diversion.
Is his output copied from the webui? Seems likely, showing the intended schedule and the last result?
 
He probably updated to 5.4.8 AFTER Feb 14 04:00…
That is possible and the likely explanation.
Diversion has a function to retrieve all files using a not-mentioned code that would have the effect of not changing the cron jobs. But I display a prominent warning NOT to do this unless instructed by myself.
 
Still I’m unclear why it updated the BL on Saturday when the config is set for Friday, unless he changed it when updating to 5.4.8. There is no “Fri & Sat” option. All’s well that ends well.
 
Hopefully we‘ll find out in the next error v8.4.9 post by OP.
 
I modified your cron to run daily at 4am

Create Diversion Daily Update List:

  1. vi /opt/share/diversion/file/post-conf.div
  2. Modify cron code (around line 50):
if [ "$adblocking" = on ]; then
# FORCE DAILY UPDATE @ 4AM
cru a Diversion_UpdateBL "00 4 * * * /bin/sh ${DIVERSION_DIR}/file/update-bl.div reset"
# Remove the secondary job if it exists (cleanup)
cru d Diversion_UpdateBLTwo
fi
  1. chmod +x /opt/share/diversion/file/post-conf.div
  2. /opt/share/diversion/file/post-conf.div /etc/dnsmasq.conf
  3. cru l (should show only new daily Diversion BL cron)
 
I modified your cron to run daily at 4am

Create Diversion Daily Update List:

  1. vi /opt/share/diversion/file/post-conf.div
  2. Modify cron code (around line 50):
if [ "$adblocking" = on ]; then
# FORCE DAILY UPDATE @ 4AM
cru a Diversion_UpdateBL "00 4 * * * /bin/sh ${DIVERSION_DIR}/file/update-bl.div reset"
# Remove the secondary job if it exists (cleanup)
cru d Diversion_UpdateBLTwo
fi
  1. chmod +x /opt/share/diversion/file/post-conf.div
  2. /opt/share/diversion/file/post-conf.div /etc/dnsmasq.conf
  3. cru l (should show only new daily Diversion BL cron)
WHY?
 
Sometimes I think of losing this hobby for something else.
 
I modified your cron to run daily at 4am

Create Diversion Daily Update List:

  1. vi /opt/share/diversion/file/post-conf.div
  2. Modify cron code (around line 50):
if [ "$adblocking" = on ]; then
# FORCE DAILY UPDATE @ 4AM
cru a Diversion_UpdateBL "00 4 * * * /bin/sh ${DIVERSION_DIR}/file/update-bl.div reset"
# Remove the secondary job if it exists (cleanup)
cru d Diversion_UpdateBLTwo
fi
  1. chmod +x /opt/share/diversion/file/post-conf.div
  2. /opt/share/diversion/file/post-conf.div /etc/dnsmasq.conf
  3. cru l (should show only new daily Diversion BL cron)
So you're modifying script code, and then report that it's not working?!?
 
So you're modifying script code, and then report that it's not working?!?
Even removes the option to run the update inbetween with Diversion_UpdateBLTwo that he set himself in the UI.
 
I read that these lists should be update daily. was working fine <5.4.7. I can remove if it's a problem.
 

Support SNBForums w/ Amazon

If you'd like to support SNBForums, just use this link and buy anything on Amazon. Thanks!

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Back
Top