Upgrade to NextCloud HUB10 destroyed user credentials - admin login works, users cannot logiin

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • `Nextcloud Hub 10 (31.0.4)
  • Operating system and version (e.g., Ubuntu 24.04):
    • `Ubuntu Linux 22.04.5
  • Web server and version (e.g, Apache 2.4.25):
    • `Apache version 2.4.52
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • none
  • PHP version (e.g, 8.3):
    • 6 or 8 - I have not found out
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • `directly after manual install
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Bare metal - latest.zip downloaded from nextcloud.com
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • `no

Summary of the issue you are facing:

I had been using Nextcloud 8 and could not upgrade any more. The info on the admin page said, that I should change to the latest version. I tried the web-updater - hung up when checking the downloaded file, tried occ maintenence:repair and maintenance:upgrade - no upgrade possible, but the installation was running fine.

So I backed up my database, backed up my data - separate disk outside the nextcloud directory in /var/www - and installed from scratch. Downloaded the latest.zip, unpacked into /var/www/nextcloud - after renaming the old version - changed ownership and group ownership to www-data, changed permissions with the two find - commands listed in the documentation and restarted apache.

I did copy the old config.php into the new folder - that did not give me any logins. I restored the original config.php and tried to set things with the graphical first installation screen - that did wok - I get a new administrative login - but all my users are gone. - that’s just two fortunately. occ user:list shows me the old accounts, but login with an old account does not work.

I tried some user commands in the occ library - occ user:list and sudo -u www-data php ./occ user:sync-account-data

  • occ responded that everythin was ok.

The admin page showed some warnings concerning the database column type - ROW FORMAT=Dynamc is recommended.

access to the db is possible - I did enter the correct user and password in the setup and I find both parameters in the newly created config.php

What I have not found, however, are the administrative entries to add user accounts or change their passwords. And I get errors in the logfile reader - Exception hash_hkdf(): Argument #2 ($key) cannot be empty in file

I am at a loss and consider a complete new install with a new db but I am still hoping to be able to avoid that

Steps to replicate it (hint: details matter!):

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

PASTE HERE

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

PASTE HERE

Apps

The output of occ app:list (if possible).

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

I would like to add the logfile - as recommended, so here goes:
{“reqId”:“SuHS1sjhnkbYBSuaalyz”,“level”:3,“time”:“2025-05-09T12:38:02+00:00”,“remoteAddr”:“192.168.178.43”,“user”:“canardo”,“app”:“index”,“method”:“POST”,“url”:“/nextcloud/index.php/login”,“message”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”,“userAgent”:“Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:137.0) Gecko/20100101 Firefox/137.0”,“version”:“31.0.4.1”,“exception”:{“Exception”:“Exception”,“Message”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/AppFramework/App.php”,“line”:161,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Route/Router.php”,“line”:307,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/var/www/nextcloud/lib/base.php”,“line”:1025,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/var/www/nextcloud/index.php”,“line”:24,“function”:“handleRequest”,“class”:“OC”,“type”:“::”}],“File”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“Line”:146,“Previous”:{“Exception”:“ValueError”,“Message”:“hash_hkdf(): Argument #2 ($key) cannot be empty”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/Security/Crypto.php”,“line”:147,“function”:“hash_hkdf”},{“file”:“/var/www/nextcloud/lib/private/Security/Crypto.php”,“line”:102,“function”:“decryptWithoutSecret”,“class”:“OC\Security\Crypto”,“type”:“->”,“args”:[“*** sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/Security/CredentialsManager.php",“line”:72,“function”:“decrypt”,“class”:“OC\Security\Crypto”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/apps/files_external/lib/Lib/Auth/Password/GlobalAuth.php",“line”:72,“function”:“retrieve”,“class”:“OC\Security\CredentialsManager”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/files_external/lib/Config/ConfigAdapter.php”,“line”:61,“function”:“manipulateStorageConfig”,“class”:“OCA\Files_External\Lib\Auth\Password\GlobalAuth”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/files_external/lib/Config/ConfigAdapter.php”,“line”:97,“function”:“prepareStorageConfig”,“class”:“OCA\Files_External\Config\ConfigAdapter”,“type”:“->”},{“function”:“OCA\Files_External\Config\{closure}”,“class”:“OCA\Files_External\Config\ConfigAdapter”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/apps/files_external/lib/Config/ConfigAdapter.php",“line”:95,“function”:“array_map”},{“file”:“/var/www/nextcloud/lib/private/Files/Config/MountProviderCollection.php”,“line”:72,“function”:“getMountsForUser”,“class”:“OCA\Files_External\Config\ConfigAdapter”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Files/Config/MountProviderCollection.php”,“line”:121,“function”:“getMountsFromProvider”,“class”:“OC\Files\Config\MountProviderCollection”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Files/SetupManager.php”,“line”:208,“function”:“addMountForUser”,“class”:“OC\Files\Config\MountProviderCollection”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Files/SetupManager.php”,“line”:311,“function”:“OC\Files\{closure}”,“class”:“OC\Files\SetupManager”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/Files/SetupManager.php",“line”:209,“function”:“setupForUserWith”,“class”:“OC\Files\SetupManager”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Files/Filesystem.php”,“line”:332,“function”:“setupForUser”,“class”:“OC\Files\SetupManager”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Cache/File.php”,“line”:37,“function”:“initMountPoints”,“class”:“OC\Files\Filesystem”,“type”:“::”},{“file”:“/var/www/nextcloud/lib/private/Cache/File.php”,“line”:158,“function”:“getStorage”,“class”:“OC\Cache\File”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/base.php”,“line”:860,“function”:“gc”,“class”:“OC\Cache\File”,“type”:“->”},{“function”:“{closure}”,“class”:“OC”,“type”:“::”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/Hooks/EmitterTrait.php",“line”:88,“function”:“call_user_func_array”},{“file”:“/var/www/nextcloud/lib/private/Hooks/PublicEmitter.php”,“line”:22,“function”:“emit”,“class”:“OC\Hooks\BasicEmitter”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/User/Session.php”,“line”:354,“function”:“emit”,“class”:“OC\Hooks\PublicEmitter”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/CompleteLoginCommand.php”,“line”:26,“function”:“completeLogin”,“class”:“OC\User\Session”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php",“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\CompleteLoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/LoggedInCheckCommand.php”,“line”:41,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php”,“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\LoggedInCheckCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/EmailLoginCommand.php”,“line”:51,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php”,“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\EmailLoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/UidLoginCommand.php”,“line”:36,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php”,“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\UidLoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/UserDisabledCheckCommand.php”,“line”:39,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php”,“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\UserDisabledCheckCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/PreLoginHookCommand.php”,“line”:34,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/Chain.php”,“line”:45,“function”:“process”,“class”:“OC\Authentication\Login\PreLoginHookCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/core/Controller/LoginController.php”,“line”:344,“function”:“process”,“class”:“OC\Authentication\Login\Chain”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:200,“function”:“tryLogin”,“class”:“OC\Core\Controller\LoginController”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:114,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/App.php”,“line”:161,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Route/Router.php”,“line”:307,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/var/www/nextcloud/lib/base.php”,“line”:1025,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/var/www/nextcloud/index.php”,“line”:24,“function”:“handleRequest”,“class”:“OC”,“type”:“::”}],“File”:“/var/www/nextcloud/lib/private/Security/Crypto.php”,“Line”:147},“message”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”,“exception”:{},“CustomMessage”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”}}
{“reqId”:“zOrfsDDfRJZDIAvKB8hC”,“level”:3,“time”:“2025-05-09T12:39:33+00:00”,“remoteAddr”:“192.168.178.43”,“user”:“canardo”,“app”:“index”,“method”:“POST”,“url”:“/nextcloud/index.php/login”,“message”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”,“userAgent”:“Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:137.0) Gecko/20100101 Firefox/137.0”,“version”:“31.0.4.1”,“exception”:{“Exception”:“Exception”,“Message”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/AppFramework/App.php”,“line”:161,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Route/Router.php”,“line”:307,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/var/www/nextcloud/lib/base.php”,“line”:1025,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/var/www/nextcloud/index.php”,“line”:24,“function”:“handleRequest”,“class”:“OC”,“type”:“::”}],“File”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“Line”:146,“Previous”:{“Exception”:“ValueError”,“Message”:“hash_hkdf(): Argument #2 ($key) cannot be empty”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/Security/Crypto.php”,“line”:147,“function”:“hash_hkdf”},{“file”:“/var/www/nextcloud/lib/private/Security/Crypto.php”,“line”:102,“function”:“decryptWithoutSecret”,“class”:“OC\Security\Crypto”,“type”:“->”,“args”:["
sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/Security/CredentialsManager.php",“line”:72,“function”:“decrypt”,“class”:“OC\Security\Crypto”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/apps/files_external/lib/Lib/Auth/Password/GlobalAuth.php",“line”:72,“function”:“retrieve”,“class”:“OC\Security\CredentialsManager”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/files_external/lib/Config/ConfigAdapter.php”,“line”:61,“function”:“manipulateStorageConfig”,“class”:“OCA\Files_External\Lib\Auth\Password\GlobalAuth”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/files_external/lib/Config/ConfigAdapter.php”,“line”:97,“function”:“prepareStorageConfig”,“class”:“OCA\Files_External\Config\ConfigAdapter”,“type”:“->”},{“function”:“OCA\Files_External\Config\{closure}”,“class”:“OCA\Files_External\Config\ConfigAdapter”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/apps/files_external/lib/Config/ConfigAdapter.php",“line”:95,“function”:“array_map”},{“file”:“/var/www/nextcloud/lib/private/Files/Config/MountProviderCollection.php”,“line”:72,“function”:“getMountsForUser”,“class”:“OCA\Files_External\Config\ConfigAdapter”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Files/Config/MountProviderCollection.php”,“line”:121,“function”:“getMountsFromProvider”,“class”:“OC\Files\Config\MountProviderCollection”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Files/SetupManager.php”,“line”:208,“function”:“addMountForUser”,“class”:“OC\Files\Config\MountProviderCollection”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Files/SetupManager.php”,“line”:311,“function”:“OC\Files\{closure}”,“class”:“OC\Files\SetupManager”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/Files/SetupManager.php",“line”:209,“function”:“setupForUserWith”,“class”:“OC\Files\SetupManager”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Files/Filesystem.php”,“line”:332,“function”:“setupForUser”,“class”:“OC\Files\SetupManager”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Cache/File.php”,“line”:37,“function”:“initMountPoints”,“class”:“OC\Files\Filesystem”,“type”:“::”},{“file”:“/var/www/nextcloud/lib/private/Cache/File.php”,“line”:158,“function”:“getStorage”,“class”:“OC\Cache\File”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/base.php”,“line”:860,“function”:“gc”,“class”:“OC\Cache\File”,“type”:“->”},{“function”:“{closure}”,“class”:“OC”,“type”:“::”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/Hooks/EmitterTrait.php",“line”:88,“function”:“call_user_func_array”},{“file”:“/var/www/nextcloud/lib/private/Hooks/PublicEmitter.php”,“line”:22,“function”:“emit”,“class”:“OC\Hooks\BasicEmitter”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/User/Session.php”,“line”:354,“function”:“emit”,“class”:“OC\Hooks\PublicEmitter”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/CompleteLoginCommand.php”,“line”:26,“function”:“completeLogin”,“class”:“OC\User\Session”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php",“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\CompleteLoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/LoggedInCheckCommand.php”,“line”:41,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php”,“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\LoggedInCheckCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/EmailLoginCommand.php”,“line”:51,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php”,“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\EmailLoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/UidLoginCommand.php”,“line”:36,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php”,“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\UidLoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/UserDisabledCheckCommand.php”,“line”:39,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php”,“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\UserDisabledCheckCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/PreLoginHookCommand.php”,“line”:34,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/Chain.php”,“line”:45,“function”:“process”,“class”:“OC\Authentication\Login\PreLoginHookCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/core/Controller/LoginController.php”,“line”:344,“function”:“process”,“class”:“OC\Authentication\Login\Chain”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:200,“function”:“tryLogin”,“class”:“OC\Core\Controller\LoginController”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:114,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/App.php”,“line”:161,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Route/Router.php”,“line”:307,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/var/www/nextcloud/lib/base.php”,“line”:1025,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/var/www/nextcloud/index.php”,“line”:24,“function”:“handleRequest”,“class”:“OC”,“type”:“::”}],“File”:“/var/www/nextcloud/lib/private/Security/Crypto.php”,“Line”:147},“message”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”,“exception”:{},“CustomMessage”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”}}
{“reqId”:“6wGeTifiboOM0h3EpyMX”,“level”:3,“time”:“2025-05-09T12:39:59+00:00”,“remoteAddr”:“192.168.178.43”,“user”:“canardo”,“app”:“index”,“method”:“POST”,“url”:“/nextcloud/index.php/login”,“message”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”,“userAgent”:“Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:137.0) Gecko/20100101 Firefox/137.0”,“version”:“31.0.4.1”,“exception”:{“Exception”:“Exception”,“Message”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/AppFramework/App.php”,“line”:161,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Route/Router.php”,“line”:307,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/var/www/nextcloud/lib/base.php”,“line”:1025,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/var/www/nextcloud/index.php”,“line”:24,“function”:“handleRequest”,“class”:“OC”,“type”:“::”}],“File”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“Line”:146,“Previous”:{“Exception”:“ValueError”,“Message”:“hash_hkdf(): Argument #2 ($key) cannot be empty”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/Security/Crypto.php”,“line”:147,“function”:“hash_hkdf”},{“file”:“/var/www/nextcloud/lib/private/Security/Crypto.php”,“line”:102,“function”:“decryptWithoutSecret”,“class”:“OC\Security\Crypto”,“type”:“->”,“args”:["
sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/Security/CredentialsManager.php",“line”:72,“function”:“decrypt”,“class”:“OC\Security\Crypto”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/apps/files_external/lib/Lib/Auth/Password/GlobalAuth.php",“line”:72,“function”:“retrieve”,“class”:“OC\Security\CredentialsManager”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/files_external/lib/Config/ConfigAdapter.php”,“line”:61,“function”:“manipulateStorageConfig”,“class”:“OCA\Files_External\Lib\Auth\Password\GlobalAuth”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/files_external/lib/Config/ConfigAdapter.php”,“line”:97,“function”:“prepareStorageConfig”,“class”:“OCA\Files_External\Config\ConfigAdapter”,“type”:“->”},{“function”:“OCA\Files_External\Config\{closure}”,“class”:“OCA\Files_External\Config\ConfigAdapter”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/apps/files_external/lib/Config/ConfigAdapter.php",“line”:95,“function”:“array_map”},{“file”:“/var/www/nextcloud/lib/private/Files/Config/MountProviderCollection.php”,“line”:72,“function”:“getMountsForUser”,“class”:“OCA\Files_External\Config\ConfigAdapter”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Files/Config/MountProviderCollection.php”,“line”:121,“function”:“getMountsFromProvider”,“class”:“OC\Files\Config\MountProviderCollection”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Files/SetupManager.php”,“line”:208,“function”:“addMountForUser”,“class”:“OC\Files\Config\MountProviderCollection”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Files/SetupManager.php”,“line”:311,“function”:“OC\Files\{closure}”,“class”:“OC\Files\SetupManager”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/Files/SetupManager.php",“line”:209,“function”:“setupForUserWith”,“class”:“OC\Files\SetupManager”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Files/Filesystem.php”,“line”:332,“function”:“setupForUser”,“class”:“OC\Files\SetupManager”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Cache/File.php”,“line”:37,“function”:“initMountPoints”,“class”:“OC\Files\Filesystem”,“type”:“::”},{“file”:“/var/www/nextcloud/lib/private/Cache/File.php”,“line”:158,“function”:“getStorage”,“class”:“OC\Cache\File”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/base.php”,“line”:860,“function”:“gc”,“class”:“OC\Cache\File”,“type”:“->”},{“function”:“{closure}”,“class”:“OC”,“type”:“::”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/Hooks/EmitterTrait.php",“line”:88,“function”:“call_user_func_array”},{“file”:“/var/www/nextcloud/lib/private/Hooks/PublicEmitter.php”,“line”:22,“function”:“emit”,“class”:“OC\Hooks\BasicEmitter”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/User/Session.php”,“line”:354,“function”:“emit”,“class”:“OC\Hooks\PublicEmitter”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/CompleteLoginCommand.php”,“line”:26,“function”:“completeLogin”,“class”:“OC\User\Session”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php",“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\CompleteLoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/LoggedInCheckCommand.php”,“line”:41,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php”,“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\LoggedInCheckCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/EmailLoginCommand.php”,“line”:51,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php”,“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\EmailLoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/UidLoginCommand.php”,“line”:36,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php”,“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\UidLoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/UserDisabledCheckCommand.php”,“line”:39,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php”,“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\UserDisabledCheckCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/PreLoginHookCommand.php”,“line”:34,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/Chain.php”,“line”:45,“function”:“process”,“class”:“OC\Authentication\Login\PreLoginHookCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/core/Controller/LoginController.php”,“line”:344,“function”:“process”,“class”:“OC\Authentication\Login\Chain”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:200,“function”:“tryLogin”,“class”:“OC\Core\Controller\LoginController”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",“line”:114,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/App.php”,“line”:161,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Route/Router.php”,“line”:307,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/var/www/nextcloud/lib/base.php”,“line”:1025,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/var/www/nextcloud/index.php”,“line”:24,“function”:“handleRequest”,“class”:“OC”,“type”:“::”}],“File”:“/var/www/nextcloud/lib/private/Security/Crypto.php”,“Line”:147},“message”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”,“exception”:{},“CustomMessage”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”}}
{“reqId”:“zc2bqJUYGhJcNsyN50ze”,“level”:3,“time”:“2025-05-09T12:40:27+00:00”,“remoteAddr”:“192.168.178.43”,“user”:“canardo”,“app”:“index”,“method”:“POST”,“url”:“/nextcloud/index.php/login”,“message”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”,“userAgent”:“Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:137.0) Gecko/20100101 Firefox/137.0”,“version”:“31.0.4.1”,“exception”:{“Exception”:“Exception”,“Message”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/AppFramework/App.php”,“line”:161,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Route/Router.php”,“line”:307,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/var/www/nextcloud/lib/base.php”,“line”:1025,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/var/www/nextcloud/index.php”,“line”:24,“function”:“handleRequest”,“class”:“OC”,“type”:“::”}],“File”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“Line”:146,“Previous”:{“Exception”:“ValueError”,“Message”:“hash_hkdf(): Argument #2 ($key) cannot be empty”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/Security/Crypto.php”,“line”:147,“function”:“hash_hkdf”},{“file”:“/var/www/nextcloud/lib/private/Security/Crypto.php”,“line”:102,“function”:“decryptWithoutSecret”,“class”:“OC\Security\Crypto”,“type”:“->”,“args”:["
sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/Security/CredentialsManager.php",“line”:72,“function”:“decrypt”,“class”:“OC\Security\Crypto”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/apps/files_external/lib/Lib/Auth/Password/GlobalAuth.php",“line”:72,“function”:“retrieve”,“class”:“OC\Security\CredentialsManager”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/files_external/lib/Config/ConfigAdapter.php”,“line”:61,“function”:“manipulateStorageConfig”,“class”:“OCA\Files_External\Lib\Auth\Password\GlobalAuth”,“type”:“->”},{“file”:“/var/www/nextcloud/apps/files_external/lib/Config/ConfigAdapter.php”,“line”:97,“function”:“prepareStorageConfig”,“class”:“OCA\Files_External\Config\ConfigAdapter”,“type”:“->”},{“function”:“OCA\Files_External\Config\{closure}”,“class”:“OCA\Files_External\Config\ConfigAdapter”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/apps/files_external/lib/Config/ConfigAdapter.php",“line”:95,“function”:“array_map”},{“file”:“/var/www/nextcloud/lib/private/Files/Config/MountProviderCollection.php”,“line”:72,“function”:“getMountsForUser”,“class”:“OCA\Files_External\Config\ConfigAdapter”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Files/Config/MountProviderCollection.php”,“line”:121,“function”:“getMountsFromProvider”,“class”:“OC\Files\Config\MountProviderCollection”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Files/SetupManager.php”,“line”:208,“function”:“addMountForUser”,“class”:“OC\Files\Config\MountProviderCollection”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Files/SetupManager.php”,“line”:311,“function”:“OC\Files\{closure}”,“class”:“OC\Files\SetupManager”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/Files/SetupManager.php",“line”:209,“function”:“setupForUserWith”,“class”:“OC\Files\SetupManager”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Files/Filesystem.php”,“line”:332,“function”:“setupForUser”,“class”:“OC\Files\SetupManager”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Cache/File.php”,“line”:37,“function”:“initMountPoints”,“class”:“OC\Files\Filesystem”,“type”:“::”},{“file”:“/var/www/nextcloud/lib/private/Cache/File.php”,“line”:158,“function”:“getStorage”,“class”:“OC\Cache\File”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/base.php”,“line”:860,“function”:“gc”,“class”:“OC\Cache\File”,“type”:“->”},{“function”:“{closure}”,“class”:“OC”,“type”:“::”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/Hooks/EmitterTrait.php",“line”:88,“function”:“call_user_func_array”},{“file”:“/var/www/nextcloud/lib/private/Hooks/PublicEmitter.php”,“line”:22,“function”:“emit”,“class”:“OC\Hooks\BasicEmitter”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/User/Session.php”,“line”:354,“function”:“emit”,“class”:“OC\Hooks\PublicEmitter”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/CompleteLoginCommand.php”,“line”:26,“function”:“completeLogin”,“class”:“OC\User\Session”,“type”:“->”,“args”:[" sensitive parameters replaced “]},{“file”:”/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php",“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\CompleteLoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/LoggedInCheckCommand.php”,“line”:41,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php”,“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\LoggedInCheckCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/EmailLoginCommand.php”,“line”:51,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php”,“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\EmailLoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/UidLoginCommand.php”,“line”:36,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php”,“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\UidLoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/UserDisabledCheckCommand.php”,“line”:39,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/ALoginCommand.php”,“line”:22,“function”:“process”,“class”:“OC\Authentication\Login\UserDisabledCheckCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/PreLoginHookCommand.php”,“line”:34,“function”:“processNextOrFinishSuccessfully”,“class”:“OC\Authentication\Login\ALoginCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Authentication/Login/Chain.php”,“line”:45,“function”:“process”,“class”:“OC\Authentication\Login\PreLoginHookCommand”,“type”:“->”},{“file”:“/var/www/nextcloud/core/Controller/LoginController.php”,“line”:344,“function”:“process”,“class”:“OC\Authentication\Login\Chain”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:200,“function”:“tryLogin”,“class”:“OC\Core\Controller\LoginController”,“type”:“->”,“args”:[" sensitive parameters replaced ***”]},{“file”:“/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php”,“line”:114,“function”:“executeController”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/AppFramework/App.php”,“line”:161,“function”:“dispatch”,“class”:“OC\AppFramework\Http\Dispatcher”,“type”:“->”},{“file”:“/var/www/nextcloud/lib/private/Route/Router.php”,“line”:307,“function”:“main”,“class”:“OC\AppFramework\App”,“type”:“::”},{“file”:“/var/www/nextcloud/lib/base.php”,“line”:1025,“function”:“match”,“class”:“OC\Route\Router”,“type”:“->”},{“file”:“/var/www/nextcloud/index.php”,“line”:24,“function”:“handleRequest”,“class”:“OC”,“type”:“::”}],“File”:“/var/www/nextcloud/lib/private/Security/Crypto.php”,“Line”:147},“message”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”,“exception”:{},“CustomMessage”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”}}
{“reqId”:“8j7sXVJGg5Jzkh0E4cKg”,“level”:3,“time”:“2025-05-09T12:41:08+00:00”,“remoteAddr”:“192.168.178.43”,“user”:“canardo”,“app”:“index”,“method”:“POST”,“url”:“/nextcloud/index.php/login”,“message”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”,“userAgent”:“Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:137.0) Gecko/20100101 Firefox/137.0”,“version”:“31.0.4.1”,“exception”:{“Exception”:“Exception”,“Message”:“hash_hkdf(): Argument #2 ($key) cannot be empty in file ‘/var/www/nextcloud/lib/private/Security/Crypto.php’ line 147”,“Code”:0,“Trace”:[{“file”:“/var/www/nextcloud/lib/private/AppFramework/App.php”,“line”:1