XWiki is a free wiki software platform written in Java with a design emphasis on extensibility. XWiki is an enterprise wiki. It includes WYSIWYG editing, OpenDocument based document import/export, semantic annotations and tagging, and advanced permissions management. In this step by step guide I will show you how to install XWiki on your Synology NAS using Docker & Portainer.
XWiki 16.9.0 release.
This guide works perfectly with the latestSTEP 1
Please Support My work by Making a Donation.
STEP 2
Install Portainer using my step by step guide. If you already have Portainer installed on your Synology NAS, skip this STEP. Attention: Make sure you have installed the latest Portainer version.
STEP 3
Go to File Station and open the docker folder. Inside the docker folder, create one new folder and name it xwiki. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.
STEP 4
Now create two new folders inside the xwiki folder that you have previously created at STEP 3 and name them data and db. Follow the instructions in the image below.
Note: Be careful to enter only lowercase, not uppercase letters.
STEP 5
Log into Portainer using your username and password. On the left sidebar in Portainer, click on Stacks then + Add stack. Follow the instructions in the image below.
STEP 6
In the Name field type in xwiki. Follow the instructions in the image below.
services: xwiki: image: xwiki:16-postgres-tomcat container_name: XWiki healthcheck: test: timeout 10s bash -c ':> /dev/tcp/127.0.0.1/8080' || exit 1 interval: 10s timeout: 5s retries: 3 start_period: 90s volumes: - /volume1/docker/xwiki/data:/usr/local/xwiki:rw security_opt: - no-new-privileges:true restart: on-failure:5 ports: - 7894:8080 environment: DB_HOST: db DB_DATABASE: xwiki DB_USER: xwikiuser DB_PASSWORD: xwikipass TZ: Europe/Bucharest depends_on: - db db: image: postgres:17 container_name: XWiki-DB restart: on-failure:5 security_opt: - no-new-privileges:true healthcheck: test: ["CMD", "pg_isready", "-q", "-d", "xwiki", "-U", "xwikiuser"] timeout: 45s interval: 10s retries: 10 volumes: - /volume1/docker/xwiki/db:/var/lib/postgresql/data:rw environment: POSTGRES_USER: xwikiuser POSTGRES_PASSWORD: xwikipass POSTGRES_DB: xwiki TZ: Europe/Bucharest
Note: Before you paste the code above in the Web editor area below, change the value for TZ. (Select your current Time Zone from this list.)
STEP 7
Scroll down on the page until you see a button named Deploy the stack. Click on it. Follow the instructions in the image below. The installation process can take up to a few minutes. It will depend on your Internet speed connection.
STEP 8
If everything goes right, you will see the following message at the top right of your screen: “Success Stack successfully deployed“.
STEP 9
Go back to STEP 1 or you will deal with karma 🙂.
STEP 10
Please wait approximately 2-5 minutes for the installation to be completed or you will get a blank page if you try to connect too soon. Now open your browser and type in http://Synology-ip-address:7894 Wait for XWiki to initialize. Follow the instructions in the image below.
STEP 11
Click Continue to register a new administrator user. Follow the instructions in the image below.
STEP 12
Add your own credentials then click Register and login. Follow the instructions in the image below.
STEP 13
You are now connected with the administrator user. Click Continue. Follow the instructions in the image below.
STEP 14
Select XWiki Standard Flavor 16.9.0 then click Install this flavor. Follow the instructions in the image below.
STEP 15
Click Install. Follow the instructions in the image below.
STEP 16
The installation process will start. Follow the instructions in the image below.
STEP 17
Click Continue to install all the default applications. Follow the instructions in the image below.
STEP 18
The installation process of the applications will start. Follow the instructions in the image below.
STEP 19
If you get any errors during the installation, select “Resolve Automatically” then click Continue. After all the applications are installed, click Continue. Follow the instructions in the image below. Follow the instructions in the image below.
STEP 20
Scroll down the page, then click Continue. Follow the instructions in the image below.
STEP 21
Go back to STEP 1 or you will deal with karma 🙂.
STEP 22
Welcome to XWiki! Click X to close the pop-up or Next to discover your wiki’s interface and basic functionalities. Follow the instructions in the image below.
STEP 23
Your XWiki dashboard at a glance!
Enjoy XWiki!
If you encounter issues by using this container, make sure to check out the Common Docker issues article.
Note: If you want to run the XWiki container over HTTPS, check How to Run Docker Containers Over HTTPS. In order to make XWiki work via HTTPS, it’s mandatory to activate WebSocket.
Note: Can I run Docker on my Synology NAS? See the supported models.
Note: How to Back Up Docker Containers on your Synology NAS.
Note: Find out how to update the XWiki container with the latest image.
Note: How to Free Disk Space on Your NAS if You Run Docker.
Note: How to Schedule Start & Stop For Docker Containers.
Note: How to Activate Email Notifications.
Note: How to Add Access Control Profile on Your NAS.
Note: How to Change Docker Containers Restart Policy.
Note: How to Use Docker Containers With VPN.
Note: Convert Docker Run Into Docker Compose.
Note: How to Clean Docker.
Note: How to Clean Docker Automatically.
Note: Best Practices When Using Docker and DDNS.
Note: Some Docker Containers Need WebSocket.
Note: Find out the Best NAS Models For Docker.
Note: Activate Gmail SMTP For Docker Containers.
This post was updated on Friday / November 15th, 2024 at 5:59 PM