Skip to content
Brett Petch edited this page Nov 1, 2022 · 4 revisions

A frequently asked question we get from customers is if we have support for Komga. At the time of writing, we don't officially support it, but it can be installed using a script a community member has written.

Komga is a free and open source comics/mangas server.

Installation

This installer will not be secured by default. Please change this password and be sure to disable uPNP and other discovery ports after setup. Please consider reading the script on GitHub before running it. The installer will output a port number with how to access the Komga install on completion. Please remember this number.

bash <(curl -sL "https://github.com/brettpetch/hosted-scripts/raw/master/komga.sh")

:::tip If something goes wrong during your install, please consider checking the logs. You may find them by running the following:

less -r +G ~/.logs/komga.log

These can be helpful in cases where you need to see the output from installation. ::: On first run, go to https://<hostname.io>:<yourportnumber>/komga to access Komga. This should ask you for a login. You will also receive a warning about SSL, which can be ignored safely.

The default login to the program is admin/admin.

Controlling the Systemd Service

systemctl (start|stop|restart|reload|enable|disable) --user komga

Troubleshooting

I Can't Remember my Port Number

Run cat $HOME/.config/systemd/system/komga.service via ssh. This should respond with a line that looks like the following and look at the ExecStart line:

ExecStart=/home/username/.local/bin/java -jar -Xmx1g -Djava.io.tmpdir=/home/username/.tmp /home/username/komga/komga.jar --server.servlet.context-path="/komga" --server.port="YOURPORTHERE"

Viewing logs

:::tip
For application specific logs, consider running the following:

systemctl --user status komga

You can exit less by pressing q at any point. :::

Clone this wiki locally