Web installer redirects to wrong URL; can't access app store

I used the Web Installer to install Nextcloud version 25.0.0. During the installation, the browser tried to go to the nonexistent

https://nextcloud/index.php/core/apps/recommended

instead of

https://(my website name)/nextcloud/index.php/core/apps/recommended

When I manually entered the correct URL, the page said “Could not fetch list of apps from the App Store.”

Now I can see the Nextcloud dashboard as admin, but when I go to “Apps” it says “An error occurred during the request. Unable to proceed.”

The log has eight lines like this:

[no app in context] Warning: Could not detect any host in https:///nextcloud/data/htaccesstest.txt
 
GET /nextcloud/index.php/apps/photos/service-worker.js
from 68.203.96.183 at 2022-10-23T15:34:31+00:00

and a bunch of lines like this:

[index] Error: Exception: OC\App\PlatformRepository::normalizeVersion(): Argument #1 ($version) must be of type string, null given, called in /home4/gloriott/public_html/nextcloud/lib/private/App/PlatformRepository.php on line 53 in file '/home4/gloriott/public_html/nextcloud/lib/private/App/PlatformRepository.php' line 148 at <<closure>>

0. /home4/gloriott/public_html/nextcloud/lib/private/AppFramework/App.php line 172
   OC\AppFramework\Http\Dispatcher->dispatch(OCA\Settings\Con ... {}, "listApps")
1. /home4/gloriott/public_html/nextcloud/lib/private/Route/Router.php line 298
   OC\AppFramework\App::main("OCA\\Settings\\ ... r", "listApps", OC\AppFramework\ ... {}, ["settings.AppSettings.listApps"])
2. /home4/gloriott/public_html/nextcloud/lib/base.php line 1047
   OC\Route\Router->match("/settings/apps/list")
3. /home4/gloriott/public_html/nextcloud/index.php line 36
   OC::handleRequest()

GET /nextcloud/index.php/settings/apps/list
from 68.203.96.183 by admin at 2022-10-23T15:35:31+00:00
1 Like

Hi @dodecahedron I ran into this problem as well, not exact your error but basically the App list and downloading is blank.

I found this other thread that solved for me, hopefully it will for you as well. Web installer redirects to wrong URL; can’t access app store - :construction: Installation - Nextcloud community

I think you accidentally linked to the thread we’re in now.

Hi @dodecahedron sorry! You are absolutely right and apology for the very late response. This was the thread I meant to link… hopefully it work for you.

Apps page error after update to 25 - #7 by cloudio - :information_source: Support - Nextcloud community