Back

Self hosted new install, can't login

  • 0
  • Self Hosted
  • Web
South Summit
25 May, 2024, 17:10

Hi, I just installed Appwrite using the provided docker run install command. When opening the browser, I'm redirected to the login page but I haven't created an admin account yet. The console shows a 401 unauthorized error as shown in the screenshot. Clearing cookies and using incognito mode has the same result

In case it's relevant: I'm pretty sure I previously tried out Appwrite on this machine. Is it possible there is some leftover config files on the host?

TL;DR
Developers are having trouble logging into their self-hosted Appwrite instance after installing with the `docker run` command. They are redirected to the login page without an admin account. This may be due to old data from a previous installation. They can try creating an account by clicking "Sign up" instead.
Steven
25 May, 2024, 17:13

Yes there's probably old data still around

South Summit
25 May, 2024, 17:30

Thanks. But no luck. However.. If I click on sign up, I can create an account and everything works as expected. I would have thought that I'd be directed there on first page load but it's not a big deal. I'd suggest mentioning this in the docs. (FWIW, there are 3rd party tutorials online that mention you should see the account creation page on first page load which is why I was confused)

Steven
25 May, 2024, 17:33

No, you aren't directed there on first load

Steven
25 May, 2024, 17:34

Those tutorials are probably very old

South Summit
25 May, 2024, 17:43

Ok thanks Steven!

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more