-
Notifications
You must be signed in to change notification settings - Fork 119
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
settings lost after server restart #1965
Comments
I can confirm this problem too! It does not only occour after a complete system restart but also after a simple "service php-fpm restart". Only fix seems to be to save setting "use internal code" again. I also tried to do this via CLI, bit it did not fix the issue: sudo -u collab php --define apc.enable_cli=1 occ config:app:set richdocuments wopi_url --value https://[domain]/apps/richdocumentscode/proxy.php?req= sudo -u collab php --define apc.enable_cli=1 occ richdocuments:activate-config I noticed that after a php-fpm restart following lines are missing in "service php-fpm status": Is there a CLI workaround on how to start the necessary child processes after php restart and why does nextcloud not start them automatically? |
I think the main problem is that we cache the capabilities and the automatic start doesn't get triggered then for some reason.
You could try to manually do a curl request to https://[domain]/apps/richdocumentscode/proxy.php?status to get the status and also trigger the start of the coolwsd process That will trigger https://github.com/CollaboraOnline/richdocumentscode/blob/master/proxy.php#L246-L259 The situation there could improve with #1901, but would need to validate if that is actually the case. |
Does not work. I can confirm that the call of this URL extends the php-fpm service status by the lines of the killed subprocesses. But something is still missing, as files still get downloaded and not opended by nextcloud office. See: 1. Output with working nextclood office: 2. Output after "service php-fpm restart": 3. Output after call of : https://[domain]/apps/richdocumentscode/proxy.php?status service php-fpm status -> But files still downloaded and not opened by nextcloud office until I click on "use builtin CODE". |
Can you try the following order maybe:
That way the config activation will have the code process already running when trying to connect for setting up. |
No, it's also not working. All commands acknowledged OK but still all files downloaded instead of opening in nextcloud office. |
Hi, I have exact the same problem. this is causing frustration on my customers because automated updates are not working if you need to do manual action in nextcloud afterwards. It there any chance to get it fixed? |
I think, this Problem was solved ? but if not, i fixed it that way... i made a script My Script
You need to replace YOUR-ADRESS with your web adress. I dont know, is it a good fix or not, but it worked for me well. |
I´ll give it a try. Thank you. |
Describe the bug
if i want open document, it dont open. it save (download) the document.
i go to settings - nextcloud office (nextcloud/index.php/settings/admin/richdocuments)
and set up "use internal code "
now it works fine, until i restart my server.
then i can redo the steps above
To Reproduce
Restart your Server
Expected behavior
open, not download
Screenshots
If applicable, add screenshots to help explain your problem.
Client details:
Server details
Operating system: Debian Bullseye
Web server: Apache2
Database: mariadb (mysql 10.5.12)
PHP version: 8.0.14
Nextcloud version: 23
Version of the richdocuments app 5.0.1
Version of Collabora Online 21.11.6
Logs
Nextcloud log (data/nextcloud.log)
Browser log
The text was updated successfully, but these errors were encountered: