I am on nextcloud aoi (running in docker). On “Checking for system and security issues.” In the admin overview it says “All checks passed.”
My rewrite rule in the aoi-nextcloud container .htaccess is: RewriteRule ^ocm-provider/?$ index.php [QSA,L]
However since the last update to Nextcloud AIO v7.9.0 / Nextcloud Hub 6 (27.1.5) I get the following and the system is slow as molasses (4 core i7, 32 gb ram, SSD storage):
[no app in context] Warning: GuzzleHttp\Exception\ConnectException: cURL error 28: Connection timed out after 10003 milliseconds (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://192.168.1.10/nextcloud/ocm-provider/ at <<closure>>
0. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 158
GuzzleHttp\Handler\CurlFactory::createRejection("*** sensitive parameters replaced ***")
1. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlFactory.php line 110
GuzzleHttp\Handler\CurlFactory::finishError(["GuzzleHttp\\Handler\\CurlHandler"], "*** sensitive parameters replaced ***", ["GuzzleHttp\\Handler\\CurlFactory"])
2. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Handler/CurlHandler.php line 47
GuzzleHttp\Handler\CurlFactory::finish(["GuzzleHttp\\Handler\\CurlHandler"], "*** sensitive parameters replaced ***", ["GuzzleHttp\\Handler\\CurlFactory"])
3. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 137
GuzzleHttp\Handler\CurlHandler->__invoke("*** sensitive parameters replaced ***", "*** sensitive parameters replaced ***")
4. /var/www/html/lib/private/Http/Client/DnsPinMiddleware.php line 114
GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
5. /var/www/html/3rdparty/guzzlehttp/guzzle/src/PrepareBodyMiddleware.php line 35
OC\Http\Client\DnsPinMiddleware->OC\Http\Client\{closure}("*** sensitive parameters replaced ***")
6. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 31
GuzzleHttp\PrepareBodyMiddleware->__invoke("*** sensitive parameters replaced ***", "*** sensitive parameters replaced ***")
7. /var/www/html/3rdparty/guzzlehttp/guzzle/src/RedirectMiddleware.php line 71
GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
8. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Middleware.php line 63
GuzzleHttp\RedirectMiddleware->__invoke("*** sensitive parameters replaced ***", "*** sensitive parameters replaced ***")
9. /var/www/html/3rdparty/guzzlehttp/guzzle/src/HandlerStack.php line 75
GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensitive parameters replaced ***")
10. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php line 331
GuzzleHttp\HandlerStack->__invoke("*** sensitive parameters replaced ***", "*** sensitive parameters replaced ***")
11. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php line 168
GuzzleHttp\Client->transfer("*** sensitive parameters replaced ***", "*** sensitive parameters replaced ***")
12. /var/www/html/3rdparty/guzzlehttp/guzzle/src/Client.php line 187
GuzzleHttp\Client->requestAsync("*** sensitive parameters replaced ***")
13. /var/www/html/lib/private/Http/Client/Client.php line 230
GuzzleHttp\Client->request("*** sensitive parameters replaced ***", "https://192.168 ... /", [true,10,10,[tru ... "])
14. /var/www/html/lib/private/OCM/OCMDiscoveryService.php line 92
OC\Http\Client\Client->get("https://192.168 ... /", [10,true,10])
15. /var/www/html/apps/files_sharing/lib/External/Storage.php line 84
OC\OCM\OCMDiscoveryService->discover("https://192.168.1.10/nextcloud")
16. /var/www/html/lib/private/Files/Mount/MountPoint.php line 168
OCA\Files_Sharing\External\Storage->__construct(["https://192.16 ... "])
17. /var/www/html/lib/private/Files/Mount/MountPoint.php line 193
OC\Files\Mount\MountPoint->createStorage("*** sensitive parameters replaced ***")
18. /var/www/html/lib/private/Files/Mount/MountPoint.php line 294
OC\Files\Mount\MountPoint->getStorage()
19. /var/www/html/lib/private/Files/Config/UserMountCache.php line 83
OC\Files\Mount\MountPoint->getStorageRootId()
20. /var/www/html/lib/private/Files/SetupManager.php line 297
OC\Files\Config\UserMountCache->registerMounts("*** sensitive parameters replaced ***", [["OC\\Files\\Mo ... ]], ["OC\\Files\\Mou ... "])
21. /var/www/html/lib/private/Files/SetupManager.php line 221
OC\Files\SetupManager->afterUserFullySetup("*** sensitive parameters replaced ***", [])
22. /var/www/html/lib/private/legacy/OC_Util.php line 111
OC\Files\SetupManager->setupForUser("*** sensitive parameters replaced ***")
23. /var/www/html/custom_apps/memories/lib/Service/Index.php line 75
OC_Util::setupFS("ulno")
24. /var/www/html/custom_apps/memories/lib/Cron/IndexJob.php line 92
OCA\Memories\Service\Index->indexUser("ulno")
25. /var/www/html/lib/private/User/Manager.php line 632
OCA\Memories\Cron\IndexJob->OCA\Memories\Cron\{closure}("*** sensitive parameters replaced ***")
26. /var/www/html/custom_apps/memories/lib/Cron/IndexJob.php line 100
OC\User\Manager->callForSeenUsers(["Closure"])
27. /var/www/html/custom_apps/memories/lib/Cron/IndexJob.php line 63
OCA\Memories\Cron\IndexJob->indexAllUsers()
28. /var/www/html/lib/public/BackgroundJob/Job.php line 81
OCA\Memories\Cron\IndexJob->run(null)
29. /var/www/html/lib/public/BackgroundJob/TimedJob.php line 103
OCP\BackgroundJob\Job->start(["OC\\BackgroundJob\\JobList"])
30. /var/www/html/lib/public/BackgroundJob/TimedJob.php line 93
OCP\BackgroundJob\TimedJob->start(["OC\\BackgroundJob\\JobList"])
31. /var/www/html/cron.php line 152
OCP\BackgroundJob\TimedJob->execute(["OC\\BackgroundJob\\JobList"], ["OC\\Log"])
at 2023-12-30T19:38:55+00:00
Why is it trying to connect to 192.168.1.10? I have not configured that anywhere.
I can successfully open on my server /index.php/ocm-provider/ as well as only /ocm-provider/ (both giving a json file).
Also the /nextcloud/ prefix seems weird.
Any idea what could have gone wrong here?
I also tried to get help here: [Bug]: Your web server is not properly set up to resolve "/nextcloud/ocm-provider/" · Issue #40803 · nextcloud/server · GitHub
Also this might be related: Your web server is not properly set up to resolve "/ocm-provider/". This is most likely related to a web server configuration that was not updated to deliver this folder directly
For completion:
Nextcloud version (eg, 20.0.5): Nextcloud Hub 6 (27.1.5)
Operating system and version (eg, Ubuntu 20.04): Docker running on Debian Bookworm
Apache or nginx version (eg, Apache 2.4.25): Apache from AIO
PHP version (eg, 7.4): from AIO
The issue you are facing: see above
Is this the first time you’ve seen this error? (Y/N): Y
Steps to replicate it:
update (>3 month old installation?) from admin view of AIO to latest containers
The output of your Nextcloud log in Admin > Logging:
see above
The output of your config.php file in /path/to/nextcloud
(make sure you remove any identifiable information!):
/var/www/html # cat config/config.php # inside nextcloud-aio-nextcloud
<?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,
),
),
'check_data_directory_permissions' => false,
'memcache.distributed' => '\\OC\\Memcache\\Redis',
'memcache.locking' => '\\OC\\Memcache\\Redis',
'redis' =>
array (
'host' => 'nextcloud-aio-redis',
'password' => 'xxx',
'port' => 6379,
),
'overwritehost' => 'c.ulno.net',
'overwriteprotocol' => 'https',
'passwordsalt' => 'xxx',
'secret' => 'xxx',
'trusted_domains' =>
array (
0 => 'localhost',
1 => 'c.xxx-replaced.net',
2 => 'ju.xxx-replaced.net',
),
'datadirectory' => '/mnt/ncdata',
'dbtype' => 'pgsql',
'version' => '27.1.5.1',
'overwrite.cli.url' => 'https://c.ulno.net/',
'dbname' => 'nextcloud_database',
'dbhost' => 'nextcloud-aio-database',
'dbport' => '',
'dbtableprefix' => 'oc_',
'dbuser' => 'oc_nextcloud',
'dbpassword' => 'xxx',
'installed' => true,
'instanceid' => 'oc5hidwvciby',
'maintenance' => false,
'loglevel' => '2',
'log_type' => 'file',
'logfile' => '/var/www/html/data/nextcloud.log',
'log_rotate_size' => '10485760',
'log.condition' =>
array (
'apps' =>
array (
0 => 'admin_audit',
),
),
'preview_max_memory' => 1024,
'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',
'updatedirectory' => '/nc-updater',
'davstorage.request_timeout' => 3600,
'htaccess.RewriteBase' => '/',
'dbpersistent' => false,
'files_external_allow_create_new_local' => false,
'trusted_proxies' =>
array (
0 => '127.0.0.1',
1 => '::1',
),
'allow_local_remote_servers' => true,
'preview_imaginary_url' => 'http://nextcloud-aio-imaginary:9000',
'app_install_overwrite' =>
array (
0 => 'nextcloud-aio',
),
'memories.exiftool' => '/var/www/html/custom_apps/memories/bin-ext/exiftool-amd64-musl',
'memories.vod.path' => '/var/www/html/custom_apps/memories/bin-ext/go-vod-amd64',
'memories.vod.ffmpeg' => '/usr/bin/ffmpeg',
'memories.vod.ffprobe' => '/usr/bin/ffprobe',
'memories.gis_type' => 2,
'memories.vod.disable' => false,
'memories.vod.vaapi' => true,
'default_phone_region' => 'US',
'appsallowlist' =>
array (
),
);
The output of your Apache/nginx/system log in /var/log/____
:
Sorry, no idea where to find the apache logs in Nextcloud AIO - can provide later