[CollEc] CollEc app not starting
Düben, Christian
christian.dueben at uni-hamburg.de
Wed Jan 31 19:13:35 UTC 2024
I have played around a bit. Running the middleware directly on the host, not in a container, results in the same problem. Alternatively, installing it in a Docker container based on a different version of Ubuntu or a different Linux distribution means to install the middleware like on the host an not through its actual Docker image. A key purpose of the middleware is to spin up a Docker container per user visiting the site. An installation inside e.g. a Debian container does not correctly set up the middleware to spin up containers from inside the other container.
The developers have announced to fix the issue in the middleware with the next update. So, I am postponing the issue until then. Feel free to fix the issue and submit a pull request at https://github.com/openanalytics/shinyproxy. I am not an expert in that domain and also do not feel like learning Java just to fix their software.
CollEc requires a re-write. A main argument for building CollEc as an R shiny app was that this allows me to use the igraph-C-Library through its R-Wrapper-Package in app sessions. And of course, I was well versed in R. Most of my current research has moved away from igraph. For performance reasons and bugs in igraph, I, nowadays, write my graph-theoretical applications tailored to my use cases directly in C++, without a graph library. Building a new CollEc in Svelte with graph theory done in a custom C++ script, could be a suitable next CollEc implementation.
However, that is not a priority for me now. Sorry. I am working quasi all of my waking hours, seven days a week. I am really tired. I am behind on research and teaching, have an upcoming referee report deadline this week, and need to prepare for another fly-out next week. So, the middleware developers announcing an update fixing the bug makes the CollEc outage a low priority for me at this point.
Christian Düben
Doctoral Candidate
Chair of Macroeconomics
Hamburg University
Germany
christian.dueben at uni-hamburg.de
https://www.christian-dueben.com
-----Original Message-----
From: Düben, Christian
Sent: Wednesday, 31 January 2024 13:54
To: CollEc Run <collec-run at lists.openlib.org>
Subject: RE: [CollEc] CollEc app not starting
I am currently on the way back from a fly-out. I will play around with it at the office this afternoon. My approach would be to run a different version of Ubuntu inside the Docker container, not downgrade host system packages.
Christian Düben
Doctoral Candidate
Chair of Macroeconomics
Hamburg University
Germany
christian.dueben at uni-hamburg.de
https://www.christian-dueben.com
-----Original Message-----
From: Thomas Krichel <krichel at openlib.org>
Sent: Wednesday, 31 January 2024 09:24
To: Düben, Christian <christian.dueben at uni-hamburg.de>
Cc: CollEc Run <collec-run at lists.openlib.org>
Subject: Re: [CollEc] CollEc app not starting
The CollEc trouble keeps me up at night!
Apparently, it is possible to downgrade packages.
root at helos ~ # aptitude search docker | grep ^i i docker-ce - Docker: the open-source application container engine i docker-ce-cli - Docker CLI: the open-source application container engine i A docker-ce-rootless-extras - Rootless support for Docker.
i docker-compose-plugin - Docker Compose (V2) plugin for the Docker CLI.
root at helos ~ # apt-cache policy docker-ce | head -10
docker-ce:
Installed: 5:25.0.1-1~ubuntu.22.04~jammy
Candidate: 5:25.0.1-1~ubuntu.22.04~jammy
Version table:
*** 5:25.0.1-1~ubuntu.22.04~jammy 500
500 https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages
100 /var/lib/dpkg/status
5:25.0.0-1~ubuntu.22.04~jammy 500
500 https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages
5:24.0.8-1~ubuntu.22.04~jammy 500
root at helos ~ # apt install docker-ce=5:24.0.8-1~ubuntu.22.04~jammy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Suggested packages:
aufs-tools cgroupfs-mount | cgroup-lite The following packages will be DOWNGRADED:
docker-ce
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 1 not upgraded.
Need to get 22.6 MB of archives.
After this operation, 7,476 kB disk space will be freed.
Do you want to continue? [Y/n]
Get:1 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-ce amd64 5:24.0.8-1~ubuntu.22.04~jammy [22.6 MB]
Fetched 22.6 MB in 1s (31.8 MB/s)
dpkg: warning: downgrading docker-ce from 5:25.0.1-1~ubuntu.22.04~jammy to 5:24.0.8-1~ubuntu.22.04~jammy (Reading database ... 149432 files and directories currently installed.) Preparing to unpack .../docker-ce_5%3a24.0.8-1~ubuntu.22.04~jammy_amd64.deb ...
Unpacking docker-ce (5:24.0.8-1~ubuntu.22.04~jammy) over (5:25.0.1-1~ubuntu.22.04~jammy) ...
Setting up docker-ce (5:24.0.8-1~ubuntu.22.04~jammy) ...
Installing new version of config file /etc/init.d/docker ...
root at helos ~ # apt-cache policy docker-ce-cli | head -10
docker-ce-cli:
Installed: 5:25.0.1-1~ubuntu.22.04~jammy
Candidate: 5:25.0.1-1~ubuntu.22.04~jammy
Version table:
*** 5:25.0.1-1~ubuntu.22.04~jammy 500
500 https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages
100 /var/lib/dpkg/status
5:25.0.0-1~ubuntu.22.04~jammy 500
500 https://download.docker.com/linux/ubuntu jammy/stable amd64 Packages
5:24.0.8-1~ubuntu.22.04~jammy 500
root at helos ~ # apt install docker-ce-cli=5:24.0.8-1~ubuntu.22.04~jammy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Recommended packages:
docker-buildx-plugin
The following packages will be DOWNGRADED:
docker-ce-cli
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 2 not upgraded.
Need to get 13.3 MB of archives.
After this operation, 814 kB disk space will be freed.
Do you want to continue? [Y/n]
Get:1 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-ce-cli amd64 5:24.0.8-1~ubuntu.22.04~jammy [13.3 MB] Fetched 13.3 MB in 0s (37.4 MB/s)
dpkg: warning: downgrading docker-ce-cli from 5:25.0.1-1~ubuntu.22.04~jammy to 5:24.0.8-1~ubuntu.22.04~jammy (Reading database ... 149432 files and directories currently installed.) Preparing to unpack .../docker-ce-cli_5%3a24.0.8-1~ubuntu.22.04~jammy_amd64.deb ...
Unpacking docker-ce-cli (5:24.0.8-1~ubuntu.22.04~jammy) over (5:25.0.1-1~ubuntu.22.04~jammy) ...
Setting up docker-ce-cli (5:24.0.8-1~ubuntu.22.04~jammy) ...
Processing triggers for man-db (2.10.2-1) ...
root at helos ~ # apt install docker-ce-rootless-extras=5:24.0.8-1~ubuntu.22.04~jammy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be DOWNGRADED:
docker-ce-rootless-extras
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 3 not upgraded.
Need to get 9,030 kB of archives.
After this operation, 423 kB disk space will be freed.
Do you want to continue? [Y/n]
Get:1 https://download.docker.com/linux/ubuntu jammy/stable amd64 docker-ce-rootless-extras amd64 5:24.0.8-1~ubuntu.22.04~jammy [9,030 kB]
Fetched 9,030 kB in 0s (25.5 MB/s)
dpkg: warning: downgrading docker-ce-rootless-extras from 5:25.0.1-1~ubuntu.22.04~jammy to 5:24.0.8-1~ubuntu.22.04~jammy (Reading database ... 149432 files and directories currently installed.) Preparing to unpack .../docker-ce-rootless-extras_5%3a24.0.8-1~ubuntu.22.04~jammy_amd64.deb ...
Unpacking docker-ce-rootless-extras (5:24.0.8-1~ubuntu.22.04~jammy) over (5:25.0.1-1~ubuntu.22.04~jammy) ...
Setting up docker-ce-rootless-extras (5:24.0.8-1~ubuntu.22.04~jammy) ...
For the compose-plugin, this does not seem to work
root at helos ~ # apt install docker-compose-plugin=5:24.0.8-1~ubuntu.22.04~jammy
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package docker-compose-plugin is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
But maybe this is not required. Over to you Christian.
--
Written by Thomas Krichel http://openlib.org/home/krichel on his 21425th day.
More information about the CollEc-run
mailing list