@D5 I just double checked this and as I mentioned above, the permissions for "create, read, update, and delete) have been activated for role "any". My collection is called "Users" and I have also create a role for all users in "Users" and set it to the same CRUD permissions. Should this address the issue, and will I need to restart the appwrite docker container hosted in my digital ocean droplet for these changes to take place?
This is the current setting, yet I still get a database not found error @D5
Are you 100% sure the ID is correct?
In the code I don't see you have set endpoint, etc
I had not included it in the text, but my endpoint is set at the top of the file
The id is also correct, just double checked
are you referring to setting the endpoint when creating the client?
And others ID are correct? (Project ID, collection ID...)
Yes
yes the project id, collectionid, and database id are all correct
I am not sure if this matters, but this is my setEndpoint:
Client client = Client() .setEndpoint('https://appwrite.demo.edventures.ai/v1')
I am using v1
You have there . set project, true?
.setProject('64cc49f9606136aab887') .setSelfSigned(status: true)
What do you get in logs, after running this?
docker compose logs appwrite
Remove self-signed
It's not needed in your case because you have a valid certificate
Sorry for the late response, this was not loading on my phone 🤦♂️
Are you using relationships?
no worries at all! I really appreciate your help!
If by relationships you mean associating the user role with something like a userId then yes. For every user, they have a role associated with them stored in the database collection as "entrepreneur" or "coach" and it is also tied to their UserId.
Nope, I mean associating an attribute to another attribute element in a different collection
We ended up fixing the issue, thanks @D5!
What was the solution?
Recommended threads
- Docker compose 1.9.0 support
Hi! Sorry if I've missed something, but I saw that version 1.9.0 was released for self hosting, yet the compose file linked in the official documentation (https...
- Running Appwrite in docker through nginx
Hi team, I'm trying to expose multiple local services (Appwrite, Ollama, PostHog) through a single Nginx reverse proxy port, tunneled via ngrok to a public dom...
- Can't update to 1.9.0
I'm trying to update from 1.8.1 to 1.9.0 but I keep getting this error: ```http://appwrite/v1/health/version => Operation timed out after 2001 milliseconds wit...