<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Vikunja – Serverküche</title><link>https://serverkueche.de/en/tags/vikunja/</link><description>Vikunja – Neueste Beiträge von Serverküche</description><generator>Hugo</generator><language>en-US</language><managingEditor>feedback@serverkueche.de (Serverküche)</managingEditor><webMaster>feedback@serverkueche.de (Serverküche)</webMaster><copyright>2026 Serverküche</copyright><lastBuildDate>Sat, 28 Nov 2026 00:00:00 +0000</lastBuildDate><atom:link href="https://serverkueche.de/en/tags/vikunja/index.xml" rel="self" type="application/rss+xml"/><item><title>Vikunja: self-host your tasks and projects</title><link>https://serverkueche.de/en/tutorials/self-host-vikunja/</link><pubDate>Sat, 28 Nov 2026 00:00:00 +0000</pubDate><author>feedback@serverkueche.de (Serverküche)</author><guid>https://serverkueche.de/en/tutorials/self-host-vikunja/</guid><description>Set up Vikunja 2.8 behind Traefik: four project views, labels and reminders – plus the two stumbling blocks that really do hit you on first start.</description><content:encoded><![CDATA[<p>Todoist, Asana and Trello have one thing in common: your task list lives with somebody
else. Vikunja does the same job on your own server and is surprisingly complete at it.</p>
<p>Two things still go wrong on first start: the container cannot use its volume, and your own
account cannot register. Both are below, along with how to recognise them.</p>
<h2 id="what-are-we-building">What are we building?</h2>
<p>Vikunja 2.8.0 behind your existing Traefik, with PostgreSQL 18 as the database and a real
TLS certificate. At the end you have a task manager that shows every project as a list,
a Kanban board, a table and a Gantt chart at the same time, with nothing to configure.</p>
<p>Plus labels, priorities, due dates, reminders, sub-projects and shared projects for teams.
Self-hosting is free and has no user limit; what the Pro licence adds is covered in step 9.</p>
<h2 id="requirements">Requirements</h2>
<ul>
<li>A server with Docker and a running
<a href="/en/tutorials/traefik-reverse-proxy/">Traefik reverse proxy</a> on the <code>proxy</code> network.</li>
<li>A subdomain pointing at the server, <code>vikunja.YOUR_DOMAIN</code> in the example.</li>
<li>Very little room: both containers together use about 90 MiB of RAM right after the start
and about 160 MiB after the first projects and tasks (Vikunja 90 MiB, PostgreSQL 75 MiB).</li>
</ul>
<div class="not-prose my-6 overflow-hidden rounded-xl border border-paprika-200 bg-paprika-50 dark:border-paprika-800 dark:bg-paprika-900/20"
     data-track-content data-content-name="Affiliate-Box · /en/tutorials/self-host-vikunja/" data-content-piece="VPS 1000 G12.5">
  <div class="flex items-center justify-between border-b border-paprika-200 bg-paprika-100 px-4 py-1.5 text-xs font-semibold uppercase tracking-wide text-paprika-700 dark:border-paprika-800 dark:bg-paprika-900/40 dark:text-paprika-300">
    <span>🍳 Recommendation</span>
    <span title="Links marked with * are affiliate links.">Ad</span>
  </div>
  <div class="flex flex-col gap-4 p-4 sm:flex-row sm:items-center sm:justify-between">
    <div>
      <p class="text-lg font-bold text-slate-900 dark:text-white">VPS 1000 G12.5</p>
      <p class="mt-1 text-sm text-slate-600 dark:text-slate-300">4 vCores · 8 GB RAM · 128 GB SSD</p>
      <p class="mt-1 text-sm font-semibold text-paprika-700 dark:text-paprika-400">from €14.50/month</p>
      <p class="mt-2 text-sm text-slate-600 dark:text-slate-400">Comfortably enough for Vikunja alongside other services.</p>
    </div>
    <a href="https://www.netcup.com/en/server/vps/vps-1000-g12.5-iv-24m-eu?ref=44083#vps-1000-g12.5-iv-12m-eu" rel="sponsored noopener" target="_blank"
   data-track-event="Affiliate|netcup: Affiliate-Box|VPS 1000 G12.5 · {page}"
   class="inline-flex shrink-0 items-center justify-center rounded-lg bg-paprika-600 px-5 py-2.5 font-semibold text-white transition-colors hover:bg-paprika-700">
  Go to netcup →
</a>

  </div><div class="px-4 pb-4"><div class="not-prose my-3 rounded-lg border border-herb-500/40 bg-herb-50 px-3 py-2 text-sm text-slate-700 dark:bg-herb-900/20 dark:text-slate-200"
     data-voucher-api="vps-1000" data-voucher-msg-empty="No code is available for this plan right now – use the €5.95 code." data-voucher-msg-limit="No more codes today – use the €5.95 code or try again tomorrow." data-voucher-msg-error="The code couldn&#39;t be fetched right now – use the €5.95 code."
     data-voucher-hint="Empty the cart first – the code adds the server itself.">
  <p class="flex flex-wrap items-center gap-x-2 gap-y-1"><span>💶 <span class="font-semibold">1 month free</span>:</span>
    <button type="button" data-voucher-reveal data-copy-title="Click to copy"
            class="cursor-pointer rounded bg-white px-2 py-0.5 font-mono text-sm font-semibold text-herb-800 hover:ring-2 hover:ring-herb-500/40 dark:bg-slate-800 dark:text-herb-400">Show code</button>
    <button type="button" data-voucher-next hidden
            class="rounded border border-herb-500/40 px-2 py-0.5 text-xs text-herb-800 hover:bg-white dark:text-herb-400 dark:hover:bg-slate-800">another code</button>
  </p><p class="mt-1 text-xs text-slate-500 dark:text-slate-400" data-voucher-hint-target>
    Single use, valid for VPS 1000 G12.5.
    <a href="https://www.netcup.com/en/checkout/cart?ref=44083" rel="sponsored noopener" target="_blank"
       data-track-event="Affiliate|netcup: Gutschein einlösen|VPS 1000 G12.5 · {page}"
       class="font-medium text-herb-800 underline underline-offset-2 hover:text-herb-900 dark:text-herb-400">Redeem in the cart →</a>
  </p><p class="mt-2 flex flex-wrap items-center gap-x-2 gap-y-1 border-t border-herb-500/30 pt-2">
    <span>💶 <span class="font-semibold">€5.95 voucher</span> for new netcup customers:</span>
    <button type="button" data-voucher-code data-track-voucher="36nc17844976032"
            title="Click to copy" class="cursor-pointer rounded bg-white px-2 py-0.5 font-mono text-sm font-semibold text-herb-800 hover:ring-2 hover:ring-herb-500/40 dark:bg-slate-800 dark:text-herb-400">36nc17844976032</button>
    <span class="text-xs text-slate-500 dark:text-slate-400">always valid · not for domains or VPS Lite</span>
  </p><p class="mt-1 text-xs"><a href="/en/netcup-voucher/" class="font-medium text-herb-800 underline underline-offset-2 hover:text-herb-900 dark:text-herb-400">All netcup vouchers →</a></p>
</div></div>
</div>

<h2 id="step-by-step">Step by step</h2>
<h3 id="step-1-directory-and-secrets">Step 1: Directory and secrets</h3>
<p>Vikunja needs two secrets: the database password and a key used to sign login tokens.
Generate both rather than inventing them:</p>
<div class="sk-code">
  <span class="sk-code-head">Terminal</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">mkdir -p /opt/vikunja <span class="o">&amp;&amp;</span> <span class="nb">cd</span> /opt/vikunja</span></span></code></pre></div>
</div>
<div class="sk-code">
  <span class="sk-code-head">Terminal</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="o">{</span>
</span></span><span class="line"><span class="cl">  <span class="nb">echo</span> <span class="s2">&#34;DOMAIN=vikunja.YOUR_DOMAIN&#34;</span>
</span></span><span class="line"><span class="cl">  <span class="nb">echo</span> <span class="s2">&#34;DB_PASSWORD=</span><span class="k">$(</span>openssl rand -base64 <span class="m">24</span> <span class="p">|</span> tr -d <span class="s1">&#39;/+=&#39;</span> <span class="p">|</span> head -c 24<span class="k">)</span><span class="s2">&#34;</span>
</span></span><span class="line"><span class="cl">  <span class="nb">echo</span> <span class="s2">&#34;JWT_SECRET=</span><span class="k">$(</span>openssl rand -hex 32<span class="k">)</span><span class="s2">&#34;</span>
</span></span><span class="line"><span class="cl"><span class="o">}</span> &gt; .env
</span></span><span class="line"><span class="cl">chmod <span class="m">600</span> .env</span></span></code></pre></div>
</div>
<p>The <code>JWT_SECRET</code> is the more important of the two. Anyone who knows it can issue themselves
valid login tokens, and changing it later logs out every signed-in device.</p>
<h3 id="step-2-the-compose-file">Step 2: The compose file</h3>
<div class="sk-code">
  <span class="sk-code-head">YAML</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="nt">services</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span><span class="nt">vikunja</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">image</span><span class="p">:</span><span class="w"> </span><span class="l">vikunja/vikunja:2.8.0</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">environment</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">VIKUNJA_SERVICE_PUBLICURL</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;https://${DOMAIN}/&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">VIKUNJA_SERVICE_SECRET</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;${JWT_SECRET}&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">VIKUNJA_SERVICE_ENABLEREGISTRATION</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;false&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">VIKUNJA_DATABASE_TYPE</span><span class="p">:</span><span class="w"> </span><span class="l">postgres</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">VIKUNJA_DATABASE_HOST</span><span class="p">:</span><span class="w"> </span><span class="l">db</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">VIKUNJA_DATABASE_USER</span><span class="p">:</span><span class="w"> </span><span class="l">vikunja</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">VIKUNJA_DATABASE_PASSWORD</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;${DB_PASSWORD}&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">VIKUNJA_DATABASE_DATABASE</span><span class="p">:</span><span class="w"> </span><span class="l">vikunja</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">volumes</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="l">files:/app/vikunja/files</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">networks</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="l">proxy, intern]</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">depends_on</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">db</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">        </span><span class="nt">condition</span><span class="p">:</span><span class="w"> </span><span class="l">service_healthy</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">labels</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="s2">&#34;traefik.enable=true&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="s2">&#34;traefik.docker.network=proxy&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="s2">&#34;traefik.http.routers.vikunja.rule=Host(`${DOMAIN}`)&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="s2">&#34;traefik.http.routers.vikunja.entrypoints=websecure&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="s2">&#34;traefik.http.routers.vikunja.tls.certresolver=le&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="s2">&#34;traefik.http.services.vikunja.loadbalancer.server.port=3456&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">restart</span><span class="p">:</span><span class="w"> </span><span class="l">unless-stopped</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span><span class="nt">db</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">image</span><span class="p">:</span><span class="w"> </span><span class="l">postgres:18.7-alpine</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">environment</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">POSTGRES_USER</span><span class="p">:</span><span class="w"> </span><span class="l">vikunja</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">POSTGRES_PASSWORD</span><span class="p">:</span><span class="w"> </span><span class="s2">&#34;${DB_PASSWORD}&#34;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">POSTGRES_DB</span><span class="p">:</span><span class="w"> </span><span class="l">vikunja</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">volumes</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span>- <span class="l">dbdata:/var/lib/postgresql</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">healthcheck</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">test</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="s2">&#34;CMD-SHELL&#34;</span><span class="p">,</span><span class="w"> </span><span class="s2">&#34;pg_isready -U vikunja&#34;</span><span class="p">]</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">interval</span><span class="p">:</span><span class="w"> </span><span class="l">10s</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">timeout</span><span class="p">:</span><span class="w"> </span><span class="l">5s</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">      </span><span class="nt">retries</span><span class="p">:</span><span class="w"> </span><span class="m">5</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">networks</span><span class="p">:</span><span class="w"> </span><span class="p">[</span><span class="l">intern]</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">restart</span><span class="p">:</span><span class="w"> </span><span class="l">unless-stopped</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="nt">volumes</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span><span class="nt">files</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span><span class="nt">dbdata</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="nt">networks</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span><span class="nt">proxy</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">external</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">  </span><span class="nt">intern</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">    </span><span class="nt">internal</span><span class="p">:</span><span class="w"> </span><span class="kc">true</span></span></span></code></pre></div>
</div>
<p>Four decisions in there are worth a look. <code>VIKUNJA_SERVICE_PUBLICURL</code> is not cosmetic: the
interface runs in the browser and calls its own API through this address. Get it wrong and
the page loads while nothing inside it works. <code>ENABLEREGISTRATION: &quot;false&quot;</code> turns off open
registration; what that means for your own account is in step 4.</p>
<p>The database only sits on the <code>intern</code> network (<code>internal: true</code>) and publishes no port. It
is unreachable from the internet and from the <code>proxy</code> network alike. Its mount is
<code>/var/lib/postgresql</code>, not <code>/var/lib/postgresql/data</code>. As of PostgreSQL 18 the container
refuses to start with the old path, even on an empty volume.</p>
<h3 id="step-3-the-first-start-fails">Step 3: The first start fails</h3>
<p>Here comes the stumbling block no quick-start guide mentions. Start the stack:</p>
<div class="sk-code">
  <span class="sk-code-head">Terminal</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">docker compose up -d</span></span></code></pre></div>
</div>
<div class="sk-code">
  <span class="sk-code-head">Terminal</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">docker compose logs vikunja --tail <span class="m">5</span></span></span></code></pre></div>
</div>
<div class="sk-code">
  <span class="sk-code-head">Ausgabe</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">level=ERROR msg=&#34;Could not init file handler: storage validation failed: failed to create
</span></span><span class="line"><span class="cl">test file: mkdir /app/vikunja/files/.tmp: permission denied
</span></span><span class="line"><span class="cl">[process uid=1000 gid=0, dir owner uid=0 gid=0]&#34;</span></span></code></pre></div>
</div>
<p>The container runs as user 1000, but the freshly created volume belongs to <code>root</code>. Vikunja
cannot store anything there and restarts in a loop. The message says so itself:
<code>process uid=1000</code>, <code>dir owner uid=0</code>.</p>
<p>Fix it once with a helper container, because the Vikunja image ships no shell for
<code>--user root</code>:</p>
<div class="sk-code">
  <span class="sk-code-head">Terminal</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">docker run --rm -v vikunja_files:/f alpine:3.24 chown -R 1000:1000 /f</span></span></code></pre></div>
</div>
<div class="sk-code">
  <span class="sk-code-head">Terminal</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">docker compose up -d --force-recreate vikunja</span></span></code></pre></div>
</div>
<div class="sk-code">
  <span class="sk-code-head">Terminal</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">docker compose logs vikunja --no-log-prefix <span class="p">|</span> grep -E <span class="s2">&#34;successfully|version v|listening&#34;</span></span></span></code></pre></div>
</div>
<div class="sk-code">
  <span class="sk-code-head">Ausgabe</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">time=2026-11-24T08:28:58.663Z level=INFO msg=&#34;Ran all migrations successfully.&#34;
</span></span><span class="line"><span class="cl">time=2026-11-24T08:28:58.668Z level=INFO msg=&#34;Vikunja version v2.8.0&#34;
</span></span><span class="line"><span class="cl">time=2026-11-24T08:28:58.842Z level=INFO msg=&#34;HTTP server listening on :3456&#34;</span></span></code></pre></div>
</div>
<p>Now it runs. The volume name <code>vikunja_files</code> is the folder name plus the volume name. If
your folder is called something else, adjust it (<code>docker volume ls</code> shows the real names).</p>
<h3 id="step-4-your-first-account-although-registration-is-closed">Step 4: Your first account, although registration is closed</h3>
<p>Open <code>https://vikunja.YOUR_DOMAIN</code>. Traefik has fetched the certificate by now:</p>
<p><figure class="my-6"><img src="/en/tutorials/self-host-vikunja/vikunja-login_hu_4f1b876a53035fcd.webp" srcset="/en/tutorials/self-host-vikunja/vikunja-login_hu_8cc4292b46bc5827.webp 480w, /en/tutorials/self-host-vikunja/vikunja-login_hu_4f1b876a53035fcd.webp 768w, /en/tutorials/self-host-vikunja/vikunja-login_hu_84401774ba07e10.webp 1200w, /en/tutorials/self-host-vikunja/vikunja-login_hu_45dc8da040994dd2.webp 1920w" sizes="(min-width: 768px) 768px, 100vw"
    width="768" height="432"
    data-full="/en/tutorials/self-host-vikunja/vikunja-login_hu_c9a70f1ff4d01673.webp"
    alt="The Vikunja login page with username and password fields and a note about the installation in use" title="The login page names the address of the installation it talks to. A good first test of whether PUBLICURL is right."
    loading="lazy" decoding="async" class="rounded-lg"><figcaption class="mt-2 text-sm text-center text-slate-500 italic">The login page names the address of the installation it talks to. A good first test of whether PUBLICURL is right.</figcaption></figure></p>
<p>Here the second stumbling block waits: there is no link to register, and you do not have an
account yet. The switch from step 2 turned registration off before you could sign up.
Without it, though, registration would be open to anybody who knows the address. The check
from outside:</p>
<div class="sk-code">
  <span class="sk-code-head">Terminal</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">curl -X POST -H <span class="s1">&#39;Content-Type: application/json&#39;</span> <span class="se">\
</span></span></span><span class="line"><span class="cl">  -d <span class="s1">&#39;{&#34;username&#34;:&#34;stranger&#34;,&#34;email&#34;:&#34;stranger@example.org&#34;,&#34;password&#34;:&#34;Something-123456&#34;}&#39;</span> <span class="se">\
</span></span></span><span class="line"><span class="cl">  https://vikunja.YOUR_DOMAIN/api/v1/register</span></span></code></pre></div>
</div>
<div class="sk-code">
  <span class="sk-code-head">Ausgabe</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">without ENABLEREGISTRATION=false  -&gt; HTTP 200   (account was created)
</span></span><span class="line"><span class="cl">with    ENABLEREGISTRATION=false  -&gt; HTTP 404   {&#34;message&#34;:&#34;Not Found&#34;}</span></span></code></pre></div>
</div>
<div class="not-prose my-6 rounded-lg border-l-4 p-4 border-amber-400 bg-amber-50 dark:border-amber-700 dark:bg-amber-900/20">
  <p class="mb-1 flex items-center gap-2 font-semibold text-slate-900 dark:text-white">
    <span aria-hidden="true">⚠️</span>Mind the order
  </p>
  <div class="prose-kitchen text-sm">For your own account you open registration briefly. Set
<code>VIKUNJA_SERVICE_ENABLEREGISTRATION: &quot;true&quot;</code>, restart with <code>docker compose up -d vikunja</code>,
register through the interface, set the value back to <code>&quot;false&quot;</code> and restart once more. Your
account and your session are unaffected.</div>
</div>
<p>You add further users the same way for a few minutes, or create them on the server:
<code>docker compose exec vikunja /app/vikunja/vikunja user create -u NAME -e MAIL -p PASSWORD</code>.</p>
<h3 id="step-5-one-project-four-views">Step 5: One project, four views</h3>
<p>Create your first project via <em>Projects → New project</em>. Vikunja automatically builds four
views onto the same tasks; you configure nothing:</p>
<p><figure class="my-6"><img src="/en/tutorials/self-host-vikunja/vikunja-list_hu_ad90220509e2d949.webp" srcset="/en/tutorials/self-host-vikunja/vikunja-list_hu_280c9f5a283e3845.webp 480w, /en/tutorials/self-host-vikunja/vikunja-list_hu_ad90220509e2d949.webp 768w, /en/tutorials/self-host-vikunja/vikunja-list_hu_dd9e28cf484e2131.webp 1200w, /en/tutorials/self-host-vikunja/vikunja-list_hu_d714745b7e41b584.webp 1920w" sizes="(min-width: 768px) 768px, 100vw"
    width="768" height="432"
    data-full="/en/tutorials/self-host-vikunja/vikunja-list_hu_cd8cf5a44f473993.webp"
    alt="The list view of a Vikunja project with six open tasks, coloured labels and the input field for adding tasks" title="List view: input field on top, labels right on the task, tabs for the other three views"
    loading="lazy" decoding="async" class="rounded-lg"><figcaption class="mt-2 text-sm text-center text-slate-500 italic">List view: input field on top, labels right on the task, tabs for the other three views</figcaption></figure></p>
<p>The tabs at the top switch between views. The same project as a Kanban board:</p>
<p><figure class="my-6"><img src="/en/tutorials/self-host-vikunja/vikunja-kanban_hu_f876077870b8db9c.webp" srcset="/en/tutorials/self-host-vikunja/vikunja-kanban_hu_575e3da76430221e.webp 480w, /en/tutorials/self-host-vikunja/vikunja-kanban_hu_f876077870b8db9c.webp 768w, /en/tutorials/self-host-vikunja/vikunja-kanban_hu_8551fc8453b5995a.webp 1200w, /en/tutorials/self-host-vikunja/vikunja-kanban_hu_482267b13b9abd24.webp 1920w" sizes="(min-width: 768px) 768px, 100vw"
    width="768" height="432"
    data-full="/en/tutorials/self-host-vikunja/vikunja-kanban_hu_98d7eabc2601f988.webp"
    alt="The same project as a Kanban board with To-Do, Doing and Done columns and task cards carrying labels" title="Kanban with three default columns. Drag cards with the mouse, and the done column ticks tasks off automatically."
    loading="lazy" decoding="async" class="rounded-lg"><figcaption class="mt-2 text-sm text-center text-slate-500 italic">Kanban with three default columns. Drag cards with the mouse, and the done column ticks tasks off automatically.</figcaption></figure></p>
<p>The columns start out as To-Do, Doing and Done; renaming and adding happens through the
three-dot menu on each column. Move a card into the done column and Vikunja ticks the task
off automatically; move it back to another column and it is open again.</p>
<p>And as a Gantt chart:</p>
<p><figure class="my-6"><img src="/en/tutorials/self-host-vikunja/vikunja-gantt_hu_2e82ef7f911ce5c1.webp" srcset="/en/tutorials/self-host-vikunja/vikunja-gantt_hu_ba9ff004de244c6.webp 480w, /en/tutorials/self-host-vikunja/vikunja-gantt_hu_2e82ef7f911ce5c1.webp 768w, /en/tutorials/self-host-vikunja/vikunja-gantt_hu_a518c34267a5bb0b.webp 1200w, /en/tutorials/self-host-vikunja/vikunja-gantt_hu_f9555541bc70e55a.webp 1920w" sizes="(min-width: 768px) 768px, 100vw"
    width="768" height="432"
    data-full="/en/tutorials/self-host-vikunja/vikunja-gantt_hu_7fc5d6785d6824f1.webp"
    alt="The Gantt view with six bars spread across late November and December 2026" title="The Gantt view: one bar per task with a start and an end date"
    loading="lazy" decoding="async" class="rounded-lg"><figcaption class="mt-2 text-sm text-center text-slate-500 italic">The Gantt view: one bar per task with a start and an end date</figcaption></figure></p>
<p>A bar runs from the start date to the end date. If a task only has a due date, Vikunja draws
a bar that fades in towards the due date. For real scheduling both dates are still worth
setting, otherwise you cannot read the duration.</p>
<h3 id="step-6-creating-tasks-in-one-line">Step 6: Creating tasks in one line</h3>
<p>The input field above the list takes more than plain text. It evaluates three shorthands
directly, and the question mark on the right of the field shows them at any time:</p>
<table>
	<thead>
			<tr>
					<th>Shorthand</th>
					<th>Effect</th>
			</tr>
	</thead>
	<tbody>
			<tr>
					<td><code>*name</code></td>
					<td>attaches the label <code>name</code></td>
			</tr>
			<tr>
					<td><code>!1</code> to <code>!5</code></td>
					<td>sets the priority</td>
			</tr>
			<tr>
					<td><code>28.11.2026</code></td>
					<td>sets the due date</td>
			</tr>
	</tbody>
</table>
<p>Typed out it looks like this:</p>
<div class="sk-code">
  <span class="sk-code-head">Ausgabe</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">Check logrotation 28.11.2026 !1</span></span></code></pre></div>
</div>
<p>That becomes a task titled &ldquo;Check logrotation&rdquo; with a due date of 28 November 2026 and
priority 1. The date vanishes from the title because it was recognised.</p>
<div class="not-prose my-6 rounded-lg border-l-4 p-4 border-herb-400 bg-herb-50 dark:border-herb-700 dark:bg-herb-900/20">
  <p class="mb-1 flex items-center gap-2 font-semibold text-slate-900 dark:text-white">
    <span aria-hidden="true">🧑‍🍳</span>Relative dates only work in English
  </p>
  <div class="prose-kitchen text-sm">English words such as <code>tomorrow</code> are recognised; the same word in another language is not:
<code>Renew certificate morgen *urgent !3</code> becomes a task called &ldquo;Renew certificate morgen&rdquo;.
Label and priority stick, but the word stays in the title and no date is set. A
written-out date is the reliable option.</div>
</div>
<h3 id="step-7-what-a-task-can-hold">Step 7: What a task can hold</h3>
<p>Clicking a task opens the detail view. The right-hand column shows how far the data model
reaches:</p>
<p><figure class="my-6"><img src="/en/tutorials/self-host-vikunja/vikunja-task_hu_d5a2ad047595b3db.webp" srcset="/en/tutorials/self-host-vikunja/vikunja-task_hu_df2ffd677a3c7646.webp 480w, /en/tutorials/self-host-vikunja/vikunja-task_hu_d5a2ad047595b3db.webp 768w, /en/tutorials/self-host-vikunja/vikunja-task_hu_7d086782e0a63e24.webp 1200w, /en/tutorials/self-host-vikunja/vikunja-task_hu_4bee7bd77ce5e169.webp 1920w" sizes="(min-width: 768px) 768px, 100vw"
    width="768" height="432"
    data-full="/en/tutorials/self-host-vikunja/vikunja-task_hu_7ac7e21859d0f13a.webp"
    alt="The detail view of a task with start and end date, label, description editor and the right-hand column of all actions" title="On the right the full toolbar: priority, progress, assignment, attachments, relations, reminders and repeats"
    loading="lazy" decoding="async" class="rounded-lg"><figcaption class="mt-2 text-sm text-center text-slate-500 italic">On the right the full toolbar: priority, progress, assignment, attachments, relations, reminders and repeats</figcaption></figure></p>
<p>Three of those earn their keep in daily use. Relations link tasks as predecessor, follower,
subtask or duplicate, which expresses an order without splitting everything into
sub-projects. Repeats create the next instance automatically after you tick a task off, for
anything that comes round monthly. And reminders can be relative, such as &ldquo;one day before the
due date&rdquo;. Vikunja needs a mail server for those, though; without one the log says
<code>Mailer is disabled, not sending reminders per mail</code>.</p>
<h3 id="step-8-sharing-with-others-and-with-your-phone">Step 8: Sharing with others and with your phone</h3>
<p>A project does not have to stay with you. The three-dot menu next to the project name leads
to <em>Share</em> with three levels: <em>Read only</em>, <em>Read &amp; write</em> or <em>Admin</em>. The other account then
sees the project in its own list, with nothing copied.</p>
<p>For recurring groups a team under <em>Teams</em> in the sidebar is the better fit: share the
project with the team once, and afterwards you only maintain the member list.</p>
<div class="not-prose my-6 rounded-lg border-l-4 p-4 border-herb-400 bg-herb-50 dark:border-herb-700 dark:bg-herb-900/20">
  <p class="mb-1 flex items-center gap-2 font-semibold text-slate-900 dark:text-white">
    <span aria-hidden="true">🧑‍🍳</span>Search only finds people who want to be found
  </p>
  <div class="prose-kitchen text-sm">If somebody does not show up in the share search, it is usually not a typo. Every account
decides in its own settings whether it is discoverable by username or email address. If you
cannot find the person, they have to flip that switch themselves; you cannot do it for
them.</div>
</div>
<p>And for mobile you need no app: Vikunja speaks CalDAV, so your projects appear as task
lists in the iOS Reminders app, in Tasks.org on Android or in Thunderbird. The address is:</p>
<div class="sk-code">
  <span class="sk-code-head">Ausgabe</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">https://vikunja.YOUR_DOMAIN/dav/principals/YOUR_USERNAME/</span></span></code></pre></div>
</div>
<p>Log in with username and password. Check the endpoint from the terminal. Without
credentials it must answer 401, with them 207:</p>
<div class="sk-code">
  <span class="sk-code-head">Terminal</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">curl -s -o /dev/null -w <span class="s2">&#34;%{http_code}\n&#34;</span> -X PROPFIND <span class="se">\
</span></span></span><span class="line"><span class="cl">  https://vikunja.YOUR_DOMAIN/dav/principals/YOUR_USERNAME/</span></span></code></pre></div>
</div>
<div class="sk-code">
  <span class="sk-code-head">Ausgabe</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">401</span></span></code></pre></div>
</div>
<div class="not-prose my-6 rounded-lg border-l-4 p-4 border-amber-400 bg-amber-50 dark:border-amber-700 dark:bg-amber-900/20">
  <p class="mb-1 flex items-center gap-2 font-semibold text-slate-900 dark:text-white">
    <span aria-hidden="true">⚠️</span>CalDAV bypasses your second factor
  </p>
  <div class="prose-kitchen text-sm">The DAV endpoint uses username and password directly. Whoever has that password reaches
your tasks, regardless of whether you enabled a second factor for the web interface. A
long, dedicated password is not a luxury here.</div>
</div>
<h3 id="step-9-limits-and-licence">Step 9: Limits and licence</h3>
<p>Self-hosting is free and has no user limit; all core features are included. On start
Vikunja still writes one line to the log:</p>
<div class="sk-code">
  <span class="sk-code-head">Ausgabe</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">level=WARN msg=&#34;No license key configured. Pro features have been disabled.&#34;</span></span></code></pre></div>
</div>
<p>Behind the Pro licence sit mainly an admin panel, audit logs and time tracking. Anyone
planning to bill projects through Vikunja should know that up front; for task management in
the narrow sense nothing is missing.</p>
<p>Second limit worth knowing before migrating: this version ships importers for
<code>vikunja-file</code>, <code>ticktick</code>, <code>wekan</code>, <code>csv</code> and <code>planka</code>. Todoist is not among them.
Coming from there, export to CSV and take the CSV route. Query your own installation like
this:</p>
<div class="sk-code">
  <span class="sk-code-head">Terminal</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl">curl -s https://vikunja.YOUR_DOMAIN/api/v1/info</span></span></code></pre></div>
</div>
<div class="sk-code">
  <span class="sk-code-head">Ausgabe</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-text" data-lang="text"><span class="line"><span class="cl">&#34;available_migrators&#34;: [&#34;vikunja-file&#34;,&#34;ticktick&#34;,&#34;wekan&#34;,&#34;csv&#34;,&#34;planka&#34;]</span></span></code></pre></div>
</div>
<p>The same output is the best smoke test after setup: if it shows your version and your real
address under <code>frontend_url</code>, the wiring is right.</p>
<h2 id="when-things-go-wrong">When things go wrong</h2>
<div class="troubleshoot not-prose">
<p><strong>The log says <code>permission denied</code> and <code>[process uid=1000 gid=0, dir owner uid=0 gid=0]</code>.</strong>
The freshly created volume belongs to <code>root</code> while Vikunja runs as user 1000. Fix the
ownership once with a helper container:
<code>docker run --rm -v vikunja_files:/f alpine:3.24 chown -R 1000:1000 /f</code>, then restart with
<code>docker compose up -d --force-recreate vikunja</code>. <code>--user root</code> does not work here because
the image contains no <code>/etc/passwd</code>.</p>
<p><strong>After the start there is no link to register, and you cannot log in either.</strong>
<code>VIKUNJA_SERVICE_ENABLEREGISTRATION: &quot;false&quot;</code> turned registration off before any account
existed. Set the value to <code>&quot;true&quot;</code> briefly, restart with <code>docker compose up -d vikunja</code>,
register and switch back to <code>&quot;false&quot;</code> afterwards. Alternatively create the account on the
server:
<code>docker compose exec vikunja /app/vikunja/vikunja user create -u NAME -e MAIL -p PASSWORD</code>.</p>
<p><strong>The page loads but every action fails or spins forever.</strong> Then
<code>VIKUNJA_SERVICE_PUBLICURL</code> does not point at the address you actually use. The interface
calls its own API through that value. Check with
<code>curl -s https://vikunja.YOUR_DOMAIN/api/v1/info</code> what <code>frontend_url</code> says and fix the
<code>.env</code> if needed.</p>
<p><strong>The database container will not start and complains about an unused mount.</strong> As of
PostgreSQL 18 the volume belongs at <code>/var/lib/postgresql</code> rather than
<code>/var/lib/postgresql/data</code>; the images store data per major version under <code>18/docker</code>. With
the old path startup aborts, even on an empty volume.</p>
<p><strong>Reminders never arrive.</strong> The log then says <code>Mailer is disabled, not sending reminders per mail</code>. Without a configured mail server Vikunja sends nothing. The reminder exists, it just
never reaches you. Either supply SMTP credentials through the <code>VIKUNJA_MAILER_*</code> variables
or stick to the in-app notifications.</p>

</div>
<p class="mt-3 text-sm text-slate-500 dark:text-slate-400">
  Your problem is not listed?
  <a href="/en/errors/" class="font-medium text-paprika-700 hover:underline dark:text-paprika-400">Search all error messages →</a>
</p>

<h2 id="maintenance--backups">Maintenance &amp; backups</h2>
<p>Updates go through the image tag. Vikunja moves quickly, so read the changelog before
you raise the number:</p>
<div class="sk-code">
  <span class="sk-code-head">Terminal</span>
  <div class="highlight"><pre tabindex="0" class="chroma"><code class="language-bash" data-lang="bash"><span class="line"><span class="cl"><span class="nb">cd</span> /opt/vikunja <span class="o">&amp;&amp;</span> docker compose pull <span class="o">&amp;&amp;</span> docker compose up -d</span></span></code></pre></div>
</div>
<p>Database migrations run automatically on start; afterwards the log says
<code>Ran all migrations successfully.</code> How to keep the whole stack current systematically is in
<a href="/en/tutorials/keep-docker-stack-updated/">Keep your Docker stack updated</a>.</p>
<p>Two things matter for backups, and the volume alone is not enough: the PostgreSQL database
with all tasks, and the <code>files</code> volume with the attachments. The database needs a consistent
dump, not a copy of the running volume. Why that is so is covered at length in
Database backups with Docker <span class="text-sm text-slate-500 dark:text-slate-400">(Tutorial expected in December)</span>.
<a href="/en/tutorials/restic-backups/">Restic</a> then moves the dumps and the file directory off the
server.</p>
<p>Once a quarter two small things are worth a check: whether registration is still turned
off (it is easy to forget switching it back after an experiment) and whether anybody in the
user list no longer belongs there.</p>
]]></content:encoded></item></channel></rss>