• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Issue set new admin password for nextcloud instance

ppliessnig

New Pleskian
Hello

I needed to change the admin password in a nextcloud instance.
Now the 'Log In' in the Plesk Nextcloud Extension can't login anymore. It simply shows the login page.

How do I teach the Nextcloud Extension to use the new admin password.

Thx
Patrick
 
Hey all,

I know this is a bit late to chime in on this, but thought this would be useful to a lot of people. If you have used NextCloud Module for Plesk to install your instance on NextCloud and have forgotten your password. The easiest method I have found to fix this is, go to the hosting space/domain that is holding the nextcloud instance, from here go to the databases, then go into the phpmyadmin for the nextcloud instance.

In here there is a table called oc_preferences.

If you create a new row with the values:

Putting your email as the configvalue, you will now be able to use the password reset function in nextcloud.

Hope this helps.
 
Hello

I needed to change the admin password in a nextcloud instance.
Now the 'Log In' in the Plesk Nextcloud Extension can't login anymore. It simply shows the login page.

How do I teach the Nextcloud Extension to use the new admin password.

Thx
Patrick
I have the same problem and recently I've found out, that the extenstion is trying to login with the inition account every 10 minutes. It means this spams the log with warnings and at some point, depending on your security settings, the account gets disabled.
I coundn't find any sollution so far. The Nextcoud extension doesn't seem to have any way to configure it, not even in the command line.
 
Unfortunately when you change password in Nextcloud directly, Nextcloud does not notify Plesk about password changes, and/or passing the password elsewhere. The password in the oc_users table of the NC database is hashed with argon2, hence Plesk cannot decrypt it. This means that once password has been changed from Nextcloud, autologin from Plesk will no longer be available. As workaround, I can only suggest updating password manually in /usr/local/psa/var/modules/nextcloud/nextcloud.sqlite3, instances table to get autologinAction() working:
  1. Backup /usr/local/psa/var/modules/nextcloud/nextcloud.sqlite3 just in case.
  2. Check and update password here:
sqlite3 /usr/local/psa/var/modules/nextcloud/nextcloud.sqlite3
sqlite> .headers on
select id,ncUser,ncPass from instances;
 
Unfortunately when you change password in Nextcloud directly, Nextcloud does not notify Plesk about password changes, and/or passing the password elsewhere. The password in the oc_users table of the NC database is hashed with argon2, hence Plesk cannot decrypt it. This means that once password has been changed from Nextcloud, autologin from Plesk will no longer be available. As workaround, I can only suggest updating password manually in /usr/local/psa/var/modules/nextcloud/nextcloud.sqlite3, instances table to get autologinAction() working:
  1. Backup /usr/local/psa/var/modules/nextcloud/nextcloud.sqlite3 just in case.
  2. Check and update password here:
Thank you!! I didn't know how to change the password in the database, so I simply set the original password in NC. Problem solved. :)
 
Back
Top