Please follow the below template, it will help us to help you!
Expected Behaviour:
FTL does not seem to want to come up after upgrading my pihole version from 3.2.1. I originally installed pihole through dietpi and today upgraded both dietpi and pihole (in that order). I have run pihole -r to repair but to no avail. If I run service pihole-FTL status one line shows an error
Mar 27 01:39:14 pihole su[4160]: pam_env(su:session): Unable to open env file: /etc/environment: No such file or directory
The file itself is generated by FTL. The problem in this case is that it cannot find the directory /var/run/pihole and hence cannot create the file (sorry for the unspecific error message, but this is what the system gives us (no such directory means the directory we try to create the file in). This directory should be generated by sudo pihole-FTL start. Please check if the file /etc/init.d/pihole-FTL is equal to this one: https://github.com/pi-hole/pi-hole/blob/master/advanced/pihole-FTL.service#L29-L32
Specifically compare the shown lines.