Support intro
Sorry to hear you’re facing problems
help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.
In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:
example
Or for longer, use three backticks above and below the code snippet:
longer
example
here
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
Nextcloud version (eg, 29.0.5): 29.0.1.1
Operating system and version (eg, Ubuntu 29.04): Docker on Open Media Vault server
Apache or nginx version (eg, Apache 2.4.25): 2.4.59
PHP version (eg, 8.3): 8.2.18
The issue you are facing:
When I try to log into the AIO Interface at port 8080, either by following the link from the admin settings, or directly entering the ip, or the DNS, I receive a “Slim Application Error” with no further details.
Is this the first time you’ve seen this error? (Y/N): N
Steps to replicate it:
- Attempt to log in to AIO Interface
The output of your Nextcloud log in Admin > Logging:
\\Connection","type":"->","args":["DELETE FROM \"oc_appconfig\" WHERE (\"appid\" = :dcValue1) AND (\"configkey\" = :dcValue2)",["core","cronErrors"],[2,2]]},{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":280,"function":"execute","class":"Doctrine\\DBAL\\Query\\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/private/DB/QueryBuilder/QueryBuilder.php","line":326,"function":"execute","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/private/AppConfig.php","line":1106,"function":"executeStatement","class":"OC\\DB\\QueryBuilder\\QueryBuilder","type":"->","args":[]},{"file":"/var/www/html/lib/private/AllConfig.php","line":232,"function":"deleteKey","class":"OC\\AppConfig","type":"->","args":["core","cronErrors"]},{"file":"/var/www/html/lib/base.php","line":754,"function":"deleteAppValue","class":"OC\\AllConfig","type":"->","args":["core","cronErrors"]},{"file":"/var/www/html/lib/base.php","line":1181,"function":"init","class":"OC","type":"::","args":[]},{"file":"/var/www/html/cron.php","line":58,"args":["/var/www/html/lib/base.php"],"function":"require_once"}],"File":"/var/www/html/3rdparty/doctrine/dbal/src/Driver/PDO/PgSQL/Driver.php","Line":34}}},"message":"An exception occurred in the driver: SQLSTATE[08006] [7] could not translate host name \"nextcloud-aio-database\" to address: Try again","exception":{},"CustomMessage":"An exception occurred in the driver: SQLSTATE[08006] [7] could not translate host name \"nextcloud-aio-database\" to address: Try again"}}
{"reqId":"x9N3C8PHzH9oLgf0CLVn","level":2,"time":"2024-07-02T20:35:42+00:00","remoteAddr":"154.47.25.18","user":"admin","app":"suspicious_login","method":"POST","url":"/login","message":"Could not predict suspiciousness: No models found","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:127.0) Gecko/20100101 Firefox/127.0","version":"29.0.1.1","data":{"app":"suspicious_login"}}
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
<?php
$CONFIG = array (
'one-click-instance' => true,
'one-click-instance.user-limit' => 100,
'memcache.local' => '\\OC\\Memcache\\APCu',
'apps_paths' =>
array (
0 =>
array (
'path' => '/var/www/html/apps',
'url' => '/apps',
'writable' => false,
),
1 =>
array (
'path' => '/var/www/html/custom_apps',
'url' => '/custom_apps',
'writable' => true,
),
),
'appsallowlist' => false,
'check_data_directory_permissions' => false,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'nextcloud-aio-redis',
'password' => 'REDACTED',
'port' => 6379,
),
'overwritehost' => 'REDACTED',
'overwriteprotocol' => 'https',
'passwordsalt' => 'REDACTED',
'secret' => 'REDACTED',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'REDACTED',
),
'datadirectory' => '/mnt/ncdata',
'dbtype' => 'pgsql',
'version' => '29.0.1.1',
'overwrite.cli.url' => 'REDACTED',
'dbname' => 'nextcloud_database',
'dbhost' => 'nextcloud-aio-database',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_nextcloud',
'dbpassword' => 'REDACTED',
'installed' => true,
'default_phone_region' => 'US',
'instanceid' => 'ocq9fnyg6m0u',
'maintenance' => false,
'updatedirectory' => '/nc-updater',
'loglevel' => '2',
'app_install_overwrite' =>
array (
0 => 'nextcloud-aio',
),
'log_type' => 'file',
'logfile' => '/var/www/html/data/nextcloud.log',
'log_rotate_size' => '10485760',
'log.condition' =>
array (
'apps' =>
array (
0 => 'admin_audit',
),
),
'preview_max_x' => '2048',
'preview_max_y' => '2048',
'jpeg_quality' => '60',
'enabledPreviewProviders' =>
array (
1 => 'OC\\Preview\\Image',
2 => 'OC\\Preview\\MarkDown',
3 => 'OC\\Preview\\MP3',
4 => 'OC\\Preview\\TXT',
5 => 'OC\\Preview\\OpenDocument',
6 => 'OC\\Preview\\Movie',
7 => 'OC\\Preview\\Krita',
0 => 'OC\\Preview\\Imaginary',
),
'enable_previews' => true,
'upgrade.disable-web' => true,
'mail_smtpmode' => 'smtp',
'trashbin_retention_obligation' => 'auto, 30',
'versions_retention_obligation' => 'auto, 30',
'activity_expire_days' => '30',
'simpleSignUpLink.shown' => false,
'share_folder' => '/Shared',
'one-click-instance.link' => 'https://nextcloud.com/all-in-one/',
'upgrade.cli-upgrade-link' => 'https://github.com/nextcloud/all-in-one/discussions/2726',
'maintenance_window_start' => 100,
'allow_local_remote_servers' => true,
'davstorage.request_timeout' => 3600,
'htaccess.RewriteBase' => '/',
'dbpersistent' => false,
'auth.bruteforce.protection.enabled' => true,
'ratelimit.protection.enabled' => true,
'files_external_allow_create_new_local' => true,
'trusted_proxies' =>
array (
0 => '127.0.0.1',
1 => '::1',
10 => '192.168.240.1/32',
),
'preview_imaginary_url' => 'http://nextcloud-aio-imaginary:9000',
'preview_imaginary_key' => '6c76d2f7fb1d9e324bb1f3a2a5c7f190687b9c0ed80a4e52',
'mail_sendmailmode' => 'smtp',
'mail_from_address' => 'REDACTED',
'mail_domain' => 'gmail.com',
'mail_smtphost' => 'smtp.gmail.com',
'mail_smtpport' => '465',
'mail_smtpauth' => 1,
'mail_smtpname' => 'REDACTED',
'mail_smtppassword' => 'REDACTED ',
);
The output of your Apache/nginx/system log in /var/log/____
:
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Waiting for Nextcloud to start...
Connection to nextcloud-aio-nextcloud (192.168.240.8) 9000 port [tcp/*] succeeded!
{"level":"info","ts":1719879427.381502,"msg":"using provided configuration","config_file":"/tmp/Caddyfile","config_adapter":""}
[Mon Jul 01 20:17:07.392603 2024] [mpm_event:notice] [pid 74:tid 139828886182664] AH00489: Apache/2.4.59 (Unix) configured -- resuming normal operations
[Mon Jul 01 20:17:07.392914 2024] [core:notice] [pid 74:tid 139828886182664] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
Connection to nextcloud-aio-nextcloud (192.168.240.8) 9000 port [tcp/*] succeeded!
{"level":"info","ts":1719952374.3786087,"msg":"using provided configuration","config_file":"/tmp/Caddyfile","config_adapter":""}
[Tue Jul 02 16:32:54.392722 2024] [mpm_event:notice] [pid 34:tid 140482142169864] AH00489: Apache/2.4.59 (Unix) configured -- resuming normal operations
[Tue Jul 02 16:32:54.393366 2024] [core:notice] [pid 34:tid 140482142169864] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND'
END OF LINE
Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.
{"reqId":"0fljylXUWqvwZIvgT03D","level":3,"time":"2024-05-27T20:40:36+00:00","remoteAddr":"","user":"admin","app":"PHP","method":"","url":"--","message":"fopen(/var/www/html/config/config.php): Failed to open stream: No such file or directory at /var/www/html/lib/private/Config.php#225","userAgent":"--","version":"28.0.5.1","data":{"app":"PHP"},"id":"668467ef91a5a"}
[PHP] Error: Optional parameter $userId declared before required parameter $path is implicitly treated as a required parameter at /var/www/html/custom_apps/deck/lib/Service/ConfigService.php#234
GET /index.php/apps/notify_push/test/version
from 74.215.23.9 by -- at May 27, 2024, 4:45:12 PM
[core] Error: Error while running background job OCA\Theming\Jobs\MigrateBackgroundImages (id: 60, arguments: {"stage":"prepare"})
from ? by -- at May 27, 2024, 4:45:13 PM
[index] Error: Could not get appdata folder for theming
GET /apps/theming/icon?v=b6589fc6
from 149.88.105.225 by -- at May 27, 2024, 4:48:25 PM