Skip to content

docs(nextcloud): document how to run occ commands - #294

Merged
stephdl merged 5 commits into
mainfrom
docs-nextcloud-totp
Nov 20, 2026
Merged

stephdl merged 5 commits into
mainfrom
docs-nextcloud-totp

Conversation

@stephdl

@stephdl stephdl commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor

I replaced the TOTP section with a generic one on how to run occ on NS8. Admins can now follow any occ procedure from the official Nextcloud manual, 2FA included, by prefixing it with runagent -m nextcloud1. I dropped the TOTP specific content because per-module 2FA will be replaced by the centralized IdP/SSO one.

@github-actions

github-actions Bot commented Nov 5, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.2
Preview removed because the pull request was closed.
2026-11-20 15:38 UTC

@DavidePrincipi DavidePrincipi left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The section is ok, but this feature is going to overlap with SSO auth: I'm not sure I want to fully document it, since the NC official manual already does it.

Let's ask @nrauso

@nrauso

nrauso commented Nov 10, 2026

Copy link
Copy Markdown
Contributor

I agree with @DavidePrincipi
I think a centralized 2FA solution, as the IdP will provide, offers several advantages over configuring 2FA separately for each module.

@DavidePrincipi

Copy link
Copy Markdown
Member

@stephdl do you agree to close this pr?
Btw the pr description doesn't say why this change is needed.

@stephdl

stephdl commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor Author

Someone contacted me because an administrator needed to remove a user's TOTP configuration after they had lost their phone. He first looked at our documentation but couldn't find anything, so he turned to the official Nextcloud documentation. He came back to me because he didn't understand the NS8 CLI commands.

My point is that TOTP is becoming increasingly common, and system administrators will inevitably have to deal with users losing their authentication devices, whether it's a phone or something else.

I agree that SSO with a centralized IdP is probably the better long-term approach. However, we should also consider administrators who don't want to enable SSO and still need to manage MFA independently.

We could document this in the Nextcloud Readme section if that's where we want to cover it, but I think we should at least provide a clear procedure somewhere, as cluster-admin does.

Otherwise, we're leaving administrators without a documented way to handle a fairly common support situation.

@DavidePrincipi

Copy link
Copy Markdown
Member

He came back to me because he didn't understand the NS8 CLI commands.

In this case I'd rather document in this manual how to run occ, so any administrative operation in official NC docs is properly covered on NS8 too. What do you think?

@stephdl stephdl changed the title docs(nextcloud): document TOTP enforcement and per-user reset docs(nextcloud): document how to run occ commands Nov 16, 2026
@stephdl

stephdl commented Nov 16, 2026

Copy link
Copy Markdown
Contributor Author

can you review again @DavidePrincipi @nrauso

@stephdl
stephdl merged commit b019e9d into main Nov 20, 2026
2 checks passed
@stephdl
stephdl deleted the docs-nextcloud-totp branch November 20, 2026 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants