CODE derver dont work before -u apache apps/richdocumentscode/collabora/Collabora_Online.AppImage
system information
Nextcloud version (eg, 26.0.1) :
27.1.5
Operating system and version (eg, Ubuntu 22.04) :
Linux 5.14.0-402.el9.x86_64 x86_64
Apache or nginx version (eg, Apache 2.4.25) :
Apache/2.4.57 (CentOS Stream)
PHP version (eg, 8.1) :
8.2.14
Database (sqlite or MariaDB or Postgres)
mysql Version: 10.5.16
Docker (compose)
Snap
Is this the first time youâve seen this error?
yes/no
The issue you are facing:
I have Installed the CODE server from the apps shop
I have Installed the NextCloudOffice from the apps shop
2.a nextcloud CODE connection status green OK
Documents didnt open by office (stuck on loading) but began to open when I start using DEMO server and I realized office CODE didnt work
I have tried to run it manually using command: -u apache apps/richdocumentscode/collabora/Collabora_Online.AppImage
It works, but I need to run the command manually
The output of your Nextcloud log in Admin > Logging :
no logs were found
The output of your config.php file in /path/to/nextcloud
**
(use https://.../settings/admin/support
which auto-removes identifying information!):
Enabled:
activity: 2.19.0
admin_audit: 1.17.0
bruteforcesettings: 2.7.0
calendar: 4.6.2
cloud_federation_api: 1.10.0
comments: 1.17.0
contactsinteraction: 1.8.0
dashboard: 7.7.0
dav: 1.27.0
deck: 1.11.2
federatedfilesharing: 1.17.0
federation: 1.17.0
files: 1.22.0
files_pdfviewer: 2.8.0
files_reminders: 1.0.0
files_rightclick: 1.6.0
files_sharing: 1.19.0
files_trashbin: 1.17.0
files_versions: 1.20.0
firstrunwizard: 2.16.0
logreader: 2.12.0
lookup_server_connector: 1.15.0
nextcloud_announcements: 1.16.0
notes: 4.9.2
notifications: 2.15.0
oauth2: 1.15.1
password_policy: 1.17.0
photos: 2.3.0
privacy: 1.11.0
provisioning_api: 1.17.0
recommendations: 1.6.0
related_resources: 1.2.0
richdocuments: 8.2.3
richdocumentscode: 23.5.604
serverinfo: 1.17.0
settings: 1.9.0
sharebymail: 1.17.0
support: 1.10.0
survey_client: 1.15.0
suspicious_login: 5.0.0
text: 3.8.0
theming: 2.2.0
twofactor_backupcodes: 1.16.0
twofactor_totp: 9.0.0
updatenotification: 1.17.0
user_status: 1.7.0
viewer: 2.1.0
weather_status: 1.7.0
workflowengine: 2.9.0
Disabled:
circles: 26.0.0
encryption: 2.14.0
files_archive: 1.1.3
files_external
fileslibreofficeedit: 1.1.0
officeonline: 2.0.3
onlyoffice: 8.2.4
systemtags: 1.16.0
user_ldap
wopi: 3.5.11
Configuration (config/config.php)
{
âinstanceidâ: âREMOVED SENSITIVE VALUE â,
âpasswordsaltâ: âREMOVED SENSITIVE VALUE â,
âsecretâ: âREMOVED SENSITIVE VALUE â,
âtrusted_domainsâ: [
âREMOVED SENSITIVE VALUE â
],
âforwarded_for_headersâ: [
âHTTP_X_FORWARDED_FORâ
],
âdatadirectoryâ: âREMOVED SENSITIVE VALUE â,
âdbtypeâ: âmysqlâ,
âversionâ: â27.1.5.1â,
âoverwrite.cli.urlâ: âhttp://REMOVED SENSITIVE VALUE â,
âdbnameâ: âREMOVED SENSITIVE VALUE â,
âdbhostâ: âREMOVED SENSITIVE VALUE â,
âdbportâ: ââ,
âmemcache.localâ: â\OC\Memcache\Redisâ,
âmemcache.lockingâ: â\OC\Memcache\Redisâ,
âfilelocking.enabledâ: âtrueâ,
âredisâ: {
âhostâ: âREMOVED SENSITIVE VALUE â,
âportâ: 0,
âtimeoutâ: 0
},
âdbtableprefixâ: âoc_â,
âmysql.utf8mb4â: true,
âdbuserâ: âREMOVED SENSITIVE VALUE â,
âdbpasswordâ: âREMOVED SENSITIVE VALUE â,
âinstalledâ: true,
âthemeâ: ââ,
âloglevelâ: 2,
âmaintenanceâ: false,
âupdater.release.channelâ: âstableâ,
âapp_install_overwriteâ: [
âfiles_archiveâ,
âwopiâ
],
âtwofactor_enforcedâ: âtrueâ,
âtwofactor_enforced_groupsâ: ,
âtwofactor_enforced_excluded_groupsâ:
}
wwe
January 4, 2024, 9:06pm
2
hi @doomerkg welcome to the forum
you are missing the required support template . Please fill this form out and edit into your post. This will give us the technical info and logs needed to help you in case the machine in question in spitting out errors! Since youâve provided zero technical details it is impossible to help you as-is. Thanks.
Please use the search - lot of issues have been discussed already
I have changed my post according the rules. Sorry.
wwe
January 5, 2024, 3:33pm
4
you are welcome.
Please check/upload nextcloud.log and apache log - if there is something related to CODE start - when you restart the system.
older thread describes a ugly workaround with crontab
NC v19 not able to start CODE
done this work arround hope this gonna help
#sudo netstat -tulpn|grep loolwsd
kill all runnin loolwsd
2)
sudo kill 7448
go to NC-dir
cd /var/www/html/nextcloud/apps/richdocumentscode/collabora/
start it manually
sudo -u www-data ./Collabora_Online.AppImage &disown
check if workin and /port
sudo netstat -tulpn|grep loolwsd
be aware after reboot you have to do it again or you can add
a cron
#sudo -u www-data crontab -e
#@reboot /var/www/html/nextclouâŚ
Please review:
opened 08:30AM - 22 Nov 20 UTC
closed 06:53PM - 21 Mar 21 UTC
Is there any solution for systems with SELinux activated, CentOS, Fedora? I got ⌠plenty of SELinux access control errors.
System: Fedora 32 - Server edition
NC-version: 20.0.2
Collabora Online: 3.7.9
Built-in CODE server: 6.4.14
- SELinux prevents forkit from accessing the /usr/ lib/ fontconfig/cache directory with setattr access.
- SELinux prevents forkit from accessing a process with "setrlimit" access.
- SELinux prevents forkit from accessing a process with "execmem" access.
- SELinux prevents forkit from accessing filesystem / with getattr access.
- SELinux prevents loolwsd from accessing the file /mnt/cloud/nextcloud/tmp/.mount_CollabjmEFgM/usr/bin/loolwsd with map access.
- SELinux prevents loolwsd from accessing lnk_file libpam.so.0 with read access.
- SELinux prevents loolwsd from accessing tcp_socket port 9982 with name_bind access.
- SELinux prevents Collabora_Onlin from accessing chr_file fuse with "read, write" access.
- SELinux prevents Collabora_Onlin from accessing file /tmp/appimage_extracted_5e20032a50bed3640fe8e012edac0852/AppRun with execute_no_trans access.
- SELinux prevents Collabora_Onlin from accessing chr_file /dev/fuse with open access.
- SELinux prevents Collabora_Onlin from accessing the /mnt/cloud/nextcloud/tmp/.mount_CollabjmEFgM directory with mounton access.
- SELinux prevents fusermount from using the dac_read_search capability.
- SELinux prevents fusermount from accessing filesystem / with mount access.
- SELinux prevents Collabora_Onlin from accessing the uno_packages directory with read access.
- SELinux prevents Collabora_Onlin from accessing the /mnt/cloud/nextcloud/tmp/.mount_CollabjmEFgM/opt/collaboraoffice6.4/share/uno_packages/cache/uno_packages directory with open access.
- SELinux prevents Collabora_Onlin from accessing directory / with search access.
- SELinux prevents Collabora_Onlin from accessing the AppRun file with execute access.
- SELinux prevents Collabora_Onlin from accessing the file /mnt/cloud/nextcloud/tmp/.mount_CollabjmEFgM/AppRun with "read, open" access.
- SELinux prevents Collabora_Onlin from accessing the file /mnt/cloud/nextcloud/tmp/.mount_CollabjmEFgM/AppRun with execute_no_trans access.
- SELinux prevents AppRun from accessing the file /mnt/cloud/nextcloud/tmp/.mount_CollabjmEFgM/AppRun with getattr access.
- SELinux prevents AppRun from accessing the file /mnt/cloud/nextcloud/tmp/.mount_CollabjmEFgM/AppRun with ioctl access.
- SELinux prevents readlink from accessing the /mnt/cloud/nextcloud/tmp/.mount_CollabjmEFgM/opt/collaboraoffice6.4/share/uno_packages/cache/uno_packages directory with getattr access.
1 Like
NC v19 not able to start CODE
done this work arround hope this gonna help
#sudo netstat -tulpn|grep loolwsd
kill all runnin loolwsd
2)
sudo kill 7448
go to NC-dir
cd /var/www/html/nextcloud/apps/richdocumentscode/collabora/
start it manually
sudo -u www-data ./Collabora_Online.AppImage &disown
check if workin and /port
sudo netstat -tulpn|grep loolwsd
be aware after reboot you have to do it again or you can add
a cron
#sudo -u www-data crontab -e
#@reboot /var/www/html/nextcloud/apps/richdocumentscode/collabora/Collabora_Online.AppImage </dev/null &>/dev/nul