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

After every server reboot: Documents do not open, download is offerd #206

Closed
jakobroehrl opened this issue Nov 17, 2022 · 9 comments
Closed

Comments

@jakobroehrl
Copy link

jakobroehrl commented Nov 17, 2022

I can work with office without any problems till I reboot the server.
Then Documents do not open, a download is offered.
To solve this I must click here:
image
and when it says:
image
Offices works again


Collabora Online - Built-in CODE Server 22.5.802

@Moxified
Copy link

I have the same issue.

@kvetal
Copy link

kvetal commented Nov 23, 2022

And me have the same issue.

@jakobroehrl
Copy link
Author

I found out, it's the restart of the php service that triggers the problem.

@ernolf
Copy link

ernolf commented Dec 5, 2022

I have had the same issue but... not allways

I solved it for me with this dirty but effective workaround:

Create this file /etc/systemd/system/richdocuments.service

[Unit]
Description = richdocuments activate-config
After=network.target

[Service]
ExecStart=/usr/bin/php -f /var/www/nextcloud/occ richdocuments:activate-config
User=www-data
Group=www-data

[Install]
WantedBy = multi-user.target

enable with sudo systemctl enable --now richdocuments.service

Do not forget to remove this workaround after this issue is solved by the package maintainers:

sudo systemctl disable richdocuments.service && sudo rm /etc/systemd/system/richdocuments.service

I hope this helps.

@Moxified
Copy link

Moxified commented Dec 5, 2022

I have had the same issue but... not allways

I solved it for me with this dirty but effective workaround:

Thank you! This works for now.

@rursache
Copy link

having the same issue using the linuxserver/nextcloud container

@Moxified
Copy link

I found that the workaround service wasn't reliably working for me. I changed the dependency to:

After=apache2.service

This has worked better for my build. FWIW.

@jorge-vitrubio
Copy link

non of this helped on my issue with how the proxy.php handles files.

I have tried a collabora "demo" server and it works the one in Ireland, but not the one in Sweden.

the Irish ones responds like this:

COOLWSD version:
22.05.9.1snapshot git hash: 
[2a9ba59](javascript:void(window.open('https://github.com/CollaboraOnline/online/commits/2a9ba59'));)
LOKit version:
built on 
[a great technology base](javascript:void(window.open('http://col.la/lot'));)
Collabora Office 22.05.9.1 git hash: 
[a2ec3af](javascript:void(window.open('https://hub.libreoffice.org/git-core/a2ec3af'));)
Served by: Ubuntu 18.04.6 LTS 
[de10396d](https://demo.eu.collaboraonline.com/hosting/discovery)

Copyright © 2022, Collabora Productivity Limited.

So the COOLWSD version has defenetly something to do with it

I have tried to downgrade the richdocumentscode to versions 22.5.502 or 22.5.702 unsuccessfully, nexctcloud will upgrade automatically to the 22.5.802 version.

./occ status
  - installed: true
  - version: 25.0.2.3
  - versionstring: 25.0.2
  - edition: 
  - maintenance: false
  - needsDbUpgrade: false
  - productname: Nextcloud
  - extendedSupport: false
lsb_release -a
No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 11 (bullseye)
Release:	11
Codename:	bullseye

@jakobroehrl
Copy link
Author

On my systems it's not occurring any more

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

No branches or pull requests

6 participants