Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Nginx rule for Rich Documents / CODE is missing a path for ARM64 #376

Closed
csolisr opened this issue Feb 17, 2021 · 4 comments
Closed

Nginx rule for Rich Documents / CODE is missing a path for ARM64 #376

csolisr opened this issue Feb 17, 2021 · 4 comments

Comments

@csolisr
Copy link

csolisr commented Feb 17, 2021

By default, YunoHost's settings for Nextcloud are only enabling the x64 route for the bundled Collabora Office package, and not the ARM64 one which is used for example on the Raspberry Pi 4. In order to enable access to that version, it's necessary to modify the line in /etc/nginx/conf.d/{your_nextcloud_path}.d/nextcloud.conf from this:

location ~ ^/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+|.+\/richdocumentscode\/proxy)\.php(?:$|\/) {

to the following:

location ~ ^/(?:index|remote|public|cron|core\/ajax\/update|status|ocs\/v[12]|updater\/.+|oc[ms]-provider\/.+|.+\/richdocumentscode\/proxy|.+\/richdocumentscode_arm64\/proxy)\.php(?:$|\/) {
@fakhryhizballah
Copy link

I've used the configuration, but my application is running slow, almost unusable and on the server there is no cpu increase

@lapineige
Copy link
Member

Is this still an issue ?

@MSmolarz
Copy link

MSmolarz commented Jul 1, 2024

Hi, I recently set up YunoHost on my Raspberry Pi 4 and tried the Collabora Online - Built-in CODE Server.
The problem is solved as nextcloud itself has implemented the fix for the ngnix configuration (see: nextcloud/helm#540).

@alexAubin
Copy link
Member

Closing because supposedly fixed by 115cf2f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants