# 1st time login error

**URL:** <https://community.vikunja.io/t/1st-time-login-error/319>\
**Category:** Support\
**Created:** [1 September 2021 11:50 UTC](https://community.vikunja.io/t/1st-time-login-error/319 "2021-09-01T11:50:30Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![magicman32](https://community.vikunja.io/user_avatar/community.vikunja.io/magicman32/32/182_2.png) [@magicman32](https://community.vikunja.io/u/magicman32)\
**Post date:** [1 September 2021 11:50 UTC](https://community.vikunja.io/t/1st-time-login-error/319/1 "2021-09-01T11:50:30Z")

</div>

Hi All,  
I have installed vikunja via docker on unraid os  
All installs ok and seems to be running, but when I goto login  
I get a 405 error

Anything I need to check please

 ![vikunja](https://community.vikunja.io/uploads/default/original/1X/49ea158a0782d12ef27e35d92ad5329de1d2f2c3.jpeg)

---

<div class="post-metadata">

**Author:** ![magicman32](https://community.vikunja.io/user_avatar/community.vikunja.io/magicman32/32/182_2.png) [@magicman32](https://community.vikunja.io/u/magicman32)\
**Post date:** [1 September 2021 11:57 UTC](https://community.vikunja.io/t/1st-time-login-error/319/2 "2021-09-01T11:57:22Z")

</div>

I also noticed on my login page theres no register button

---

<div class="post-metadata">

**Author:** ![kolaente](https://community.vikunja.io/user_avatar/community.vikunja.io/kolaente/32/5_2.png) [@kolaente](https://community.vikunja.io/u/kolaente)\
**Post date:** [1 September 2021 12:29 UTC](https://community.vikunja.io/t/1st-time-login-error/319/3 "2021-09-01T12:29:42Z")

</div>

How did you set it up? Can you send your config?  
It looks like the frontend can’t reach the api, can you access it manually in the browser at `/api/v1/info`?

---

<div class="post-metadata">

**Author:** ![magicman32](https://community.vikunja.io/user_avatar/community.vikunja.io/magicman32/32/182_2.png) [@magicman32](https://community.vikunja.io/u/magicman32)\
**Post date:** [1 September 2021 12:53 UTC](https://community.vikunja.io/t/1st-time-login-error/319/4 "2021-09-01T12:53:32Z")

</div>

Setup in unraid docker via community apps  
Docker config

 ![vikunja-config](https://community.vikunja.io/uploads/default/original/1X/1a8de2a770bd2fdf0407cc90a0565b6d4815a712.jpeg)

---

<div class="post-metadata">

**Author:** ![magicman32](https://community.vikunja.io/user_avatar/community.vikunja.io/magicman32/32/182_2.png) [@magicman32](https://community.vikunja.io/u/magicman32)\
**Post date:** [1 September 2021 12:54 UTC](https://community.vikunja.io/t/1st-time-login-error/319/5 "2021-09-01T12:54:11Z")

</div>

api logs

 ![vikunja-logs](https://community.vikunja.io/uploads/default/original/1X/f99635a297a7b9a47efc6af8c9577ab6b9d6e853.jpeg)

---

<div class="post-metadata">

**Author:** ![magicman32](https://community.vikunja.io/user_avatar/community.vikunja.io/magicman32/32/182_2.png) [@magicman32](https://community.vikunja.io/u/magicman32)\
**Post date:** [1 September 2021 14:15 UTC](https://community.vikunja.io/t/1st-time-login-error/319/6 "2021-09-01T14:15:10Z")

</div>

In the log its says config file not found, Im guessing thats why my api backend is constantly stopping

---

<div class="post-metadata">

**Author:** ![kolaente](https://community.vikunja.io/user_avatar/community.vikunja.io/kolaente/32/5_2.png) [@kolaente](https://community.vikunja.io/u/kolaente)\
**Post date:** [1 September 2021 14:20 UTC](https://community.vikunja.io/t/1st-time-login-error/319/7 "2021-09-01T14:20:45Z")

</div>

Oh I didn’t know there was an unraid app. Who created that? As I don’t know anything about unraid I’m not sure if I can help you with that. Maybe the creator can help you better?

The error message looks like Vikunja can’t access your database. Are you sure the credentials are correct? Are you sure the vikunja api container can reach the database host?  
The error message about the config file does not matter in your case because the docker image uses environment variables instead of a config file.

---

<div class="post-metadata">

**Author:** ![magicman32](https://community.vikunja.io/user_avatar/community.vikunja.io/magicman32/32/182_2.png) [@magicman32](https://community.vikunja.io/u/magicman32)\
**Post date:** [1 September 2021 15:14 UTC](https://community.vikunja.io/t/1st-time-login-error/319/9 "2021-09-01T15:14:18Z")

</div>

![vukunja-datbase-connected](https://community.vikunja.io/uploads/default/original/1X/6dc12a44f4c962a36e9f0f2df32a12042d7450fb.jpeg)

Got the database to connect…but on login page, I still dont see register button

and when trying to give a username and password I get 405 error

---

<div class="post-metadata">

**Author:** ![magicman32](https://community.vikunja.io/user_avatar/community.vikunja.io/magicman32/32/182_2.png) [@magicman32](https://community.vikunja.io/u/magicman32)\
**Post date:** [1 September 2021 15:54 UTC](https://community.vikunja.io/t/1st-time-login-error/319/10 "2021-09-01T15:54:37Z")

</div>

![vikunja-web-browser](https://community.vikunja.io/uploads/default/original/1X/f729d5cae63dcd47286f51ecd97597d02a073eac.jpeg)

Web browser developer options

---

<div class="post-metadata">

**Author:** ![kolaente](https://community.vikunja.io/user_avatar/community.vikunja.io/kolaente/32/5_2.png) [@kolaente](https://community.vikunja.io/u/kolaente)\
**Post date:** [1 September 2021 16:39 UTC](https://community.vikunja.io/t/1st-time-login-error/319/11 "2021-09-01T16:39:55Z")

</div>

What’s the actual response from the login request? (The one in red from dev tools) Does it show up in the api log?

---

<div class="post-metadata">

**Author:** ![magicman32](https://community.vikunja.io/user_avatar/community.vikunja.io/magicman32/32/182_2.png) [@magicman32](https://community.vikunja.io/u/magicman32)\
**Post date:** [2 September 2021 05:22 UTC](https://community.vikunja.io/t/1st-time-login-error/319/12 "2021-09-02T05:22:29Z")

</div>

![vikunja-logs2](https://community.vikunja.io/uploads/default/original/1X/3df6c3315606a635344ca5f658e7f3327bd78190.jpeg)

---

<div class="post-metadata">

**Author:** ![kolaente](https://community.vikunja.io/user_avatar/community.vikunja.io/kolaente/32/5_2.png) [@kolaente](https://community.vikunja.io/u/kolaente)\
**Post date:** [2 September 2021 05:59 UTC](https://community.vikunja.io/t/1st-time-login-error/319/13 "2021-09-02T05:59:42Z")

</div>

That’s not the full log. There should be a line like “http server started” at the bottom.

Can you reach the api at `/api/v1/info`?

---

<div class="post-metadata">

**Author:** ![magicman32](https://community.vikunja.io/user_avatar/community.vikunja.io/magicman32/32/182_2.png) [@magicman32](https://community.vikunja.io/u/magicman32)\
**Post date:** [2 September 2021 07:39 UTC](https://community.vikunja.io/t/1st-time-login-error/319/14 "2021-09-02T07:39:34Z")

</div>

![vikunja-log3](https://community.vikunja.io/uploads/default/original/1X/e2360a509fdd912c73c46d63fb0b317811443f4c.jpeg)

Thats the full log with an api container restart

---

<div class="post-metadata">

**Author:** ![magicman32](https://community.vikunja.io/user_avatar/community.vikunja.io/magicman32/32/182_2.png) [@magicman32](https://community.vikunja.io/u/magicman32)\
**Post date:** [2 September 2021 07:41 UTC](https://community.vikunja.io/t/1st-time-login-error/319/15 "2021-09-02T07:41:39Z")

</div>

![vikunja-api](https://community.vikunja.io/uploads/default/original/1X/38eca3c34ff402c1f811b4bb33971fc077212d1c.jpeg)

thats what I get in browser going to /api/v1/info

---

<div class="post-metadata">

**Author:** ![magicman32](https://community.vikunja.io/user_avatar/community.vikunja.io/magicman32/32/182_2.png) [@magicman32](https://community.vikunja.io/u/magicman32)\
**Post date:** [2 September 2021 12:01 UTC](https://community.vikunja.io/t/1st-time-login-error/319/16 "2021-09-02T12:01:45Z")

</div>

I am using linuxserver SWAG container for web server, if that helps

---

<div class="post-metadata">

**Author:** ![kolaente](https://community.vikunja.io/user_avatar/community.vikunja.io/kolaente/32/5_2.png) [@kolaente](https://community.vikunja.io/u/kolaente)\
**Post date:** [2 September 2021 12:02 UTC](https://community.vikunja.io/t/1st-time-login-error/319/17 "2021-09-02T12:02:20Z")

</div>

What’s the response in Dev Tools from the login request? (The one that shows up as red in the network tab)

Are you sure you set up the connection between the api and the frontend correctly? In the frontend, either enter the api URL (the one you used to access the /info path in the browser) or [set the env variable for it](https://vikunja.io/docs/install-frontend/#api-url-configuration-in-docker).

---

<div class="post-metadata">

**Author:** ![magicman32](https://community.vikunja.io/user_avatar/community.vikunja.io/magicman32/32/182_2.png) [@magicman32](https://community.vikunja.io/u/magicman32)\
**Post date:** [2 September 2021 15:47 UTC](https://community.vikunja.io/t/1st-time-login-error/319/18 "2021-09-02T15:47:51Z")

</div>

I went a different route, I installed docker and docker-compose on a linux vm  
and installed via your docker walkthru, and it worked

Docker in unraid os is a little touchy at times  
Thanks for trying to help me with my issues

---

<div class="post-metadata">

**Author:** ![kolaente](https://community.vikunja.io/user_avatar/community.vikunja.io/kolaente/32/5_2.png) [@kolaente](https://community.vikunja.io/u/kolaente)\
**Post date:** [2 September 2021 17:53 UTC](https://community.vikunja.io/t/1st-time-login-error/319/19 "2021-09-02T17:53:00Z")

</div>

Glad it works now! Maybe tell the author of the vikunja unraid app so they can put up a fix or better docs.
