# Cannot access sandbox/dev environment from browser

**URL:** <https://discourse.openondemand.org/t/cannot-access-sandbox-dev-environment-from-browser/1143>\
**Category:** Get Help\
**Created:** [September 30, 2020, 6:59pm UTC](https://discourse.openondemand.org/t/cannot-access-sandbox-dev-environment-from-browser/1143 "2020-09-30T18:59:28Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssood](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/ssood/32/105_2.png) [@ssood](https://discourse.openondemand.org/u/ssood)\
**Post date:** [September 30, 2020, 6:59pm UTC](https://discourse.openondemand.org/t/cannot-access-sandbox-dev-environment-from-browser/1143/1 "2020-09-30T18:59:29Z")

</div>

I am attempting to deploy the Jupyter app on my install of OnDemand (v1.8.12). I have followed the steps outlined at:  
[https://osc.github.io/ood-documentation/latest/app-development/tutorials-interactive-apps/add-jupyter/copy-app.html](https://osc.github.io/ood-documentation/latest/app-development/tutorials-interactive-apps/add-jupyter/copy-app.html)

but when I attempt to access the sandbox environment via the /pun/dev URL I get the following error:

## App has not been initialized or does not exist

This is the first time this app has been launched in your per-user NGINX (PUN) server. This requires a configuration change followed by a restart of your PUN server. Be sure you save all the work you are doing in other apps that have active websocket connections (i.e., Shell App) and you complete all file uploads/downloads.

Clicking the “Initialize App” button will apply the configuration change and restart your per-user NGINX (PUN) server.

Initialize App

If I click on Initialize App I get the following error:

Error – invalid request: /dev  
Run ‘nginx\_stage --help’ to see a full list of available command line options.

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [September 30, 2020, 8:43pm UTC](https://discourse.openondemand.org/t/cannot-access-sandbox-dev-environment-from-browser/1143/2 "2020-09-30T20:43:52Z")

</div>

Instead of navigating directly to the url you should be able to see a link to the app in your ‘sandbox apps’ panel in the interactive sessions page.

Or you could navigate to “my sandbox apps” through the development dropdown in the navigation bar. There you should get to a page that that holds links to your sandbox apps.

The actual link you’re looking for is `/pun/sys/dashboard/batch_connect/dev/<the app directory you cloned into>/session_contexts/new` but I’d just follow the links given in the dashboard’s interactive session’s page or the sandbox page.

---

<div class="post-metadata">

**Author:** ![ssood](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/ssood/32/105_2.png) [@ssood](https://discourse.openondemand.org/u/ssood)\
**Post date:** [September 30, 2020, 10:51pm UTC](https://discourse.openondemand.org/t/cannot-access-sandbox-dev-environment-from-browser/1143/3 "2020-09-30T22:51:42Z")

</div>

> Instead of navigating directly to the url you should be able to see a link to the app in your ‘sandbox apps’ panel in the interactive sessions page.

I do not see a ‘sandbox app’ panel under the interactive sessions page

> Or you could navigate to “my sandbox apps” through the development dropdown in the navigation bar. There you should get to a page that that holds links to your sandbox apps.

There in no dropdown present in the navigation bar

I have not cloned an app as of yet. I was attempting to following the instructions to install Jupyter from

[https://osc.github.io/ood-documentation/latest/app-development/tutorials-interactive-apps/add-jupyter/copy-app.html](https://osc.github.io/ood-documentation/latest/app-development/tutorials-interactive-apps/add-jupyter/copy-app.html)

The next step is to clone the app, but I am not able to access as stated from the browser

---

<div class="post-metadata">

**Author:** ![jeff.ohrstrom](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jeff.ohrstrom/32/136_2.png) [@jeff.ohrstrom](https://discourse.openondemand.org/u/jeff.ohrstrom)\
**Post date:** [October 1, 2020, 1:14pm UTC](https://discourse.openondemand.org/t/cannot-access-sandbox-dev-environment-from-browser/1143/4 "2020-10-01T13:14:12Z")

</div>

Have you enabled app development for yourself? Once you do this you’ll see these menu items.

> **[Enabling App Development — Open OnDemand 1.8.12 documentation](https://osc.github.io/ood-documentation/latest/app-development/enabling-development-mode.html#enable-in-ondemand-v1-6)**

---

<div class="post-metadata">

**Author:** ![ssood](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/ssood/32/105_2.png) [@ssood](https://discourse.openondemand.org/u/ssood)\
**Post date:** [October 1, 2020, 1:23pm UTC](https://discourse.openondemand.org/t/cannot-access-sandbox-dev-environment-from-browser/1143/5 "2020-10-01T13:23:37Z")

</div>

Jeff,  
That did the trick. Only step missing from the directions is to ensure the directory created under /var/www/ood/apps has the correct permissions set so that other has read/executable rights. (o+rx)

---

<div class="post-metadata">

**Author:** ![westburg.2](https://avatars.discourse-cdn.com/v4/letter/w/0ea827/32.png) [@westburg.2](https://discourse.openondemand.org/u/westburg.2)\
**Post date:** [May 26, 2022, 3:43pm UTC](https://discourse.openondemand.org/t/cannot-access-sandbox-dev-environment-from-browser/1143/6 "2022-05-26T15:43:07Z")

</div>


