Zcli deploy stuck
I'm trying to deploy using zcli apps:update dist but the deployment hangs and just stays as
Uploading app... Uploaded
Deploying app... ⢿
Deploying the app using zcli apps:package dist and uploading it manually works just fine.
My zcli.apps.config.json looks like:
zcli apps:validate dist returns "No validation errors"
What is wrong or what am I missing?
This happens to me when I have a requirements file that cannot be fulfilled or my app_id does not match with the current app or when the parameters have changed.
Uploading seems to accept and handle the validation better whilst ZCLI just hangs.
There should be a ZCLI log file that you can inspect
I've checked and the app_id is ok, I was missing the parameters but I have added them all, I can't find any documentation on this so maybe I didn't do it in the right way
is this ok? App is still stuck
P.D.: I can't find any logs anywhere
Hello Martin Blaustein,
How much time did you wait? Sometimes it can take ages until the app is uploaded, especially if you have a lot of files in your assets directory.
To get deep into this, you can manually perform the update command. To do it, you need to make the following three steps:
- Upload your app package
- Update app. You'll get job_id here, and you need to wait until the success status.
- Install app
By making request by request, you'll be able to see where the update command gets stuck or fails. API responses can also gives a clue what can be wrong.
Thanks a lot by doing I discovered that the app_id I was using was wrong, with the correct id the upload works great!
Thanks for your help,
Por favor, entrar para comentar.