<div dir="ltr">Hi John,<div><br></div><div>You're running an old version of Girder (1.5.2), are you able to upgrade to the latest version and see if that fixes the issue?</div><div><br></div><div>Thanks,</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Zach Mullen<br>Kitware, Inc.<br>919-869-8858</div></div></div></div></div>
<br><div class="gmail_quote">On Thu, Feb 2, 2017 at 6:25 PM, John Roberts <span dir="ltr"><<a href="mailto:John.Roberts@hsc.utah.edu" target="_blank">John.Roberts@hsc.utah.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
I'd like to set up a proxied Girder as detailed in the manual <a href="https://girder.readthedocs.io/en/v1.5.2/deploy.html?highlight=root" target="_blank">here</a>.
We need to configure girder so that it understands it is not working
from the root directory of the Apache server but one directory down
(/girder). Unlike the situation in the documentation, I'm working
with the Docker girder.<br>
<br>
If I rather blindly edit the girder.local.cfg file within the
running container, the container crashes as soon as I save the
file. This may have been due to a typo, but I have a further
question.<br>
<br>
Assuming I did update girder.local.cfg properly as indicated,
the instructions then say to rebuild Girder using "npm install".
It's my impression that this will likely crash the girder container
itself, since the current girder process will likely be terminated
while the new build is being compiled with npm. Would that be a
correct assumption?<br>
<br>
The question is how to configure Girder within the container to
invoke the proxy and move the address space one step down from root
at / to a proxied address /girder. A more general question might be
how to update girder.local.cfg when running Girder with Docker.<br>
<br>
I tried running the Docker girder:girder image and entering by
way of an alternative entry-point,<br>
<br>
docker run -it --entrypoint=/bin/bash girder/girder -s<br>
<br>
This lets me in and I can edit the girder.local.cfg file. However,
"npm install" then appears to fail with the warning "cannot run in
wd <a class="m_4407019786859912668moz-txt-link-abbreviated" href="mailto:girder@1.5.2" target="_blank">girder@1.5.2</a> grunt init && grunt (wd=/girder)". Since I
don't know what "npm install" was supposed to accomplish, I'm not
sure where to look to see if it succeeded despite the warning.<br>
<br>
Thanks for suggestions,<br>
John.<br>
<br>
<br>
<br>
</div>
<br>______________________________<wbr>_________________<br>
Girder-users mailing list<br>
<a href="mailto:Girder-users@public.kitware.com">Girder-users@public.kitware.<wbr>com</a><br>
<a href="http://public.kitware.com/mailman/listinfo/girder-users" rel="noreferrer" target="_blank">http://public.kitware.com/<wbr>mailman/listinfo/girder-users</a><br>
<br></blockquote></div><br></div>