Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

htadmin (local account management) seems to be broken in development builds #608

Open
mmguero opened this issue Mar 5, 2025 · 0 comments
Labels
bug Something isn't working regression It worked at one point...
Milestone

Comments

@mmguero
Copy link
Collaborator

mmguero commented Mar 5, 2025

This is not a regression, it works fine in v25.02.0. But in my latest v25.03.0 builds, the htadmin interface for local account management seems to be broken. Need to figure out what changed.

Here's some debug logs:

  • from v25.02.0
-----------------------------------------------------------------
nginx-proxy-1        | 172.27.1.1 - analyst [05/Mar/2025:16:02:47 +0000] "GET /auth/ HTTP/1.1" 302 86 "https://localhost/" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"
nginx-proxy-1        | 172.27.1.1 - analyst [05/Mar/2025:16:02:47 +0000] "GET /auth/admin_login.php HTTP/1.1" 200 3033 "https://localhost/" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"
nginx-proxy-1        | 172.27.1.1 - analyst [05/Mar/2025:16:02:47 +0000] "GET /auth/bootstrap.css HTTP/1.1" 200 145583 "https://localhost/auth/admin_login.php" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"
nginx-proxy-1        | 172.27.1.1 - analyst [05/Mar/2025:16:02:47 +0000] "GET /auth/bootstrap.min.js HTTP/1.1" 200 36889 "https://localhost/auth/admin_login.php" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"
nginx-proxy-1        | 172.27.1.1 - analyst [05/Mar/2025:16:02:47 +0000] "GET /auth/script/jquery-1.12.0.min.js HTTP/1.1" 200 97376 "https://localhost/auth/admin_login.php" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"
nginx-proxy-1        | 172.27.1.1 - analyst [05/Mar/2025:16:02:47 +0000] "GET /auth/script/script.js HTTP/1.1" 200 1435 "https://localhost/auth/admin_login.php" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"
nginx-proxy-1        | 172.27.1.1 - analyst [05/Mar/2025:16:02:47 +0000] "GET /auth/styles/style.css HTTP/1.1" 200 134 "https://localhost/auth/admin_login.php" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"
nginx-proxy-1        | 172.27.1.1 - analyst [05/Mar/2025:16:02:47 +0000] "GET /auth/fonts/glyphicons-halflings-regular.woff2 HTTP/1.1" 200 18047 "https://localhost/auth/bootstrap.css" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"
nginx-proxy-1        | 172.27.1.1 - analyst [05/Mar/2025:16:02:47 +0000] "GET /favicon.ico HTTP/1.1" 200 34494 "https://localhost/auth/admin_login.php" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"

==> access.log <==

172.27.1.20 - analyst [05/Mar/2025:16:02:47 +0000] "GET / HTTP/1.0" 302 75 "https://localhost/" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"
172.27.1.20 - analyst [05/Mar/2025:16:02:47 +0000] "GET /admin_login.php HTTP/1.0" 200 2955 "https://localhost/" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"
172.27.1.20 - analyst [05/Mar/2025:16:02:47 +0000] "GET /bootstrap.css HTTP/1.0" 200 145539 "https://localhost/auth/admin_login.php" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"
172.27.1.20 - analyst [05/Mar/2025:16:02:47 +0000] "GET /bootstrap.min.js HTTP/1.0" 200 36868 "https://localhost/auth/admin_login.php" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"
172.27.1.20 - analyst [05/Mar/2025:16:02:47 +0000] "GET /script/jquery-1.12.0.min.js HTTP/1.0" 200 97362 "https://localhost/auth/admin_login.php" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"
172.27.1.20 - analyst [05/Mar/2025:16:02:47 +0000] "GET /script/script.js HTTP/1.0" 200 1423 "https://localhost/auth/admin_login.php" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"
172.27.1.20 - analyst [05/Mar/2025:16:02:47 +0000] "GET /styles/style.css HTTP/1.0" 200 118 "https://localhost/auth/admin_login.php" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"
172.27.1.20 - analyst [05/Mar/2025:16:02:47 +0000] "GET /fonts/glyphicons-halflings-regular.woff2 HTTP/1.0" 200 18028 "https://localhost/auth/bootstrap.css" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"
127.0.0.1 - - [05/Mar/2025:16:02:56 +0000] "GET / HTTP/1.1" 302 86 "-" "curl/7.74.0"

==> error.log <==
  • from v25.03.0 dev. builds
BROKE
-----------------------------------------------------------------
nginx-proxy-1  | 172.27.1.1 - analyst [05/Mar/2025:16:11:45 +0000] "GET /auth/ HTTP/1.1" 200 1421 "https://malcolm.seven.local.lan/" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"

==> error.log <==
2025/03/05 16:11:45 [error] 1059#1059: *1 FastCGI sent in stderr: "PHP message: PHP Warning:  include_once(includes/check_admin_login.php): failed to open stream: Permission denied in /var/www/htadmin/htadmin.php on line 9PHP message: PHP Warning:  include_once(): Failed opening 'includes/check_admin_login.php' for inclusion (include_path='.:/usr/share/php') in /var/www/htadmin/htadmin.php on line 9PHP message: PHP Warning:  include_once(includes/head.php): failed to open stream: Permission denied in /var/www/htadmin/htadmin.php on line 11PHP message: PHP Warning:  include_once(): Failed opening 'includes/head.php' for inclusion (include_path='.:/usr/share/php') in /var/www/htadmin/htadmin.php on line 11PHP message: PHP Warning:  include_once(includes/nav.php): failed to open stream: Permission denied in /var/www/htadmin/htadmin.php on line 12PHP message: PHP Warning:  include_once(): Failed opening 'includes/nav.php' for inclusion (include_path='.:/usr/share/php') in /var/www/htadmin/htadmin.php on line 12PHP message: PHP Notice:  Undefined variable: ini in /var/www/htadmin/htadmin.php on line 19PHP message: PHP Notice:  Trying to access array offset on value of type null in /var/www/htadmin/htadmin.php on line 19PHP message: PHP Notice:  Undefined variable: ini in /var/www/htadmin/htadmin.php on line 20PHP message: PHP Notice:  Trying to access array offset on value of type null in /var/www/htadmin/htadmin.php on line 20PHP message: PHP Notice:  Undefined variable: ini in /var/www/htadmin/htadmin.php on line 24PHP message: PHP Notice:  Trying to access array offset on value of type null in /var/www/htadmin/htadmin.php on line 24PHP message: PHP Notice:  Undefined variable: defalt_value in /var/www/htadmin/tools/util.php on line 187PHP message: PHP Notice:  Undefined variable: ini in /var/www/htadmin/htadmin.php on line 25PHP message: PHP Notice:  Trying to access array offset on value of type null in /var/www/htadmin/htadmin.php on line 25PHP message: PHP Notice:  Undefined variable: defalt_value in /var/www/h

==> access.log <==
172.27.1.21 - analyst [05/Mar/2025:16:11:45 +0000] "GET / HTTP/1.0" 200 1403 "https://malcolm.seven.local.lan/" "Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0"
@mmguero mmguero added the bug Something isn't working label Mar 5, 2025
@mmguero mmguero assigned mmguero and unassigned mmguero Mar 5, 2025
@mmguero mmguero added this to Malcolm Mar 5, 2025
@mmguero mmguero added nginx Relating to Malcolm's use of nginx regression It worked at one point... and removed nginx Relating to Malcolm's use of nginx labels Mar 5, 2025
@mmguero mmguero moved this to Todo (investigate) in Malcolm Mar 5, 2025
@mmguero mmguero added this to the v25.03.0 milestone Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working regression It worked at one point...
Projects
Status: Todo (investigate)
Development

No branches or pull requests

1 participant