Skip to content

Conversation

@kesselb
Copy link
Contributor

@kesselb kesselb commented Feb 9, 2026

The occ files_external_backends command is supposed to list available backends along with their configuration options.

For the SMB backend, only the timeout option is currently shown, while options like host, share, root, and domain are missing. This makes configuring external storage via occ complicated.

Since the timeout option is marked as hidden but still shown, while the other options are not, the logic needs to be inverted so that all relevant configuration options are displayed correctly.

Summary

B A
Screenshot From 2026-02-09 17-34-30 image

TODO

  • ...

Checklist

The occ files_external_backends command is supposed to list available backends along with their configuration options.

For the SMB backend, only the timeout option is currently shown, while options like host, share, root, and domain are missing. This makes configuring external storage via occ complicated.

Since the timeout option is marked as hidden but still shown, while the other options are not, the logic needs to be inverted so that all relevant configuration options are displayed correctly.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
@kesselb kesselb requested a review from a team as a code owner February 9, 2026 17:04
@kesselb kesselb requested review from Altahrim, ArtificialOwl, leftybournes and salmart-dev and removed request for a team February 9, 2026 17:04
@kesselb kesselb self-assigned this Feb 9, 2026
@kesselb kesselb added bug 3. to review Waiting for reviews labels Feb 9, 2026
@kesselb kesselb added this to the Nextcloud 34 milestone Feb 9, 2026
@kesselb
Copy link
Contributor Author

kesselb commented Feb 9, 2026

It's unclear from the given code, if hidden is only flag to show that parameter in the ui or not, or if there's another reason to also hide them from the occ command 🤷

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant