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):
30.0.4.1
- Operating system and version (e.g., Ubuntu 24.04):
Linux
- Web server and version (e.g, Apache 2.4.25):
2.4.62
- Reverse proxy and version _(e.g. nginx 1.27.2)
Where can this be checked?
- PHP version (e.g, 8.3):
8.3
- Is this the first time you’ve seen this error? (Yes / No):
Yes
- When did this problem seem to first start?
Right after the instalation
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
Web Installer
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Summary of the issue you are facing:
Hello to all,
Firstly, I would like to take a minute to thank you in advance for all the help you might provide to me, in order to hopefully solve these issues, and for the wall of text.
Secondly, I am not tech savvy and programming is (still) something I am not very familiar with, however, I am quite good at following instructions.
Issue 1:
I installed my nexcloud instance on a server that is running Cpanel, using the Web Installer Community version, available on the main website.
After logging in, I can access all the areas of my nextcloud instance and everything seemed to be in working order. However, the following is happening:
- When I press “Administration Overview”, on the “Security & Setup warnings”, I am getting the following error - Error occurred whilst checking server setup - and after checking the log there are 3 errors that are being shown:
1.1 - mysql.setup
1.2 - PHP
1.3 - internet_connection_check
By what I could understand, it seems that I have no database created and/or do not have enough memory allocated. What do I need to do in order to make it work properly?
Issue 2: (that might be related to issue 1)
2. After installing the most recent version the Android app (F-Droid; Version: 3.30.6) on my Samsung Galaxy S24 Ultra (One UI 6.1, Android 14, December Patch), I typed my server address and my credentials. I then got the message that I can close the browser tab, but the app stays in “loading status” and I cannot actually enter my nextcloud instance.
This seems to be generating the necessary tokens (that I am checking under “Personal > Security > Devices & Sessions”), and I do have a list of a few (matching the amount of tries I did in order to try to make it work). Nevertheless, when I try to revoke the access, I am getting the following error message - could not deleted the app token.
Would you be so kind as to shed some light on how this can be fixed?
I am totally available to provide any extra details or information I can find that is deemed usefull so that, together, we can tackle these issues.
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.
**Error 1.1:**
`{"reqId":"Z3g6dNB1ccp-ywzoUpc9XAAAAQ8","level":3,"time":"2025-01-03T19:28:53+00:00","remoteAddr":"195.158.248.234","user":"--","app":"mysql.setup","method":"POST","url":"/","message":"Database creation failed.","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"30.0.4.1","exception":{"Exception":"Doctrine\\DBAL\\Exception\\ConnectionException","Message":"An exception occurred while executing a query: SQLSTATE[42000]: Syntax error or access violation: 1044 Access denied for user **MYUSERNAME**'@'localhost' to database '**MYDATABASE**'","Code":1044,"Trace":[{"file":"***PATH***/3rdparty/doctrine/dbal/src/Connection.php","line":1939,"function":"convert","class":"Doctrine\\DBAL\\Driver\\API\\MySQL\\ExceptionConverter","type":"->"},{"file":""***PATH***/3rdparty/doctrine/dbal/src/Connection.php","line":1881,"function":"handleDriverExcepti...Setup\\MySQL","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":""***PATH***/lib/private/Setup.php","line":298,"function":"setupDatabase","class":"OC\\Setup\\MySQL","type":"->"},{"file":""***PATH***/core/Controller/SetupController.php","line":44,"function":"install","class":"OC\\Setup","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":""***PATH***/lib/base.php","line":951,"function":"run","class":"OC\\Core\\Controller\\SetupController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":""***PATH***/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":"***PATH***/3rdparty/doctrine/dbal/src/Driver/PDO/Connection.php","Line":33}},"message":"Database creation failed.","exception":[],"CustomMessage":"Database creation failed."},"id":"677ad9304ca22"}`
**Error 1.2:**
`{"reqId":"Z3g7ZICmeaiOoypIYVOjIQAAAhY","level":3,"time":"2025-01-03T19:33:19+00:00","remoteAddr":"**IP**","user":"**MYUSERNAME**","app":"PHP","method":"POST","url":"/index.php/settings/apps/enable","message":"Allowed memory size of 134217728 bytes exhausted (tried to allocate 277787104 bytes) at "***PATH***/lib/private/Installer.php#250","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"30.0.4.1","data":{"app":"PHP"},"id":"677ad9304c9e1"}`
**Error 1.3:**
`{"reqId":"Z3qhJnY3jQLT2YBRPF5NdQAAAZQ","level":3,"time":"2025-01-05T15:13:27+00:00","remoteAddr":"**IP**","user":"**MYUSERNAME**","app":"internet_connection_check","method":"GET","url":"/index.php/settings/ajax/checksetup","message":"Cannot connect to: www.nextcloud.com","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36","version":"30.0.4.1","exception":{"Exception":"GuzzleHttp\\Exception\\ConnectException","Message":"cURL error 28: Connection timed out after 30000 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://nextcloud.com/","Code":0,"Trace":[{"file":""***PATH***/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","line":158,"function":"createRejection","class":"GuzzleHttp\\Handler\\CurlFactory","type":"::","args":["*** sensitive parameters replaced ***"]},{"file":""***PATH***/3rdparty/guzzlehttp/guzz...rivate/AppFramework/Http/Dispatcher.php","line":114,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":""***PATH***/lib/private/AppFramework/App.php","line":161,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":""***PATH***/lib/private/Route/Router.php","line":302,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":""***PATH***/lib/base.php","line":1003,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":""***PATH***/index.php","line":24,"function":"handleRequest","class":"OC","type":"::"}],"File":""***PATH***/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php","Line":210,"message":"Cannot connect to: www.nextcloud.com","exception":[],"CustomMessage":"Cannot connect to: www.nextcloud.com"},"id":"677ad9304c9dc"}`
Configuration
Nextcloud
<?php
$CONFIG = array (
'instanceid' => '**myinstanceID**',
'passwordsalt' => '**mysaltpassword**',
'secret' => '**mysecret**',
'trusted_domains' =>
array (
0 => 'nextcloud.mydomain.xx',
1 => 'myip1',
2 => 'myip2',
3 => 'myip3',
4 => 'myip4',
),
'datadirectory' => '"***PATH***/data',
'dbtype' => 'mysql',
'version' => '30.0.4.1',
'overwrite.cli.url' => 'http://nextcloud.mydomain.xx',
'dbname' => 'MYDATABASE',
'dbhost' => 'localhost',
'dbport' => '',
'dbtableprefix' => 'oc_',
'mysql.utf8mb4' => true,
'dbuser' => 'MYUSER',
'dbpassword' => 'mypassword',
'installed' => true,
);
Apps
The output of `occ app:list` (if possible).