Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add repair command to fix wrong share ownership #32211

Merged
merged 8 commits into from
Nov 8, 2022

Conversation

artonge
Copy link
Contributor

@artonge artonge commented Apr 28, 2022

Fix #28503
Follow up of #30791

This was referenced Aug 12, 2022
This was referenced Aug 24, 2022
This was referenced Sep 6, 2022
@skjnldsv skjnldsv mentioned this pull request Sep 15, 2022
This was referenced Sep 20, 2022
@blizzz blizzz modified the milestones: Nextcloud 25, Nextcloud 26 Sep 22, 2022
@PVince81
Copy link
Member

conflict

@PVince81
Copy link
Member

PVince81 commented Sep 28, 2022

  • we should test this with group folders and system-wide external storages (and shares created from there) to make sure we're not messing these up

@PVince81 PVince81 assigned icewind1991 and unassigned artonge Sep 28, 2022
@PVince81
Copy link
Member

@icewind1991 please take over

@icewind1991
Copy link
Member

  • moved to occ command
  • added option to repair for single user only
  • added progressbar
  • verified that shares from groupfolders are ignored

@PVince81
Copy link
Member

/rebase

@PVince81 PVince81 added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Oct 24, 2022
@PVince81
Copy link
Member

/backport to stable25

@PVince81
Copy link
Member

/backport to stable24

@PVince81
Copy link
Member

PVince81 commented Nov 2, 2022

second review please, this is long overdue

Copy link
Contributor

@szaimen szaimen left a comment

Choose a reason for hiding this comment

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

🐘

@PVince81
Copy link
Member

PVince81 commented Nov 3, 2022

@icewind1991 some checkers fail, autoloader likely

@szaimen szaimen merged commit 87f4ed5 into master Nov 8, 2022
@szaimen szaimen deleted the feat/repair_share_ownership branch November 8, 2022 17:57
@szaimen
Copy link
Contributor

szaimen commented Nov 8, 2022

/backport to stable24

@szaimen
Copy link
Contributor

szaimen commented Nov 8, 2022

/backport to stable23

@monsieurhannes
Copy link

Just tried to find documentation about it and ended up here. Anyone who can add it to the docs (as I don't know what it does)?
https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html#maintenance-commands

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish feature: sharing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Repair step for invalid oc_share.uid_owner values
8 participants