You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have just set up an instance of nextcloud (latest Version, copied from here: latest as of 12.01.2025 into var/www/*). I am able to log in as admin inside the gui. But when I want to change settings e.g. adding an external drive the admin password is not accepted anymore (restart wont help).
If I have a look at the error logs (/var/www/html/data/nextcloud.log) I get:
{"reqId":"JC1Rb3wbq3mdhyqsqBUI","level":3,"time":"2025-01-12T16:49:34+00:00","remoteAddr":"192.168.178.20","user":"admin","app":"PHP","method":"POST","url":"/index.php/apps/files_external/globalstorages","message":"Undefined array key 1 at /var/www/html/lib/private/AppFramework/Middleware/Security/PasswordConfirmationMiddleware.php#82","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0","version":"30.0.4.1","data":{"app":"PHP"}}
{"reqId":"JC1Rb3wbq3mdhyqsqBUI","level":2,"time":"2025-01-12T16:49:35+00:00","remoteAddr":"192.168.178.20","user":"admin","app":"core","method":"POST","url":"/index.php/apps/files_external/globalstorages","message":"Login failed: 'admin' (Remote IP: '192.168.178.20')","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0","version":"30.0.4.1","data":{"app":"core"}}
I guess that some information regarding user/password is not passed correctly (the array key seems to be wrong) to the authentification method...
For now I have disabled line 85 in /var/www/html/lib/private/AppFramework/Middleware/Security/PasswordConfirmationMiddleware.php
if ($loginResult === false) {
#throw new NotConfirmedException();
}
Only for the time where I set things up...
Steps to reproduce
I have things running in a proxmox environment But I am pretty sure that this is not a problem caused by the environment (Steps 1-2)
Set up a new Container with Debian 12-standard_12.7-1_amd64.tar.zst
!!! As I sad before I changed that file as a work around !!!
Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.
Results
=======
- core
- INVALID_HASH
- lib/private/AppFramework/Middleware/Security/PasswordConfirmationMiddleware.php
Raw output
==========
Array
(
[core] => Array
(
[INVALID_HASH] => Array
(
[lib/private/AppFramework/Middleware/Security/PasswordConfirmationMiddleware.php] => Array
(
[expected] => 3b1863be180b292dc8cd184251b2b9f1d9706685c6876f9a20581f9c3e0155bf76eb58065881777f94f20af7e1cf8c0bdce1dececa2c6851b25cd5bf5f432fe2
[current] => d39fa727c08bb54fe40ab7dc6a60b8a89f95f190da783031d70caf825815d5184fd64573775763e5165e2eb9cbd3ff38816cf936efe53dfa7b4c683001b17df5
)
)
)
)
Nextcloud Logs
{"reqId":"JC1Rb3wbq3mdhyqsqBUI","level":3,"time":"2025-01-12T16:49:34+00:00","remoteAddr":"192.168.178.20","user":"admin","app":"PHP","method":"POST","url":"/index.php/apps/files_external/globalstorages","message":"Undefined array key 1 at /var/www/html/lib/private/AppFramework/Middleware/Security/PasswordConfirmationMiddleware.php#82","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0","version":"30.0.4.1","data":{"app":"PHP"}}
{"reqId":"JC1Rb3wbq3mdhyqsqBUI","level":2,"time":"2025-01-12T16:49:35+00:00","remoteAddr":"192.168.178.20","user":"admin","app":"core","method":"POST","url":"/index.php/apps/files_external/globalstorages","message":"Login failed: 'admin' (Remote IP: '192.168.178.20')","userAgent":"Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:134.0) Gecko/20100101 Firefox/134.0","version":"30.0.4.1","data":{"app":"core"}}
Additional info
No response
The text was updated successfully, but these errors were encountered:
Bug description
Hey there,
I have just set up an instance of nextcloud (latest Version, copied from here: latest as of 12.01.2025 into var/www/*). I am able to log in as admin inside the gui. But when I want to change settings e.g. adding an external drive the admin password is not accepted anymore (restart wont help).
If I have a look at the error logs (/var/www/html/data/nextcloud.log) I get:
I guess that some information regarding user/password is not passed correctly (the array key seems to be wrong) to the authentification method...
For now I have disabled line 85 in /var/www/html/lib/private/AppFramework/Middleware/Security/PasswordConfirmationMiddleware.php
Only for the time where I set things up...
Steps to reproduce
apt install apache2 php8.2 php8.2-gd sqlite3 php8.2-sqlite3 php8.2-curl php8.2-zip php8.2-xml php8.2-mbstring php8.2-imagick net-tools php8.2-intl libapache2-mod-php mariadb-server php8.2-mysql libnet-ssleay-perl libauthen-pam-perl libio-pty-perl apt-show-versions net-tools
apt install webmin_2.201_all.deb
Expected behavior
That the Admin password (which is correct) works
Nextcloud Server version
30
Operating system
Debian/Ubuntu
PHP engine version
PHP 8.2
Web server
Apache (supported)
Database engine version
MariaDB
Is this bug present after an update or on a fresh install?
None
Are you using the Nextcloud Server Encryption module?
Encryption is Disabled
What user-backends are you using?
Configuration report
List of activated Apps
Nextcloud Signing status
Nextcloud Logs
Additional info
No response
The text was updated successfully, but these errors were encountered: