Export of data and email confirmation gives odd links - cant resend email confirmation

Hi all i have just started trying out Vikunja. And i find it usefull. But i have some problems i think i need a hand with

I have created vikunja docker-compose.yaml with frontend/api/sqlite and mail.

I am trying to export the data from a user.
I receive a mail but i cant download on the download button.

the download button gives this link

x-webdoc://5971CE50-BDF5-47C1-8B37-FBADE0E6BF0A/user/export/download

My docker-compose.yaml looks like this

version: '3'

services:
  vikunja_api:
    container_name: vikunja_api
    image: vikunja/api
    environment:
      VIKUNJA_DATABASE_TYPE: sqlite
      VIKUNJA_DATABASE_PATH: ./files/vikunja.db
      VIKUNJA_SERVICE_ENABLEREGISTRATION: "true"
      VIKUNJA_SERVICE_TIMEZONE: Europe/Copenhagen
      VIKUNJA_MAILER_ENABLED: 1
      VIKUNJA_MAILER_FORCESSL: 1
      VIKUNJA_MAILER_HOST: smtp.gmail.com
      VIKUNJA_MAILER_PORT: 465
      VIKUNJA_MAILER_USERNAME: <MyEmail>@gmail.com
      VIKUNJA_MAILER_PASSWORD: <MyPassword>
      PUID: 1000
      PGID: 1000
    volumes:
      - ./files:/app/vikunja/files
    ports:
      - 3456:3456
    restart: unless-stopped

  vikunja_frontend:
    container_name: vikunja_frontend
    image: vikunja/frontend
    ports:
      - 8765:80
    environment:
      VIKUNJA_API_URL: http://192.168.1.170:3456/api/v1
    restart: unless-stopped

The output of the files directory looks like this

ls -lah ./files/
total 548K
drwxr-xr-x 3 cfna08h users      8 Jul 17 06:57 .
drwxr-xr-x 3 cfna08h users      4 Jul 17 07:14 ..
-rw-r--r-- 1 cfna08h cfna08h 2.8K Jul 17 06:43 1
-rw-r--r-- 1 cfna08h cfna08h 2.8K Jul 17 06:47 2
-rw-r--r-- 1 cfna08h cfna08h 2.8K Jul 17 06:54 3
-rw-r--r-- 1 cfna08h cfna08h 2.8K Jul 17 06:57 4
drwx------ 2 cfna08h cfna08h    2 Jul 17 06:57 user-export-tmp
-rw-r--r-- 1 cfna08h cfna08h 440K Jul 17 06:57 vikunja.db

And user-export-tmp like this

ls -lah ./files/user-export-tmp/
total 9.0K
drwx------ 2 cfna08h cfna08h 2 Jul 17 06:57 .
drwxr-xr-x 3 cfna08h users   8 Jul 17 06:57 ..

Is there anything i have done wrong?

Still trying to figure out if i have done this correctly.

Is the link the same for the plain text version of the mail? And in every email client?

Its a bit different though.
The first was from Windows 10 Mail

This one is from Chromium on Linux

# Download link
http://user/export/download

# Plain Text
If the button above doesn't work, copy the url below and paste it in your browsers address bar:
user/export/download

Seems like its not putting in my http://192.168.1.170:8765 as i suppose should be happening.

Ty for looking into it.
As a first time user its nice to know people are interested in the bugs that are found.

That looks like you need to set the frontendurl in your config file.

After setting

VIKUNJA_SERVICE_FRONTENDURL: http://192.168.1.170:8765/

Remembering the trailing smash /

Under the API environmental variables this solved the issue i had.

Maybe this should be added to the

Full docker example - example without proxy

Since i would never have found or known i needed this for the docker setup.

Than you for the support, this was very helpful.

Now i received a confirm email that didn’t work so i delete it.

How would I go about resending that ?

1 Like

You mean a user email confirmation email? Right now there’s no way to resend those.

Added, thanks for the heads up.