Problem logging in and don't get the password reset email

Nextcloud version (eg, 29.0.5): AIO 9.5.1
Operating system and version (eg, Ubuntu 24.04): Win11
Apache or nginx version (eg, Apache 2.4.25): Docker
PHP version (eg, 8.3): Docker
The issue you are facing:

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

Steps to replicate it:

  1. https://XXXX.duckdns.org/login?direct=1&user=admin

The output of your Nextcloud log in Admin > Logging:

I can't log in to get it

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


CONTAINER ID   IMAGE                              COMMAND                  CREATED             STATUS
    PORTS                                                                          NAMES
15cee7615c8b   php:8-cli                          "docker-php-entrypoi…"   28 minutes ago      Up 28 minutes
                                                                                   competent_chatelet
94073cccb256   nextcloud/aio-apache:latest        "/start.sh /usr/bin/…"   59 minutes ago      Up 59 minutes (healthy)      80/tcp, 0.0.0.0:443->443/tcp, 0.0.0.0:443->443/udp                             nextcloud-aio-apache
6e819b87bd4a   nextcloud/aio-notify-push:latest   "/start.sh"              About an hour ago   Up 59 minutes (healthy)                                                                                     nextcloud-aio-notify-push
c319bc13f190   nextcloud/aio-nextcloud:latest     "/start.sh /usr/bin/…"   About an hour ago   Up About an hour (healthy)   9000/tcp                                                                       nextcloud-aio-nextcloud
6a03760d823f   nextcloud/aio-imaginary:latest     "/start.sh"              About an hour ago   Up About an hour (healthy)                                                                                  nextcloud-aio-imaginary
434c50b18384   nextcloud/aio-redis:latest         "/start.sh"              About an hour ago   Up About an hour (healthy)   6379/tcp                                                                       nextcloud-aio-redis
ab7d1dde085b   nextcloud/aio-postgresql:latest    "/start.sh"              About an hour ago   Up About an hour (healthy)   5432/tcp                                                                       nextcloud-aio-database
96e97f6b1175   nextcloud/aio-talk:latest          "/start.sh superviso…"   About an hour ago   Up About an hour (healthy)   0.0.0.0:3478->3478/tcp, 0.0.0.0:3478->3478/udp                                 nextcloud-aio-talk
718133cc60a1   nextcloud/aio-collabora:latest     "/start-collabora-on…"   About an hour ago   Up About an hour (healthy)   9980/tcp                                                                       nextcloud-aio-collabora
fd0a032207e3   nextcloud/all-in-one:latest        "/start.sh"              7 days ago          Up 2 hours (healthy)         0.0.0.0:80->80/tcp, 0.0.0.0:8080->8080/tcp, 0.0.0.0:8443->8443/tcp, 9000/tcp   nextcloud-aio-mastercontainer

C:\Users\XXX>docker exec -it nextcloud-aio-nextcloud /bin/bash
Warning: You have logged in into the Nextcloud container as root user.
See https://github.com/nextcloud/all-in-one#how-to-run-occ-commands if you want to run occ commands.
Apart from that, you can use 'sudo -u www-data -E php occ <your-command>' in order to run occ commands.
Of course <your-command> needs to be substituted with the command that you want to use.
c319bc13f190:/var/www/html# cd /var/www/html/config
c319bc13f190:/var/www/html/config# cat config.php
<?php
$CONFIG = array (
  'one-click-instance' => true,
  'one-click-instance.user-limit' => 100,
  '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,
    ),
  ),
  'check_data_directory_permissions' => false,
  'memcache.distributed' => '\\OC\\Memcache\\Redis',
  'memcache.locking' => '\\OC\\Memcache\\Redis',
  'redis' =>
  array (
    'host' => 'nextcloud-aio-redis',
    'password' => '510eb0d330fc590d752bc8c4e363c052aca77b500875fb6f',
    'port' => 6379,
  ),
  'overwritehost' => 'XXX.duckdns.org',
  'overwriteprotocol' => 'https',
  'passwordsalt' => 'jRZn3JzhimVK8R1KTeB66rM4FyMGkE',
  'secret' => '8iQj0ZjgCuMMaNJuK250RssrcugDlEukYI2dhYS+hPbObhDU',
  'trusted_domains' =>
  array (
    0 => 'localhost',
    1 => 'xxx.duckdns.org',
  ),
  'datadirectory' => '/mnt/ncdata',
  'dbtype' => 'pgsql',
  'version' => '30.0.0.14',
  'overwrite.cli.url' => 'https://XXX.duckdns.org/',
  'dbname' => 'nextcloud_database',
  'dbhost' => 'nextcloud-aio-database:5432',
  'dbport' => '',
  'dbtableprefix' => 'oc_',
  'dbuser' => 'oc_nextcloud',
  'dbpassword' => '4f4d00cbf1d0b99081597120f701f5cddc34c90cbcb75061',
  'installed' => true,
  'instanceid' => 'oc6e2yh59iiv',
  'maintenance' => false,
  'updatedirectory' => '/nc-updater',
  'loglevel' => 2,
  'app_install_overwrite' =>
  array (
    0 => 'nextcloud-aio',
  ),
  'log_type' => 'file',
  'logfile' => '/var/www/html/data/nextcloud.log',
  'log_rotate_size' => 10485760,
  'log.condition' =>
  array (
    'apps' =>
    array (
      0 => 'admin_audit',
    ),
  ),
  'preview_max_x' => 2048,
  'preview_max_y' => 2048,
  'jpeg_quality' => 60,
  'enabledPreviewProviders' =>
  array (
    1 => 'OC\\Preview\\Image',
    2 => 'OC\\Preview\\MarkDown',
    3 => 'OC\\Preview\\MP3',
    4 => 'OC\\Preview\\TXT',
    5 => 'OC\\Preview\\OpenDocument',
    6 => 'OC\\Preview\\Movie',
    7 => 'OC\\Preview\\Krita',
    0 => 'OC\\Preview\\Imaginary',
  ),
  'enable_previews' => true,
  'upgrade.disable-web' => true,
  'mail_smtpmode' => 'smtp',
  'trashbin_retention_obligation' => 'auto, 30',
  'versions_retention_obligation' => 'auto, 30',
  'activity_expire_days' => 30,
  'simpleSignUpLink.shown' => false,
  'share_folder' => '/Shared',
  'one-click-instance.link' => 'https://nextcloud.com/all-in-one/',
  'upgrade.cli-upgrade-link' => 'https://github.com/nextcloud/all-in-one/discussions/2726',
  'maintenance_window_start' => 100,
  'allow_local_remote_servers' => true,
  'davstorage.request_timeout' => 3600,
  'htaccess.RewriteBase' => '/',
  'dbpersistent' => false,
  'auth.bruteforce.protection.enabled' => true,
  'ratelimit.protection.enabled' => true,
  'files_external_allow_create_new_local' => false,
  'trusted_proxies' =>
  array (
    0 => '127.0.0.1',
    1 => '::1',
    10 => '172.18.0.0/16',
  ),
  'preview_imaginary_url' => 'http://nextcloud-aio-imaginary:9000',
  'preview_imaginary_key' => '782189796f0d613534fc1c8480742f4bf259c410072b1d89',
);
c319bc13f190:/var/www/html/config#

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

docker logs nextcloud-aio-apache Waiting for Nextcloud to start... Waiting for Nextcloud to start... Waiting for Nextcloud to start... Connection to nextcloud-aio-nextcloud (172.18.0.8) 9000 port [tcp/*] succeeded! [Mon Sep 23 20:22:59.482775 2024] [mpm_event:notice] [pid 47:tid 47] AH00489: Apache/2.4.62 (Unix) configured -- resuming normal operations [Mon Sep 23 20:22:59.482820 2024] [core:notice] [pid 47:tid 47] AH00094: Command line: '/usr/local/apache2/bin/httpd -D FOREGROUND' {"level":"info","ts":1727122979.5022125,"msg":"using config from file","file":"/tmp/Caddyfile"} {"level":"info","ts":1727122979.5034935,"msg":"adapted config to JSON","adapter":"caddyfile"} {"level":"info","ts":1727122979.5048223,"msg":"failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 7168 kiB, got: 416 kiB). See https://github.com/quic-go/quic-go/wiki/UDP-Buffer-Sizes for details."}```


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.

I can’t log in to run it

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