Open lowrisk75 opened 3 years ago
Not sure I'm qualified to provide this answer as Im rather new to the whole game, but I had the same error, so simply created the missing file via: touch /etc/pihole/blacklist.txt Then ran it again and it started running (it still is after about 10minutes so I may have a whole other issue on my hands as Im not sure if its looping or just a truck load of domains being added)
sudo ./youtube.sh
is the answer :)
don't seems to work with the last version of piHole on a raspberry pi 4 / unbound
youtube.sh: 36: youtube.sh: cannot open /pi/youTube_ads_4_pi-hole/ignore.list: No such file gawk: inplace:47: warning: inplace_begin: Cannot stat
/etc/pihole/black.list' (No such file or directory) gawk: inplace:47: fatal: cannot open file
/etc/pihole/black.list' for reading (No such file or directory) gawk: inplace:47: warning: inplace_begin: Cannot stat/etc/pihole/blacklist.txt' (No such file or directory) gawk: inplace:47: fatal: cannot open file
/etc/pihole/blacklist.txt' for reading (No such file or directory) Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database Error: attempt to write a readonly database xargs: Cannot open input file ‘/etc/pihole/blacklist.txt’: No such file or directory