Skip to content
Back

CLI - Attribute creation timed out

  • 0
  • Tools
  • Cloud
Pingu
16 Jan, 2025, 03:51

runnging appwrite push collections --all --force in my cicd, I received the following output:

TypeScript
Info: Checking for changes ...
Info: Collection PollOptions does not exist in the project. Creating ... 
Info: Collection PollSuggestions does not exist in the project. Creating ... 
Info: Collection PollVotes does not exist in the project. Creating ... 
Info: Collection Polls does not exist in the project. Creating ... 
Info: Pushing collection Polls ( 676a27c20025b8a2689b - 677d650400147922cdf8 ) attributes
Info: For detailed error pass the --verbose or --report flag
Error: Attribute creation timed out.
Error: Process completed with exit code 1.

I run this each time I merge a PR, and I can therefore see exactly what changes were made to the appwrite json file. In this instance there were only additions - new collections were added. The following lines were added to appwrite.json (attached as too large for a snippet)

Is it struggling with relationships?

Have tried running it since and it fails each time. Pretty annoying as this is how I was expecting to do my deployments, but if it won't work then I can't see how I can do things this way...

TL;DR
Developers are experiencing timeouts when trying to create attributes using CLI for Appwrite collections. This error occurs even after adding new collections. The issue might be related to the relationships. As a potential solution, developers can try running the command with the `--verbose` or `--report` flag for detailed error information.
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