Adblock package release for turris omnia

Yes, of course …:relieved:
Download both packages to your routers /tmp directory, ssh to your router and install both packages via opkg package manager, e.g:

cd /tmp
wget https://downloads.lede-project.org/snapshots/packages/x86_64/packages/adblock_3.1.1-1_all.ipk
wget https://downloads.lede-project.org/snapshots/packages/x86_64/luci/luci-app-adblock_git-17.339.51318-de4c4b8-1_all.ipk
opkg install adblock_3.1.1-1_all.ipk --force-maintainer
opkg install luci-app-adblock_git-17.339.51318-de4c4b8-1_all.ipk

The ‘–force-maintainer’ option overwrite preexisting config files (you’ll find the original config files with a ‘.backup’ extension afterwards. Finally login to LuCI and configure adblock (again).

The checksum feature works fully automatically, without any user interaction.

1 Like

Guys, after the latest update of TurrisOS (3.9), the AdBlock page in LuCI does not work.
It prints only the following error message:

/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute cbi dispatcher target for entry '/admin/services/adblock'. The called action terminated with an exception: /usr/lib/lua/luci/cbi.lua:53: Model 'adblock' not found! stack traceback: [C]: in function 'assert' /usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch' /usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>

Any idea, how to fix it?

With TO v.3.9 the manually installed packages seem to get replaced with a quite old version of adblock: v.1.x
To me it looks like adblock is now part of the repo?

Thanks for your report. Please check the currently installed version with the following command:

opkg list_installed | grep adblock

This should print something like that ...

adblock - 3.1.1-1
luci-app-adblock - git-17.x

If not, please re-install both packages.

Well, I hoped I have successfully uninstalled and re-installed it yesterday, but it is quite strange.
I have performed:

# opkg remove luci-app-adblock
# opkg remove adblock

# wget https://downloads.lede-project.org/snapshots/packages/x86_64/luci/luci-app-adblock_git-17.343.27587-8e6b1a6-1_all.ipk
# wget https://downloads.lede-project.org/snapshots/packages/x86_64/packages/adblock_3.1.1-1_all.ipk

[turris]:/tmp# opkg install adblock_3.1.1-1_all.ipk
Installing adblock (3.1.1-1) to root...
Configuring adblock.
Collected errors:
 * resolve_conffiles: Existing conffile /etc/config/adblock is different from the conffile in the new package. The new conffile will be placed at /etc/config/adblock-opkg.

[turris]:/tmp# opkg install luci-app-adblock_git-17.343.27587-8e6b1a6-1_all.ipk
Installing luci-app-adblock (git-17.343.27587-8e6b1a6-1) to root...
Configuring luci-app-adblock.

But now, it prints completely different versions…

[turris]:~# opkg list_installed | grep adblock
adblock - 1.3.3-1
luci-app-adblock - git-17.212.24321-49c3edd-1

Honestly, I do not understand it… :frowning:

  • Where does those (older) versions come from?
  • How to properly re-install those packages?
  • What is a correct process of updating those packages in the future?

Sorry to hear that - currently I’m far away from my turris device, therefore I can’t reproduce your problem right now. Please take a look here, there are other users with same symptoms and a possible solution …

It’s a mess that the turris package repo still provide an totally outdated & not running adblock package release …:unamused:

1 Like

I have the same problem. Since 3.9 turris updater keeps pushing the older adblock packages over the manual installed ones. Unfortunately the older ones don’t even work for me.

Let’s wait for 3.9.1 according to the linked thread it should be fixed in that version.

Up until now, nothing happened.

Even if you install the correct version from the Lede repository, it will be overwritten again.
I installed last week the most recent version which was:
adblock_2.6.2-1_all.ipk.
luci-app-adblock_git-17.336.23170-d2dc32a-1_all.ipk
Next day it got overwritten by:

Update notifications

• Installed version 1.3.3-1 of package adblock
• Installed version git-17.212.24321-49c3edd-1 of package luci-app-adblock

I don’t know what to do. In this state, adblock is useless for me.

Please use only adblock releases > 3.x on Turris Omnia.
I can’t reproduce your problems on latest Turris Omnia release Level 3.9.1.

Wow, this is already one long thread. I basically tried everything here but if I click Services>Adblock on the Luci menu I get:

/usr/lib/lua/luci/dispatcher.lua:460: Failed to execute cbi dispatcher target for entry '/admin/services/adblock'.
The called action terminated with an exception:
/usr/lib/lua/luci/cbi.lua:53: Model 'adblock' not found!
stack traceback:
	[C]: in function 'assert'
	/usr/lib/lua/luci/dispatcher.lua:460: in function 'dispatch'
	/usr/lib/lua/luci/dispatcher.lua:141: in function </usr/lib/lua/luci/dispatcher.lua:140>

and while: /etc/init.d/adblock enable and /etc/init.d/adblock start seem to work (no complaint), /etc/init.d/adblock status returns nothing at all.

What’s wrong I wonder?

I did download and install:

https://downloads.lede-project.org/snapshots/packages/x86_64/packages/adblock_3.4.0-1_all.ipk
https://downloads.lede-project.org/snapshots/packages/x86_64/luci/luci-app-adblock_git-18.002.62776-dbb694c-1_all.ipk

Regards,

Bernd.

I’m sorry to make it even longer. I’m just curious. I want to use it in the future. x86_64?
Edit: Thx

Download locations are OK. Did you already delete the LuCI caches? If not give it a try:

rm -rf /tmp/luci-*

1 Like

The architecture is not relevant - it’s only a script based package, no binaries.

Spot on! Now it loads in luci! Many thanks.

/etc/init.d/adblock status still returns nothing which is disconcerting mind you.

Please post your global section of /etc/config/adblock

Here ye be:

# head -7 /etc/config/adblock

config adblock 'global'
	option adb_trigger 'wan'
	option adb_enabled '1'
	option adb_dns 'kresd'

config adblock 'extra'

Elected 7 only because I could see that was enough to demonstrate this was the whole of the global section.

Please change (Turris is currently on (ancient) Chaos Calmer release level, without proper support for procd interface trigger):
option adb_trigger 'timed'

Also please set in the extra section:
option adb_debug '1'

After that call /etc/init.d/adblock restart and post the full logs (cat /var/log/messages | grep “adblock-”).

Thanks!

# cat /var/log/messages | grep "adblock-"
2018-01-03T13:02:04+11:00 notice adblock-[3.4.0]: info : adblock is currently disabled, please set adb_enabled to '1' to use this service
2018-01-03T13:06:06+11:00 notice adblock-[3.4.0]: info : adblock is currently disabled, please set adb_enabled to '1' to use this service
2018-01-04T00:06:13+11:00 notice adblock-[2104]: Last message 'info : adblock is cu' repeated 1 times, suppressed by syslog-ng on Cerberus.lan
2018-01-03T13:06:21+11:00 notice adblock-[3.4.0]: info : adblock is currently disabled, please set adb_enabled to '1' to use this service
2018-01-04T00:06:30+11:00 notice adblock-[2104]: Last message 'info : adblock is cu' repeated 1 times, suppressed by syslog-ng on Cerberus.lan
2018-01-03T21:15:43+11:00 notice adblock-[3.4.0]: info : adblock is currently disabled, please set adb_enabled to '1' to use this service
2018-01-03T21:22:23+11:00 notice adblock-[3.4.0]: info : adblock is currently disabled, please set adb_enabled to '1' to use this service
2018-01-03T23:20:47+11:00 notice adblock-[3.4.0]: info : start adblock processing (reload)
2018-01-03T23:20:55+11:00 notice adblock-[3.4.0]: info : blocklist with overall 5143 domains loaded successfully (Turris Omnia, OpenWrt omnia 15.05/3.9.1)
2018-01-03T23:23:36+11:00 notice adblock-[3.4.0]: info : start adblock processing (reload)
2018-01-03T23:23:42+11:00 notice adblock-[3.4.0]: info : blocklist with overall 5143 domains loaded successfully (Turris Omnia, OpenWrt omnia 15.05/3.9.1)
2018-01-04T10:24:18+11:00 notice adblock-[3.4.0]: info : start adblock processing (restart)
2018-01-04T10:24:18+11:00 notice adblock-[3.4.0]: debug: hash_util: /usr/bin/md5sum, hash: 7c9b6756bd7941ce439a47c4144dc138, out_rc: 1
2018-01-04T10:24:18+11:00 notice adblock-[3.4.0]: debug: hash_util: /usr/bin/md5sum, hash: 5cf85f4f24b04ac810bb24a2a8a54918, out_rc: 1
2018-01-04T10:24:18+11:00 notice adblock-[3.4.0]: debug: cache_util: n/a, cache_rc: 0, cache_flush: 0, count: 0, out_rc: 0
2018-01-04T10:24:18+11:00 notice adblock-[3.4.0]: debug: dns: kresd, fetch_util: wget (built-in), backup: 0, backup_mode: 0, whitelist_mode: 0, force_srt/_dns: 0/1, mem_total: 2070
2018-01-04T10:24:18+11:00 notice adblock-[3.4.0]: debug: name: adaway, enabled: 1
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: adaway, mode: backup, count: 379, in_rc: 0, out_rc: 0
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: adaway, mode: merge, count: 379, in_rc: 0, out_rc: 0
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: adguard, enabled: 0
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: adguard, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: bitcoin, enabled: 0
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: bitcoin, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: blacklist, enabled: 0
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: blacklist, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: disconnect, enabled: 1
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: disconnect, mode: backup, count: 4609, in_rc: 0, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: disconnect, mode: merge, count: 4609, in_rc: 0, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: dshield, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: dshield, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: feodo, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: feodo, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: hphosts, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: hphosts, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: malware, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: malware, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: malwarelist, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: malwarelist, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: openphish, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: openphish, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: ransomware, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: ransomware, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_cn, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_cn, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_de, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_de, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_id, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_id, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_nl, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_nl, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_pl, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_pl, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_ro, enabled: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: reg_ro, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: reg_ru, enabled: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: reg_ru, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: shalla, enabled: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: shalla, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: spam404, enabled: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: spam404, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: sysctl, enabled: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: sysctl, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: whocares, enabled: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: whocares, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: winspy, enabled: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: winspy, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: winhelp, enabled: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: winhelp, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: yoyo, enabled: 1
2018-01-04T10:24:27+11:00 notice adblock-[3.4.0]: debug: name: yoyo, mode: backup, count: 2497, in_rc: 0, out_rc: 0
2018-01-04T10:24:27+11:00 notice adblock-[3.4.0]: debug: name: yoyo, mode: merge, count: 2497, in_rc: 0, out_rc: 0
2018-01-04T10:24:27+11:00 notice adblock-[3.4.0]: debug: name: zeus, enabled: 0
2018-01-04T10:24:27+11:00 notice adblock-[3.4.0]: debug: name: zeus, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:27+11:00 notice adblock-[3.4.0]: debug: hash_util: /usr/bin/md5sum, hash: 5cf85f4f24b04ac810bb24a2a8a54918, out_rc: 1
2018-01-04T10:24:27+11:00 notice adblock-[3.4.0]: debug: name: overall, mode: format, count: 5143, in_rc: 0, out_rc: 0
2018-01-04T10:24:27+11:00 notice adblock-[3.4.0]: debug: hash_util: /usr/bin/md5sum, hash: 7c9b6756bd7941ce439a47c4144dc138, out_rc: 1
2018-01-04T10:24:28+11:00 notice adblock-[3.4.0]: debug: cache_util: n/a, cache_rc: 0, cache_flush: 0, count: 0, out_rc: 0
2018-01-04T10:24:28+11:00 notice adblock-[3.4.0]: info : blocklist with overall 5143 domains loaded successfully (Turris Omnia, OpenWrt omnia 15.05/3.9.1)

Note that after setting trigger to timed, and debug to 1 and restarting now:

# /etc/init.d/adblock status
::: adblock runtime information
  + adblock_status  : enabled
  + adblock_version : 3.4.0
  + overall_domains : 5143 (normal mode)
  + fetch_utility   : wget (built-in)
  + dns_backend     : kresd (/etc/kresd)
  + last_rundate    : 04.01.2018 21:24:28
  + system_release  : Turris Omnia, OpenWrt omnia 15.05/3.9.1

Alas, I didn’t try that just before the change so don’t have a baseline but I did just try setting trigger back to wan and turning debug off then restarting and voila:

# /etc/init.d/adblock status
#

The status disappears again. Interesting. What is it about “timed” vs. “wan” and debug that makes status suddenly appear I wonder. Curious which of these two does that I did this:

Set trigger to and and debug on and restarted. No status.
Set trigger to timed and debug off. No status.
Set trigger to timed and debug on. Still no status!

Hmmm, so I post the messages again in case you see something in that, I can’t:

# cat /var/log/messages | grep "adblock-"
2018-01-03T13:02:04+11:00 notice adblock-[3.4.0]: info : adblock is currently disabled, please set adb_enabled to '1' to use this service
2018-01-03T13:06:06+11:00 notice adblock-[3.4.0]: info : adblock is currently disabled, please set adb_enabled to '1' to use this service
2018-01-04T00:06:13+11:00 notice adblock-[2104]: Last message 'info : adblock is cu' repeated 1 times, suppressed by syslog-ng on Cerberus.lan
2018-01-03T13:06:21+11:00 notice adblock-[3.4.0]: info : adblock is currently disabled, please set adb_enabled to '1' to use this service
2018-01-04T00:06:30+11:00 notice adblock-[2104]: Last message 'info : adblock is cu' repeated 1 times, suppressed by syslog-ng on Cerberus.lan
2018-01-03T21:15:43+11:00 notice adblock-[3.4.0]: info : adblock is currently disabled, please set adb_enabled to '1' to use this service
2018-01-03T21:22:23+11:00 notice adblock-[3.4.0]: info : adblock is currently disabled, please set adb_enabled to '1' to use this service
2018-01-03T23:20:47+11:00 notice adblock-[3.4.0]: info : start adblock processing (reload)
2018-01-03T23:20:55+11:00 notice adblock-[3.4.0]: info : blocklist with overall 5143 domains loaded successfully (Turris Omnia, OpenWrt omnia 15.05/3.9.1)
2018-01-03T23:23:36+11:00 notice adblock-[3.4.0]: info : start adblock processing (reload)
2018-01-03T23:23:42+11:00 notice adblock-[3.4.0]: info : blocklist with overall 5143 domains loaded successfully (Turris Omnia, OpenWrt omnia 15.05/3.9.1)
2018-01-04T10:24:18+11:00 notice adblock-[3.4.0]: info : start adblock processing (restart)
2018-01-04T10:24:18+11:00 notice adblock-[3.4.0]: debug: hash_util: /usr/bin/md5sum, hash: 7c9b6756bd7941ce439a47c4144dc138, out_rc: 1
2018-01-04T10:24:18+11:00 notice adblock-[3.4.0]: debug: hash_util: /usr/bin/md5sum, hash: 5cf85f4f24b04ac810bb24a2a8a54918, out_rc: 1
2018-01-04T10:24:18+11:00 notice adblock-[3.4.0]: debug: cache_util: n/a, cache_rc: 0, cache_flush: 0, count: 0, out_rc: 0
2018-01-04T10:24:18+11:00 notice adblock-[3.4.0]: debug: dns: kresd, fetch_util: wget (built-in), backup: 0, backup_mode: 0, whitelist_mode: 0, force_srt/_dns: 0/1, mem_total: 2070
2018-01-04T10:24:18+11:00 notice adblock-[3.4.0]: debug: name: adaway, enabled: 1
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: adaway, mode: backup, count: 379, in_rc: 0, out_rc: 0
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: adaway, mode: merge, count: 379, in_rc: 0, out_rc: 0
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: adguard, enabled: 0
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: adguard, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: bitcoin, enabled: 0
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: bitcoin, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: blacklist, enabled: 0
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: blacklist, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:20+11:00 notice adblock-[3.4.0]: debug: name: disconnect, enabled: 1
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: disconnect, mode: backup, count: 4609, in_rc: 0, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: disconnect, mode: merge, count: 4609, in_rc: 0, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: dshield, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: dshield, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: feodo, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: feodo, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: hphosts, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: hphosts, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: malware, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: malware, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: malwarelist, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: malwarelist, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: openphish, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: openphish, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: ransomware, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: ransomware, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_cn, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_cn, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_de, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_de, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_id, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_id, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_nl, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_nl, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_pl, enabled: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_pl, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:23+11:00 notice adblock-[3.4.0]: debug: name: reg_ro, enabled: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: reg_ro, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: reg_ru, enabled: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: reg_ru, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: shalla, enabled: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: shalla, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: spam404, enabled: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: spam404, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: sysctl, enabled: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: sysctl, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: whocares, enabled: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: whocares, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: winspy, enabled: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: winspy, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: winhelp, enabled: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: winhelp, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:24+11:00 notice adblock-[3.4.0]: debug: name: yoyo, enabled: 1
2018-01-04T10:24:27+11:00 notice adblock-[3.4.0]: debug: name: yoyo, mode: backup, count: 2497, in_rc: 0, out_rc: 0
2018-01-04T10:24:27+11:00 notice adblock-[3.4.0]: debug: name: yoyo, mode: merge, count: 2497, in_rc: 0, out_rc: 0
2018-01-04T10:24:27+11:00 notice adblock-[3.4.0]: debug: name: zeus, enabled: 0
2018-01-04T10:24:27+11:00 notice adblock-[3.4.0]: debug: name: zeus, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:24:27+11:00 notice adblock-[3.4.0]: debug: hash_util: /usr/bin/md5sum, hash: 5cf85f4f24b04ac810bb24a2a8a54918, out_rc: 1
2018-01-04T10:24:27+11:00 notice adblock-[3.4.0]: debug: name: overall, mode: format, count: 5143, in_rc: 0, out_rc: 0
2018-01-04T10:24:27+11:00 notice adblock-[3.4.0]: debug: hash_util: /usr/bin/md5sum, hash: 7c9b6756bd7941ce439a47c4144dc138, out_rc: 1
2018-01-04T10:24:28+11:00 notice adblock-[3.4.0]: debug: cache_util: n/a, cache_rc: 0, cache_flush: 0, count: 0, out_rc: 0
2018-01-04T10:24:28+11:00 notice adblock-[3.4.0]: info : blocklist with overall 5143 domains loaded successfully (Turris Omnia, OpenWrt omnia 15.05/3.9.1)
2018-01-04T10:26:44+11:00 notice adblock-[3.4.0]: info : start adblock processing (restart)
2018-01-04T10:28:10+11:00 notice adblock-[3.4.0]: info : start adblock processing (restart)
2018-01-04T10:28:10+11:00 notice adblock-[3.4.0]: debug: hash_util: /usr/bin/md5sum, hash: 5cf85f4f24b04ac810bb24a2a8a54918, out_rc: 1
2018-01-04T10:28:10+11:00 notice adblock-[3.4.0]: debug: hash_util: /usr/bin/md5sum, hash: 5cf85f4f24b04ac810bb24a2a8a54918, out_rc: 0
2018-01-04T10:28:10+11:00 notice adblock-[3.4.0]: debug: dns: kresd, fetch_util: wget (built-in), backup: 0, backup_mode: 0, whitelist_mode: 0, force_srt/_dns: 0/1, mem_total: 2070
2018-01-04T10:28:10+11:00 notice adblock-[3.4.0]: debug: name: adaway, enabled: 1
2018-01-04T10:28:11+11:00 notice adblock-[3.4.0]: debug: name: adaway, mode: backup, count: 379, in_rc: 0, out_rc: 0
2018-01-04T10:28:11+11:00 notice adblock-[3.4.0]: debug: name: adaway, mode: merge, count: 379, in_rc: 0, out_rc: 0
2018-01-04T10:28:11+11:00 notice adblock-[3.4.0]: debug: name: adguard, enabled: 0
2018-01-04T10:28:11+11:00 notice adblock-[3.4.0]: debug: name: adguard, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:28:11+11:00 notice adblock-[3.4.0]: debug: name: bitcoin, enabled: 0
2018-01-04T10:28:11+11:00 notice adblock-[3.4.0]: debug: name: bitcoin, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:28:11+11:00 notice adblock-[3.4.0]: debug: name: blacklist, enabled: 0
2018-01-04T10:28:11+11:00 notice adblock-[3.4.0]: debug: name: blacklist, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:28:11+11:00 notice adblock-[3.4.0]: debug: name: disconnect, enabled: 1
2018-01-04T10:28:23+11:00 notice adblock-[3.4.0]: info : start adblock processing (restart)
2018-01-04T10:28:32+11:00 notice adblock-[3.4.0]: info : start adblock processing (restart)
2018-01-04T10:28:32+11:00 notice adblock-[3.4.0]: debug: hash_util: /usr/bin/md5sum, hash: 5cf85f4f24b04ac810bb24a2a8a54918, out_rc: 1
2018-01-04T10:28:32+11:00 notice adblock-[3.4.0]: debug: hash_util: /usr/bin/md5sum, hash: 5cf85f4f24b04ac810bb24a2a8a54918, out_rc: 0
2018-01-04T10:28:32+11:00 notice adblock-[3.4.0]: debug: dns: kresd, fetch_util: wget (built-in), backup: 0, backup_mode: 0, whitelist_mode: 0, force_srt/_dns: 0/1, mem_total: 2070
2018-01-04T10:28:32+11:00 notice adblock-[3.4.0]: debug: name: adaway, enabled: 1
2018-01-04T10:28:34+11:00 notice adblock-[3.4.0]: debug: name: adaway, mode: backup, count: 379, in_rc: 0, out_rc: 0
2018-01-04T10:28:34+11:00 notice adblock-[3.4.0]: debug: name: adaway, mode: merge, count: 379, in_rc: 0, out_rc: 0
2018-01-04T10:28:34+11:00 notice adblock-[3.4.0]: debug: name: adguard, enabled: 0
2018-01-04T10:28:34+11:00 notice adblock-[3.4.0]: debug: name: adguard, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:28:34+11:00 notice adblock-[3.4.0]: debug: name: bitcoin, enabled: 0
2018-01-04T10:28:34+11:00 notice adblock-[3.4.0]: debug: name: bitcoin, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:28:34+11:00 notice adblock-[3.4.0]: debug: name: blacklist, enabled: 0
2018-01-04T10:28:34+11:00 notice adblock-[3.4.0]: debug: name: blacklist, mode: remove, count: 0, in_rc: 4, out_rc: 0
2018-01-04T10:28:34+11:00 notice adblock-[3.4.0]: debug: name: disconnect, enabled: 1

Very odd.

The first “restart” log & status are looking quite normal. The status file (a json export) will be pruned at the beginning and newly written after adblock processing. If adblock does not start (e.g. wrong startup trigger) or does not come to an end you’ll never get a status file.

What looks wrong are these lines …

2018-01-04T10:26:44+11:00 notice adblock-[3.4.0]: info : start adblock processing (restart) => this one does not start at all!
2018-01-04T10:28:10+11:00 notice adblock-[3.4.0]: info : start adblock processing (restart) => this one does not end!

Maybe a bug in 3.4.0, I’ll check that later.

Hi Bernd,

I can’t reproduce your problems on my Omnia. If you like, please send me a short email to my maintainers address (dev@brenken.org) and I’ll send you the latest pre-version with better debugging.

Edit: I found the bug, will be fixed in 3.4.1

br
dirk