Collabora Online, I disabled both built-in and stand alone servers, but nextcloud seems to connect to a server, which one?

Support intro

Sorry to hear you’re facing problems. :slightly_frowning_face:

The community help forum (help.nextcloud.com) is for home and non-enterprise users. Support is provided by other community members on a best effort / “as available” basis. All of those responding are volunteering their time to help you.

If you’re using Nextcloud in a business/critical setting, paid and SLA-based support services can be accessed via portal.nextcloud.com where Nextcloud engineers can help ensure your business keeps running smoothly.

Getting help

In order to help you as efficiently (and quickly!) as possible, please fill in as much of the below requested information as you can.

Before clicking submit: Please check if your query is already addressed via the following resources:

(Utilizing these existing resources is typically faster. It also helps reduce the load on our generous volunteers while elevating the signal to noise ratio of the forums otherwise arising from the same queries being posted repeatedly).

Some or all of the below information will be requested if it isn’t supplied; for fastest response please provide as much as you can. :heart:

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 30.0.5
  • Operating system and version (e.g., Ubuntu 24.04):
    • archlinux
  • Web server and version (e.g, Apache 2.4.25):
    • Apache 2.4.62
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • N.A.
  • PHP version (e.g, 8.3):
    • 8.3.15
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes, but this is not really an error
  • When did this problem seem to first start?
    • today
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • via package manager of the distro (pacman)
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • replace me

Summary of the issue you are facing:

[…]
I have tried to use Collabora. I installed both built-il and stand alone server, but when I tried run one, opening a .doc file took forever, and when I tried to run the other, nextcloud crashed (I had to restart php-fpm to be able to reconnect to the server). Now, I disabled the built-in server and stand alone server, went to the setting page for Office, and found out that I was using the stand-alone server !


Collabora Online Development Edition 24.04.11.2 b6712dc6c4

URL used by the browser: myurl
Nextcloud URL used by Collabora: myurl
(Determined from the browser URL)

However, the collabora server isn’t running

 systemctl status coolwsd
× coolwsd.service - Collabora Online WebSocket Daemon
     Loaded: loaded (/usr/lib/systemd/system/coolwsd.service; enabled; preset: >
     Active: failed (Result: core-dump) since Sun 2025-02-09 11:31:20 CET; 2h 2>
   Duration: 39.255s
 Invocation: f19d6bfb3c2547e5938073948e0231be
    Process: 1516556 ExecStart=/usr/bin/coolwsd --version --o:sys_template_path>
   Main PID: 1516556 (code=dumped, signal=ABRT)
   Mem peak: 104M
        CPU: 1.581s

I can edit documents, so my nextcloud must be connecting a collabora server, how can I tell which one ?

Steps to replicate it (hint: details matter!):

Log entries

Nextcloud

Please provide the log entries from your Nextcloud log that are generated during the time of problem (via the Copy raw option from Administration settings->Logging screen or from your nextcloud.log located in your data directory). Feel free to use a pastebin/gist service if necessary.

PASTE HERE

{“reqId”:“A99CUM5FwzEsNZ78GrwW”,“level”:0,“time”:“2025-02-09T09:55:58+00:00”,“re
moteAddr”:“192.168.1.1”,“user”:“–”,“app”:“webdav”,“method”:“PROPFIND”,“url”:“/r
emote.php/webdav”,“message”:“No ‘Authorization: Basic’ header found. Either the
client didn’t send one, or the server is misconfigured, No ‘Authorization: Beare
r’ header found. Either the client didn’t send one, or the server is mis-configu
red”,“userAgent”:“Nextcloud Server Crawler”,“version”:“30.0.5.1”,“exception”:{“E
xception”:“Sabre\DAV\Exception\NotAuthenticated”,“Message”:“No ‘Authorization
: Basic’ header found. Either the client didn’t send one, or the server is misco
nfigured, No ‘Authorization: Bearer’ header found. Either the client didn’t send
one, or the server is mis-configured”,“Code”:0,“Trace”:[{“file”:“/usr/share/web
apps/nextcloud/3rdparty/sabre/event/lib/WildcardEmitterTrait.php”,“line”:89,“fun
ction”:“beforeMethod”,“class”:“Sabre\DAV\Auth\Plugin”,“type”:“->”},{“file”:“/
usr/share/webapps/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:456,“f
unction”:“emit”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/usr/share/we
bapps/nextcloud/apps/dav/lib/Connector/Sabre/Server.php”,“line”:43,“function”:“i
nvokeMethod”,“class”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/usr/share/webap
ps/nextcloud/3rdparty/sabre/dav/lib/DAV/Server.php”,“line”:321,“function”:“start
“,“class”:“OCA\DAV\Connector\Sabre\Server”,“type”:”->”},{“file”:“/usr/share/
webapps/nextcloud/apps/dav/appinfo/v1/webdav.php”,“line”:65,“function”:“exec”,“c
lass”:“Sabre\DAV\Server”,“type”:“->”},{“file”:“/usr/share/webapps/nextcloud/re
mote.php”,“line”:146,“args”:[“/usr/share/webapps/nextcloud/apps/dav/appinfo/v1/w
ebdav.php”],“function”:“require_once”}],“File”:“/usr/share/webapps/nextcloud/3rd
party/sabre/dav/lib/DAV/Auth/Plugin.php”,“Line”:152,“message”:“No ‘Authorization
: Basic’ header found. Either the client didn’t send one, or the server is misco
nfigured, No ‘Authorization: Bearer’ header found. Either the client didn’t send
one, or the server is mis-configured”,“exception”:{},“CustomMessage”:“No ‘Autho
rization: Basic’ header found. Either the client didn’t send one, or the server
is misconfigured, No ‘Authorization: Bearer’ header found. Either the client did
n’t send one, or the server is mis-configured”}}

Web Browser

If the problem is related to the Web interface, open your browser inspector Console and Network tabs while refreshing (reloading) and reproducing the problem. Provide any relevant output/errors here that appear.

PASTE

Web server / Reverse Proxy

The output of your Apache/nginx/system log in /var/log/____:

PASTE HERE

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

PASTE HERE

{
“system”: {
“appstoreenabled”: “false”,
“instanceid”: “REMOVED SENSITIVE VALUE”,
“passwordsalt”: “REMOVED SENSITIVE VALUE”,
“secret”: “REMOVED SENSITIVE VALUE”,
“trusted_domains”: [
“stone.local”,
(url removed)
],
“datadirectory”: “REMOVED SENSITIVE VALUE”,
“apps_paths”: [
{
“path”: “/usr/share/webapps/nextcloud/apps”,
“url”: “/apps”,
“writable”: false
},
{
“path”: “/var/lib/nextcloud/apps”,
“url”: “/wapps”,
“writable”: true
}
],
“overwrite.cli.url”: “http://stone.local/nextcloud”,
“dbtype”: “mysql”,
“version”: “30.0.5.1”,
“installed”: true,
“simpleSignUpLink.shown”: false,
“dbname”: “REMOVED SENSITIVE VALUE”,
“dbhost”: “REMOVED SENSITIVE VALUE”,
“dbuser”: “REMOVED SENSITIVE VALUE”,
“dbpassword”: “REMOVED SENSITIVE VALUE”,
“theme”: “”,
“loglevel”: 0,
“defaultapp”: “apporder”,
“app_install_overwrite”: [
“admin_notifications”,
“piwik”,
“tasks”,
“mindmaps”,
“spgverein”,
“documents”,
“spreed”,
“event_update_notification”,
“dropit”,
“ownpad”,
“polls”,
“dashboard”,
“theming_customcss”,
“apporder”,
“contacts”,
“richdocuments”
],
“memcache.local”: “\OC\Memcache\APCu”,
“has_rebuilt_cache”: true,
“mysql.utf8mb4”: true,
“share_folder”: “/AFolderForSharedFilesByOthers”,
“maintenance”: false,
“mail_smtpmode”: “sendmail”,
“mail_sendmailmode”: “smtp”,
“filelocking.enabled”: true,
“memcache.locking”: “\OC\Memcache\Redis”,
“has_rebuilt_cache”: true,
“mysql.utf8mb4”: true,
“share_folder”: “/AFolderForSharedFilesByOthers”,
“maintenance”: false,
“mail_smtpmode”: “sendmail”,
“mail_sendmailmode”: “smtp”,
“filelocking.enabled”: true,
“memcache.locking”: “\OC\Memcache\Redis”,
“redis”: {
“host”: “REMOVED SENSITIVE VALUE”,
“port”: 6379,
“timeout”: 0
}
}
}

Apps

The output of occ app:list (if possible).
Enabled:

  • activity: 3.0.0

  • admin_audit: 1.20.0

  • announcementcenter: 7.1.0

  • app_api: 4.0.5

  • bruteforcesettings: 3.0.0

  • calendar: 5.0.9

  • circles: 30.0.0

  • cloud_federation_api: 1.13.0

  • comments: 1.20.1

  • contacts: 6.1.3

  • contactsinteraction: 1.11.0

  • dashboard: 7.10.0

  • dav: 1.31.1

  • deck: 1.14.3

  • event_update_notification: 2.5.0

  • federatedfilesharing: 1.20.0

  • federation: 1.20.0 - files: 2.2.0

  • files_downloadlimit: 3.0.0

  • files_pdfviewer: 3.0.0

  • files_reminders: 1.3.0

  • files_sharing: 1.22.0

  • files_trashbin: 1.20.1

  • files_versions: 1.23.0

  • firstrunwizard: 3.0.0

  • logreader: 3.0.0

  • lookup_server_connector: 1.18.0

  • mail: 4.1.2

  • nextcloud_announcements: 2.0.0

  • notes: 4.11.0

  • notifications: 3.0.0

  • oauth2: 1.18.1

  • ownpad: 0.12.0 - related_resources: 1.5.0

  • richdocuments: 8.5.3

  • serverinfo: 2.0.0

  • settings: 1.13.0

  • sharebymail: 1.20.0

  • spreed: 20.1.3

  • support: 2.0.0

  • survey_client: 2.0.0

  • systemtags: 1.20.0

  • tasks: 0.16.1

  • text: 4.1.0

  • theming: 2.5.0

  • theming_customcss: 1.18.0

  • twofactor_backupcodes: 1.19.0

  • updatenotification: 1.20.0

  • user_status: 1.10.0

  • viewer: 3.0.0

  • weather_status: 1.10.0

  • webhook_listeners: 1.1.0-dev

  • workflowengine: 2.12.0
    Disabled:

  • admin_notifications: 1.0.2 (installed 1.0.2) - apporder: 0.15.0 (installed 0.15.0)

  • carnet: 0.25.6 (installed 0.25.2)

  • documents: 0.16.0 (installed 0.16.0)

  • dropit: 0.4.0 (installed 0.4.0)

  • encryption: 2.18.0 (installed 2.13.0)

  • external: 5.5.2 (installed 5.5.2)

  • files_external: 1.22.0 (installed 1.16.1)

  • mindmaps: 0.1.0 (installed 0.1.0)

  • piwik: 0.13.0 (installed 0.13.0)

  • quicknotes: 0.8.23 (installed 0.8.22)

  • richdocumentscode: 24.4.1103 (installed 24.4.1103)

  • suspicious_login: 8.0.0

  • twofactor_nextcloud_notification: 4.0.0

  • twofactor_totp: 12.0.0-dev

  • user_ldap: 1.21.0

  • password_policy: 2.0.0

  • photos: 3.0.2

  • polls: 7.2.9

  • privacy: 2.0.0

  • provisioning_api: 1.20.0

  • recommendations: 3.0.0

Tips for increasing the likelihood of a response

  • Use the preformatted text formatting option in the editor for all log entries and configuration output.
  • If screenshots are useful, feel free to include them.
    • If possible, also include key error output in text form so it can be searched for.
  • Try to edit log output only minimally (if at all) so that it can be ran through analyzers / formatters by those trying to help you.

Right below the text you posted there are toggles for selecting which server to use like “Use your own server” + enter the URL, etc. What does it say?

One picture will tell us more than 1000 words :wink:

“Use your own server” is checked, with the URL myclouddomain/wapps/richdocumentscode.php?req= within the box (sorry, I have difficulty with the current computer to take/upload screen shot, and I haven’t even figured out how to reply with quote… )

However, with

 ps -aux | grep coolwsd

I found

nextclo+ 1517341  0.0  0.0   4616  3672 ?        S    Feb09   0:03 /var/lib/nextcloud/apps/richdocumentscode/collabora/Collabora_Onlin
e.AppImage --appimage-extract-and-run --o:remote_font_config.url=https://mydomain/wapps/richdocuments/settings/fonts.
json --o:net.lok_allow.host[14]=mydomain --pidfile=/tmp/coolwsd.pid
nextclo+ 1517351  0.0  0.0  10384  3556 ?        S    Feb09   0:00 /bin/bash /tmp/appimage_extracted_284f453ea4483c90de90f83678c32940/
AppRun --o:remote_font_config.url=https://mydomain/wapps/richdocuments/settings/fonts.json --o:net.lok_allow.host[14]
=mydomain --pidfile=/tmp/coolwsd.pid
nextclo+ 1517430  0.1  0.8 934324 131752 ?       Sl   Feb09   3:02 coolwsd --config-file=/tmp/appimage_extracted_284f453ea4483c90de90f
83678c32940/etc/coolwsd/coolwsd.xml --disable-cool-user-checking --port=9983 --lo-template-path=/tmp/appimage_extracted_284f453ea4483c
90de90f83678c32940/opt/collaboraoffice --o:sys_template_path=/tmp/coolwsd.3LJZzYIT58/systemplate/ --o:security.capabilities=false --o:
security.seccomp=false --o:child_root_path=/tmp/coolwsd.3LJZzYIT58/jails --o:file_server_root_path=/tmp/appimage_extracted_284f453ea44
83c90de90f83678c32940/usr/share/coolwsd --o:ssl.enable=false --o:net.proxy_prefix=true --o:memproportion=50 --o:logging.file[@enable]=
true --o:logging.file.property[0][@name]=path --o:logging.file.property[0]=/tmp/coolwsd.3LJZzYIT58/coolwsd.log --o:welcome.enable=true
 --o:user_interface.mode=default --o:allowed_languages=de_DE el en_GB en_US es_ES fr_FR hu it nl pt_BR pt_PT ru --o:fetch_update_check
=0 --o:allow_update_popup=false --o:remote_font_config.url=https://mydomain/wapps/richdocuments/settings/fonts.json -
-o:net.lok_allow.host[14]=mydomain --pidfile=/tmp/coolwsd.pid

etc.

Does this mean that nextcloud is running its integrated server? But on the admin page settings/apps/disabled I see that integrated server is disabled…

Yes, richdocumentscode is the Built-in edition of CODE (and the running AppImage process suggests CODE server process is still active).

So would this mean somehow the built-in server I launched before I disabled it keeps running?