[SOLVED] CLI: backup create broken

I have…

  • [ ] Checked the logs and have provided uploaded a log file and provided a link because I found something suspicious there.

I’m submitting a…

  • [x] Regression (a behavior that stopped working in a new release)
  • [ ] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

Backup is created on squidex, but is not downloaded due to some error. Downloading the backup from WebUi works properly.

Error:

PS C:\Users\currentUser\Downloads\sq> .\sq.exe backup create test.zip
Backup started, waiting for completion…
ERROR: Could not deserialize the response body.
Status: 200
Response:
{“items”:[{“id”:“24bbaa53-b801-4ef9-8a15-e927a5addf06”,“started”:“2019-07-21T08:30:14Z”,“handledEvents”:0,“handledAssets”:0,“status”:“Started”,"_links":{“delete”:{“href”:"/api/apps/xflattenheaderbroken/backups/24bbaa53-b801-4ef9-8a15-e927a5addf06",“method”:“DELETE”},“download”:{“href”:"/api/apps/xflattenheaderbroken/backups/24bbaa53-b801-4ef9-8a15-e927a5addf06",“method”:“GET”}}},{“id”:“67c91aa9-4659-448b-b322-d11195563afb”,“started”:“2019-07-16T18:36:41Z”,“stopped”:“2019-07-16T18:36:43Z”,“handledEvents”:25,

Expected behavior

Zip file should be downloaded to executing folder

Minimal reproduction of the problem

  1. Download Squidex CLI.
  2. Add Configuration for app
  3. run '.\sq.exe backup create test.zip

Environment

  • [x] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [x] Cloud version

Version: [Current Cloud Version, DEV]

Thx,have to check the 3.0 compatibility.

Hi, I have published a new version: https://github.com/Squidex/squidex-samples/releases/tag/cli-v3.0

1 Like

thanks. works fine again :grinning:

Thanks and sorry for the inconvenience.