workflow-cli icon indicating copy to clipboard operation
workflow-cli copied to clipboard

deis releases returns requested URL not found

Open Overdrivr opened this issue 8 years ago • 5 comments

This command

$ deis releases

outputs:

Error: <h1>Not Found</h1><p>The requested URL /v2/apps/remi_beges/releases/ was not found on this server.</p>

I'm running this in Google cloud shell.

$ deis version
v2.14.1

Any idea what is going on here ?

Overdrivr avatar Jun 14 '17 05:06 Overdrivr

Does an app called remi_beges exist? Probably calling deis releases In the wrong directory.

bacongobbler avatar Jun 14 '17 14:06 bacongobbler

Thanks for the reply, but I'm not sure to follow. Isn't deis communicating with the remote kubernetes cluster to get the releases ? In that case why should the local directory in which I'm calling deis releases should have an impact ?

Overdrivr avatar Jun 15 '17 05:06 Overdrivr

When you ran deis create, it creates a deis git remote in the current directory and infers the application name from the remote. If no deis git remote was found, then it uses the current directory name as the application name. You can also supply the app name explicitly with deis releases --app=myappname.

Does that make sense?

bacongobbler avatar Jun 15 '17 06:06 bacongobbler

Alright, got it. I created the app with --no-remote flag so I guess not git folder was created.

I don't mean to speak for everyone, but it's really not obvious for a new user like me that the deis CLI relies for some commands on local files. The way I read the docs, i thought everything was fetched remotely.

Maybe docs could be improved a bit, because the quickstart uses the --no-remote flag and users like me trying to immediately see the created release will get the same error.

Overdrivr avatar Jun 15 '17 06:06 Overdrivr

This issue was moved to teamhephy/workflow-cli#3

Cryptophobia avatar Mar 21 '18 14:03 Cryptophobia