nextcloud / nextcloud/registration

Register not working (worked previously)

Open
#626 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

needs info
Dominant language
JavaScript
Stars
147
Forks
83
Avg merge
1d 2h
Merged PRs (30d)
9

Description

Steps to reproduce

try registering a new user using the registration page

Expected behaviour

user should receive an email

Actual behaviour

big red error on the register page

Server configuration

Operating system: ubuntu 22.04

Web server: nginx

Database: mariadb

PHP version: 8.2

Nextcloud version: (see Nextcloud admin page) 28.0.2

Updated from an older Nextcloud/ownCloud or fresh install: updated

Where did you install Nextcloud from: official website

Signing status:

Signing status
Login as admin user into your Nextcloud and access 
http://example.com/index.php/settings/integrity/failed 
paste the results here.

No errors have been found.

List of activated apps:

![image](https://github.com/nextcloud/registration/assets/82157501/b9515e55-3068-4143-b62a-d1f7a8ffa2b8)
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder

An unhandled exception has been thrown:
OCP\HintException: [0]: Memcache OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)

The content of config/config.php:

Config report '***********************', 'passwordsalt' => '************************', 'secret' => '*************************************', 'trusted_domains' => array ( 0 => 'cloud.ilarity.net', ), 'datadirectory' => '/var/www/nextcloud/data', 'dbtype' => 'mysql', 'version' => '28.0.2.5', 'overwrite.cli.url' => 'https://cloud.ilarity.net', 'dbname' => 'nextcloud', 'dbhost' => 'data.ilarity.net', 'dbport' => '3306', 'dbtableprefix' => 'oc_', 'mysql.utf8mb4' => true, 'dbuser' => 'oc_PolloCloud', 'dbpassword' => '**************', 'installed' => true, 'mail_smtpmode' => 'smtp', 'mail_smtphost' => 'mail.ilarity.net', 'mail_sendmailmode' => 'smtp', 'mail_smtpport' => '587', 'mail_from_address' => 'administration', 'mail_domain' => 'ilarity.net', 'mail_smtpauth' => 1, 'mail_smtpname' => 'administration@ilarity.net', 'mail_smtppassword' => '**********', 'memcache.local' => '\\OC\\Memcache\\APCu', 'memcache.locking' => '\\OC\\Memcache\\APCu', 'memcache.distributed' => '\\OC\\Memcache\\APCu', 'app_install_overwrite' => array ( 0 => 'files_markdown', ), 'maintenance' => false, 'updater.secret' => '+*', 'theme' => '', 'loglevel' => 2, );
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

An unhandled exception has been thrown:
OCP\HintException: [0]: Memcache OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?)

or 

Insert your config.php content here
(Without the database password, passwordsalt and secret)

Are you using external storage, if yes which one: local/smb/sftp/... no

Are you using encryption: yes/no no (not sure)

Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/... no

With access to your command line run e.g.:
sudo -u www-data php occ ldap:show-config
from within your Nextcloud installation folder

same as previous commands

Without access to your command line download the data/owncloud.db to your local
computer or access your SQL server remotely and run the select query:
SELECT * FROM `oc_appconfig` WHERE `appid` = 'user_ldap';


Eventually replace sensitive data as the name/IP-address of your LDAP server or groups.
Client configuration

Browser: Brave

Operating system: Windows 11

Logs
Web server error log
Web server error log no errors in the log
Insert your webserver log here no errors in my webserver log
Nextcloud log (data/nextcloud.log)
Nextcloud log empty
Insert your Nextcloud log here
Browser log
Browser log
Insert your browser log here, this could for example include:

a) The javascript console log
b) The network log
c) ...

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing registration on the reported Nextcloud 28.0.2 setup and inspect the provided configuration and logs, including the APCu exception and SMTP settings. The report names no source files or tests; done means identifying the cause of the registration-page error and confirming that a new user receives the expected email.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mariadb, nginx, php
Domain
authentication, backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.