Issue after upgrading Nextcloud from version 29 to 31.0.5:
After upgrading to Nextcloud 31.0.5, we are encountering an issue with a public share link (external share) through email. The link works correctly when accessed in an incognito window or when users are logged out.
However, when users are logged in, the behavior becomes inconsistent:
For some logged-in users, the link works as expected and shows the shared content.
For other logged-in users, the same link shows an error: “Share not found.”
maintenance:repair-share-owner Fix some shares owner if it felt out of sync
Not sure if other perhaps invalid shares might create such an issue. And the other users/public share you can access the share and the files are really present (and downloadable)?
There is already 31.0.6, and later this week 31.0.7. I haven’t spotted your issue in the changelogs, but such kind of bugs might be repaired and before submitting a bug report, it’s worth checking with the latest version.
After reviewing the issue, The affected users were added to the “Exclude groups from creating link shares” setting. As expected, members of these groups are restricted from generating public share links.
However, the issue was that these users were also unable to receive or view public share links shared with them. When they attempted to access such links, they were shown a “Share not found” screen. This behavior was due to a condition on code that checked is this user is on excluded group when accessing public share links.The issue is resolved.