Pi-hole project using balenaOS - help with setup (possible piTFT error?)

Hi,

I tried your guide for pi-hole, however I’m running into some issues.
I’m using a rpi 3B+.
I enabled PH_VERBOSE to get some more info.
These is the app env and service vars: https://imgur.com/a/racFNHj
Here are the logs: https://pastebin.com/Ybq96eZy
I’m pushing code from my windows pc, pulled code from git with CRLF line endings.

I’m using the a balenaOS production image… Am I missing something obvious?
I think the new TFT guide borked something up?
Any help would be much appreciated!

edit: if I try to run the script from inside the container I get the following output:
root@83cf2d1:/etc/cont-init.d# ./30-checktft.sh
: No such file or directoryec bash

I also posted on the guide: https://www.balena.io/blog/deploy-network-wide-ad-blocking-with-pi-hole-and-a-raspberry-pi/#comment-4380986937

Fixed: change the line endings of the 30-checktft.sh to LF before pushing to balena.

1 Like

@ben.clerix, thank you for sharing the solution with us! :slight_smile: