I have a self hosted instance of Appwrite and I am using cursor to connect my ecom frontend and deploy backend with Appwrite.
Cursor is getting stuck at creating attribute stage and going through loops. It gets stuck on certain collections - create attribute steps as shown.
I manually deleted those collections and tried again but its always showing stuck in processing. I can share the database.js script its using for creating these attributes if that helps.
Please check logs on your VPS via SSH
Refer this docs for debugging self hosted Appwrite & to view logs https://appwrite.io/docs/advanced/self-hosting/debug
Alright, I wonder if it has to do anything with this docker log
[Error] Method: [Error] URL: /v1/realtime [Error] Type: Appwrite\Extend\Exception [Error] Message: The requested route was not found. Please refer to the API docs and try again. [Error] File: /usr/src/code/app/controllers/general.php [Error] Line: 859
@kamal.panara Ok those errors should not affect I figure. The debug docs just show how to see logs, which I have here. That doesnt help with attributes stuck in processing. Any guidance here please?
I think that there's some issue with your database or connection. Check the logs for the mariaDB container
Those are the only logs you see?
Those are requests from bots, you can ignore them
What are the logs for the mariadb container?
You can get them by runnin docker compose logs appwrite-mariadb
I am sorry, I took the LXC down and went with supabase for now. I found so many threads for attributes and felt it might be too much of a challenge for me to solve. I willl give it a go again when I am more familiar with troubleshooting process.
Self-hosting supabase? 😅
Self hosting part was very easy actually despite what I read. Its up and running. Single database per project limitation is what brought me to Appwrite but I am trying to learn backend functionalities so it might work for me for now.
No idea why you were facing those issues. I'm running appwrite in self-hosting since many years and everything is smoothly running
I think something is wrong with your database connection or database, but since you opt to throw appwrite into the bin.. :emoti_cry:
Also, the other posts are in cloud, not your case
They are a completely different issue
I will give it another go. I definitely had active picked it up over other after spending some time on reading on both of them
Recommended threads
- function subdomain ssl certs
The generated subdomain isn't getting a valid ssl cert, I was wondering if appwrite automatically generates one or uses a wildcard for *.functions.domain.com? ...
- Whats best practise for Appwrite Cloud?
Appwrite Teams map very nicely to my needs, it is how i group users together. ... I use roles to define permissions. Should I also map a table to each team ? ...
- Error getting preview of file
Rest Response: ``` { "message": "Server Error", "code": 500, "type": "general_unknown", "version": "1.8.1" } ``` Appwrite Logs ``` appwrite ...