NethServer Version: 8
Module: Nextcloud
Hi all,
I have Nextcloud running on NS8. And i know a lot of ink has been spilled on this specific topic, but whatever i try, i can’t get Collabora built-in CODE server to work.
So, in the ‘Office’ settings, when i choose ‘use builtin CODE server’ i get the error that Nextcloud can’t connect to the code server. That seems to be a regular issue, and there’s a link to this page to get it solved:
https://www.collaboraonline.com/blog/connecting-collabora-online-built-in-code-server-with-nginx/
Now, if i SSH into the NS8 instance, i can find a nginx config file at /home/nextcloud6/.config/state/nginx.conf.
In the config file there is a rewrite rule that contains the richdocuments rule already:
location ~ .php(?:$|/) {
#Required for legacy support
rewrite ^/(?!index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|oc[ms]-provider/.+|.+/richdocumentscode/proxy) /index.php$request_uri;
when i alter that to:
location ~
rewrite ^/(?!index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|oc[ms]-provider/.+|.+/richdocumentscode/proxy).php(?:$|/) /index.php$request_uri; {
Nextcloud won’t start. And as i said: a lot of ink has already been spilled about this topic, and i just tried 4 hours to crawl and try, but nothing helps.
Has anyone faced the same issue (i guess) and what was the solution?
It’s NS8 with Traefik and Nextcloud and the office and richtextdocuments is installed and enabled in nextcloud.
I’m really stumped here.
Tia,
Stef