Back

[CLOSED] Stuck on attribute processing

  • 0
  • Databases
  • Self Hosted
mav8rick
31 Oct, 2023, 11:09

Hi, I added some attributes to the collection and we have been waiting for about 2 hours now for the "processing" tom complete. I restarted the server but it didn't clear the error. Checking the appwrite logs, I found:

TypeScript
appwrite  | [Error] Timestamp: 2023-10-31T10:49:31+00:00
appwrite  | [Error] Method: PATCH
appwrite  | [Error] URL: /v1/databases/:databaseId/collections/:collectionId/attributes/string/:key
appwrite  | [Error] Type: Appwrite\Extend\Exception
appwrite  | [Error] Message: The requested attribute is not yet available. Please try again later.
appwrite  | [Error] File: /usr/src/code/app/controllers/api/databases.php
appwrite  | [Error] Line: 246

Is there something I can do to "clear" this?
Appreciate some tips - any tips...🆘

TL;DR
User is experiencing a 'Stuck on attribute processing' error with their Appwrite installation. The error has been persisting for 10 hours. Deleting the entire collection temporarily fixes the issue, but the user is looking for a better solution. Self-hosting users should create an issue on GitHub if they are experiencing the same problem. However, there is a workaround mentioned in a GitHub thread where the user deleted and recreated the collection to resolve the issue. Another user suggests retrying the attribute creation, as it may take a long time. Unfortunately, there is no clear solution provided.
Haimantika
31 Oct, 2023, 12:46

At times the attributes take a long time to be created. Can you retry?

mav8rick
31 Oct, 2023, 13:07

Well, if I'm on Appwrite Cloud, I can submit a ticket but I'm self-hosting. Fo those people who hit into this. We resolved it by deleting the collection and recreating it

debashish
1 Nov, 2023, 04:30

this happens very often. I am getting "stuck" error since yesterday. deleting whole collection fixes it. but I think this is not a right solution.

Drake
1 Nov, 2023, 04:35

if you're having this problem while self hosting, feel free to create an issue. Otherwise, see https://github.com/appwrite/appwrite/discussions/6464

Drake
1 Nov, 2023, 04:35

[CLOSED] Stuck on attribute processing

debashish
1 Nov, 2023, 04:36

its with cloud. stuck from 10 hours

Drake
1 Nov, 2023, 04:37

create a separate post and provide detailed context

debashish
1 Nov, 2023, 04:37

sure

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more