Skip to content

[Bug]: Password is required for log-in credentials in External storage config #52227

@zc-devs

Description

@zc-devs

⚠️ This issue respects the following points: ⚠️

Bug description

Cannot change External storage settings because of required password field when using Log-in credentials, save in session or Log-in credentials, save in database. This settings should not request password at all.

Steps to reproduce

  1. Run Nextcloud
docker run -p 8080:80 nextcloud:31.0
  1. Initialize it: go to http://localhost:8080, enter admin's login and password, hit Install
  2. Enable External storage app: go to Menu - Apps - Disabled apps, enable External storage support
  3. Go to Administration settings - External storage
  4. Add new WebDAV storage, for example
  5. Choose Log-in credentials, save in session or Log-in credentials, save in database in Authentication column
  6. See that either of them requires some password

Image
Image

Expected behavior

  1. Run Nextcloud
docker run -p 8080:80 nextcloud:28.0
  1. Initialize it: go to http://localhost:8080, enter admin's login and password, hit Install
  2. Enable External storage app: go to Menu - Apps - Disabled apps, enable External storage support
  3. Go to Administration settings - External storage
  4. Add new WebDAV storage, for example
  5. Choose Log-in credentials, save in session or Log-in credentials, save in database in Authentication column
  6. See that there is no password field and you can save the settings

Image
Image

Nextcloud Server version

31

Operating system

None

PHP engine version

None

Web server

Apache (supported)

Database engine version

None

Is this bug present after an update or on a fresh install?

None

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

List of activated Apps

Nextcloud Signing status

Nextcloud Logs

Additional info

It was discovered on version 29 for SMB storage, using docker image, Postgres database and LDAP authentication. This instance is very old and was migrated from virtual machine a couple of years ago. SMB storage works fine there, I just can't change the settings now (or create new entries).

However, the issue appears for WebDAV (as well as FTP, SFTP, Nextcloud) external storages also using apache docker images starting from the latest 29 through 31, fresh install with SQLite database and default authentication.

The latest 28 version works great.

Metadata

Metadata

Assignees

Type

No type

Projects

Status

☑️ Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions