Hi,
I saw an update on Rstudio website for Rstudio server and I tried to upgrade my Rstudio server to the more recent version through the following:
sudo apt update
sudo apt upgrade
wget https://download2.rstudio.org/rstudio-server-stretch-1.1.453-amd64.deb
sudo gdebi rstudio-server-stretch-1.1.453-amd64.deb
and I got:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... DoneRStudio Server
RStudio is a set of integrated tools designed to help you be more productive with R. It includes a console, syntax-highlighting editor that supports direct code execution, as well as tools for plotting, history, and workspace management.
Do you want to install the software package? [y/N]:y
(Reading database ... 563695 files and directories currently installed.)
Preparing to unpack rstudio-server-stretch-1.1.453-amd64.deb ...
Unpacking rstudio-server (1.1.453) over (1.1.442) ...
Setting up rstudio-server (1.1.453) ...
useradd: user 'rstudio-server' already exists
groupadd: group 'rstudio-server' already exists
Created symlink from /etc/systemd/system/multi-user.target.wants/rstudio-server.service to /etc/systemd/system/rstudio-server.service.
Job for rstudio-server.service failed because the control process exited with error code. See "systemctl status rstudio-server.service" and "journalctl -xe" for details.
● rstudio-server.service - RStudio Server
Loaded: loaded (/etc/systemd/system/rstudio-server.service; enabled; vendor preset: enabled)
Active: activating (start) since Mon 2018-05-21 13:32:06 EEST; 3ms ago
Main PID: 1862 (code=killed, signal=TERM); : 23383 (rserver)
Tasks: 7
Memory: 1.1G
CPU: 181us
CGroup: /system.slice/rstudio-server.service
└─11760 /usr/lib/rstudio-server/bin/rsession -u mehu --launcher-to...May 21 13:32:06 HP-EliteDesk-800-G1-TWR systemd[1]: Starting RStud...
May 21 13:32:06 HP-EliteDesk-800-G1-TWR rserver[23383]: /usr/lib/r...
May 21 13:32:06 HP-EliteDesk-800-G1-TWR systemd[1]: rstudio-server...
May 21 13:32:06 HP-EliteDesk-800-G1-TWR systemd[1]: Failed to star...
May 21 13:32:06 HP-EliteDesk-800-G1-TWR systemd[1]: rstudio-server...
May 21 13:32:06 HP-EliteDesk-800-G1-TWR systemd[1]: rstudio-server...
Hint: Some lines were ellipsized, use -l to show in full.
Then I tried rstudio-server start
which produced:
/usr/lib/rstudio-server/bin/rserver: error while loading shared libraries: libssl.so.1.0.2: cannot open shared object file: No such file or directory
Based on this I went for installing libssl by sudo apt-get install libssl1.0.0 libssl-dev
which resulted in:
Reading package lists... Done
Building dependency tree
Reading state information... Done
libssl-dev is already the newest version (1.0.2g-1ubuntu4.12).
libssl1.0.0 is already the newest version (1.0.2g-1ubuntu4.12).
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
Considering the version numbers in parenthesis, I have the correct version, plus Rstudio server version 1.1.445 was working fine on my computer.
I couldn't find any relevant post in StackOverflow or this forum. Any ideas?