The Tool Desk
Outbyte PC Repair FREEClear out junk files and repair common Windows errorsFree Scan →Outbyte Driver Updater FREEScan for outdated or missing drivers - takes under a minuteDriver Scan →iTechGuides is reader-supported. When you buy through links on our site, we may earn an affiliate commission. As an Amazon Associate I earn from qualifying purchases. Learn more
To turn off Nextcloud’s built-in Collabora server, disable the app richdocumentscode (or richdocumentscode_arm64 on ARM64). To delete its files, run occ app:remove; Nextcloud documents that command as disabling and removing an app. The graphical Apps page is suitable for disabling, but the command-line removal is the reliable way to delete the app directory.
There is an important security exception: disabling an old Built-in CODE app does not fix CVE-2026-110447. If the installed version is below 26.4.303, upgrade to 26.4.303 or later on Nextcloud 30+, or remove the app. The vulnerability is in the app’s proxy.php, which remains on disk after a normal disable.
What exactly are you disabling?
Nextcloud has two separate pieces that are often called “Collabora”:
PC Slower Than It Used to Be?
A free scan shows the junk files, broken settings and background clutter dragging Windows down - then fixes them in one click.Free scan · Windows 10 & 11Crashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minute- Collabora Online – Built-in CODE Server, app ID
richdocumentscodeon x86-64 orrichdocumentscode_arm64on ARM64. It bundles a Collabora Office Development Edition (CODE) server as an AppImage inside the Nextcloud app directory. - Nextcloud Office, app ID
richdocuments. This is the connector that integrates Nextcloud with a Collabora server through WOPI. It can use the built-in server, a Docker server, a package-based Collabora Online server or a hosted endpoint.
Removing richdocumentscode does not delete documents and does not automatically remove richdocuments. If you still need browser-based document editing, keep Nextcloud Office installed and point it at another Collabora server. If you are abandoning online office editing, disable or remove richdocuments separately.
Popular on Amazon
- 【90 Degree Full Function USB C Adapter】Supports the latest USB4 standard for up to 40Gbps of bandwidth, 8K video support, and up to 240W Fast charging; Support USB PD 3.1 Extended Power Range (EPR) including 140W, 180W and 240W. Your productivity is easily doubled. *Warm Tip: For the best fit, please make sure the USB-C port is fully exposed; thick or bulky cases may affect compatibility.
- 【Reliable Quality】Made from high-quality, scratch-resistant aluminum alloy, delicate metal frame. get excellent wear resistance and heat dissipation. Non-Slip Design for easier insertion and removal.
- 【Small and portable】Ultra thin size, ultra compact design, a petite physique that matches the minimalist design of your modern laptops. Coming with a slim figure that won't block the port next to the one it's plugged into.
- 【Compatibility】Widely work with most usb c, thunderbolt 4/3 devices. Compatibilit for ROG Ally, Steam Deck, Switch, MacBook Pro, Quest 3 VR headset, Surface Book 2, iPhone 18/17/16/15, Samsung Galaxy S23/S22/S21, Note 20/10, Google Pixel, ChromeBook, etc.
- 【Excellence Customer Support】If you experience any issues or cable failure, simply reach out to our dedicated customer service team. We provide a prompt response within 18 hours, providing you with the necessary technical support to resolve any concerns.
The Built-in CODE app is intended for personal use or small teams. Collabora’s README describes it as easier to install than a standalone server, but slower and without the same scalability features. It is not the same deployment as the collabora/code Docker image or the Collabora component in Nextcloud All-in-One.
Is disabling enough to fix CVE-2026-110447?
No. Collabora’s 14 October 2026 advisory says versions before 26.4.303 can allow operating-system command injection through proxy.php. The attack requires the built-in CODE process to be stopped, such as during a restart, upgrade or crash. Because disabling leaves the app files in place, the vulnerable script can still be served directly by the web server.
Collabora’s required remedies are:
- On Nextcloud 30 or newer, update Built-in CODE to 26.4.303 or later and confirm the installed version.
- If you do not need Built-in CODE, remove it with
occ app:remove. - On Nextcloud 29 or older, upgrade Nextcloud or remove the app. Those releases cannot install the fixed 26.4.303-or-newer train from the App Store.
The issue is tracked as CVE-2026-110447, CWE-78, and was added to CISA’s Known Exploited Vulnerabilities catalog on 23 October 2026. Collabora rates it Critical with a CVSS 4.0 score of 9.2; a later NVD score of 9.8 (CVSS 3.1) was reported by security researchers. Standalone Collabora servers, Docker deployments, package installations and the All-in-One Collabora path are not affected by this particular vulnerability.
“It is not sufficient to disable the app to avoid the problem, it must be upgraded to >= 26.4.303 or removed.” — Collabora advisory
Should you disable, update or remove the app?
| Goal | Action | What remains |
|---|---|---|
| Pause the built-in server temporarily | Disable richdocumentscode |
All app files, including proxy.php, remain on disk. This is reversible but is not a CVE fix. |
| Keep using Built-in CODE securely | Update to 26.4.303 or later | The app remains installed. Current App Store stable for Nextcloud 30–35 is 26.4.502 in this pass. |
| Delete the built-in CODE component | occ app:remove |
The app directory is removed. Nextcloud Office and your files remain unless you remove them separately. |
| Stop all browser office editing | Remove or disable Built-in CODE, then disable or remove richdocuments |
Documents remain stored in Nextcloud, but in-browser editing through Nextcloud Office stops. |
What should you check before changing anything?
- Back up Nextcloud. Take a database backup and ensure you can restore the
configdirectory and data. App removal should not touch user documents, but a backup protects you from an unrelated administration error. - Identify the architecture and app ID. Use
uname -m. Anx86_64host normally usesrichdocumentscode; an ARM64 host usesrichdocumentscode_arm64. Confirm the actual ID withocc app:list. - Decide where editing will run afterward. If you have Docker CODE, a package-based Collabora server or a hosted WOPI endpoint, keep
richdocumentsand plan to set its external URL. If there is no replacement, plan to disable the connector too. - Check the version before disabling. A vulnerable installation should be upgraded or removed rather than merely switched off.
The app’s bundled AppImage is about 300 MB. Collabora lists two CPU cores, 1 GB of RAM plus about 100 MB per active user, 100 kbit/s per user and 300 MB of disk (or up to 800 MB in /tmp without FUSE) as requirements. These requirements explain why some administrators replace Built-in CODE with a separate server, but they do not change the removal procedure.
How do you disable Collabora CODE from the Nextcloud interface?
The Apps page is the normal graphical control for enabling and disabling applications. It does not always expose the same uninstall control on every Nextcloud release, so use occ app:remove when the objective is complete deletion.
- Sign in to Nextcloud with an administrator account.
- Open Apps. In the categories, look under Office & text if necessary.
- Search for Collabora Online – Built-in CODE Server.
- Open the app entry and select Disable.
- Return to the app list and confirm that the entry is marked disabled.
Disabling only changes Nextcloud’s enabled-app state. It does not erase apps/richdocumentscode/, and its proxy.php can still be reachable by a web server that executes the file directly. For CVE-2026-110447, continue with an update or complete removal.
Recommended Free Tools
How do you remove it with occ?
Run occ as the web-server user from the Nextcloud installation directory. Typical users are www-data on Debian or Ubuntu, wwwrun on SUSE, apache on Red Hat or Fedora, and http on Arch.
For a usual Debian or Ubuntu installation, replace /var/www/nextcloud with your path:
Also popular on Amazon
- 5-in-1 Connectivity: Equipped with a 4K HDMI port, a 5 Gbps USB-C data port, two 5 Gbps USB-A ports, and a USB C 100W PD-IN port. Note: The USB C 100W PD-IN port supports only charging and does not support data transfer devices such as headphones or speakers.
- Powerful Pass-Through Charging: Supports up to 85W pass-through charging so you can power up your laptop while you use the hub. Note: Pass-through charging requires a charger (not included). Note: To achieve full power for iPad, we recommend using a 45W wall charger.
- Transfer Files in Seconds: Move files to and from your laptop at speeds of up to 5 Gbps via the USB-C and USB-A data ports. Note: The USB C 5Gbps Data port does not support video output.
- HD Display: Connect to the HDMI port to stream or mirror content to an external monitor in resolutions of up to 4K@30Hz. Note: The USB-C ports do not support video output.
- What You Get: Anker 332 USB-C Hub (5-in-1), welcome guide, our worry-free 18-month warranty, and friendly customer service.
cd /var/www/nextcloud
sudo -E -u www-data php occ app:list | grep -E 'richdocuments(code)?'
sudo -E -u www-data php occ app:remove richdocumentscode
On ARM64, use the ARM app ID in every command:
sudo -E -u www-data php occ app:remove richdocumentscode_arm64
app:remove disables the app and removes its application directory. If you need to preserve app data for a later reinstall, use:
sudo -E -u www-data php occ app:remove --keep-data richdocumentscode
That option keeps data while removing the app code. It is useful for a reversible migration, but it is not a reason to leave a vulnerable executable directory in the web root; verify exactly what your version retains before relying on it for incident remediation.
Do these 3 things before closing this tab:
1Scan for outdated or missing drivers - takes under a minute2Repair Windows errors before they cause bigger problems3Fix the driver behind crashes, sound loss and screen glitchesConfirm the result:
sudo -E -u www-data php occ app:list
sudo -E -u www-data php occ app:list --disabled
sudo -E -u www-data php occ app:getpath richdocumentscode
The removed app should no longer appear as installed, and app:getpath should fail rather than print a live directory. If you used the ARM ID, query richdocumentscode_arm64 instead.
How do you update instead of removing Built-in CODE?
Updating is appropriate when you want to keep the same-host CODE service and your server runs Nextcloud 30 or newer. In the Apps page, open the Built-in CODE entry and choose Update, or use:
sudo -E -u www-data php occ app:update richdocumentscode
sudo -E -u www-data php occ app:list | grep richdocumentscode
Do not confuse the version trains. In the current App Store listing, Built-in CODE is 26.4.502 for Nextcloud 30–35, while Nextcloud Office (richdocuments) has separate versions such as 12.0.1 for Nextcloud 35 and 8.5.17 for Nextcloud 30. The CODE number is the one relevant to CVE-2026-110447.
Nextcloud 25–29 may still show the 26.4.104 line, which is below the security floor. Those servers cannot obtain 26.4.303 or newer from the compatible App Store channel. Upgrade Nextcloud first or remove Built-in CODE. Older Nextcloud 19–24 entries use a 23.5.5 line and should not be treated as patched.
Some administrators reported startup failures with 26.4.402; the named security fix remains 26.4.303, and 26.4.502 is the current 30–35 store build in the available data. If an update will not start, remove the app or investigate the service logs rather than reverting to an earlier vulnerable release.
What is the procedure on the Nextcloud Snap?
The Snap uses nextcloud.occ instead of calling PHP directly. The Snap documentation treats Built-in CODE and Nextcloud Office as separate apps.
To disable the components and clear the WOPI settings used by the Snap configuration:
Also popular on Amazon
- Sleek 7-in-1 USB-C Hub: Features an HDMI port, two USB-A 3.0 ports, and a USB-C data port, each providing 5Gbps transfer speeds. It also includes a USB-C PD input port for charging up to 100W and dual SD and TF card slots, all in a compact design.
- Flawless 4K@60Hz Video with HDMI: Delivers exceptional clarity and smoothness with its 4K@60Hz HDMI port, making it ideal for high-definition presentations and entertainment. (Note: Only the HDMI port supports video projection; the USB-C port is for data transfer only.)
- Double Up on Efficiency: The two USB-A 3.0 ports and a USB-C port support a fast 5Gbps data rate, significantly boosting your transfer speeds and improving productivity.
- Fast and Reliable 85W Charging: Offers high-capacity, speedy charging for laptops up to 85W, so you spend less time tethered to an outlet and more time being productive.
- What You Get: Anker USB-C Hub (7-in-1), welcome guide, 18-month warranty, and our friendly customer service.
sudo nextcloud.occ app:disable richdocumentscode
sudo nextcloud.occ app:disable richdocuments
sudo nextcloud.occ config:app:delete richdocuments public_wopi_url
sudo nextcloud.occ config:app:delete richdocuments wopi_url
On ARM64, replace richdocumentscode with richdocumentscode_arm64. If your Snap exposes app removal, use the equivalent command:
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Scan for outdated or missing drivers - takes under a minuteDriver Scan →Repair Windows errors before they cause bigger problemsFix Now →sudo nextcloud.occ app:remove richdocumentscode
Do not run the re-enable sequence from the Snap guide unless you are restoring Collabora. If you intend to continue editing through an external server, re-enable richdocuments, set its external WOPI URL and activate the configuration. The separate Snap app named office can conflict with richdocuments and Built-in CODE; the documented workaround is to disable office before reconfiguring Collabora.
How do you clear stale WOPI settings after removal?
Removing the server does not necessarily remove URLs stored by Nextcloud Office. If those values still point to the old built-in endpoint, the Office connector can show connection errors or repeatedly try to contact a server that no longer exists.
If you are no longer using any Collabora server, remove the two common URL keys and disable the connector:
sudo -E -u www-data php occ config:app:delete richdocuments public_wopi_url
sudo -E -u www-data php occ config:app:delete richdocuments wopi_url
sudo -E -u www-data php occ app:disable richdocuments
If you are switching to Docker CODE, a package installation or a hosted Collabora endpoint, keep richdocuments enabled and set the new address instead:
sudo -E -u www-data php occ config:app:set --value https://office.example.net richdocuments wopi_url
sudo -E -u www-data php occ richdocuments:activate-config
Replace the example URL with the HTTPS address of your own Collabora server. The external server must be configured to trust your Nextcloud WOPI host; changing this value alone does not configure the remote server’s allow-list or reverse proxy.
What if you installed Docker CODE or use All-in-One?
A standalone Docker container is managed outside the Nextcloud app system. Stopping it does not remove richdocumentscode from Nextcloud, and removing the Nextcloud app does not delete a separate container.
docker stop CONTAINER_ID
docker rm CONTAINER_ID
Use those commands only for a standalone collabora/code container. If both deployments exist, remove the container and remove the Nextcloud app as two separate jobs, then update the richdocuments WOPI URL.
Nextcloud All-in-One has its own control plane. Collabora states that the AIO Collabora path is not the Built-in CODE app affected by CVE-2026-110447. Manage that installation from the AIO interface rather than assuming occ app:disable richdocumentscode is the correct control. AIO upgrades, backups and container restarts can also manage the related Nextcloud Office app, so follow the AIO interface and documentation for that deployment.
What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Also popular on Amazon
- Portable and powerful USB-C HUB: BENFEI USB Type-C HUB, with super-soft and knot-free silicone woven design cable, meets most mobile office needs. Compact, lightweight, stylish, and powerful portable USB C Hub equipped with 1 x HDMI port, 1 x 100W charging, and 3 x USB ports. 18-month warranty, 24-hour response, to ensure you feel at ease when using our product.
- Design centered on comfort and reliability: Thanks to BENFEI's end-to-end in-house cable production capability, in-house PCBA and assembly capability, using the industry's most advanced silicone woven design and process, 20cm cable in length, no knots, super-soft, the HUB is easy to use in all scenarios: laptop, tablet, stand etc. Super-soft, 25000+ life cycles, to meet your daily carrying and office needs.
- 100W Charging: Support up to 90W USB C pass-through charging via Type-C port to keep your laptop powered. 10W is reserved for other interface operations. No data and video function on the Type-C port.
- 4K HDMI Display: The HDMI port supports media display at resolutions up to 4K 30Hz, keeping every incredible moment detailed and ultra vivid. Please note that the C port of the Host device needs to support video output.
- Transfer Files in Seconds: Transfer files and from your laptop at speeds up to 10 Gbps with USB A 3.2 port. Extra 2 USB A 2.0 ports are perfectly for your keyboards and mouse.
How can you verify that removal really happened?
- List installed and disabled apps and confirm that neither CODE app ID remains.
- Use
occ app:getpathfor the relevant ID; a removed app should have no directory to report. - Check the filesystem under the Nextcloud
appsdirectory for a leftoverrichdocumentscodeorrichdocumentscode_arm64folder. - Reload the web server or PHP workers if your deployment caches scripts, then test the Nextcloud Office page.
- Inspect Administration settings → Office. It should either be disabled or show the replacement Collabora URL, not the old built-in address.
Do not manually delete an app directory while Nextcloud still considers the app installed. That can leave database state and migrations inconsistent. Use occ app:remove first, and investigate any remaining files afterward.
What should you do if the server was exposed with a vulnerable version?
Patch or remove the app first, then investigate. An upgrade does not erase a web shell that an attacker may already have written.
Collabora and security researchers have described shell names such as shx*.php and shr*.php in the app directory. Search the installation and review access logs (adjust paths for your distribution):
find /var/www/nextcloud ( -name 'shx*.php' -o -name 'shr*.php' )
zgrep -E 'richdocumentscode/proxy.php.*(%2e%2e|$(|%24%28|${IFS}|%24%7BIFS)' /var/log/apache2/access.log*
If the app is still present, Nextcloud’s app-integrity check can provide another signal:
Free tools Windows power users keep installed
One-click scans. No signup required.
sudo -E -u www-data php occ integrity:check-app richdocumentscode
After removal, run the filesystem search against the old app path and examine web-server, PHP-FPM and system logs around suspicious requests. A malicious file can have an arbitrary name, so the patterns above are indicators, not a complete forensic scan. Review unexpected files owned by the web-server account and check for new cron jobs, SSH keys or modified configuration.
If you find evidence of execution, isolate the host from the internet, preserve logs and a forensic copy, and rotate every credential the web-server user could read. That includes database credentials, SMTP passwords, object-storage keys, API tokens and the secrets in config/config.php. The published reports did not establish how many servers were compromised, so treat an exposed vulnerable installation as an incident until your own review shows otherwise.
Can you clean up failed installs by editing the database?
Direct database deletion is a last resort, not the normal uninstall procedure. A 2023 community discussion suggested inspecting oc_appconfig, oc_preferences and oc_migrations for richdocuments records after a failed install, but it also warned to make a database dump first. The posted migration-delete statement contained invalid SQL syntax, and database cleanup alone did not resolve every stuck-loading case.
Prefer occ app:remove and occ config:app:delete. If an administrator must inspect the database, take a tested backup, identify the exact table prefix and records, and make changes only with a rollback plan. Do not copy an unreviewed SQL deletion into production.
What can replace Built-in CODE?
After removal, choose the editing architecture deliberately:
Also popular on Amazon
- 【Read before You Buy】 Note: This adapter is USB 2.0 version and cannot transmit HDM, VGA, or other video signals. Nevertheless, they are fully capable of charging devices,duplicating files, and can be seamlessly integrated with USB-C earphones, wireless network adapters, and SD card adapters.
- 【Easy to Use and Safe】Thanks to modern manufacturing techniques, we've made these adapters sufficiently compact so that they can remain inserted in your device without noticeable protrusion or inconvenience. This means you don't have to constantly plug and unplug them, reducing the likelihood of wear and misalignment, and making them more convenient to carry around.
- 【Reliable Quality】Engineered for enhanced durability, durable aluminum alloy shell material,get excellent wear resistance and heat dissipation,the male USB C and female USB connectors & the male USB and female USB C connectors are designed to be plugged and unplugged up to 20000 times. Provides data transfer, device charging, memory space expansion, and additional computer peripherals.
- 【Think more for you】Do you need to connect a USB-C-enabled device to an odd device that only has USB-A ports? Then these USB-A male to USB-C female adapters are made for you.Simply insert the adapter into the USB-A port on the device, and you can instantly connect your USB-C device to the device that originally didn't have the correct connection port.
- 【Trusted xiwxi Quality and Service】As a responsible brand seller, you will receive xiwxi's 12-month Quality assurance and lifetime friendly customer service, you're not just buying a product,you're investing in peace of mind with all-round quality and exceptional customer service.
- Standalone Collabora in Docker: suitable when you want CODE separated from the Nextcloud PHP host. Stop and remove the container independently, and configure Nextcloud Office with its URL.
- Package-based or Collabora Online server: a separate Linux service can provide more controlled scaling and lifecycle management than an AppImage inside Nextcloud.
- Hosted Collabora endpoint: keep
richdocumentsand set the provider’s WOPI URL in Administration settings → Office or withocc config:app:set. - No online office: disable or remove both
richdocumentscodeandrichdocuments. Files remain available for download and desktop editing. - A different office integration: alternatives such as the separate
onlyofficeapp use a different server and configuration stack; removing Built-in CODE does not install or configure them.
Do not disable richdocuments merely because you removed Built-in CODE if you still use another Collabora server. The connector is the part that talks WOPI to that replacement.
How did we choose the commands and recommendations?
The procedure follows Nextcloud’s documented app commands and Apps management behavior, Collabora’s Built-in CODE README and security advisory, and the Snap guidance for clearing WOPI settings. The key decision criteria are the desired outcome (temporary pause, secure update or deletion), the Nextcloud major version, the CPU architecture, whether another Collabora server will remain, and whether the old app was exposed to the internet. No performance comparison is implied: Built-in CODE’s resource figures and scalability description come from Collabora’s published documentation.
Frequently asked questions
Will removing richdocumentscode delete my Nextcloud documents?
No. The app is the editing service, not the document store. Removing it leaves files in Nextcloud storage, although users will lose in-browser editing until richdocuments is connected to another compatible server.
How can I tell whether my server is ARM64?
Run uname -m on the host running Nextcloud. An output such as aarch64 indicates ARM64 and normally corresponds to richdocumentscode_arm64; x86_64 normally uses richdocumentscode. Always trust the ID shown by occ app:list if it differs.
Does updating Nextcloud Office also update Built-in CODE?
No. richdocuments and richdocumentscode are separate apps with separate release trains. Update or remove the CODE app explicitly, then verify its 26.4.x version independently.
Can I reinstall Built-in CODE later?
Yes, provided your Nextcloud version and architecture are supported and the app is available in the Apps catalog. Reinstalling does not restore old WOPI settings automatically; check Administration settings → Office after installation and use a patched release.
Why does a browser still show a Collabora connection error after removal?
The usual cause is a stale wopi_url or public_wopi_url value in richdocuments, or a browser tab holding an old editing session. Clear the obsolete keys, set the replacement URL if applicable, sign out and back in, and then retry from a newly loaded file.
Frequently Asked Questions
Will removing richdocumentscode delete my Nextcloud documents?
No. The app is the editing service, not the document store. Removing it leaves files in Nextcloud storage, although users will lose in-browser editing until richdocuments is connected to another compatible server.
How can I tell whether my server is ARM64?
Run uname -m on the host running Nextcloud. An output such as aarch64 indicates ARM64 and normally corresponds to richdocumentscode_arm64; x86_64 normally uses richdocumentscode. Always trust the ID shown by occ app:list if it differs.
Does updating Nextcloud Office also update Built-in CODE?
No. richdocuments and richdocumentscode are separate apps with separate release trains. Update or remove the CODE app explicitly, then verify its 26.4.x version independently.
Can I reinstall Built-in CODE later?
Yes, provided your Nextcloud version and architecture are supported and the app is available in the Apps catalog. Reinstalling does not restore old WOPI settings automatically; check Administration settings → Office after installation and use a patched release.
Free tools Windows power users keep installed
One-click scans. No signup required.
Why does a browser still show a Collabora connection error after removal?
The usual cause is a stale wopi_url or public_wopi_url value in richdocuments, or a browser tab holding an old editing session. Clear the obsolete keys, set the replacement URL if applicable, sign out and back in, and then retry from a newly loaded file.

