PSA: How to get collabora working on nextcloud 23!

Hello @MsideMnstr,

welcome to the community of Nextcloud.
Is your Appliance already using NC v23? Otherwise there is no need to update your office package.

@rakekniven Thanks for the quick response! I ran ‘snap model’ when I SSHed into my nextcloud appliance and got back the following:
model Nextcloud core18 Appliance (amd64) (nextcloud-core18-amd64)

Does this mean I’m running v18 rather than v23? I used this to create my nextcloud appliance (https://ubuntu.com/appliance/nextcloud). From what I understand this uses SNAP to manage updates and the like.

Thank you for your help!

I am not really familar with snap.

Please open https://<your nc domain>/status.php in your browser and report.

You can only install 5.x version, if you have Nextcloud 23.0.0 running 


Thats normal, you only have to change the server to own server and then back to build in server.
Then it is changing from download to open in Collabora Online internal server.

@rakekniven @NetSecond Thank you both for your help (and speedy replies). Here’s what I found when I opened https://<your nc domain>/status.php in my browser.

Looks like v22?

Screen Shot 2021-12-22 at 11.11.22 AM

I’m at my wit’s end with this new “Nextcloud Office” experience. richdocuments 5.0.0 wasn’t working, so downgraded as suggested. Now I see there’s a 5.0.1 but after installing that and downloading and enabling whatever version of CODE was available (can’t check) I’m now borked again. Internal Server Error


{“installed”:true,“maintenance”:false,“needsDbUpgrade”:false,“version”:“23.0.0.10”,“versionstring”:“23.0.0”,“edition”:"",“productname”:“Nextcloud”,“extendedSupport”:false}

Yes, this is very stable release of v22 series. If I would be you I would not touch it and keep it running.

1 Like

Thank you for the information! You’ve been very helpful. From what I’ve read today, since my nextcloud appliance uses SNAP I will need to wait until the first ‘dot’ (23.#) update to become stable in order to update to v23. After that, I should be able to update Collabora. Right now Collabora isn’t working properly but sounds like that’s been fixed for v23. Does all that sound correct? Thanks again and have a wonderful Holiday Season!

Yes.

Same to you.

Having the same problems as mentioned above. When i follow these instructions, once I enable Collabora my app just hangs and ends up resulting in a 504:

504 Gateway Time-out

nginx/1.18.0 (Ubuntu)

Sigh
thoughts? Wait for Collabora 5.0.2?

Thanks!

1 Like

What do you mean by ‘completely removed’? Did you do anything other than disable and remove?

1 Like

like @nightcobe I would be really interested in getting a bit more specifics. I tried removing the apps completely quite some times, including an additional everytime anyone (NC/Collabora/Collaboraserver) gets an update but no luck.

I am also asking for specifics. I am not getting it to work. I really want Collabora to work. I am now using OnlyOffice but it has its limitations and I like Collabora better.

/Martin

1 Like

I just updated to NC 23.0.1 and it is still not working with Collabora Online v5.0.1.
When I try to open a document it just loads forever and nothing happens.
Had the hope that this version might fix the problem. Anyone else having success?

1 Like

I updated first from nc 22 to now Nextcloud Hub II (23.0.4) and pulled latest version of the docker-image.
Settings say: Collabora Server ist online (green)
Now I get “Document loading fails”
Would be nice to get a guide
Thanx

Collabora Online have made a small change to the environments tags.

Domain has replaced with aliasgroup1 & aliasgroup2, so if you have domain in your docker setup the server will not start.

21.11.2.4.1 and before versions:

domain=<your-dot-escaped-domain>

21.11.3.6 and after versions:

aliasgroup1=https://<domain1>:443,https://<your-dot-escaped-aliasname1>|<your-dot-escaped-aliasname2>:443

Unfortunately i have no idea on how this should be setup and the official documentation is a bit unclear.

This is how i think it sould look, though I have been unable to get my setup working. It would be interesting to see if i have made a mistake.

Docker Compose
collabora:
    image: collabora/code
    #container_name: collabora
    restart: always
    command: /start-collabora-online.sh
    environment:
      - password=!!PASSWORD!!
      - username=!!USER!!
      - aliasgroup1=https://office.domain.co.uk:443,https://nextcloud.domain.co.uk:443
      - aliasgroup2=https://nextcloud.domain.co.uk:443,https://office.domain.co.uk:443
      - extra_params=--o:ssl.enable=false --o:ssl.termination=true

Source: https://sdk.collaboraonline.com/docs/installation/CODE_Docker_image.html

take a look here

It’s still broken in the release of 24.0.3. I no longer have the time or desire to tinker with previous releases and find out which one works. Does anyone have a guide for getting the built-in office working?

fix RichDocuments · Issue #2416 · nextcloud/richdocuments (github.com)
I think I have found a solution to the problem