Nextcloud
Nextcloud
OfficialDocker app from knex666's Repository
Overview
Nextcloud can be used to access and share your files, calendars, contacts and more.
Feel free to edit the container, enable the advanced view and change nextcloud:latest to nextcloud:123 to force the usage of a specific Nextcloud version.
INSTALLATION
At first install a MariaDB or PostgreSQL container. Changing their paths to /mnt/cache/appdata/... (instead of /mnt/user/appdata/...) will enormously boost Nextcloud's loading times!
After that use the database's IP:Port and credentials to install Nextcloud.
Optionally installing the Swag or Nginx Proxy Manager container allows you to access Nextcloud from outside of your home through HTTPS (do not forget forwarding the Ports 80 and 443 in your router). Note: The proxy itself needs to communicate through HTTP (not HTTPS) with Nextcloud.
UPDATES
Nextcloud often needs manual interaction to fix database indexes. In those cases execute the following through the Unraid Terminal to fix them:
docker exec --user 99 Nextcloud php occ db:add-missing-indices
Sometimes this command is needed:
docker exec --user 99 Nextcloud php occ db:convert-filecache-bigint --no-interaction
Runtime arguments
- Web UI
http://[IP]:[PORT:80]- Network
bridge- Shell
sh- Privileged
- false
- Extra Params
--user 99:100
Template configuration
HTML/PHP FilesPathrw
- Target
- /var/www/html
- Value
- /mnt/user/appdata/nextcloud/html
AppsPathrw
- Target
- /var/www/html/custom_apps
- Value
- /mnt/user/appdata/nextcloud/apps
Config FilesPathrw
- Target
- /var/www/html/config
- Value
- /mnt/user/appdata/nextcloud/config
User FilesPathrw
- Target
- /var/www/html/data
- Value
- /mnt/user/appdata/nextcloud/data
WebGUI PortPorttcp
Only use for bridge network
- Target
- 80
- Value
- 8666
PHP_MEMORY_LIMITVariable
- Value
- 1G
PHP_UPLOAD_LIMITVariable
- Value
- 20G
APACHE_BODY_LIMITVariable
- Value
- 0
IP_UPLOAD_LIMITVariable
- Value
- 20G
Categories
Download Statistics
0
Total Downloads
2,779,442
This Month
2,518,522
Avg / Month
Total Downloads Over Time
Loading chart...
Details
Repository
nextcloud:latestLast Updated2026-04-26
First Seen2020-03-20
Run Nextcloud on Unraid.
Nextcloud is listed in Community Apps for Unraid OS. Explore Unraid to build a flexible home server, NAS, or homelab.