Skip to content

Fix #53298 JupyterHub restarts should work without errors

Amit Rathi requested to merge amit1rrr/gitlab-ce:fix-53298 into master

What does this MR do?

Before this change

When user starts Jupyter after a period of inactivity, it fails with 500. This happens because the PostStart hook (git clone statement) fails since the repo directory exists.

After this change

When user starts Jupyter after a period of inactivity, it starts normally. We changed the git clone statements in a way that it returns exit code 0 even in the problematic case.

What are the relevant issue numbers?

Fix #53298 (closed)

Does this MR meet the acceptance criteria?

Edited by Amit Rathi

Merge request reports