How to install Obsidian on a Ubuntu server. In my case Ubunto 24 LTS.
Preparing
cd ~
apt install git curl
Install latest Docker using official script
curl -fsSL https://get.docker.com -o get-docker.sh
sh get-docker.sh
rm get-docker.sh
Clone repository
git clone https://github.com/Nystik-gh/ignis
cd ~/ignis/apps/ignis-server
Optional change port
in file Dockerfile
change “ENV PORT” and “EXPOSE”
in file docker-compose.yml
change “ports”
in ./server/config.js
change process.env.PORT
build and start the container
docker compose up -d --build
Done !
helpfull commands for debugging:
docker compose down # tears down the whole container
docker compose up -d --build # rebuilds the container
docker container ls # should show ignis-server-ignis UP
netstat -tulpn # show used ports from hostsys (needs net-tools)
docker compose ps # show the networking of the container
docker compose exec ignis /bin/sh # enter container
If you are using Firefox as Browser
I had real problem connecting to the server because firefox didn’t use my home DNS-proxy
which my system uses. Instead it uses externl DNS servers.
To change it go to: about:preferences#privacy
Scroll down to “DNS over HTTPS”.
Change the setting from “Max Protection” or “Standard” to “Off” – Uses system DNS