# Renku base R upgrade causes Jupyter 404 error

**URL:** <https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768>\
**Category:** RenkuLab\
**Created:** [17 March 2023 15:58 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768 "2023-03-17T15:58:28Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![bopekno](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/bopekno/32/104_2.png) [@bopekno](https://renku.discourse.group/u/bopekno)\
**Post date:** [17 March 2023 15:58 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/1 "2023-03-17T15:58:28Z")

</div>

I renku team,

I recently upgraded the R base image of a project (4.0 to 4.2.0), and installed the 3.16 version of bioconductor (though I doubt that would be the issue). Everyting installed just fine, I can launch sessions, but when connecting, I get “404 : Not Found You are requesting a page that does not exist!” from Jupyter. Any idea how to solve that issue ?

I suspect it may be because I’m forcing the use of Renku v. 1.6.0 through

```auto
ARG RENKU_VERSION=1.6.0

```

in the dockerfile, but I’m not sure.

Thanks in advance for your help !

Cyril Pulver

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [17 March 2023 16:02 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/2 "2023-03-17T16:02:18Z")

</div>

Hi @bopekno are you using the `renku/renkulab-r:4.2.0-0.15.0` image? If so, please revert to `0.14.0` for the time being, there is an incompatibility with the latest jupyter that we are working to resolve, which unfortunately went undetected until we tagged the new images.

---

<div class="post-metadata">

**Author:** ![bopekno](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/bopekno/32/104_2.png) [@bopekno](https://renku.discourse.group/u/bopekno)\
**Post date:** [17 March 2023 16:36 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/3 "2023-03-17T16:36:27Z")

</div>

It looks like `renku/renkulab-r:4.2.0-0.14.0` is based on R 4.3, not 4.2…

I’d need 4.2 due to the bioconductor version, trying to downgrade to 0.13.0

`> BiocManager::install(version = BIOCONDUCTOR_VERSION, update = TRUE, ask = FALSE, quiet = TRUE)` `Error: Bioconductor version '3.16' requires R version '4.2'; use` ` `BiocManager::install(version = ‘3.17’)` with R version 4.3; see` ` https://bioconductor.org/install` `Execution halted` `The command '/bin/bash -c -o pipefail R -f /tmp/install.R' returned a non-zero code: 1 ` `Cleaning up project directory and file based variables 00:02 ` `ERROR: Job failed: exit code 1`

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [17 March 2023 16:54 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/4 "2023-03-17T16:54:01Z")

</div>

Indeed something is weird with that image. In any case, if the base image for bioconductor 3.16 exists, I will add that to our build matrix so you don’t have to install it on top of a plain R image.

In the meantime, I just opened a PR to fix the issue you encountered - this is the resulting R 4.2 image: `renku/renkulab-r:4.2.0-d9f45b5`. Not fully vetted yet, but you can give it a shot 🙂

---

<div class="post-metadata">

**Author:** ![bopekno](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/bopekno/32/104_2.png) [@bopekno](https://renku.discourse.group/u/bopekno)\
**Post date:** [22 March 2023 09:59 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/5 "2023-03-22T09:59:35Z")

</div>

I tried using the latest renku-bioc 3.16 image ( `renku/renkulab-bioc:RELEASE_3_16-e4bbebc`), the 404 error is back again…

 ![image](https://global.discourse-cdn.com/free1/uploads/renku/original/1X/98e4aab3361599abee46529dcdefa8d7c254c2c5.png)

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [22 March 2023 10:09 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/6 "2023-03-22T10:09:29Z")

</div>

The images with a commit sha in the tag should not be considered stable - they might be pushed from a branch that does not have all the changes incorporated etc. You should try the ones tagged with `0.15.1`, that’s what we just pushed yesterday and it should have the correct behavior. So in this case it would be [`renku/renkulab-bioc:RELEASE_3_16-0.15.1`](https://hub.docker.com/layers/renku/renkulab-bioc/RELEASE_3_16-0.15.1/images/sha256-bf0bd2e62d9bfed9cfcf90b795d4c627e1c6c042618bd6c025ebaa2cffd06eff?context=explore).

---

<div class="post-metadata">

**Author:** ![bopekno](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/bopekno/32/104_2.png) [@bopekno](https://renku.discourse.group/u/bopekno)\
**Post date:** [22 March 2023 12:06 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/7 "2023-03-22T12:06:14Z")

</div>

Using this stable image, I can’t launch notebooks (either R or python)

![image](https://global.discourse-cdn.com/free1/uploads/renku/original/1X/49f7f269ef383995e8c2a66bc05be73e6484b707.png)

---

<div class="post-metadata">

**Author:** ![tolevski](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/tolevski/32/137_2.png) [@tolevski](https://renku.discourse.group/u/tolevski)\
**Post date:** [22 March 2023 13:06 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/8 "2023-03-22T13:06:20Z")

</div>

@bopekno I am not exactly sure what you are trying to do.

If I create an empty file and give it a `.ipynb` extension then that does not work anywhere. But if I go through jupyterlab, create a new notebook through `File->New->Notebook` then that notebook works fine in jupyterlab.

In rstudio I do not see any way through the Menus to create a jupyter notebook. Also when I create a valid notebook through the jupyter interface and then open this in Rstudio all I see in Rstudio is the json contents of the notebook - not the actual notebook.

And this behaviour seems to be there in our older images too.

But perhaps I am missing something and your experience with older or different images was different and better?

---

<div class="post-metadata">

**Author:** ![bopekno](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/bopekno/32/104_2.png) [@bopekno](https://renku.discourse.group/u/bopekno)\
**Post date:** [22 March 2023 13:13 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/9 "2023-03-22T13:13:22Z")

</div>

@tolevski

It seems like all notebooks operations are broken, I can’t duplicate, rename, create or open existing notebooks. It’s the first time I’ve encountered that issue with renku. Any idea what may be causing the issue ?

---

<div class="post-metadata">

**Author:** ![bopekno](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/bopekno/32/104_2.png) [@bopekno](https://renku.discourse.group/u/bopekno)\
**Post date:** [22 March 2023 13:14 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/10 "2023-03-22T13:14:42Z")

</div>

e.g trying to open an existing notebook by double clicking on the .ipynb file:  
 ![image](https://global.discourse-cdn.com/free1/uploads/renku/original/1X/1d05f8d48862bbcc9162381048fc4559481ee2b9.png)

---

<div class="post-metadata">

**Author:** ![tolevski](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/tolevski/32/137_2.png) [@tolevski](https://renku.discourse.group/u/tolevski)\
**Post date:** [22 March 2023 13:15 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/11 "2023-03-22T13:15:30Z")

</div>

@bopekno you are trying to do these things from the jupyterlab interface, that looks like this?

 ![image](https://global.discourse-cdn.com/free1/uploads/renku/original/1X/71036193abd3d994f22816b45e87c759085393a8.png)

---

<div class="post-metadata">

**Author:** ![bopekno](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/bopekno/32/104_2.png) [@bopekno](https://renku.discourse.group/u/bopekno)\
**Post date:** [22 March 2023 13:17 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/12 "2023-03-22T13:17:05Z")

</div>

yes, for example

 ![image](https://global.discourse-cdn.com/free1/uploads/renku/original/1X/6b6bae8b244636f77aa98317975958ba11c40661.png)

---

<div class="post-metadata">

**Author:** ![tolevski](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/tolevski/32/137_2.png) [@tolevski](https://renku.discourse.group/u/tolevski)\
**Post date:** [22 March 2023 13:19 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/13 "2023-03-22T13:19:17Z")

</div>

Also do you see anything more about the error other than that modal that you posted? It seems like there is some text related to the error in the background of the modal - perhaps in the terminal? Or is this unrelated?

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [22 March 2023 13:24 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/14 "2023-03-22T13:24:19Z")

</div>

I’ve also seen some strange jupyterlab errors when trying an image with a new jupyter version. Could you restarting the browser and open a private browser window and try again?

---

<div class="post-metadata">

**Author:** ![bopekno](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/bopekno/32/104_2.png) [@bopekno](https://renku.discourse.group/u/bopekno)\
**Post date:** [22 March 2023 13:24 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/15 "2023-03-22T13:24:23Z")

</div>

It’s unrelated to the statusbar of the terminal, which was just caused by an untracked text file in git.

 ![image](https://global.discourse-cdn.com/free1/uploads/renku/original/1X/5a37095c77cc10893ad81232e3b26c4da994521a.png)

I’ve found that thread about these types of error, and how to get a log, but I dont know where the corresponing dir is in the renku dir architecture. [python - IPython Notebook error: Error loading notebook - Stack Overflow](https://stackoverflow.com/questions/34960020/ipython-notebook-error-error-loading-notebook)

---

<div class="post-metadata">

**Author:** ![bopekno](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/bopekno/32/104_2.png) [@bopekno](https://renku.discourse.group/u/bopekno)\
**Post date:** [22 March 2023 13:30 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/16 "2023-03-22T13:30:39Z")

</div>

I did that, cleared the cache and cookies. The private window does not help:

 ![image](https://global.discourse-cdn.com/free1/uploads/renku/original/1X/62fc50fe63e27d44c364ee4f823a5079cab0cdc7.png)

---

<div class="post-metadata">

**Author:** ![tolevski](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/tolevski/32/137_2.png) [@tolevski](https://renku.discourse.group/u/tolevski)\
**Post date:** [22 March 2023 13:38 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/17 "2023-03-22T13:38:43Z")

</div>

@bopekno I think this is potentially the result of some incompatibilities between jupyter or notebook versions.

Can you run `jupyter --version` in a terminal in your session where you see the problems and post the output here.

---

<div class="post-metadata">

**Author:** ![bopekno](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/bopekno/32/104_2.png) [@bopekno](https://renku.discourse.group/u/bopekno)\
**Post date:** [22 March 2023 13:42 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/18 "2023-03-22T13:42:43Z")

</div>

jupyter --version  
Selected Jupyter core packages…  
IPython : 8.11.0  
ipykernel : 6.21.3  
ipywidgets : not installed  
jupyter\_client : 8.0.3  
jupyter\_core : 5.3.0  
jupyter\_server : 2.5.0  
jupyterlab : 3.6.1  
nbclient : 0.7.2  
nbconvert : 7.2.9  
nbformat : 5.7.3  
notebook : 6.5.3  
qtconsole : not installed  
traitlets : 5.9.0

---

<div class="post-metadata">

**Author:** ![rrrrrok](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/rrrrrok/32/117_2.png) [@rrrrrok](https://renku.discourse.group/u/rrrrrok)\
**Post date:** [22 March 2023 13:42 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/19 "2023-03-22T13:42:58Z")

</div>

any chance you can share the project? or push a version that reproduces the problem to one that we could access? I can’t reproduce this using the 0.15.1 bioc image

---

<div class="post-metadata">

**Author:** ![bopekno](https://yyz2.discourse-cdn.com/free1/user_avatar/renku.discourse.group/bopekno/32/104_2.png) [@bopekno](https://renku.discourse.group/u/bopekno)\
**Post date:** [22 March 2023 13:45 UTC](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768/20 "2023-03-22T13:45:39Z")

</div>

Sure thing, I’ve changed the visibility to public: [Reproducible Data Science | Open Research | Renku](https://renkulab.io/projects/cyril.pulver/cis-tes-cell-cycle/)

[Next page](https://renku.discourse.group/t/renku-base-r-upgrade-causes-jupyter-404-error/768.md?page=2)
