Zcli deploy stuck



2022년 9월 16일에 게시됨

Hi,

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:

{
"app_id": 6589xxxxxx,
"parameters": {
}
}

zcli apps:validate dist returns "No validation errors"

What is wrong or what am I missing?

Thanks


2

5

댓글 5개

I also had issues w/ stuck deploys (using zcli apps:update dist), where the upload finished, but no "Deploying..." message ever displayed in Github actions. We ended up using curl directly w/o issue - reference gist

0


Hi Andriy,

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, 

Best Regards,

Martin

0


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:

  1. Upload your app package 
  2. Update app. You'll get job_id here, and you need to wait until the success status.
  3. 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.

Best,
Andriy

0


Thanks Sal, 

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

{
"app_id": 6589xxxxxx,
"parameters": {
"env": "prod",
"apiKey": "xxxx",
"test": "yyyy"
}
}

is this ok? App is still stuck

Thanks!

P.D.: I can't find any logs anywhere

 

0


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

1


로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물