Can't install apps on newly installed Nextcloud

The Basics

  • Nextcloud Server version (e.g., 29.x.x): v30 using docker:latest
  • Operating system and version (e.g., Ubuntu 24.04): Ubuntu 24.04
  • Web server and version (e.g, Apache 2.4.25): 2.4.62
  • Reverse proxy and version _(e.g. nginx 1.27.2): HAProxy on pfSense
  • PHP version (e.g, 8.3): 8.2.26
  • Is this the first time you’ve seen this error? (Yes / No): Yes
  • When did this problem seem to first start? During first configuration
  • Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.) Docker
  • Are you using Cloudflare, mod_security, or similar? (Yes / No) Not that I am aware of

Summary of the issue you are facing:

I can login using the admin account created in the beginning. But not with created accounts.

Steps to replicate it (hint: details matter!):

Install using:
redis:
image: redis
container_name: redis
command: redis-server --requirepass $REDIS_PASSWORD

nextcloud:
image: nextcloud:latest
container_name: nextcloud
restart: unless-stopped
ports:
- 8080:80
links:
- redis
volumes:
- ./appdata/nextcloud:/var/www/html
- ./nextcloudstorage:/var/www/html/data
environment:
- MYSQL_HOST=$DB_SERVER
- REDIS_HOST_PASSWORD=$REDIS_PASSWORD
env_file:
- db.env
depends_on:
- redis

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

https://pastebin.com/dBd2Vqgs

Web Browser

Nothing here.

Web server / Reverse Proxy

The reverse proxy is working. No issues.

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

<?php
$CONFIG = array (
  'htaccess.RewriteBase' => '/',
  'memcache.local' => '\\OC\\Memcache\\APCu',
  'apps_paths' =>
  array (
    0 =>
    array (
      'path' => '/var/www/html/apps',
      'url' => '/apps',
      'writable' => false,
    ),
    1 =>
    array (
      'path' => '/var/www/html/custom_apps',
      'url' => '/custom_apps',
      'writable' => true,
    ),
  ),
  'upgrade.disable-web' => true,
  'instanceid' => 'ocix8oefv3qf',
  'passwordsalt' => '***',
  'secret' => '***',
  'trusted_domains' =>
  array (
    0 => 'cloud.doamin.cloud',
  ),
  'datadirectory' => '/var/www/html/data',
  'dbtype' => 'mysql',
  'version' => '30.0.3.2',
  'overwrite.cli.url' => 'http://cloud.doamin.cloud',
  'dbname' => 'nextcloud',
  'dbhost' => '10.1.1.0',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'mysql.utf8mb4' => true,
  'dbuser' => 'nextcloud',
  'dbpassword' => '***',
  'installed' => true,
  'loglevel' => 0,
);
1 Like

You just added a topic and ignored the support template.

How to help you without that information?

Have you searched the forum before posting?

Sorry I will repost with the template. And ofc I have searched. :smiley:

1 Like

Just modify (you can edit it) your original topic and add content

1 Like

Modified and hopefully it contains what the issue is.

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