Open tripolskypetr opened 10 months ago
@tripolskypetr Can you please assign it to me
@CodeDrinks270 @joeyouss
Looks like I don't have permission to assign anyone to this issue. Joe, is there anything I can do to speed up the process of solving that problem?
Does the CLI still timeout?
@stnguyen90 Yeap, It still timeout. This schema will help to reproduce the error
https://gist.github.com/tripolskypetr/c1f84aa39261911291ec95addca0a839
Hi there, Thanks for getting in touch! It looks like the JSON you provided exceeds the limit of allowed attributes. You'll need to reduce the amount of attributes in the "APARTMENT" collection to be able to deploy. Currently the limit is just over 1000 attributes. Regards, Jake
APARTMENT
collection got only 200 attributes11440
which is also okFor the above reasons, the problem is in the CLI. Right now the last version of appwrite-cli is 4.1.0. It published 2 months ago
@abnegate
@tripolskypetr Ah I see, yep the issue definitely looks to be in the CLI if you're only getting 200 attributes created, I will follow up with an investigation.
You will still need to reduce the number of attributes - once we resolve the CLI issue, you'll run into the column count limit noted here. The actual limit will be slightly lower since Appwrite has some internal attributes on each collection.
Looks like still not fixed. I have upgraded appwrite-cli
to 4.2.0
, published 6 days ago. Got same error while deploying collection with 84
attributes on Toshiba HDD appwrite installation.
Creating attributes one-by-one with that script works OK. Maybe It going to be useful to someone
The user suggests increasing the delay/timeout as creating can be much slower on a WSL2 docker on windows
https://discord.com/channels/564160730845151244/1207985484333318184/1217053962797187193
@stnguyen90 For a last half year I am trying to suggest to purge the magic constant antipattern completely
@tripolskypetr apologies for the delay. We are working on this issue and a fix will be released as part of the next version.
@christyjacob4
During the miscommunication period I implemented the alternative, see appwrite-backup-tool.
I have sent a CV for building the CLI and other dev tools for the full time. Are the Appwrite team recruiting newbies? I think my experience will be quite useful to bring dev experience to the best
π Reproduction steps
π Expected behavior
I made a migration script and It works well
This worked. Looks like appwrite-cli does not reset not responding timeout after each attribute creation.
π Actual Behavior
The schema for the following collection should be deployed successfully. Right now It is not
π² Appwrite version
Appwrite Cloud
π» Operating system
Linux
𧱠Your Environment
Appwrite Cloud 1.4.5, Appwrite-cli 4.1.0
π Have you spent some time to check if this issue has been raised before?
π’ Have you read the Code of Conduct?