Skip to content
Init is here / May 19 - 23
Back

Self Hosting Error Cannot Create Default Account

  • 0
  • Self Hosted
Meldiron
23 May, 2025, 20:54

Oh wait, is it not localhost:[some-port]? 🤔

TL;DR
Developers are experiencing issues with errors when attempting to create a default account while self-hosting Appwrite. The problem seems to stem from CORS errors and default ports being used despite customization. There is a suggestion to switch to hosting on a virtual machine and investigate further by examining the network requests and error messages. A Docker command is provided to install Appwrite, and there are discussions about different error messages encountered during the setup process.
iamnobody
23 May, 2025, 20:54

gives me a 404

iamnobody
23 May, 2025, 20:54

and yes

Meldiron
23 May, 2025, 20:54

Can you send me the response body? Just want to make sure this is 100% appwrite response

Meldiron
23 May, 2025, 20:54

(if not, we know problem is before appwrite api container)

iamnobody
23 May, 2025, 20:54

no response

iamnobody
23 May, 2025, 20:54

its just a direct block

Meldiron
23 May, 2025, 20:54

oh, just empty 404?

iamnobody
23 May, 2025, 20:55

oh the return

iamnobody
23 May, 2025, 20:55

hold on

Corrupted
23 May, 2025, 20:55

This looks like it’s the same issue I’m having that I just posted here https://discord.com/channels/564160730845151244/1375547722245083286

Meldiron
23 May, 2025, 20:55

I would expect something like this, for example

iamnobody
23 May, 2025, 20:56

{"message":"User (role: guests) missing scope (account)","code":401,"type":"general_unauthorized_scope","version":"1.7.2"}

Meldiron
23 May, 2025, 20:56

Oh wow, sounds easy to reproduce. Let me spin up droplet to try it

Meldiron
23 May, 2025, 20:57

There might be new security measures due to sites, which might be causing trouble for when port is customized. Trying on my end, Ill get back to you folks in 5-10 mins

iamnobody
23 May, 2025, 20:57

just read ur issue and yeah saw the reply . . . non standard ports are an issue huh

iamnobody
23 May, 2025, 20:57

i need 80 open as i use it for other stuffs

iamnobody
23 May, 2025, 20:57

only other option i guess would be to host on an actual vm

Corrupted
23 May, 2025, 20:58

@iamnobody out of curiosity, what OS are you using?

iamnobody
23 May, 2025, 20:58

ubuntu

Corrupted
23 May, 2025, 20:59

Oh never mind. I’m on a Mac. Was hoping there was some connection with Mac and silicon chips here. Guess not

iamnobody
23 May, 2025, 20:59

nah . . . me thinks its attempting to use the default port for requests despite the fact that there is a different one in there

Corrupted
23 May, 2025, 20:59

Yup, that’s what I think as well

iamnobody
23 May, 2025, 21:00

only reason why it would be pulling a CORS error

iamnobody
23 May, 2025, 21:00

if u take a look at network anything that is not a direct asset is pulled without the port and fails

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