Renaming admin/ directory without breaking

When i use mv /var/www/html/admin/ /var/www/html/pihole/ i get

[ERROR]: Unable to parse results from queryads.php: Unhandled error message ()

How would i rename it without breaking everything?

i found a variable that contains the panel path within the /etc/.pihole/automated install/basic-install.sh and set that to /var/www/html/pihole/ but now when i run the installer i get:

[i] Resetting repository within /var/www/html/pihole... Unable to reset /var/www/html/pihole, exiting installer

Why are you renaming admin/directory?

Because the admin dir is already being needed for someone else. Also it's one of the more often checked dirs in malicous crawlers. In addition to all that i think pihole fits better as this folder does not only contain the admin panel

Changing the web interface directory is not supported, and will most likely not be supported until the API and new web interface are released.

A post was split to a new topic: Where is the API?

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