documentserver_community icon indicating copy to clipboard operation
documentserver_community copied to clipboard

Client error: `POST https://[domain]/apps/documentserver_community/converter` resulted in a `404 Not Found`

Open stevejordi opened this issue 10 months ago • 41 comments

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

  1. in the Nextcloud DOCKER instance
  2. upgrade to Nextcloud 30.0.5 or 30.0.6.
  3. OnlyOffice configuration doesn't work anymore and doesn't find the documentserver_community service anymore
  4. Disable and remove documentserver_community and resinstall it via the APPS panel doesn't change anything.

Everything worked fine with Nextcloud 30.0.4

Expected behaviour

Should offer document type selection and validation for server

Actual behaviour

Screenshot shows it doesn't find the server

Server configuration

Web server: Nginx

Database: MariaDB 15.2

PHP version: 8.2.27

Nextcloud version: 30.0.5.1 or 30.0.6

Image

stevejordi avatar Feb 14 '25 17:02 stevejordi

Manually downgrading the OnlyOffice App to 9.5.0 helps. It seems that 9.6.0 doesn't work with the Community Document Server.

pschopen avatar Feb 17 '25 16:02 pschopen

You're right, I tried to downgrade OnlyOffice but always ended up with a locked Nextcloud telling me I needed to upgrade (only office version mismatch between what's on file and the database catalog version reference). Then once upgrading via the occ command, it upgraded OnlyOffice back to the latest version...

So for all of you facing the same issue, once you downgrade an app, you first have to disable it as an admin. Then move the app folder to a backup place, deploy the oldest working version and then enable it as an admin. This process will make it work.

stevejordi avatar Feb 18 '25 06:02 stevejordi

Downgrading only works if you deactivate and remove the OnlyOffice App via the NC App Store first. Then navigate to the apps folder via FTP and Upload the 9.5.0 version of the OnlyOffice App Folder.

pschopen avatar Feb 18 '25 06:02 pschopen

OK, debian 11, Apache2, php8.3-fpm, [Nextcloud Hub 9] (30.0.6)

Downgrading only works if you deactivate and remove the OnlyOffice App via the NC App Store first. Then navigate to the apps folder via FTP and Upload the 9.5.0 version of the OnlyOffice App Folder. <

all done.

de-aktivated and removed onlyoffice in NC APPS then downloaded the 9.5.0 Version from NC extracted all files in the apps/onlyoffice folder changed owner to www-data (chown -r www-data. onlyoffice/) Still the same error, if i go into settings panel and save settings from onlyoffice

Fehler beim Anschließen (Client error: GET https://xxx.dnshome.de/nextcloud/apps/community_documentserver/healthcheck resulted in a 404 Not Found response:

(xxx is for my dyndns-address)

restart of apache2 + php8.3-fpm dont solve my problem

shell i use an older documentserver ? i use 0.1.20

or any other idea ?

Uwe-MrT avatar Feb 18 '25 16:02 Uwe-MrT

Hopefully you have a snapshot and can try again. Instead of deactivating and removing it from NC apps settings, try to deactivate 9.6.0 but don't remove it. Then move the existing [apps]/onlyoffice folder somewhere else. Extract all 9.5.0 files into a new [apps]/onlyoffice folder and make sure it doesn't have a main parent folder (something like onlyoffice again within onlyoffice, some zip or tar files have everything inside the parent folder name). chown -R www-data:www-data onlyoffice Then back into NC admin app control center, enable it.

The difference with what I did earlier describe is that you also removed it from the admin panel instead of just disabling it.

stevejordi avatar Feb 18 '25 16:02 stevejordi

OK, now it worked as described. I dont know, why...

Removed both Apps re-installed both Apps de-aktivated onlyoffice deleted files in /apps/onlyoffice copied old version into subdir /apps/onlyoffice changed permissions aktivated onlyoffice in NC it works :-)

btw... i make every day a 7-day-Backup (tar) of important folders like /var/www, /etc, databases, etc... So i have 7 days to re-aktivate old files like NC or NC-Apps

Uwe-MrT avatar Feb 18 '25 17:02 Uwe-MrT

Hi youall, i just wonna thank @stevejordi. It works again. Took a little to find the version 9.5.0 but i got it. If anyone want`s to download the version 9.5.0 here is th link. https://nc.3-21.eu/index.php/s/t3Fke9A9iHtikEQ

ZoGgY68 avatar Feb 18 '25 18:02 ZoGgY68

I am getting frustrated by all those updates from nextcloud. More than half of all apps do not do what they promise and now again. Spontaneously onlyoffice does not work, you doubt yourself every time.

Really leave this product now!

Piefje01 avatar Feb 18 '25 19:02 Piefje01

Oh yes. I fully understand. It’s really frustrating. But I am still with Nextcloud cause there is no alternative?!

shathippens avatar Feb 18 '25 19:02 shathippens

Well Onlyoffice it self is also working well

Piefje01 avatar Feb 18 '25 19:02 Piefje01

I am getting frustrated by all those updates from nextcloud. More than half of all apps do not do what they promise and now again. Spontaneously onlyoffice does not work, you doubt yourself every time.

Really leave this product now!

Just stop Updating your working NC Everithing is working fine on my NC since today.

Uwe-MrT avatar Feb 18 '25 19:02 Uwe-MrT

+1 Last Nextcloud-Onlyoffice (9.6) doesn't work with actual DocumentServer_Community (0.1.20) Downgrade and stay on 9.5 version

Hi youall, i just wonna thank @stevejordi. It works again. Took a little to find the version 9.5.0 but i got it. If anyone want`s to download the version 9.5.0 here is th link. https://nc.3-21.eu/index.php/s/2wBimT58R2MHfRL

Here are Onlyoffice app for nextcloud releases : https://github.com/ONLYOFFICE/onlyoffice-nextcloud/releases

NSO73 avatar Feb 18 '25 21:02 NSO73

Do we have developers working on this? What is the root-cause and the estimate fix date?

Appreciate it.

i3130002 avatar Feb 19 '25 10:02 i3130002

Thank you for this information. It helped me too. I downgraded the onlyoffice plugin, and it is working again.

richard378 avatar Feb 19 '25 12:02 richard378

--define apc.enable_cli=1 was missing from my contab which broke my only office when it ran. After downgrading and updading my cron I upgraded the onlyoffice again and it is working. I think my problem is the cron job. Ii did not include that by mistake.

richard378 avatar Feb 19 '25 12:02 richard378

Are the maintainers aware of this issue and is there a plan or already active development in fixing this? We're not able to downgrade in a hosted Hetzner Nextcloud environment, as we have no access to the FTP there.

Thank you!

JPustkuchen avatar Feb 20 '25 14:02 JPustkuchen

Are the maintainers aware of this issue and is there a plan or already active development in fixing this? We're not able to downgrade in a hosted Hetzner Nextcloud environment, as we have no access to the FTP there.

Thank you!

I don't want to be overly negative, but it looks like this project has been abandoned. Releases were frequent in 2024 and before, but since October no new release was published.

block6791 avatar Feb 20 '25 15:02 block6791

Is this repository actively maintained? @ChristophWurst @chadek @jospoortvliet

Especially Hetzner doesn't allow NC Office for performance reasons. Also OnlyOffice still has the best compatibility with Microsoft Formats.

pschopen avatar Feb 20 '25 15:02 pschopen

Are the maintainers aware of this issue and is there a plan or already active development in fixing this? We're not able to downgrade in a hosted Hetzner Nextcloud environment, as we have no access to the FTP there.

Thank you!

Hi< I am looking at this: https://github.com/nextcloud/documentserver_community/issues/312 and think the current developers need help. It seems there was a major change in the software that is not easy to fix and update this repo. They can't update the onlyoffice version that is being used for now. Since last year. That is a major issue.

richard378 avatar Feb 20 '25 16:02 richard378

Are the maintainers aware of this issue and is there a plan or already active development in fixing this? We're not able to downgrade in a hosted Hetzner Nextcloud environment, as we have no access to the FTP there. Thank you!

Hi< I am looking at this: #312 and think the current developers need help. It seems there was a major change in the software that is not easy to fix and update this repo. They can't update the onlyoffice version that is being used for now. Since last year. That is a major issue.

Nextcloud definitely dropped OnlyOffice as its main office suite when it was revealed that the company behind is actually russian. Since then, EU sanctions have made it illegal to use the Enterprise version of OnlyOffice. So NC started their own NC Office together with Collabora (UK based). However, everyone knows that Collabora has major drawbacks as it runs on the server itself and the browser only remotely controls the server. This uses a lot of resources on the server and is laggy if you have a bad connection. OnlyOffice, on the other hand, is an almost entirely JS-based software that mainly runs in the browser itself. As far as I know, the NC team agrees with this, but doesn't see any other option at the moment. Forking OnlyOffice and maintaining it as an independent NC product seems too risky and expensive.

However, Nextcloud has never permanently dropped support for OnlyOffice because many instances still use it (in the community version that is still legal) for its better compatibility with MS products and its better software architecture. So we can only hope that the community document server will also get an update at some point.

For all Hetzner users: Is it maybe possible to restore a backup that still has the old OnlyOffice version and then not update it? Otherwise you can get a small VPS (e.g. netcup for 1€/month) and run an external document server there.

pschopen avatar Feb 20 '25 17:02 pschopen

Many thanks for the hint, @pschopen.

I have also some doubts that OnlyOffice will work with Nextcloud again. I am also a Hetzner customer. Very interesting hint with netcup. I was already looking for that kind of stuff.

Do you have experience with that? Do you know if the smallest package (VPS 250 G11s) could handle an own Collabora instance? Or any other recommendations to do it?

Many thanks in advance, Guys.

shathippens avatar Feb 20 '25 18:02 shathippens

Why not make a fork? How much time and money will it take? Without a usefull office produkt NC is nearly useless.

Piefje01 avatar Feb 21 '25 08:02 Piefje01

CryptPad also offers editing of Office file formats based on OnlyOffice. They seem to have taken a different route with the integration by forking the OnlyOffice frontend. They don't make use of the OnlyOffice server code at all. Currently they're still in OnlyOffice 7, but they plan to upgrade to OnlyOffice 8 in the next release: https://blog.cryptpad.org/2025/01/09/status-2024-12/ / Public Roadmap You can see their changes here: https://github.com/ONLYOFFICE/web-apps/compare/master...cryptpad:web-apps:cp7.3.3.60 Not sure how hard it would be to adapt this for a Nextcloud backend.

There might be another solution that uses a CryptPad instance embedded into Nextcloud, which there is an official plugin for, maintained by Cryptpad: https://apps.nextcloud.com/apps/openincryptpad So far they only support opening drawio diagrams, but they opened an issue about supporting the office formats just last week: https://github.com/cryptpad/nextcloud-open-in-cryptpad/issues/40 Not sure how taxing that is on the server side and if Hetzner would consider allowing this app?

fapdash avatar Feb 21 '25 19:02 fapdash

@shathippens @pschopen The same issue impacted my Storage Share server at Hetzner. I worked around this by installing a Docker cloud server at Hetzner, type CX22, and running the Collabora CODE server on there. The Docker server is available when you create a new cloud server at Hetzner. It is basically Ubuntu Server with Docker-ce pre-installed.

It took me some time to figure it all out, but it works now and seems responsive (with just a few users) and stable.

Instructions that you can follow to do the same (of course, assuming IT infrastructure know-how): https://community.hetzner.com/tutorials/install-and-configure-nextcloud-collabora-online https://community.hetzner.com/tutorials/howto-ssh-key https://sdk.collaboraonline.com/docs/installation/CODE_Docker_image.html#how-to-grab-the-code-image-from-docker-image

Besides the server costs, there are no licensing costs involved for Collabora.

block6791 avatar Feb 22 '25 15:02 block6791

Yes, I‘ve done the same (CX22). Works great so far. The tutorial was great.

shathippens avatar Feb 22 '25 16:02 shathippens

@juliusknorr Do you know if this repository is still actively maintained by the NC team?

pschopen avatar Feb 26 '25 13:02 pschopen

No, currently not. We had community jumping in here and taking over maintenance. The handover was done to @chadek in https://github.com/nextcloud/app-certificate-requests/pull/681

juliusknorr avatar Feb 26 '25 15:02 juliusknorr

After the last update 9.7.0 I saw a new type of error in the server setting of the Storage Share at Hetzner

Image

ghimel60 avatar Feb 28 '25 07:02 ghimel60

Can confirm im getting error 500 as well

VoidDave avatar Mar 07 '25 10:03 VoidDave

A 500 error sounds different from the initially reported one. Did you check the logs? That may reveal more details.

juliusknorr avatar Mar 07 '25 13:03 juliusknorr