Support intro
Sorry to hear you’re facing problems. 
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:
- Official documentation (searchable and regularly updated)
- How to topics and FAQs
- Forum search
(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. ![]()
The Basics
- Nextcloud Server version (e.g., 29.x.x):
- 32.0.8.2
- Operating system and version (e.g., Ubuntu 24.04):
Ubuntu 24.04
- Web server and version (e.g, Apache 2.4.25):
Snap
- Reverse proxy and version _(e.g. nginx 1.27.2)
NA
- PHP version (e.g, 8.3):
Snap
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
After last update
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Snap
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
I recently updated my system and the snap auto-updated to 32 about the same time. At first I received an internal server error screen (Apache logs showed an error about not finding the appropriate uid or gid), found that maintenance mode had been set to true and then changed that to false. Now I am seeing a more generic 500 error screen. Logs show an issue with connecting to the database. Not sure why that broke with the update. I have used the snap version without issue the last two years migrating from a traditional install on an older machine in 2024. I’m a little lost diagnosing the snap. It seems to me like the upgrade may not have completed properly and that is why it was in maintenance mode?
Thank you in advance.
Steps to replicate it (hint: details matter!)
Unfortunately, I have little to go on here. It happened after a recent system and snap update. I didn’t notice until a day later when I noticed the Nextcloud client icon was showing no connection.
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.
The Nextcloud log is empty
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.
I only show a generic 500 error with no details and a failed fetch for the server's local ip
Web server / Reverse Proxy
The output of your Apache/nginx/system log in /var/log/____:
[Mon May 18 15:03:55.017504 2026] [ssl:warn] [pid 42195:tid 42195] AH01906: 127.0.1.1:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon May 18 15:03:55.017514 2026] [ssl:warn] [pid 42195:tid 42195] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 18 15:03:55.017610 2026] [lbmethod_heartbeat:notice] [pid 42195:tid 42195] AH02282: No slotmem from mod_heartmonitor
[Mon May 18 15:03:55.018403 2026] [mpm_event:notice] [pid 42195:tid 42195] AH00489: Apache/2.4.67 (Unix) OpenSSL/1.1.1f configured -- resuming normal operations
[Mon May 18 15:03:55.018419 2026] [core:notice] [pid 42195:tid 42195] AH00094: Command line: 'httpd -d /snap/nextcloud/53305 -D EnableHTTPS -D FOREGROUND'
[Mon May 18 15:03:55.018506 2026] [unixd:alert] [pid 42196:tid 42196] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Mon May 18 15:03:55.018662 2026] [unixd:alert] [pid 42197:tid 42197] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Mon May 18 15:03:55.018807 2026] [unixd:alert] [pid 42198:tid 42198] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Mon May 18 15:21:53.394897 2026] [mpm_event:notice] [pid 42195:tid 42195] AH00491: caught SIGTERM, shutting down
[Mon May 18 15:22:04.048323 2026] [ssl:warn] [pid 112332:tid 112332] AH01906: 127.0.1.1:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon May 18 15:22:04.048358 2026] [ssl:warn] [pid 112332:tid 112332] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to suppress this message
[Mon May 18 15:22:04.049771 2026] [ssl:warn] [pid 112332:tid 112332] AH01906: 127.0.1.1:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Mon May 18 15:22:04.049780 2026] [ssl:warn] [pid 112332:tid 112332] AH01909: 127.0.1.1:443:0 server certificate does NOT include an ID which matches the server name
[Mon May 18 15:22:04.049886 2026] [lbmethod_heartbeat:notice] [pid 112332:tid 112332] AH02282: No slotmem from mod_heartmonitor
[Mon May 18 15:22:04.050680 2026] [mpm_event:notice] [pid 112332:tid 112332] AH00489: Apache/2.4.67 (Unix) OpenSSL/1.1.1f configured -- resuming normal operations
[Mon May 18 15:22:04.050697 2026] [core:notice] [pid 112332:tid 112332] AH00094: Command line: 'httpd -d /snap/nextcloud/53305 -D EnableHTTPS -D FOREGROUND'
[Mon May 18 15:22:04.050826 2026] [unixd:alert] [pid 112333:tid 112333] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Mon May 18 15:22:04.050954 2026] [unixd:alert] [pid 112334:tid 112334] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Mon May 18 15:22:04.051109 2026] [unixd:alert] [pid 112335:tid 112335] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
[Mon May 18 15:49:35.982317 2026] [unixd:alert] [pid 214871:tid 214871] AH02155: getpwuid: couldn't determine user name from uid 4294967295, you probably need to modify the User directive
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!):
An unhandled exception has been thrown:
Doctrine\DBAL\Exception: Failed to connect to the database: An exception occurred in the driver: SQLSTATE[HY000] [1045] Access denied for user 'nextcloud'@'localhost' (using password: YES) in /snap/nextcloud/53305/htdocs/lib/private/DB/Connection.php:238
Stack trace:
#0 /snap/nextcloud/53305/htdocs/3rdparty/doctrine/dbal/src/Connection.php(458): OC\DB\Connection->connect()
#1 /snap/nextcloud/53305/htdocs/3rdparty/doctrine/dbal/src/Connection.php(416): Doctrine\DBAL\Connection->getDatabasePlatformVersion()
#2 /snap/nextcloud/53305/htdocs/3rdparty/doctrine/dbal/src/Connection.php(323): Doctrine\DBAL\Connection->detectDatabasePlatform()
#3 /snap/nextcloud/53305/htdocs/lib/private/DB/Connection.php(922): Doctrine\DBAL\Connection->getDatabasePlatform()
#4 /snap/nextcloud/53305/htdocs/lib/private/DB/ConnectionAdapter.php(243): OC\DB\Connection->getDatabaseProvider()
#5 /snap/nextcloud/53305/htdocs/lib/private/DB/QueryBuilder/QueryBuilder.php(98): OC\DB\ConnectionAdapter->getDatabaseProvider()
#6 /snap/nextcloud/53305/htdocs/lib/private/AppConfig.php(1352): OC\DB\QueryBuilder\QueryBuilder->expr()
#7 /snap/nextcloud/53305/htdocs/lib/private/AppConfig.php(284): OC\AppConfig->loadConfig()
#8 /snap/nextcloud/53305/htdocs/lib/private/AppConfig.php(1832): OC\AppConfig->searchValues()
#9 /snap/nextcloud/53305/htdocs/lib/private/Memcache/Factory.php(122): OC\AppConfig->getAppInstalledVersions()
#10 /snap/nextcloud/53305/htdocs/lib/private/Memcache/Factory.php(163): OC\Memcache\Factory->getGlobalPrefix()
#11 /snap/nextcloud/53305/htdocs/lib/private/Server.php(936): OC\Memcache\Factory->createLocking()
#12 /snap/nextcloud/53305/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php(169): OC\Server->OC\{closure}()
#13 /snap/nextcloud/53305/htdocs/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#14 /snap/nextcloud/53305/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php(136): Pimple\Container->offsetGet()
#15 /snap/nextcloud/53305/htdocs/lib/private/ServerContainer.php(154): OC\AppFramework\Utility\SimpleContainer->query()
#16 /snap/nextcloud/53305/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php(45): OC\ServerContainer->query()
#17 /snap/nextcloud/53305/htdocs/lib/private/Files/View.php(77): OC\AppFramework\Utility\SimpleContainer->get()
#18 /snap/nextcloud/53305/htdocs/lib/private/Server.php(423): OC\Files\View->__construct()
#19 /snap/nextcloud/53305/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php(169): OC\Server->OC\{closure}()
#20 /snap/nextcloud/53305/htdocs/3rdparty/pimple/pimple/src/Pimple/Container.php(122): OC\AppFramework\Utility\SimpleContainer->OC\AppFramework\Utility\{closure}()
#21 /snap/nextcloud/53305/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php(136): Pimple\Container->offsetGet()
#22 /snap/nextcloud/53305/htdocs/lib/private/ServerContainer.php(154): OC\AppFramework\Utility\SimpleContainer->query()
#23 /snap/nextcloud/53305/htdocs/lib/private/AppFramework/Utility/SimpleContainer.php(45): OC\ServerContainer->query()
#24 /snap/nextcloud/53305/htdocs/lib/private/Server.php(1272): OC\AppFramework\Utility\SimpleContainer->get()
#25 /snap/nextcloud/53305/htdocs/lib/base.php(635): OC\Server->boot()
#26 /snap/nextcloud/53305/htdocs/lib/base.php(1224): OC::init()
#27 /snap/nextcloud/53305/htdocs/console.php(31): require_once('...')
#28 /snap/nextcloud/53305/htdocs/occ(33): require_once('...')
Apps
The output of occ app:list (if possible).
Tips for increasing the likelihood of a response
- Use the
preformatted textformatting 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.