CollaboraOnline / richdocumentscode

Built-in CODE Server app
https://apps.nextcloud.com/apps/richdocumentscode
Apache License 2.0
121 stars 29 forks source link

Collabora Online - Built-in CODE Server (ARM64) Installation Failure on Nextcloud 30 #283

Open Mycloudlive20 opened 2 months ago

Mycloudlive20 commented 2 months ago

The Collabora Online built-in CODE Server for ARM64 architecture fails to install correctly on Nextcloud 30.

joshtrichards commented 2 months ago

Care to elaborate?

elpraga commented 1 month ago

I am not sure it I am suffering from the same issue @joshtrichards as I am running NC29, but the only information I can find in the log is "Failed to connect to the remote server: cURL error 28: Operation timed out after 5002 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://my.nextcloud.install:1943/apps/richdocumentscode_arm64/proxy.php?req=/hosting/discovery"

Is there any specific confing that needs to be added to the apache configuration for the built-in server? (I have seen some ReverseProxy setting, but I was unable to find any reliable information).

Any help would be greatly appreciated as I feel completely lost ATM.

Thank you all for making Collabora available!

fredericgermain commented 1 month ago

I see this warning in nextcloud 30,

This app cannot be installed because the following dependencies are not fulfilled:
The following architectures are supported: x86_64
fredericgermain commented 1 month ago

warning probably added as arm64 support is broken since a few months https://github.com/CollaboraOnline/richdocumentscode/issues/226

joshtrichards commented 1 month ago

@fredericgermain You're getting that warning because there is an architecture mismatch. See #287 / #198. Keep in mind:

@elpraga Can you curl that URL from your server? I suggest posting at the help forum - https://help.nextcloud.com - until it's clear what you're facing is an actual bug.

elpraga commented 1 month ago

@fredericgermain Thank you for getting back to me!

I was able to make my Built-in CODE (arm64) work again.

I took two steps:

  1. opened an inbound rule on my AWS server for port 9981 (I did not know that was needed when using the Built-in version)
  2. added (I was unable to check yet if this step is needed)
    'overwritehost' => 'https://my.server:port#',
    'overwrite.cli.url' => 'https://my.server:port#',

    So, I am able to edit files online now, but I am still using NC29.0.8

fredericgermain commented 1 month ago

Hi everyone!

Thanks for the quick responses

I spend more time today and I have it working on my jetson nano, Nextcloud 30.

I proposed an edit in the README.md here to make it clearer. But feel free to reject it if you feel it's not much better.

But the root of the problem on my side, is that Nextcloud 30 for arm64 from https://hub.docker.com/_/nextcloud comes installed with richdocumentscode and not richdocumentscode_arm64. I will need to double check more carefully when I have time and open a issue on their side.

I believe you can close this issue as @elpraga comment seems it could install it on Nextcloud 30 too?