Skip to content

[Bug]: Upgrade to 32.0.6 breaks existing SFTP connections with custom ports #58293

@kylespencer

Description

@kylespencer

⚠️ This issue respects the following points: ⚠️

Bug description

Upgrading to 32.06 appears to have introduced a "port" field for SFTP External Storage connections which broke existing SFTP connections with custom ports until the port number was migrated from the hostname field (IP:PORT) to the port field.

This caused directory listings which include SFTP External Storage locations to fail to display in Files with a vague error.

The cause of this problem was not clear from the logs, so I am documenting it here in case anyone else encounters the same problem.

Steps to reproduce

  1. Upgrade to 32.06 with SFTP External Storage with a custom port in the hostname field (IP:PORT)
  2. Fail to load Files locations when SFTP External Storage is involved

Expected behavior

  1. Upgrade to 32.06 with SFTP External Storage with a custom port IP:PORT
  2. See Warning message in Administration that recommends migrating the port number to the new field

Nextcloud Server version

32

Operating system

None

PHP engine version

None

Web server

None

Database engine version

None

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

Updated from a MINOR version (ex. 32.0.1 to 32.0.2)

Are you using the Nextcloud Server Encryption module?

None

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

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions