Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Register not working (worked previously) #626

Open
ulllupollllo opened this issue Feb 27, 2024 · 5 comments
Open

Register not working (worked previously) #626

ulllupollllo opened this issue Feb 27, 2024 · 5 comments

Comments

@ulllupollllo
Copy link

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) ...
@tcitworld
Copy link
Member

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.

@ulllupollllo
Copy link
Author

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

@tcitworld
Copy link
Member

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.

@ulllupollllo
Copy link
Author

ulllupollllo commented Feb 28, 2024

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

@tcitworld
Copy link
Member

tcitworld commented Mar 4, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants