Password problem

Please follow the below template, it will help us to help you!

Expected Behaviour:

Logon to Pihole admin page, then change some settings

Actual Behaviour:

Logon to Pihole admin page, try to change settings but get following error

There was a problem applying your settings.
Debugging information:
PHP error (2): session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/html/admin/scripts/pi-hole/php/password.php:12

Debug Token:

Ran pihole -d, but the log file could not upload. Did not see a token.

Check that

  • your browser allows cookies for the Pi-hole dashboard
  • no ad- or script-blocking-plugin is active for the Pi-hole dashboard
  • the folders /var/lib/php/ and /var/lib/php/sessions/ exist and that the user www-data has read & write access

Hi, mibere -

Thanks for the help! It was /var/lib/php and /var/lib/php/sessions permissions. They had been previously created for an Asterisk PBX installation and the permissions were set for user "asterisk". Once I added permission for user www-data, everything seems to be working 100%

Thanks again!
Gregg G.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.