I tried to delete an attribute from a collection, and it’s entered some kind of limbo state called “stuck”. Restarting appwrite didn’t help. Wondering if something is amiss at the MariaDB end?
What's in the appwrite-worker-deletes docker logs?
Here you go
What's the attribute key?
facility_id
Are these logs from after the attribute became stuck only?
Can you also share the docker logs for the appwrite-worker-databases container?
I tried to delete it earlier today but that log is from after rebooting appwrite, so it’s possible it has no evidence of the defective delete. I just tried deleting again, but nothing seemed to be added to this log.
Ya...I would need the logs from when it happened to try to figure out the root cause
This last log seems to say something useful, “Key column 'facility_id' doesn't exist in table”
Now I know to save the logs immediately should something weird happens
Maybe the attribute didn't create successfully?
You could try to recreate the collection
Recommended threads
- Hosting Issues with Static IP not domain...
I have a machine with Static Public IP. I want to host Appwrite Site on it but I tried it but it doesn't allow IP addresses in Domain names. What should I do h...
- encrypt and decrypt buckets
I have a bucket where I switched from encryption to not encrypting files. I later realized that files already uploaded earlier stay encrypted. Now I have a buck...
- Unable to Create Storage After Upgrading...
We upgraded our Appwrite instance from version 1.8.0 to 1.9.0 and successfully ran the migration process. However, after the upgrade, we are no longer able to c...