Just installed Nextcloud via snap on brand-new Ubuntu 20.04.2 server. Despite trying various things, I am unable to downgrade the āCollabora Online - Built-in CODE Serverā.
If I extract the tar to the ā¦/extra-apps folder, I see it showing me the app listed as the old version on the ā¦/settings/apps page, but the buttons there are āRemoveā and āDownload and enableā. Choosing the latter will always get the latest for me. Other times in my fiddling with replacing that folder, the web app goes into update mode and gets the new version of that despite wanting what I had there before.
first install (download and enable) the latest version via the GUI interface.
extract the tar in the extra-apps and make sure you overwrite the files from the latest version.
After a few moments the GUI interface will tell you that it is installing a new package. After the installation the older version is installed and in the GUI you will see that there is a newer version available.
@Gery_Alaerts That worked exactly as you described. Thank you.
jtkouz@nextcloud:~$ wget https://github.com/CollaboraOnline/richdocumentscode/releases/download/6.4.608/richdocumentscode.tar.gz
sudo su
<Enter password>
root@nextcloud:/home/jtkouz# cd /var/snap/nextcloud/current/nextcloud/extra-apps/
root@nextcloud:/var/snap/nextcloud/current/nextcloud/extra-apps# tar xvf /home/jtkouz/richdocumentscode.tar.gz
Then the GUI showed the update screen, which scared me, but it then said it was upgrading this component to 6.4.608 and the web editing of an ODT file worked great.
Hi - I was running Nextcloud 21 (on Ubuntu 20.04, and via the snap package) and this thread helped me get Collabora to work - I downgraded the CODE server to version 6.4.608 as suggested and all was up and running fine. However, with the snap having upgraded to Nextcloud version 22, this seems no longer to be an option. The snap has Collabora online version 4.2.3 and CODE server 6.4.1103, which throws up the familiar message āFailed to load Collabora Online - please try again laterā when you try to open a document through the web interface, and the line āCould not find urlsrc in WOPIā in the logs. However, the 6.4.608 version of the CODE server now shows in the apps as no longer compatible with Nextcloud 22 and so is disabled. Does anyone know, is there a version of the CODE server which is compatible with the current version of Nextcloud and gets Collabora up and working?
Thanks so much for your help Gery_Alaerts - yes, that worked - I re-downloaded and enabled the āunsupportedā version as you suggested (in spite of warnings), and this has got the Collabora web interface up and running again. Many thanks!
If thereās someone out there who is looking further into this issue, one thing I spotted was a post (Collabora failure when using Snap on Ubuntu SERVER but it works on Ubuntu DESKTOP) which noted this not working on snap on ubuntu server, but working on ubuntu desktop. Interestingly, Iāve basically had the same experience - I initially set up nextcloud via snap on a machine on my own network on a machine with Ubuntu 20.04 desktop, and collbora works fine on that (and still works fine after the latest updates, with the versions of Collabora and Collabora CODE server that are not working on the Ubuntu server version I set up on the ācloudā. Both were basically set up in the same way with lets-encrypt, etc. I hope this bit of data helps someone work out why the more recent versions of the CODE server donāt work on my install, or the various other people with snap or docker who are having similar problems. Could there be some kind of dependency that is there on the desktop but not the server? Or something in the latter which conflicts, and that is missing from the former?
Thanks for this topic I was able to solve my initial problem on Ubuntu Server + Nextcloud Snap to downgrade the āCollabora Online - Built-in CODE Serverā.
However, like stated above on desktop variants of Linux the built in server works out of the box with no issues. Surely a dependency is missing (introduced somewhere after v6.4.608) which causes issues on Ubuntu Server.
So I thought why not install LibreOffice on Ubuntu Server and see what happensā¦ and guess what the latest version of Collabora working is working fine now in Nextcloud. I unfortunately donāt have to expertise to narrow this down to a single dependency, but maybe someone can pick it up from here.
Apologies for coming back to this issue, but I havenāt been able to solve it despite following @Gery_Alaerts postās instructions.
I receive the message āFailed to load Collabora Online - please try again laterā.
I have Nextcould 23 installed (snap, on a Raspberry Pi), and in the active apps list I have Collabora Online CODE (ARM64) v. 6.4.608 (and Collabora Online, obviously).
No need to install an older version of Collabora on the nextcloud snap. The default installed ones: Collabora Online 4.2.3 and Collabora Online - Built-in CODE Server 21.11.6 are working fine. At least its working fine for me on a Ubuntu server.
I manually updated CODE to v. 21.11.6 (the latest one available from the NC GUI was 21.11.4); disabled and enabled both Collabora Online (v. 4.2.3) and CODE. Still the same issue:
āFailed to load Collabora Online - please try again laterā.
I recently installed NC 23 Hub II on a V-Server with 4 vCore and 8 GB RAM at the hosting service Strato.de. I installed the Collabora app and the CODE server. While loading an *.odt document I get the error message: āDocument loading failed. Try again later.ā
RAM is enough but Iām afraid that the server (virtual server) is not suffiend enough. I tried the Collabora demo server and that works fine. Back to CODE I get the same error message.
Sadly, my rented server is to small for that. But I donāt use LibreOffice often, so I deleted it from NC. But that could possibly be the issue on the Raspberry Pies. Perhaps in some time I will use a bigger server (My whole family use it) and maybe CODE will works then.
Hi,
Iām expiring the same issue - every try to open a file with the built-in CODE server ends up in error āFailed to load Collabora Online - please try again laterā
Looking into the error console of the browser i see 502 Proxy Errors and therefor I looked directly onto the server. There I tried to run the Collabora_Online.AppImage as user www-data and Iām getting a āpermission deniedā error.
Looking at the file permissions i see: -rw-r--r-- and this seems pretty strange to meā¦ Modifying the permissions lets me start the AppImage but then I get an other error (that maybe is connected to some other work happened lately on my server and I think this isnāt happening to everyone).
Could someone maybe confirm that the permissions have changed with the last update of CODE to Version 21.11.103?
Hi, I recently open a threat with this problem, but I am not runing on docker or snap. I see that my permissions of my CODE built-in and collabor app are www-data:www-data and ā-rwx r-x r-xā at the root folders. The files inside are ā-rw- r-- rāā with same user and group
I just solved my problem adding the line āallow_local_remote_serversā => true,
to my config.php, restart apache (systemctl restart apache2) and now it is working!!!
Thanks a lot for your reply - unfortunately this didnāt changed anything in my situation .
As before the last CODE Update everything has worked without problems i have a suspect that this could have generated the problemā¦
The missing permission to execute the AppImage from shell is also strange - before the update this seemed to work. Maybe this has been changed intentionallyā¦
Iāve found the solution for my problem: the process of coolwsd blocked the port on the serverā¦ therefore after the update the newly started AppImage couldnāt connect to the portā¦
Iām sure theyāve created a frustrating confusing disaster for many people because who thinks to look at a working reverse proxy configuration? I donāt know why they didnāt just do a symlink in the container instead of wasting hours of peopleās time trying to hunt down the problem but oh well.