Apps Manager

 Issue with c:/pcfdev/pcfdev-v1.2.0-windows.tgz and the Apps Manager not being available after start up

Brian Butts's profile image
Brian Butts posted Apr 16, 2019 08:53 PM

After downloading the latest version of PCF Dev, i ran the command cf dev start -f c:/pcfdev/pcfdev-v1.2.0-windows.tgz.  After a bit, I got the message that 'PCFDEV is now running!'

 

However when i navigate to: https://apps.dev.cfdev.sh , I get this response. 404 Not Found: Requested route ('apps.dev.cfdev.sh') does not exist.

 

 

I am able to login to the API just fine, and push and start applications, I just can't get to the App manager.

 

I have seen a few topics that had this issue, but it is with a different version of the file it looks like.

 

Another detail, yesterday, i was able to start up using the same command. I was able to install rabbitMQ. I was in the Apps Manager, where i had created a rabbitMQ service, and i bound 2 apps to it. When i left for the evening, I issued the cf dev stop command. 

 

Today it stopped working when i start it back up.

Thoughts?

  Brian

Daniel Mikusa's profile image
Daniel Mikusa

Since you can connect with the cf cli, go to the system org & space. You should see Apps Manager running (or not running) there. Run `cf app` and check its status. Make sure there's a route mapped. If it's down try starting it. Also, check `cf logs` and see you see any error messages or indications why it can't start.

 

Hope that helps!

Daniel Mikusa's profile image
Daniel Mikusa

There should be a Bosh errand that deploys Apps Manager. If you point the bosh cli to your CF deployment & run `bosh errands` it'll give you the list. I think it's called `push-apps-manager`, but I can't remember the exact name and I'm not sure if it is exactly the same with CF Dev. At any rate, try to locate that errand and run it. It should deploy Apps Manager. If it fails for any reason, get the output and post it here.

Brian Butts's profile image
Brian Butts

Thanks for the response.

I navigated over to the system org and space.

I found these apps: apps-manager-js-green, p-invitations-green. Both were stopped.

I started apps-manager-js-green, but was still not able to get to the Apps manager.

I started p-invitations-green, but was still not able to get to the Apps manager.

 

I checked the logs, using this command. 'cf logs apps-manager'

But as you might suspect, 'App apps-manager not found'

 

What should I try next?

 

Brian Butts's profile image
Brian Butts

So i go this working. Your first answer gave me everything i needed, i just didn't realize it until today. When i started apps-manager-js.green, i didn't notice that there was no route for it. Once I added the route, i was able to get back in to the Apps Manager UI.

 

For anyone who is interested, the commands were:

  1. cf start apps-manager-js-green # this starts the app
  2. cf apps # showed me that it was running, but had no route. (It wasn't called route, it is a column named 'urls')
  3. cf map-route apps-manager-js-green dev.cfdev.sh --hostname apps # this added the route (URL to the apps manager)
  4. cf apps # show me what is running.

the result this time was: 'apps-manager-js-green  started      1/1     128M   1G   apps.dev.cfdev.sh'

 

After that i could get to the Apps Manager from my browser.

 

Thanks for your help!