Error during forking process (but it actually finished correctly

Hi to all,

I just wanted to duplicate a renku project, hence I decided to fork it to a new location, with a different repo name. The window said that the process failed, but I can actually find the new one in my list of projects, and everything seems to be fine. Hence, might be something broken? Or should be everything ok? In that case, I just wanted to report this error :smile:

Thank you all!
Cheers
Luis

Thanks for raising this issue! Can you tell us which RenkuLab instance this was on?

There are a two steps to forking a project in RenkuLab. The first forks it in GitLab, the second runs the CI pipeline to create the images for the interactive sessions. It sounds like the first step succeeded, but the second failed.

We have not seen this problem on renkulab.io, but it seems to happen occasionally on limited. We are still trying to understand why, but we should at least provide more informative error messages in the meantime: Improve error messages when fork fails · Issue #1341 · SwissDataScienceCenter/renku-ui · GitHub

I ran into the same problem on renkulab.io, see screenshot:


When I click on Cancel, the forked repo is there.

Interesting. We are working on an improvement which will provided a clearer error message when this happens.

I ran into the same problem. Does fork the project, but cant start an environment afterwards. What I also find strange is that it states the Renku Version is 0.12.0 and up to date ? I tried to update to 15.1 manually, not sure if it worked, at least this overview still states 12.0. Furthermore, updating the Templates runs forever, or at least longer than my battery lasts (± 4 hours)…
I copied the dockerfile from another project I have ( and which can be forked), but didnt change the version or solve the problem.

The forked docker image seems not to be available, is there a way I can force to build this image? The status writes:
git error: stderr: ‘fatal: ambiguous argument ‘origin/master’: unknown revision or path not in the working tree. Use ‘–’ to separate paths from revisions, like this: ‘git […] – […]’’

Any help would be appreciated.

1 Like

Thanks for this detailed information!

There are two problems here. We have fix for the problem with poor information about the status of the fork here: feat: handle non blocking errors on fork by lorenzo-cavazzi · Pull Request #1351 · SwissDataScienceCenter/renku-ui · GitHub

We expect it to be available on RenkuLab soon (we are currently planning an update the week of June 21).

The second problem, that the image is not built, is not yet fixed, but there is a workaround.

Building an image – on error

If the docker image build failed, then you will be given the option to rebuild in the UI:

Building an image – on not available

When there is a problem with forking, though, what typically happens is there was never even an attempt to build the image.

In this case, the easiest way to fix the problem is to push a commit to the repository. One way to do this is to launch an environment using the base image, then modify some file (for example the README), commit and push that.

If you do that, then the pipeline to build the image will be triggered.

Sorry that this is a bit complicated. We will work on making it easier to recover from this error. The instructions above a quite compressed. Let us know if you have any questions, and will fill in any details you need.

1 Like

Thank you for the fast and clear reply! The workaround worked fine. One more question,
Was this error triggered by a mistake/failure on my side in the first place, respectively, should I look into it deeper, or will it probably be solved by a feature release?

The problem is caused by the infrastructure, not by anything you did. We still do not completely understand why this happens. If we figure it out, we will fix the problem at the source; in the meantime, we plan to make some improvements so users can more easily recover if it does happen.

1 Like