← LinkedIn demo

AILANG×docs.nextcloud.com

AI portable generated 2026-05-14
agent-ready privacy portable

docs.nextcloud.com scored 2/10 on portable.

The radar shows AILANG-readiness across three commercial concerns. High means docs.nextcloud.com is already strong there; low means AILANG could meaningfully help.

Why portable scored 2/10
  • Page copy that names one specific LLM provider (e.g. "powered by Claude") without portability claims.
  • Body mentions two or more named AI providers (Claude, GPT, Gemini, Mistral, Llama, etc.) — already vendor-multi.
  • Body mentions self-hosted, on-prem, WASM, Docker, Kubernetes, or "deploy anywhere" — runtime portability claimed.
  • Body mentions "bring your own key", "BYOK", "any LLM", or "model-agnostic" — caller controls the model.

Full breakdown ↓ · View rubric ↗

System administrators and IT professionals responsible for deploying, configuring, and maintaining Nextcloud instances.

This documentation provides a comprehensive guide for installing and configuring Nextcloud. It covers system requirements, detailed steps for server setup on different Linux distributions, PHP configuration, security hardening, and ongoing maintenance. The manual also details management of users, apps, files, and various other platform features for administrators.
Nextcloud Server configuration PHP Installation System requirements Database configuration NGINX SELinux

What AILANG Parse sees on docs.nextcloud.com

Structural extraction — the same content an AI agent would consume from this page.

1 headings1 images14 lists0 tables3 linksHTML parsing by AILANG Parse

5 sections — page skeleton

2 navs 2 sections 1 footer

1 headings

Installation and server configuration

1 images

Logo

14 list items

[Introduction](../index.html) [Maintenance and release schedule](../release_schedule.html) [GDPR compliance](../gdpr/index.html) [Declarations](../declarations/index.html) [Critical changes](../release_notes/index.html) Installation and server configuration [System requirements](system_requirements.html) [D… [System requirements](system_requirements.html) [Preparing PHP](php_configuration.html) [Installation on Linux](source_installation.html) [Installation wizard](installation_wizard.html) [Automatic setup](automatic_configuration.html) [SELinux configuration](selinux_configuration.html)
Show the full extract — what AILANG Parse pulled from this page
# Installation and server configuration — Nextcloud latest Administration Manual latest documentation


[Image: Logo]

[(link)](../contents.html)

Search docs

Getting Started

- [Introduction](../index.html)
- [Maintenance and release schedule](../release_schedule.html)
- [GDPR compliance](../gdpr/index.html)
- [Declarations](../declarations/index.html)

Release notes

- [Critical changes](../release_notes/index.html)

Installation

- Installation and server configuration

[System requirements](system_requirements.html)
[Deployment recommendations](deployment_recommendations.html)
[Preparing PHP](php_configuration.html)
[Installation on Linux](source_installation.html)
[Installation wizard](installation_wizard.html)
[Installing from command line](command_line_installation.html)
[Automatic setup](automatic_configuration.html)
[SELinux configuration](selinux_configuration.html)
[NGINX configuration](nginx.html)
[Hardening and security guidance](harden_server.html)
[Server tuning](server_tuning.html)
[Example installation on Ubuntu 24.04 LTS](example_ubuntu.html)
[Example installation on CentOS 8](example_centos.html)
[Example installation on OpenBSD](example_openbsd.html)
[Uninstallation](uninstallation.html)
- [System requirements](system_requirements.html)
- [Deployment recommendations](deployment_recommendations.html)
- [Preparing PHP](php_configuration.html)
- [Installation on Linux](source_installation.html)
- [Installation wizard](installation_wizard.html)
- [Installing from command line](command_line_installation.html)
- [Automatic setup](automatic_configuration.html)
- [SELinux configuration](selinux_configuration.html)
- [NGINX configuration](nginx.html)
- [Hardening and security guidance](harden_server.html)
- [Server tuning](server_tuning.html)
- [Example installation on Ubuntu 24.04 LTS](example_ubuntu.html)
- [Example installation on CentOS 8](example_centos.html)
- [Example installation on OpenBSD](example_openbsd.html)
- [Uninstallation](uninstallation.html)
- [Database configuration](../configuration_database/index.html)

Configuration

- [Nextcloud configuration](../configuration_server/index.html)
- [Using the occ command](../occ_command.html)
- [Reference management](../reference/index.html)
- [Webhook Listeners](../webhook_listeners/index.html)
- [Windmill Workflows](../windmill_workflows/index.html)

Files

- [File sharing and management](../configuration_files/index.html)
- [Flow](../file_workflows/index.html)
- [Mimetypes management](../configuration_mimetypes/index.html)

Apps

- [Apps management](../apps_management.html)
- [ExApps management](../exapps_management/index.html)
- [Artificial Intelligence](../ai/index.html)

Users

- [User management](../configuration_user/index.html)
- [Desktop Clients](../desktop/index.html)

Groupware

- [Groupware](../groupware/index.html)

Office

- [Office](../office/index.html)

Collectives

- [Collectives](../collectives/index.html)

Maintenance

- [Monitoring](../configuration_monitoring/index.html)
- [Maintenance](../maintenance/index.html)
- [Issues and troubleshooting](../issues/index.html)

Links

- [Community Help Forum](https://help.nextcloud.com/)
- [User Manuals](https://docs.nextcloud.com/)
- [Developer Manuals](https://docs.nextcloud.com/)
- [Download](https://nextcloud.com/install/)
- [App Store](https://apps.nextcloud.com)
- [Translations](https://help.nextcloud.com/t/translation-knowledge-valid-for-the-entire-nextcloud-project-wiki/51550)
- [GitHub](https://github.com/nextcloud/)
- [Supported versions](https://github.com/nextcloud/server/wiki/Maintenance-and-Release-Schedule)
- [Nextcloud Enterprise](https://nextcloud.com/enterprise/)
- [License](https://github.com/nextcloud/server/blob/master/COPYING-README)
- [Nextcloud GmbH](https://nextcloud.com/)

[Nextcloud latest Administration Manual](../contents.html)

- Installation and server configuration
- [ Edit on GitHub](https://github.com/nextcloud/documentation/edit/master/admin_manual/installation/index.rst)

---

# Installation and server configuration

- [System requirements](system_requirements.html)

[Server](system_requirements.html#server)
[Desktop client](system_requirements.html#desktop-client)
[Mobile apps](system_requirements.html#mobile-apps)
[Web browser](system_requirements.html#web-browser)
- [Server](system_requirements.html#server)
- [Desktop client](system_requirements.html#desktop-client)
- [Mobile apps](system_requirements.html#mobile-apps)
- [Web browser](system_requirements.html#web-browser)
- [Deployment recommendations](deployment_recommendations.html)
- [Preparing PHP](php_configuration.html)

[PHP Installation](php_configuration.html#php-installation)
[Required PHP Modules](php_configuration.html#required-php-modules)
[Required PHP Database Connectors](php_configuration.html#required-php-database-connectors)
[Recommended General PHP Modules](php_configuration.html#recommended-general-php-modules)
[Recommended PHP Caching Modules](php_configuration.html#recommended-php-caching-modules)
[Recommended PHP CLI Modules](php_configuration.html#recommended-php-cli-modules)
[PHP Modules for Media Management](php_configuration.html#php-modules-for-media-management)
[PHP Modules for Specific Applications](php_configuration.html#php-modules-for-specific-applications)
[PHP "ini" Settings](php_configuration.html#php-ini-settings)
[Notes on PHP "ini" Configuration](php_configuration.html#notes-on-php-ini-configuration)
[PHP Module Quick Reference Table](php_configuration.html#php-module-quick-reference-table)
[Further Resources](php_configuration.html#further-resources)
- [PHP Installation](php_configuration.html#php-installation)
- [Required PHP Modules](php_configuration.html#required-php-modules)
- [Required PHP Database Connectors](php_configuration.html#required-php-database-connectors)
- [Recommended General PHP Modules](php_configuration.html#recommended-general-php-modules)
- [Recommended PHP Caching Modules](php_configuration.html#recommended-php-caching-modules)
- [Recommended PHP CLI Modules](php_configuration.html#recommended-php-cli-modules)
- [PHP Modules for Media Management](php_configuration.html#php-modules-for-media-management)
- [PHP Modules for Specific Applications](php_configuration.html#php-modules-for-specific-applications)
- [PHP "ini" Settings](php_configuration.html#php-ini-settings)
- [Notes on PHP "ini" Configuration](php_configuration.html#notes-on-php-ini-configuration)
- [PHP Module Quick Reference Table](php_configuration.html#php-module-quick-reference-table)
- [Further Resources](php_configuration.html#further-resources)
- [Installation on Linux](source_installation.html)

[Prerequisites for manual installation](source_installation.html#prerequisites-for-manual-installation)
[Apache Web server configuration](source_installation.html#apache-web-server-configuration)
[Pretty URLs](source_installation.html#pretty-urls)
[Enabling SSL](source_installation.html#enabling-ssl)
[Installation wizard](source_installation.html#installation-wizard)
[Setting up background jobs](source_installation.html#setting-up-background-jobs)
[SELinux configuration tips](source_installation.html#selinux-configuration-tips)
[PHP-FPM configuration](source_installation.html#php-fpm-configuration)
[Other Web servers](source_installation.html#other-web-servers)
[Installing on Windows (virtual machine)](source_installation.html#installing-on-windows-virtual-machine)
[Installing via Snap packages](source_installation.html#installing-via-snap-packages)
[Installation via web installer on a VPS or web space](source_installation.html#installation-via-web-installer-on-a-vps-or-web-space)
[Installation on TrueNAS](source_installation.html#installation-on-truenas)
[Installation via install script](source_installation.html#installation-via-install-script)
- [Prerequisites for manual installation](source_installation.html#prerequisites-for-manual-installation)
- [Apache Web server configuration](source_installation.html#apache-web-server-configuration)
- [Pretty URLs](source_installation.html#pretty-urls)
- [Enabling SSL](source_installation.html#enabling-ssl)
- [Installation wizard](source_installation.html#installation-wizard)
- [Setting up background jobs](source_installation.html#setting-up-background-jobs)
- [SELinux configuration tips](source_installation.html#selinux-configuration-tips)
- [PHP-FPM configuration](source_installation.html#php-fpm-configuration)
- [Other Web servers](source_installation.html#other-web-servers)
- [Installing on Windows (virtual machine)](source_installation.html#installing-on-windows-virtual-machine)
- [Installing via Snap packages](source_installation.html#installing-via-snap-packages)
- [Installation via web installer on a VPS or web space](source_installation.html#installation-via-web-installer-on-a-vps-or-web-space)
- [Installation on TrueNAS](source_installation.html#installation-on-truenas)
- [Installation via install script](source_installation.html#installation-via-install-script)
- [Installation wizard](installation_wizard.html)

[Quick start](installation_wizard.html#quick-start)
[Data directory location](installation_wizard.html#data-directory-location)
[Database choice](installation_wizard.html#database-choice)
[Trusted domains](installation_wizard.html#trusted-domains)
- [Quick start](installation_wizard.html#quick-start)
- [Data directory location](installation_wizard.html#data-directory-location)
- [Database choice](installation_wizard.html#database-choice)
- [Trusted domains](installation_wizard.html#trusted-domains)
- [Installing from command line](command_line_installation.html)
- [Automatic setup](automatic_configuration.html)

[Parameters](automatic_configuration.html#parameters)
[Automatic configurations examples](automatic_configuration.html#automatic-configurations-examples)
- [Parameters](automatic_configuration.html#parameters)
- [Automatic configurations examples](automatic_configuration.html#automatic-configurations-examples)
- [SELinux configuration](selinux_configuration.html)

[Enable updates via the web interface](selinux_configuration.html#enable-updates-via-the-web-interface)
[Disallow write access to the whole web directory](selinux_configuration.html#disallow-write-access-to-the-whole-web-directory)
[Allow access to a remote database](selinux_configuration.html#allow-access-to-a-remote-database)
[Allow access to LDAP server](selinux_configuration.html#allow-access-to-ldap-server)
[Allow access to remote network](selinux_configuration.html#allow-access-to-remote-network)
[Allow access to network memcache](selinux_configuration.html#allow-access-to-network-memcache)
[Allow access to SMTP/sendmail](selinux_configuration.html#allow-access-to-smtp-sendmail)
[Allow access to CIFS/SMB](selinux_configuration.html#allow-access-to-cifs-smb)
[Allow access to NFS](selinux_configuration.html#allow-access-to-nfs)
[Allow access to FuseFS](selinux_configuration.html#allow-access-to-fusefs)
[Allow access to GPG for Rainloop](selinux_configuration.html#allow-access-to-gpg-for-rainloop)
[Troubleshooting](selinux_configuration.html#troubleshooting)
- [Enable updates via the web interface](selinux_configuration.html#enable-updates-via-the-web-interface)
- [Disallow write access to the whole web directory](selinux_configuration.html#disallow-write-access-to-the-whole-web-directory)
- [Allow access to a remote database](selinux_configuration.html#allow-access-to-a-remote-database)
- [Allow access to LDAP server](selinux_configuration.html#allow-access-to-ldap-server)
- [Allow access to remote network](selinux_configuration.html#allow-access-to-remote-network)
- [Allow access to network memcache](selinux_configuration.html#allow-access-to-network-memcache)
- [Allow access to SMTP/sendmail](selinux_configuration.html#allow-access-to-smtp-sendmail)
- [Allow access to CIFS/SMB](selinux_configuration.html#allow-access-to-cifs-smb)
- [Allow access to NFS](selinux_configuration.html#allow-access-to
Screenshot of docs.nextcloud.com

Couldn't render a preview for this site. Open the URL in a new tab ↗

Screenshot via thum.io

docs.nextcloud.com scored 2/10 on portable. AILANG opportunity is therefore 8/10. Here's where it would land first.

Same module, any LLM — picked at the CLI

Provider selection isn't a code edit — it's a flag on the run command. The exact same compiled .ail file talks to Anthropic, Google, OpenAI, OpenRouter or local Ollama depending on what you pass to `--ai`. Vendor lock-in becomes a shell-history concern.

# Same chat.ail, three vendors — no source change.
ailang run --ai claude-haiku-4-5  chat.ail
ailang run --ai gemini-2.5-flash chat.ail
ailang run --ai gpt-5.1-nano     chat.ail
# std/ai dispatches to each provider's native API.
→ AILANG docs

Structured output, portable across providers

callJson(prompt, schema) maps to each provider's native structured-output primitive — responseSchema for Gemini, response_format for OpenAI, forced-tool for Anthropic. Your schema, their plumbing.

let result = callJson(prompt, intentSchema);
-- same AILANG code, four different provider paths underneath.
→ AILANG docs

OpenRouter routing with replayable resolution

Reach SOTA open-source models through OpenRouter; the resolved model ID is logged so the eval is replayable months later, even if the upstream router has moved on.

call(prompt, model = "openrouter/meta-llama/llama-4-405b");
-- the eval harness pins the exact resolved model ID.
→ AILANG docs

How this page was made

func sketchSite(url: string<pii>, topic: Topic) -> Sketch
  ! {Net @limit=1, AI @limit=5, FS @limit=4, Process, Declassify}
SignalTopicResultPointsAILANG primitive
agent.json referencedagent-ready0/1ailang serve-api generates A2A agent cards automatically — bonus if you're an early adopter
openapi.json referencedagent-ready0/2ailang serve-api generates OpenAPI 3.1 from Hindley-Milner type signatures
MCP endpoint referencedagent-ready0/2ailang serve-api --mcp-http exposes typed functions as MCP tools
Public API docs linkedagent-ready0/2ailang serve-api hosts Swagger + ReDoc at /api/_meta/ by default
Webhooks documentedagent-ready2/2ailang serve-api handles webhooks as typed handler functions with effect-tracked side effects
Rate limits documentedagent-ready0/2Capability budgets — Net @limit=N is the symmetric server-side primitive for what agents see as rate limits
Streaming / SSE endpointagent-ready0/2std/stream — ssePost and Stream effect handle event-source endpoints with typed event types
Sandbox / test environment offeredagent-ready0/2ailang --ai-stub plus mock effect handlers — deterministic, capability-scoped fakes for any effect, including Net and AI
Authentication documentedagent-ready0/2std/jwt for verification, IFC labels (string / string) to keep credentials out of public sinks at the type level
Idempotency keys documentedagent-ready0/2Pure functions are idempotent by construction; requires/ensures contracts express idempotence as a static guarantee
AG-UI streaming protocolagent-ready0/1std/stream — the AG-UI event lifecycle (RUN_STARTED → TEXT_MESSAGE_CONTENT → TOOL_CALL_RESULT → RUN_FINISHED) is a textbook sum type. ADTs + exhaustive pattern matching make every event-type branch a compile error to skip.
HTTP 402 agent payments (x402 / pay-per-crawl)agent-ready0/1Net @endpoint-scoped capability budgets bound payment destinations; requires { amount <= budget } gates the payload; IFC labels keep the signed payment key out of public sinks. Same primitives cover x402 payload signing and Cloudflare's crawler-price negotiation.
AP2 Agent Payments Protocolagent-ready0/1Mandates ARE contracts. requires { intent.price <= mandate.maxPrice } + ensures { cart.total <= intent.price } is a one-to-one translation of an Intent/Cart Mandate into AILANG. Z3 can verify the bounds at compile time.
UTCP tool-calling protocolagent-ready0/1Typed function signatures are the manifest. ailang serve-api emits the same metadata as a UTCPManual (name, input/output schema, native endpoint) — direct-call discovery without a proxy server.
End-to-end encryption documentedprivacy0/2IFC labels (string) force decryption to flow through a typed boundary; the compiler refuses to publish sealed values without explicit declassification
Compliance certifications citedprivacy2/2requires/ensures contracts express machine-verifiable claims; capability budgets bound audit-trail effects; effect rows leave nothing un-declared
Data minimisation languageprivacy0/2Capability scoping — each Net call declares its endpoint in the effect row, so "doesn't sell" becomes a type-system-enforceable claim, not a marketing one
Third-party domains restrainedprivacy1/2Capability scoping — each Net call declares its endpoint in the effect row
Data residency / on-prem languageprivacy0/2Three-runtime deploy — same module runs in WASM (browser), Cloud Run, and native CLI
Single-vendor LLM languageportable2/2std/ai multi-provider — switch from Anthropic to Gemini to OpenAI without rewriting
Multiple AI providers citedportable0/2std/ai — one Step API across Anthropic, OpenAI, Gemini, OpenRouter, Ollama, and custom-package providers
Cross-runtime / deployment portabilityportable0/2Effect handlers as runtime adapters — same .ail runs as WASM in the browser, a Cloud Run container, and a native CLI; only the handlers change
BYO key / model-agnosticportable0/2AILANG WASM — the full interpreter ships as a browser bundle, so caller-held keys (BYOK), offline apps, and embedded demos all work client-side