Unable to log in and not able to understand the log in nextcloud/data/

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):
    • unknown
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 22.04.5
  • Web server and version (e.g, Apache 2.4.25):
    • Firefox143.0.4
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • unknown
  • PHP version (e.g, 8.3):
    • 8.1
  • Is this the first time you’ve seen this error? (Yes / No):
    • yes
  • When did this problem seem to first start?
    • this evening after reinstalling MySQL
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • Ubuntu Software(SNAP?)
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

Log in screen simply returns for another attmt

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

  1. Supply login and password from Bitwarden

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.

{"reqId":"AOPttkhrzzntJi0xLzJJ","level":3,"time":"2025-10-15T10:52:16+00:00","remoteAddr":"192.168.0.1","user":"--","app":"no app in context","method":"GET","url":"/nextcloud/index.php/login?user=kevin&direct=1","message":"Failed to load task processing provider OCA\\IntegrationDeepl\\Providers\\TaskProcessingProvider","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:143.0) Gecko/20100101 Firefox/143.0","version":"31.0.8.1","exception":{"Exception":"RuntimeException","Message":"Failed to initialize deepl translator class, ensure you have entered the required api key in the admin settings","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/integration_deepl/lib/Providers/TaskProcessingProvider.php","line":37,"function":"__construct","class":"OCA\\IntegrationDeepl\\Service\\DeeplService","type":"->"},{"function":"__construct","class":"OCA\\IntegrationDeepl\\Providers\\TaskProcessingProvider","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":98,"function":"newInstanceArgs","class":"ReflectionClass","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":106,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":440,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/ServerContainer.php","line":137,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":42,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/TaskProcessing/Manager.php","line":531,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/TaskProcessing/Manager.php","line":776,"function":"_getProviders","class":"OC\\TaskProcessing\\Manager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/TaskProcessing/Manager.php","line":792,"function":"getProviders","class":"OC\\TaskProcessing\\Manager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/TaskProcessing/Manager.php","line":837,"function":"getPreferredProvider","class":"OC\\TaskProcessing\\Manager","type":"->"},{"file":"/var/www/html/nextcloud/apps/spreed/lib/Capabilities.php","line":349,"function":"getAvailableTaskTypes","class":"OC\\TaskProcessing\\Manager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/CapabilitiesManager.php","line":61,"function":"getCapabilities","class":"OCA\\Talk\\Capabilities","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/JSConfigHelper.php","line":139,"function":"getCapabilities","class":"OC\\CapabilitiesManager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/TemplateLayout.php","line":233,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/legacy/OC_Template.php","line":120,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/html/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php","line":189,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":159,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1061,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/apps/integration_deepl/lib/Service/DeeplService.php","Line":43,"Previous":{"Exception":"DeepL\\DeepLException","Message":"authKey must be a non-empty string","Code":0,"Trace":[{"file":"/var/www/html/nextcloud/apps/integration_deepl/lib/Service/DeeplService.php","line":40,"function":"__construct","class":"DeepL\\Translator","type":"->"},{"file":"/var/www/html/nextcloud/apps/integration_deepl/lib/Providers/TaskProcessingProvider.php","line":37,"function":"__construct","class":"OCA\\IntegrationDeepl\\Service\\DeeplService","type":"->"},{"function":"__construct","class":"OCA\\IntegrationDeepl\\Providers\\TaskProcessingProvider","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":98,"function":"newInstanceArgs","class":"ReflectionClass","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":106,"function":"buildClass","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":124,"function":"resolve","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/DependencyInjection/DIContainer.php","line":440,"function":"query","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/ServerContainer.php","line":137,"function":"queryNoFallback","class":"OC\\AppFramework\\DependencyInjection\\DIContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Utility/SimpleContainer.php","line":42,"function":"query","class":"OC\\ServerContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/TaskProcessing/Manager.php","line":531,"function":"get","class":"OC\\AppFramework\\Utility\\SimpleContainer","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/TaskProcessing/Manager.php","line":776,"function":"_getProviders","class":"OC\\TaskProcessing\\Manager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/TaskProcessing/Manager.php","line":792,"function":"getProviders","class":"OC\\TaskProcessing\\Manager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/TaskProcessing/Manager.php","line":837,"function":"getPreferredProvider","class":"OC\\TaskProcessing\\Manager","type":"->"},{"file":"/var/www/html/nextcloud/apps/spreed/lib/Capabilities.php","line":349,"function":"getAvailableTaskTypes","class":"OC\\TaskProcessing\\Manager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/CapabilitiesManager.php","line":61,"function":"getCapabilities","class":"OCA\\Talk\\Capabilities","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Template/JSConfigHelper.php","line":139,"function":"getCapabilities","class":"OC\\CapabilitiesManager","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/TemplateLayout.php","line":233,"function":"getConfig","class":"OC\\Template\\JSConfigHelper","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/legacy/OC_Template.php","line":120,"function":"__construct","class":"OC\\TemplateLayout","type":"->"},{"file":"/var/www/html/nextcloud/lib/public/AppFramework/Http/TemplateResponse.php","line":189,"function":"fetchPage","class":"OC_Template","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":159,"function":"render","class":"OCP\\AppFramework\\Http\\TemplateResponse","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/html/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/html/nextcloud/lib/base.php","line":1061,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/html/nextcloud/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/html/nextcloud/apps/integration_deepl/vendor/deeplcom/deepl-php/src/Translator.php","Line":38},"message":"Failed to load task processing provider OCA\\IntegrationDeepl\\Providers\\TaskProcessingProvider","exception":{},"CustomMessage":"Failed to load task processing provider OCA\\IntegrationDeepl\\Providers\\TaskProcessingProvider"}}

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.

Hey @MonkeyFrog, welcome to the Nextcloud community and thanks for supporting Nextcloud snap :handshake:

Sorry to hear you are having issues with your Nextcloud snap installation. If you’ve come this far, you’re on the right track! There is a good chance someone in the community has had a similar issue and knows how to resolve it. That depends on how you request assistance. So read your request for tone, avoiding hyperbole and assuming good intentions.

In order to help you we’ll need some Information to get an Idea of your setup, so complete the required support template if you haven’t done so already or run the debugging script and post the result here.

Below are some links to how-to’s answering frequently asked questions and may help you help yourself;

Meanwhile if you’re having automatic update issues…

1. Check your logs to discover the cause of the update failure

2. Revert to last known good revision

Snaps were designed to have a robust upgrade story. In the case of the Nextcloud snap, every time it refreshes (updates), it takes a snapshot of the database and other version-specific things (not the raw data though, e.g. pictures and documents) and holds them alongside the old revision of the snap.

sudo snap revert nextcloud

With that command, you should be back up and running right at the moment before the automatic update happened.

see How to revert Nextcloud snap after failed update

Backup your running snap now!

This would be the perfect occasion to create a complete Nextcloud snap backup including configuration, apps, certificates, database and data.

  • stop Nextcloud snap sudo snap stop nextcloud
  • save Nextcloud snap sudo snap save nextcloud
  • start Nextcloud snap sudo snap start nextcloud
  • copy/move snapshot (*.zip) in /var/lib/snapd/snapshots to wherever

see How to backup, restore and migrate Nextcloud snap

3. Resolve automatic update issues

A prevalent cause of automatic update issues is attributed to incompatible third party apps due to snap confinement. Any apps requiring access to executable binaries will fail since these are not included in the snap. Disabling the misbehaving apps frequently resolves the automatic update issue. Sometimes apps can be re-installed or re-enabled after successful manual refresh (update)… but may recur during the next automatic update.

If your Nextcloud interface is not available or your Nextcloud is in “Maintenance mode”, you can disable apps using the OCC management console or command line:

  1. List apps: sudo nextcloud.occ app:list
  2. Disable app: sudo nextcloud.occ app:disable <appname>
    • Remove app: sudo nextcloud.occ app:remove <appname>
  3. Enable app: sudo nextcloud.occ app:enable <appname>

see How to manage automatic updates in Nextcloud snap

4. Manually update = refresh Nextcloud snap

sudo snap refresh nextcloud

see How to manage Nextcloud snap with snap

why/how did you reinstall mysql… are you sure we’re talking about Nextcloud snap?

Hi scubamuc,

Thank you for your quick response, it is really appreciated.

Unfortunately, I am not sure that nextcloud was installed via snap. It was installed some time ago. I reinstalled mysql from “sudo apt install mysql-server”. Is that snap?

I was really hoping that someone there would be more familiar with reading the log that I sent. Unfortunately, I cannot make head nor tail from it.

WHAT IS HAPPENING

When I enter the user ID and password there is a flash of screen changing and it goes back to the login screen. If I choose “forgotten password” then “reset password” nothing seems to happen. I renamed the nextcloud.log to nextcloud1.log and tried again so that I would get a clean log with only the log in attempt entries and sent that in my original post. Was that not helpful? Can you give me some idea about how I can troubleshoot this?

Best regards,

Kevin.

no problem, that’s what we’re here for…

so lets check whether you have Nextcloud snap installed on your system at all;

issue the following command in your shell;
$ snap list nextcloud

the result should be something like this if you have the Nextcloud snap installed;
grafik

:thinking: wondering why you would reinstall mysql not knowing what type of installation was used?

…probably not. Nextcloud snap has everything needed to run Nextcloud included in a nice package which makes it easy to install and maintain, see

Ah, sorry. This has been a week long frustrating experience starting from electing to upgrade Ubuntu from 22.04 to 24.04. That stopped dead in the middle so I had to reinstall 22.04. Nextcloud was just a casualty of my clumsy attempts to get everything working again. And it was until suddenly, I was not able to log into Nextcloud any longer. After raising the issue with you guys I found that it wasn’t just Nextcloud but also my home made php applications. I resorted to reinstalling Apache and that fixed it. A bit heavy handed, I know, but at least it is now working.

Thank you for your support any way. It is good to know that you are available in case I stuff anything else up. :slight_smile:

Best regards,

Kevin.

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