I had no clue what these two commands did to fix it, so I went to my good friend ChatGPT to ask.
Can you explain what the following command does on a Pi Hole?
sudo chown -R www-data:www-data lighttpd/
Answer: Summary:
The command changes the ownership of the lighttpd/ directory and all of its contents to the www-data user and group. This is necessary to ensure that the Lighttpd web server has the proper permissions to access, modify, and serve files from this directory, enabling the web interface to function correctly.
Now, if anyone can explain why that ownership was changed on a pihole -up command to begin with, I'll be more prepared for next time.