Built-in CODE does not run in NextCloud All-In-One appliance (AIO)

Summary of the issue you are facing:

Hey, I am running into what looks like the very same issue. My set-up (in a few words):

  • Running the AIO 9 (v11.4.0) in Docker on a Synology NAS
  • Reverse proxy is configured as recommended

I’ve tried to install and enable the Collabora built-in CODE but I’m getting an error on the UI. In trying to dig into this, I’m wondering if the problem does not come from the nextcloud-aio-nextcloud container image. I see a series of these in its logs:

2025-05-28T13:16:25.425663572Z cURL error 28: Operation timed out after 5015 milliseconds with 0 bytes received (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://cloud.er-buco-nas.familyds.net/hosting/discovery
2025-05-28T13:18:44.810067848Z sh: /var/www/html/custom_apps/richdocumentscode/collabora/Collabora_Online.AppImage: not found
2025-05-28T13:18:44.897421147Z sh: /var/www/html/custom_apps/richdocumentscode/collabora/Collabora_Online.AppImage: not found
2025-05-28T13:18:44.899180195Z NOTICE: PHP message: richdocumentscode (proxy.php) error exit, PID: 342, Message: no_glibc

These errors we can see in the container logs are generated by the /var/www/html/custom_apps/richdocumentscode/proxy.php file

I went into that container to investigate further and I believe that the issue stems from the fact that the AppImage is in the correct location but cannot be run because the container is based on Alpine which uses the musl libc library. That is not supported by AppImage as per GitHub - CollaboraOnline/richdocumentscode: Built-in CODE Server app and leads to the following problem (from within the nextcloud-aio-nextcloud container):

faf8aab9247f:/var/www/html# ldd custom_apps/richdocumentscode/collabora/Collabora_Online.AppImage 
	/lib64/ld-linux-x86-64.so.2 (0x7fc76f454000)
	libdl.so.2 => /lib64/ld-linux-x86-64.so.2 (0x7fc76f454000)
	libpthread.so.0 => /lib64/ld-linux-x86-64.so.2 (0x7fc76f454000)
	libz.so.1 => /usr/lib/libz.so.1 (0x7fc76f439000)
	libc.so.6 => /lib64/ld-linux-x86-64.so.2 (0x7fc76f454000)
Error relocating custom_apps/richdocumentscode/collabora/Collabora_Online.AppImage: gnu_dev_makedev: symbol not found

Assuming my analysis is correct, could you base the nextcloud-aio-nextcloud container image on a version that comes with glibc?

If you have a suggestion that you’d like me to try out on my set-up, I’d be happy to.

Hi, AIO comes with a dedicated collabora container that can be enabled via the AIO interface and should be used instead of the richdocumentscode app.

1 Like

Hi @szaimen , thanks for the feedback. I enabled the Collabora (Nextcloud Office) from the AIO interface (see picture), and I’m happy to report that this works just fine :slight_smile:

If my memory serves me right, it is different than what I had tried back in June, where I had not enabled that option but rather installed the CODE package from the App store. I will see if I can carve out some time to try that option again later.

This was this option that was causing trouble:

Thanks,
Geoffroy

1 Like

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.