IECTL - Not a valid workspace Error

0
When running iectl publisher app version create command after publisher configuration, i get the error Not a valid workspace.   environment : windows   config command : iectl config add publisher --workspace C:\Users\XXXXX\Desktop\workspace --dockerurl http://127.0.0.1:2375 --name my-publisher   publish command: iectl publisher app version create --appid XXXXX --yamlpath C:\Users\XXXXX\Desktop\app-release.yaml --versionnumber 0.0.3 --redirecttype FromBoxReverseProxy --redirecturl XXXXX --redirectsection XXXXX --nginxjson "{\"XXXXX\":[{\"name\":\"XXXXX\",\"protocol\":\"HTTP\",\"port\":\"5010\",\"headers\":\"\",\"rewriteTarget\":\"/\"}]}"   how can i handle this problem? which one is the problematic step on the commands?
asked
2 answers
1

Hi Yasin,

 

this is described in the previous section: "Standalone Apps"

https://docs.eu1.edge.siemens.cloud/apis_and_references/iectl/howtos/standalone-app.html

 

The tutorials are based on each other, i guess that's why it is missing in this section, but thanks for sharing this information.

answered
0

i found that i have to run 

iectl publisher workspace init

command. but this step is missing on the tutorial

answered