Unable to access app store or install apps, but app updates work

Support intro

Sorry to hear you’re facing problems :slightly_frowning_face:

help.nextcloud.com is for home/non-enterprise users. If you’re running a business, paid support can be accessed via portal.nextcloud.com where we can ensure your business keeps running smoothly.

In order to help you as quickly as possible, before clicking Create Topic please provide as much of the below as you can. Feel free to use a pastebin service for logs, otherwise either indent short log examples with four spaces:

example

Or for longer, use three backticks above and below the code snippet:

longer
example
here

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can :heart:

Nextcloud version (eg, 29.0.5): 29.0.6
Operating system and version (eg, Ubuntu 24.04): FreeBSD 14.1
Apache or nginx version (eg, Apache 2.4.25): nginx/1.26.2
PHP version (eg, 8.3): 8.3

The issue you are facing:

I cannot access the app discovery page, nor can I install apps using occ app:install. The web interface does, however, regularly offer me app updates and I can install them, too.

Is this the first time you’ve seen this error? (Y/N): N

Steps to replicate it:

  1. Click on “Apps” in the menu
  2. ???
  3. Profit See error message

The output of your Nextcloud log in Admin > Logging:

{
  "reqId": "ApGIWWPmMTTzo7zzT2jI",
  "level": 2,
  "time": "2024-09-23T10:36:55+00:00",
  "remoteAddr": "78.31.198.96",
  "user": "zilti",
  "app": "appstoreFetcher",
  "method": "GET",
  "url": "/settings/apps/list",
  "message": "Could not get apps from the appstore",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64; rv:129.0) Gecko/20100101 Firefox/129.0",
  "version": "29.0.6.1",
  "data": {
    "app": "appstoreFetcher"
  },
  "id": "66f1452ee296e"
}

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):

<?php
$CONFIG = array (
  'allow_local_remote_servers' => true,
  'apps_paths' => 
  array (
    0 => 
    array (
      'path' => '/usr/local/www/nextcloud/apps',
      'url' => '/apps',
      'writable' => true,
    ),
    1 => 
    array (
      'path' => '/usr/local/www/nextcloud/apps-pkg',
      'url' => '/apps-pkg',
      'writable' => false,
    ),
  ),
  'filelocking.enabled' => false,
  'logfile' => '/var/log/nextcloud/nextcloud.log',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'instanceid' => 'redacted',
  'passwordsalt' => 'redacted',
  'secret' => 'redacted',
  'trusted_domains' => 
  array (
    0 => 'redacted',
  ),
  'datadirectory' => '/usr/local/www/nextcloud/data',
  'dbtype' => 'pgsql',
  'version' => '29.0.6.1',
  'overwrite.cli.url' => 'https://redacted/',
  'dbname' => 'nextcloud',
  'dbhost' => '127.0.0.1:5432',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'nextcloud',
  'dbpassword' => 'redacted',
  'installed' => true,
  'mail_smtpmode' => 'smtp',
  'mail_smtpauth' => 1,
  'mail_sendmailmode' => 'smtp',
  'tempdirectory' => '/tmp/nextcloud',
  'theme' => '',
  'loglevel' => 0,
  'maintenance' => false,
  'check_data_directory_permissions' => false,
  'mail_from_address' => 'noreply',
  'mail_domain' => 'redacted',
  'mail_smtphost' => 'redacted',
  'mail_smtpport' => '465',
  'mail_smtpname' => 'noreply',
  'mail_smtppassword' => 'redacted',
  'memories.exiftool_no_local' => true,
  'memories.vod.path' => '/usr/local/www/nextcloud/apps/memories/bin-ext/go-vod-amd64',
  'memories.vod.ffmpeg' => '/usr/local/bin/ffmpeg',
  'memories.vod.ffprobe' => '/usr/local/bin/ffprobe',
  'enabledPreviewProviders' => 
  array (
    0 => 'OC\\Preview\\Image',
    1 => 'OC\\Preview\\HEIC',
    2 => 'OC\\Preview\\TIFF',
    3 => 'OC\\Preview\\Movie',
    20 => 'OC\\Preview\\Movie',
  ),
  'preview_max_x' => 1024,
  'preview_max_y' => 1024,
  'preview_max_memory' => 1024,
  'preview_max_filesize_image' => 100,
  'app_install_overwrite' => 
  array (
    0 => 'camerarawpreviews',
  ),
  'mail_smtpsecure' => 'ssl',
  'memories.db.triggers.fcu' => true,
);

The output of your Apache/nginx/system log in /var/log/____:

Not relevant

Output errors in nextcloud.log in /var/www/ or as admin user in top right menu, filtering for errors. Use a pastebin service if necessary.

No errors
1 Like

Are you sure there’s not another log entry just before that one with more details? That code path should log some more.

Also:

  • When did this start?
  • What happens when you attempt to install via occ?

It has actually been happening since a while, but it hasn’t bothered me enough - also, at least early on it was still possible to install apps, just not possible to use the Discover section.

When I try to install via occ, I simply get an “Error: Could not download app [appname here]” error.

Just now, I was actually able to use occ app:install again, but the Discover section is still not working.

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