nextcloud_ynh icon indicating copy to clipboard operation
nextcloud_ynh copied to clipboard

Cannot login in Nextcloud — password marked as wrong even if right

Open xplosionmind opened this issue 3 years ago • 1 comments

Related forum thread

My YunoHost server

Hardware: Contabo VPS YunoHost version: 4.2.5.2 I have access to my server : SSH and browser Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no


Description of my issue

I managed to login in my Nextcloud instance only once after its installation. I changed nothing in Nextcloud (just deleted the default files in the cloud space), but all of the following login attempts fail, even if I am sure that the password is right, since it corresponds to the Yunohost account Nextcloud belongs to.

  • The password is exclusively alpha-numeric
  • I tried logging in from other browsers/devices/IP addresses
  • I tried reinstalling the app from scratch
  • This happens both if I log in after clicking on the button from the Yunohost panel of if I type the cloud address directly.

Steps to reproduce

sudo yunohost app install nextcloud

Expected behavior

Login correctly, since the password is right.


Logs

sudo yunohost app install nextcloud
Choose the domain where this app should be installed [matto.club | tommi.nohost.me | assets.tommi.space | cloud.tommi.space | docs.tommi.space | inputs.tommi.space | server.tommi.space | vpn.tommi.space | wallet.tommi.space] (default: server.tommi.space): cloud.tommi.space
Choose the path where this app should be installed (default: /nextcloud): /
Choose an administrator user for this app [tommi] (default: tommi):
Access the users home folder from Nextcloud? [yes | no] (default: no): yes
Info: Installing nextcloud...
Info: [....................] > Validating installation parameters...
Info: [....................] > Storing installation settings...
Info: [+...................] > Installing dependencies...
Warning: Load smb config files from /etc/samba/smb.conf
Warning: Loaded services file OK.
Warning: Server role: ROLE_STANDALONE
Info: [#+..................] > Creating a MySQL database...
Info: [##..................] > Setting up source files...
Info: [##..................] > Configuring system user...
Info: [##++++++++..........] > Configuring PHP-FPM...
Info: [##########+.........] > Configuring NGINX web server...
Info: [###########++++.....] > Installing Nextcloud...
Info: [###############++...] > Configuring Nextcloud...
Info: [#################+..] > Adding multimedia directories...
Info: [##################..] > Configuring log rotation...
Info: [##################+.] > Configuring Fail2Ban...
Info: The service fail2ban has correctly executed the action reload-or-restart.
Info: [###################.] > Configuring SSOwat...
Warning: /!\ Packagers! You are probably using a lua regex. You should use a PCRE regex instead.
Info: [###################.] > Reloading NGINX web server...
Info: [####################] > Installation of nextcloud completed
Success! Installation completed

xplosionmind avatar May 28 '21 17:05 xplosionmind

Exact same thing here after a fresh install. Just clean your cache or try via the incognito function.

Kazfr avatar Sep 17 '21 22:09 Kazfr

I just noticed this issue is still open. I have never had this problem again.

xplosionmind avatar Nov 18 '22 14:11 xplosionmind