registration icon indicating copy to clipboard operation
registration copied to clipboard

Register not working (worked previously)

Open ulllupollllo opened this issue 1 year ago • 5 comments

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' => '[email protected]', '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) ...

ulllupollllo avatar Feb 27 '24 17:02 ulllupollllo

Please provide nextcloud.log as the template requests.

The only information given is:

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?)

Which makes me think the issue is not with this application.

tcitworld avatar Feb 27 '24 17:02 tcitworld

im pretty sure that error was already there when it was working, everithing else is working just fine

ulllupollllo avatar Feb 27 '24 18:02 ulllupollllo

Again, please post the details of the error displayed and the contents of your nextcloud.log file when doing the action. Otherwise I can't be of much help.

tcitworld avatar Feb 28 '24 16:02 tcitworld

as i previously said there are no errors, the log is empty my fault for not knowing how to properly use the template

ulllupollllo avatar Feb 28 '24 16:02 ulllupollllo

You mentionned

big red error on the register page

What's the error text in question?

About the logfile not containing anything, you may try to lower the loglevel (to DEBUG) to see if anything else comes up: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/logging_configuration.html

tcitworld avatar Mar 04 '24 17:03 tcitworld