DEV Community

Brisbane Web Developer
Brisbane Web Developer

Posted on

How to finish the installation of Loki in Debian 12 bookworm

Context

apt-get install loki did not let me start the service.

What I noticed

Just had a look at this file and decided to check if the user loki exists, and it did not :

/etc/systemd/system/loki.service
======
(Omitting)
[Service]
Type=simple
User=loki
(Omitting)
Enter fullscreen mode Exit fullscreen mode

Extra Step

The following resolved to enable to run the service with systemctl restart loki :

useradd --system loki
Enter fullscreen mode Exit fullscreen mode

References

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more