Hello everyone,
I’m currently trying to set up a Nextcloud instance via Docker on my Ugreen DXP4800 (UGOS Pro). Since I don’t have much experience with Docker and most YouTube videos only cover the general setup, I used an AI to help me tailor the configuration to my specific needs.
My Goal: I want to securely access my Nextcloud from the outside without opening any ports on my router. Therefore, I’m using the WireGuard VPN feature of my FRITZ!Box. My phone connects via WireGuard, and I access the container locally via http://[NAS-IP]:8080.
My Hardware & Storage Setup:
-
NAS: Ugreen DXP4800
-
Volume 1 (SSD): The Docker app, configuration, and Nextcloud database should run here to ensure fast system response times.
-
Volume 2 (HDD): This is exclusively for storing large files uploaded by users (images, videos) (Hybrid-Setup).
-
Router: FRITZ!Box (WireGuard active).
What I have done step-by-step so far:
-
Folder creation on the NAS:
-
Created a Shared Folder named
Dockeron Volume 1. Inside it, I created a regular subfolder namednextcloud. -
Created a Shared Folder named
Nextcloud-Dataon Volume 2. -
Important regarding UGOS permissions: When creating the Shared Folders, I made sure not to check the “Only accessible for administrators” box. The folders are hidden in the network and the recycle bin is deactivated. However, I still cannot set explicit read/write permissions for “Standard users” in the UGOS interface (the checkboxes are grayed out). My Admin account has full read/write access.
-
-
Downloaded Docker Image:
- Pulled the official
nextcloud:latestimage via the Ugreen Docker app.
- Pulled the official
-
Container Configuration:
-
Network: bridge
-
Port Mapping: Local NAS port
8080to Container port80(TCP). -
Volume Mappings (The Hybrid Setup):
-
SSD Path: Shared Folder
Docker/nextcloudmapped to/var/www/html(Read/Write). -
HDD Path: Shared Folder
Nextcloud-Datamapped to/var/www/html/data(Read/Write).
-
-
Privileged Mode: Deactivated.
-
Execution Command:
apache2-foreground(Default).
-
The Problem: I activated the VPN on my smartphone, entered the NAS IP + “:8080” in the browser → Access denied (403 Forbidden). The blue Nextcloud setup screen doesn’t even appear.
So…what can I do?