nextcloud / nextcloud/server

Error "Failed to update share" by setting password - error message does not show the cause

Open
#50,075 2 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. Needs triage 30-feedback bug feature: authentication feature: sharing
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Hello,

When I want to set a password for a share, I only get the error message “failed to update share”, but not why this did not work.
However, the solution is in the log file, but you can't see it as a normal user.

“The password must be at least 10 characters long. The password is included in the list of compromised passwords. Please choose a different password. ”

The error message should be adjusted, or the cause should be displayed directly below the password input field.

I am using Nextcloud 30.0.4

Tom

Translated with DeepL.com (free version)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the password-setting flow for a share in Nextcloud 30.0.4 and compare the visible error with the detailed message in the log file. Done means the password validation cause, such as minimum length or compromised-password rejection, is shown to the user near the password input or in the error message.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.