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.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.