https://www.orchest.io/ logo
Title
j

Jericho Cruz

03/20/2023, 3:37 PM
Hi everyone, I'm unable to input text in the this field. Is this a setting that needs to be enabled? On a separate note, where can these settings be edited/configured so I modify AUTH_ENABLED?
{
  "AUTH_ENABLED": false,
  "MAX_BUILDS_PARALLELISM": 1,
  "MAX_INTERACTIVE_RUNS_PARALLELISM": 4,
  "MAX_JOB_RUNS_PARALLELISM": 4,
  "TELEMETRY_DISABLED": false,
  "TELEMETRY_UUID": "69b40767-e315-4953-8a2b-355833e344b8"
}
j

Jacopo

03/20/2023, 3:41 PM
Hi Jericho, is this a cloud or self hosted instance?
j

Jericho Cruz

03/20/2023, 3:47 PM
self hosted instance on EC2
j

Jacopo

03/20/2023, 3:51 PM
When it comes to the settings
j

Jericho Cruz

03/20/2023, 3:52 PM
Thanks!!
j

Jacopo

03/20/2023, 3:52 PM
When it comes to the jupyterlab setup script being read only, is any juyter build already in progress? What do you see if you scroll back all the way to the bottom of the jupyter build page?
j

Jericho Cruz

03/20/2023, 4:02 PM
I set auth_enabled to true, and restarted orchest. Unfortunately, now I am unable to access my orchest anymore as I was doing a local port forward. Edit: A simple change to
<http://localhost:8181/login>
now allows me to access it again!
RE: Jupyter build page The bottom of the page has a grayed out "Build" key.
j

Jacopo

03/20/2023, 4:09 PM
That's rather strange, anything interesting that you can see in the network requests being sent? Like to the
/catch/api-proxy/api/sessions
or
most-recent
endpoints
j

Jericho Cruz

03/20/2023, 4:17 PM
I'm unfamiliar with where to look for those logs
j

Jacopo

03/20/2023, 4:20 PM
My bad, I meant the browser networking tab, F12 -> network
j

Jericho Cruz

03/20/2023, 4:32 PM
Looks like it's having trouble reaching the jupyter server
👀 1
j

Jacopo

03/20/2023, 4:38 PM
Will try this out tomorrow or the day past tomorrow and come back to you
👍 1
Not able to reproduce it atm
@Jericho Cruz I was able to reproduce, seems to be a problem related to the lack of initialization of the setup script, could you run the equivalent of this to initialize it?
curl '<INSTANCE URL>/async/jupyter-setup-script' \
  -H 'content-type: multipart/form-data; boundary=----WebKitFormBoundaryBAo0zNJGrMdn7muh' \
  --data-raw $'------WebKitFormBoundaryBAo0zNJGrMdn7muh\r\nContent-Disposition: form-data; name="setup_script"\r\n\r\n# placeholder\r\n------WebKitFormBoundaryBAo0zNJGrMdn7muh--\r\n'
after that you'll be able t edit the setup script and build the custom jupyter image
I've pushed a fix but I can't tell you exactly when we'll make a last release
j

Jericho Cruz

03/21/2023, 4:50 PM
Hey @Jacopo, should I run this while orchest is running?
j

Jacopo

03/22/2023, 9:42 AM
Yep, it's basically an API call to initialize the setup script