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

occ doesn't support an internal batched mode #32752

Closed
robert-scheck opened this issue Sep 18, 2018 · 5 comments
Closed

occ doesn't support an internal batched mode #32752

robert-scheck opened this issue Sep 18, 2018 · 5 comments

Comments

@robert-scheck
Copy link
Contributor

The greater picture of #32751 is to have an internal batched mode rather a long list of single occ calls (even they maybe support multiple apps to be enabled/disabled at once). Such an internal batched mode could look like this:

$ ./occ config:batch /tmp/commands.txt
market disabled
market enabled
No such app enabled: not_existing
.htaccess has been updated
Set mode for background jobs to 'cron'
Maintenance mode already disabled
$ 
$ cat /tmp/commands.txt
app:disable market
app:enable market
app:disable not_existing
maintenance:update:htaccess
background:cron
maintenance:mode --off
$ 

Note that config:batch is not intended as dumb shell script-like functionality that calls occ per line, but one single occ call where all commands are handled internally one after each other without having the need to re-load the PHP interpreter and the ownCloud classes. I expect a nice speedup of occ using such a functionality.

@ownclouders
Copy link
Contributor

GitMate.io thinks the contributor most likely able to help you is @PVince81.

Possibly related issues are #32751 (occ doesn't support enabling/disabling multiple apps at once), #24449 (occ doesn't seem to lock during upgrade operation?), #20939 (occ fails hard if instance is in maintenance mode), #6326 (OC 6 doesn't support spdy), and #15599 (OC_EventSource does not support multiple streams on IE8).

@stale
Copy link

stale bot commented Sep 20, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

@stale stale bot added the status/STALE label Sep 20, 2021
@robert-scheck
Copy link
Contributor Author

Ping?

@stale stale bot removed the status/STALE label Sep 20, 2021
@github-actions
Copy link

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in 10 days if no further activity occurs. Thank you for your contributions.

@github-actions
Copy link

This issue has been automatically closed.

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

No branches or pull requests

2 participants