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
- Paused project can't activate
I have failed to reactivate one my projects which had been paused
- Site deployment keeps getting failed
Hi good folks, need a hand with Sites deploy Error on every deploy: Synchronous function execution timed out... duration doesn't exceed 30 seconds [exact log ...
- Unknown attribute type: varchar / text
Since the `string` type is deprecated I tried using `varchar` and `text` in some newer tables, but when running `appwrite pull tables && appwrite types ./src/li...