Password not being applied when creating public link

System Overview

  • Nextcloud Server version (e.g., 29.x.x):
    • 31.0.8
  • Operating system and version (e.g., Ubuntu 24.04):
    • Ubuntu 24.04
  • Web server and version (e.g, Apache 2.4.25):
    • NGINX 1.28.0
  • PHP version (e.g, 8.3):
    • 8.3
  • Database version:
    • MariaDB 11.4

Summary

When creating a public link, replacing the auto-generated password from Nextcloud to a different value, it doesn’t save the new password to the database or caches it properly. When attempting to access the public link and using the newly set password, it returns the error page below.


Steps to replicate it:

  1. Go to any folder/file and click “Create public link”
  2. Replace the auto-generated password in the “Enter a password” prompt to something else
  3. Click “Create share”
  4. Access the public link and type in the password (Should result in error page above)

Troubleshooting

I have done the following in my attempt to troubleshoot the issue

  • Avoid using special characters in password
  • Using simple passwords (e.g Test1234)
  • Making sure the password is compliant with password policy set in Security settings
1 Like

We experience the same issue after upgrading Nextcloud from 31.0.7 to 31.0.8.
In our case, the issue is limited to external shares using SMB/CIFS.

Also in addition to the public link issue, when using an email as a mean to share, a pop-up on the top right corner appears: Error creating the share: Cannot increase permissions of <Path to folder or file to be shared>

Interesting, we are using NFS for holding the user data, perhaps there is some relation.

Exactly the same story after upgrading Nextcloud from 31.0.7 to 31.0.8

Any update ?

Is anyone handling this case?

Hello everyone,

we also observed this behavior on our systems in version 31.0.8 and now also in version 31.0.9.
This seems to affect the quickwizard that appears when creating the share.
The share is created, but despite the change, it only works with the default password.
If you then edit the share and re-enter the desired password, it also works.
However, the change in the QuickWizard is not applied.

Best regards

Exactly same problem with NextCloud (31.0.8).

We’re new users of NextCloud hosted by Netzner.com and are about to roll out. This problem hinders the rollout.

We need this to be fixed befre we can roll out. Thanks.

It looks like the issue is known and is going to be fixed in 31.0.10: