steventblack / ad-blocker

Simple ad-blocker for Synology devices
54 stars 14 forks source link

Ad-blocker update fails #6

Closed mathbenc closed 5 years ago

mathbenc commented 5 years ago

Here is the task log:

Task: Ad-blocker Update Start time: Fri, 30 Aug 2019 13:33:02 GMT Stop time: Fri, 30 Aug 2019 13:33:03 GMT Current status: 0 (Normal) Standard output/error: Running as root; switching to DNSServer --2019-08-30 13:33:02-- http://pgl.yoyo.org/as/serverlist.php?hostformat=bindconfig&showintro=0&mimetype=plaintext Resolving pgl.yoyo.org... 213.230.210.230 Connecting to pgl.yoyo.org|213.230.210.230|:80... connected. HTTP request sent, awaiting response... 200 OK Length: unspecified [text/plain] Saving to: 'STDOUT' 0K . . . . . . . . . . . . . . . . . . . . . . . . 519K 50K . . . . . . . . . . . . . . . . . . . . . . . . 1.03M 100K . . . . . . . . . . . . . . . . . . . . . . . . 11.4M 150K . . . . . . . . . . . . . . . . . . . . . . . . 10.8M 200K . . . . . . . . . . . . . . . . . . . . . . . . 580K=0.2s 2019-08-30 13:33:03 (1.14 MB/s) - written to stdout [227778] /bin/find: cannot get current directory: Permission denied chown: missing operand after 'DNSServer:DNSServer' Try 'chown --help' for more information. server reload

If I run it manually over ssh as an administrator (sudo ./ad-blocker.sh), it works just fine. Any ideas how to solve this issue?