MediJaster
Dabbler
- Joined
- Feb 21, 2022
- Messages
- 10
Hello everyone!
As the title says, my new nextcloud (from the official apps) install works perfectly for everything it can do offline, e.g. uploading and viewing files, creating other users etc. But right from the dashboard the first problem pops-up: the interface can't seem to look up weather information, and I can confirm this by viewing logs from nextcloud's settings:
Now, if the problem was limited to the weather widget not working, I could have peacefully lived without it, but I also cannot browse or install any third-party apps.
I don't really know where to start troubleshooting, I tried stopping and starting the container twice and I also confirmed TrueNAS is giving internet access to docker apps because I could use curl inside a plex container and it worked normally.
Thank you for taking the time to read this, Please ask for anything that would help investigate this and I'll do my best to provide it to you.
As the title says, my new nextcloud (from the official apps) install works perfectly for everything it can do offline, e.g. uploading and viewing files, creating other users etc. But right from the dashboard the first problem pops-up: the interface can't seem to look up weather information, and I can confirm this by viewing logs from nextcloud's settings:
https://api.met.no/weatherapi/locationforecast/2.0/compactAPI error : GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to api.met.no port 443: No route to host (see https://curl.haxx.se/libcurl/c/libcurl-errors.html)
Now, if the problem was limited to the weather widget not working, I could have peacefully lived without it, but I also cannot browse or install any third-party apps.
[internet_connection_check] Error: GuzzleHttp\Exception\ConnectException: cURL error 7: Failed to connect to www.nextcloud.com port 80: No route to host (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for http://www.nextcloud.com/ 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 150
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 226
GuzzleHttp\Client->request("*** sensitive parameters replaced ***", "http://www.nextcloud.com/", ["/var/www/html/ ... "])
14. /var/www/html/apps/settings/lib/Controller/CheckSetupController.php line 212
OC\Http\Client\Client->get("http://www.nextcloud.com/")
15. /var/www/html/apps/settings/lib/Controller/CheckSetupController.php line 194
OCA\Settings\Controller\CheckSetupController->isSiteReachable("www.nextcloud.com")
16. /var/www/html/apps/settings/lib/Controller/CheckSetupController.php line 888
OCA\Settings\Controller\CheckSetupController->hasInternetConnectivityProblems()
17. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 230
OCA\Settings\Controller\CheckSetupController->check()
18. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 137
OC\AppFramework\Http\Dispatcher->executeController(["OCA\\Settings\ ... "], "check")
19. /var/www/html/lib/private/AppFramework/App.php line 183
OC\AppFramework\Http\Dispatcher->dispatch(["OCA\\Settings\ ... "], "check")
20. /var/www/html/lib/private/Route/Router.php line 315
OC\AppFramework\App::main("OCA\\Settings\\ ... r", "check", ["OC\\AppFramewo ... "], ["settings.CheckSetup.check"])
21. /var/www/html/lib/base.php line 1064
OC\Route\Router->match("/settings/ajax/checksetup")
22. /var/www/html/index.php line 36
OC::handleRequest()
GET /settings/ajax/checksetup
from {{my-local-ip}} by medijaster at 2023-06-17T16:28:28+00:00
I don't really know where to start troubleshooting, I tried stopping and starting the container twice and I also confirmed TrueNAS is giving internet access to docker apps because I could use curl inside a plex container and it worked normally.
Thank you for taking the time to read this, Please ask for anything that would help investigate this and I'll do my best to provide it to you.