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

Document occ incoming-shares:poll for update detection with federated shares #856

Closed
2 of 12 tasks
mmattel opened this issue Mar 29, 2019 · 9 comments · Fixed by #988
Closed
2 of 12 tasks

Document occ incoming-shares:poll for update detection with federated shares #856

mmattel opened this issue Mar 29, 2019 · 9 comments · Fixed by #988
Assignees
Labels
admin docs enhancement New feature or request
Milestone

Comments

@mmattel
Copy link
Contributor

mmattel commented Mar 29, 2019

What Needs to be Documented?

With core owncloud/core#34903 (Add a command to poll incoming federated shares for updates)
a new occ command needs to be documented: incoming-shares:poll

Where Does This Need To Be Documented?

admin_manual, occ command set

Why Should This Change Be Made? (Optional)

What Type Of Content Change Is This? (Optional)

  • New Content Addition
  • Old Content Deprecation
  • Existing Content Simplification
  • Bug Fix to Existing Content

Which Manual Does This Relate To? (Optional)

  • Admin Manual
  • Developer Manual
  • User Manual
  • Android
  • iOS
  • Branded Clients
  • Desktop Client
  • Other

@PVince81 Pls let us know if it is correct to have this for 10.2 + no backporting to older releases
@VicDeo @jvillafanez FYI
@settermjd

@mmattel mmattel changed the title New core occ command (for teh upcoming release 10.2) New core occ command (part of the upcoming owncloud release) Mar 29, 2019
@PVince81
Copy link
Contributor

PVince81 commented Apr 1, 2019

@VicDeo can you provide a quick summary that could be incorporated into the documentation ?

If there is a section about federated shares, it could be linked back to the section for this command for improving update detection and syncing.

@PVince81 PVince81 changed the title New core occ command (part of the upcoming owncloud release) Document occ incoming-shares:poll for update detection with federated shares Apr 1, 2019
@VicDeo
Copy link
Member

VicDeo commented Apr 3, 2019

summary: due to performance reasons federated shares are not updated automatically.
The particular directory of the federated share is updated only when user browse into it via web UI.

CLI command occ incoming-shares:poll could be added into the system crontab in order to poll federated shares for updates automatically.

@mmattel
Copy link
Contributor Author

mmattel commented Apr 3, 2019

Just for the record, this command polls all fed shares recieved, there is no path necessary to provide.

@pmaier1
Copy link
Contributor

pmaier1 commented Apr 8, 2019

What is the recommended interval for running the background job? @VicDeo @micbar

@pmaier1
Copy link
Contributor

pmaier1 commented Apr 8, 2019

Does the command provide any options?

@micbar
Copy link
Contributor

micbar commented Apr 8, 2019

@pmaier1 The first question is currently discussed in our testing.

This command does not provide any options.

@VicDeo
Copy link
Member

VicDeo commented Apr 10, 2019

What is the recommended interval for running the background job?

The recommended is never. :)
Since it iterates through all federated shares in one go the interval depends on the federated shares amount.
Once per 12 hours should be safe enough for any instance. It could be reduced to once per 2 hrs for instances with low federated shares amount.

settermjd added a commit that referenced this issue Apr 16, 2019
settermjd added a commit that referenced this issue Apr 16, 2019
settermjd added a commit that referenced this issue Apr 16, 2019
settermjd added a commit that referenced this issue Apr 16, 2019
settermjd added a commit that referenced this issue Apr 17, 2019
settermjd added a commit that referenced this issue Apr 17, 2019
settermjd added a commit that referenced this issue Apr 17, 2019
* Fix Antora configuration for 10.2 branch

* Document the incoming-shares:poll command (#988)

This fixes #856.
@pmaier1
Copy link
Contributor

pmaier1 commented May 6, 2019

Can we add some more information like I tried in the release notes (starting here https://github.com/owncloud/docs/pull/967/files#diff-ba12788edde90b189cd9bb4d1b5492afR90)? I think that makes it more clear for admins how to handle the interval for the background job.

@settermjd
Copy link
Contributor

Closing, as the implementing PR, #1134, has been merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
admin docs enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants