I have Nextcloud installed in a Docker container with a nginx proxy running on an Rpi4 and Ubuntu 24.04. I’m getting a repeating error regarding Collabora’s app image not being executable. Here is the error:
`Client error: `GET https://MYIP.ddyns.com/custom_apps/richdocumentscode_arm64/proxy.php?req=/hosting/discovery` resulted in a `400 Bad Request` response: <html><body> <h1>Socket proxy error</h1> <p>Error: appimage_not_executable</p> </body></html>
It appears to be saying the the Collabora app image is not executable. But an ls -la
of /var/www/html/custom_apps/richdocumentscode_arm64/collabora/Collabora_Online.AppImage
yields:
-rwxr--r-- 1 www-data www-data 250003840 Jun 5 12:15 Collabora_Online.AppImage
.
So it is executable by www-data
, but not by the group and not by others.
I have tried to just manually chmod the file to 755, so that both group and others can execute, both inside the nextcloud-app
and on my Rpi4 host:
Rpi4
chmod +x ~/nextcloud/data/custom_apps/richdocumentscode_arm64/collabora/Collabora_Online.AppImage
and
nextcloud-app container
docker exec -it nextcloud-app bash
chmod +x /var/www/html/custom_apps/richdocumentscode_arm64/collabora/Collabora_Online.AppImage
This change “works” for a few minutes, i.e., the AppImage becomes executable and the error desists. But the change does not persist, and the error returns.
Does anyone have a fix for this? Basic setup information below. Thanks!
The Basics
- Nextcloud Server version (e.g., 29.x.x):
31.0.6.2
- Operating system and version (e.g., Ubuntu 24.04):
Ubunt 24.04
- Web server and version (e.g, Apache 2.4.25):
Apache/2.4.62
- Reverse proxy and version _(e.g. nginx 1.27.2)
1.27.5
- PHP version (e.g, 8.3):
PHP/8.3.22
- Is this the first time you’ve seen this error? (Yes / No):
No
- When did this problem seem to first start?
weeks
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
nextcloud-app docker
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
No
Log entries
Nextcloud log
[see above: that error just repeats]
Configuration
Nextcloud
{
"system": {
"htaccess.RewriteBase": "\/",
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"overwritehost": "MYIP.ddyns.com",
"overwriteprotocol": "https",
"upgrade.disable-web": true,
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"localhost",
"192.168.0.88",
"rpi4.lan",
"MYIP.ddyns.com",
"nextcloud-app",
"172.18.0.5"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "31.0.6.2",
"overwrite.cli.url": "https:\/\/localhost",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"instanceid": "***REMOVED SENSITIVE VALUE***",
"default_phone_region": "US",
"default_timezone": "America\/Los_Angeles",
"maintenance_window_start": 1,
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "587",
"mail_smtpsecure": "tls",
"mail_smtpauth": true,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpmode_allowlist": [
"protonmail-bridge",
"127.0.0.1",
"in-v3.mailjet.com"
],
"mail_imapmode_allowlist": [
"protonmail-bridge",
"127.0.0.1"
],
"maintenance": false,
"default_locale": "en_US",
"trusted_proxies": "***REMOVED SENSITIVE VALUE***",
"memories.db.triggers.fcu": true,
"memories.exiftool": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/exiftool-aarch64-glibc",
"memories.vod.path": "\/var\/www\/html\/custom_apps\/memories\/bin-ext\/go-vod-aarch64",
"enabledPreviewProviders": [
"OC\\Preview\\Image",
"OC\\Preview\\HEIC",
"OC\\Preview\\Movie",
"OC\\Preview\\TIFF",
"OC\\Preview\\FFmpeg"
],
"preview_max_x": 2048,
"preview_max_y": 2048,
"app_install_overwrite": [],
"ldapProviderFactory": "OCA\\User_LDAP\\LDAPProviderFactory",
"loglevel": 2,
"signaling": {
"servers": [
{
"server": "https:\/\/MYIP.ddyns.com",
"verify": true,
"secret": "7b635fe28882c631f053fa30421731024612337de1874d7acfa4196111e0a4da"
}
]
}
}
}
Apps
Enabled:
- activity: 4.0.0
- admin_audit: 1.21.0
- app_api: 5.0.2
- bruteforcesettings: 4.0.0
- calendar: 5.3.2
- circles: 31.0.0
- cloud_federation_api: 1.14.0
- comments: 1.21.0
- contacts: 7.1.3
- dashboard: 7.11.0
- dav: 1.33.0
- federatedfilesharing: 1.21.0
- federation: 1.21.0
- files: 2.3.1
- files_accesscontrol: 2.0.0
- files_automatedtagging: 2.0.0
- files_downloadlimit: 4.0.0
- files_external: 1.23.0
- files_pdfviewer: 4.0.0
- files_reminders: 1.4.0
- files_sharing: 1.23.1
- files_trashbin: 1.21.0
- files_versions: 1.24.0
- firstrunwizard: 4.0.0
- groupfolders: 19.1.0
- logreader: 4.0.0
- lookup_server_connector: 1.19.0
- mail: 5.1.3
- memories: 7.5.2
- nextcloud_announcements: 3.0.0
- notes: 4.12.1
- notifications: 4.0.0
- oauth2: 1.19.1
- password_policy: 3.0.0
- photos: 4.0.0-dev.1
- privacy: 3.0.0
- profile: 1.0.0
- provisioning_api: 1.21.0
- related_resources: 2.0.0
- richdocuments: 8.7.1
- richdocumentscode_arm64: 25.4.202
- serverinfo: 3.0.0
- settings: 1.14.0
- sharebymail: 1.21.0
- spreed: 21.1.0
- support: 3.0.0
- survey_client: 3.0.0
- suspicious_login: 9.0.1
- systemtags: 1.21.1
- text: 5.0.0
- theming: 2.6.1
- twofactor_backupcodes: 1.20.0
- twofactor_nextcloud_notification: 5.0.0
- twofactor_totp: 13.0.0-dev.0
- updatenotification: 1.21.0
- user_ldap: 1.22.0
- user_status: 1.11.0
- viewer: 4.0.0
- weather_status: 1.11.0
- webhook_listeners: 1.2.0
- workflowengine: 2.13.0
Disabled:
- contactsinteraction: 1.12.0 (installed 1.12.0)
- encryption: 2.19.0 (installed 2.19.0)
- recommendations: 4.0.0 (installed 4.0.0)