Hey, I’m running into an issue right after the setup. I followed the setup instructions and ran docker compose up -d, and while the local server seems to be running, I get a server error when trying to sign up.
Is there a dummy/test account available for contributors?
This doesn't seem to help: https://github.com/appwrite/appwrite/issues/8808#issuecomment-2433365910
As Im in signup page itself.
What exactly did you do to setup, sign up, and what is the exact error?
I followed the general setup guidelines: https://github.com/appwrite/appwrite/blob/main/CONTRIBUTING.md#setup-from-source and the issue is: https://github.com/appwrite/appwrite/issues/8808
Here is the some part of error log:
{"message":"User (role: guests) missing scope (account)","code":401,"type":"general_unauthorized_scope","version":"1.7.4","file":"\/usr\/src\/code\/app\/controllers\/shared\/api.php","line":375,"trace":[{"file":"\/usr\/src\/code\/vendor\/utopia-php\/framework\/src\/App.php","line":600,"function":"{closure}","args":[{},{},{},{},{},{"$id":"console","$internalId":"console","name":"Appwrite","$collection":"projects","description":"Appwrite core engine","logo":"","teamId":null,"webhooks":[],"keys":[],"platforms":[{"$collection":"platforms","name":"Localhost","type":"web","hostname":"localhost"},{"$collection":"platforms","name":"Current Host","type":"web","hostname":"localhost"},{"$collection":"platforms","type":"web","name":"localhost","hostname":"localhost"},{"$collection":"platforms","type":"web","name":"appwrite.io","hostname":"appwrite.io"},{"$collection":"platforms","type":"web","name":"*.appwrite.io","hostname":"*.appwrite.io"}],"region":"fra","legalName":"","legalCountry":"","legalState":"","legalCity":"","legalAddress":"","legalTaxId":"","auths":{"mockNumbers":[],"invites":true,"limit":0,"duration":31536000,"sessionAlerts":true},"authWhitelistEmails":[],"authWhitelistIPs":[],"oAuthProviders":{"githubEnabled":true,"githubSecret":"","githubAppid":""}},{},null,["node.js","deno","php","python","ruby","go",".net","dart","kotlin","swift","graphql","rest"],"default",{},null]},{"file":"\/usr\/src\/code\/vendor\/utopia-php\/framework\/src\/App.php","line":826,"function":"execute","class":"Utopia\\App","type":"->","args":[{},{},{}]},
Why are you running from source? You want to modify the source code?
Or do you just want to use Appwrite?
I want to setup it locally, for contributing.
Ok
What happened exactly when you tried to sign up?
- I run my application locally using Docker Compose.
- When navigating to either the sign-in or sign-up page, a request to http://localhost/v1/account fails with a 401 Unauthorized error. The error response is:
{
"message": "User (role: guests) missing scope (account)",
"code": 401,
"type": "general_unauthorized_scope"
}
- After submitting the sign-up form, a 500 Internal Server Error occurs. The response includes:
{
"message": "Server Error",
"code": 500,
"type": "general_unknown",
"version": "1.7.4"
}
The 3rd step error originates in the Database.php file at line 3653, specifically in the createDocument function, as indicated by the stack trace pointing to the account.php controller (line 391).
well if you aren't logged in yet, the 401 error is expected
there should be another log entry for the 500 error
Recommended threads
- 1.9.5 Migration problem
1.9.5 migration problem after run migration command only openruntimes-executor
- Appwrite Sites deployment fails because ...
Appwrite Cloud Sites deployments are failing consistently for both GitHub and manual deployments. The build command completes successfully and packaging also c...
- Build succeeds but deployment fails — si...
My Next.js 15.5.20 site (standalone output mode) builds successfully on Appwrite Sites, but the deployment fails at the final packaging step with: [sidecar:bui...