Getting an error when loading apps in the App Store

When opening the app store with an error
An error occurred during the request. Unable to proceed.

1 Like

Hello @imaneb, ,

Welcome to the wonderful world of Nextcloud and is it’s community.

Sadly enough your post is missing almost all specific technical information. Thanks for your post, but please take a little time to get acquainted with the forum and make a stronger effort to troubleshoot. It is the least you can do when asking others to help you:

  • Search your question as keywords on this forum. If you find something useful, link it directly into this post.
  • Search the internet using your issue as generic keywords. Specificity is king:
    • php modules missing Ubuntu Snap update
  • If you have an error message, repeat this process to search for your error on the forum and internet.
  • If you do not find an answer, you are likely using the wrong keywords. Try simplifying your search on the forum and internet even more.
    • nextcloud php modules missing
  • Once you’ve done this you should be able to edit and update your post with specific technical information we can use to help you.
  • Check Nextcloud admin documentation

Please edit and update your post to include:

  • Direct Links to any useful info pages, posts and other info you find.
  • Add screenshots to your post for context
  • If you have large log files to attach you can link to a pastebin
  • Fill out our support form and add into your post.

These are the exact same steps we volunteers will be following to help you! So, get to it!

Cheerio,
JimmyKater

Hello everybody, I just installed Nextcloud 25 and I’m facing the same issue : application list doesn’t show up. Here is my log :

[index] Erreur: Exception: Argument 1 passed to OC\App\PlatformRepository::normalizeVersion() must be of the type string, null given, called in [root]/lib/private/App/PlatformRepository.php on line 53 in file ‘[root]/lib/private/App/PlatformRepository.php’ line 148 at <>

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

GET /index.php/settings/apps/list

Seems it couldn’t get version number… Do you know how to solve this issue on this fresh install ?
Thanks ! :slight_smile:

Solution

Change PlatformRepository.php line 148

from

public function normalizeVersion(string $version, ?string $fullVersion = null): string {

to

public function normalizeVersion($version, $fullVersion = null) {


For others reading this, the full path is /lib/private/app/PlatformRepository.php
Also, keep in mind that you will now fail the integrity check when the changes are done.

I had this issue in NC25, thinking that upgrading to NC25.0.1 would fix it. Nope, it reverted back to the same. So, for the sake of less errors, I am leaving it be and updating from console. But I assume this will be useful for those who do not have access to console.

Cheers.

Hope they get around to fixing it.

1 Like

It’s now working, thank you !

1 Like

@pokpok

Be aware, you will get some spamming on your log file with this fix. It does not hurt the usage but it will up the size of your logs in the app folder.

Nevertheless, you are very welcome.
Cheers.