Package Manager Server site doesnt work after server upgrade & license key update

Hi Friends,

I'm currently in the process of updating my Rstudio Team servers (Server Pro, Package Manager, & Connect) and updating my licenses.

I just updated Rstudio Package Manager but now I am unable to login to the package manager website and I am getting an HTTP ERROR 503. I am of course holding off on updating the other 2 servers until I figure this out. I'd love some help on troubleshooting where the actual problem is.

To update the license keys and server upgrade on an Ubuntu 18.04 I did the following:

$ sudo apt-get install gdebi-core

$ sudo wget https://s3.amazonaws.com/rstudio-package-manager/ubuntu/amd64/rstudio-pm_1.2.2-4_amd64.deb

$ sudo gdebi rstudio-pm_1.2.2-4_amd64.deb

$ sudo /opt/rstudio-pm/bin/license-manager deactivate

$ sudo /opt/rstudio-pm/bin/license-manager activate ************** (I put my license key here)

$ sudo systemctl restart rstudio-pm

When I look at the status of my server in my terminal and also in AWS - it is running and passing all systems checks!

sudo systemctl status rstudio-pm

● rstudio-pm.service - RStudio Package Manager
   Loaded: loaded (/lib/systemd/system/rstudio-pm.service; enabled; vendor preset: enabled)
  Drop-In: /etc/systemd/system/rstudio-pm.service.d
           └─user.conf
   Active: active (running) since Wed 2021-03-17 14:41:41 UTC; 15min ago
 Main PID: 8878 (rstudio-pm)
    Tasks: 30 (limit: 4915)
   CGroup: /system.slice/rstudio-pm.service
           β”œβ”€8878 /opt/rstudio-pm/bin/rstudio-pm --config /etc/rstudio-pm/rstudio-pm.gcfg
           β”œβ”€8929 /opt/rstudio-pm/ext/rstudio-launcher /var/lib/rstudio-pm/launcher_internal/ip-10-0-1-9/launcher.conf
           └─8935 /opt/rstudio-pm/ext/rstudio-local-launcher --server-user rstudio-pm --enable-debug-logging 0 --scratch-path /var/lib/rstudio-pm/launcher_internal/ip-10-0-1-9/Local --heartbeat-interv

Mar 17 14:41:41 ip-10-0-1-9 systemd[1]: Started RStudio Package Manager.
Mar 17 14:41:42 ip-10-0-1-9 rstudio-launcher[8929]: INFO Bootstrapping plugin Local
Mar 17 14:41:42 ip-10-0-1-9 rstudio-local-launcher-ip-10-0-1-9[8935]: WARNING system error 1 (Operation not permitted); OCCURRED AT rstudio::core::Error rstudio::core::system::posix::{anonymous}::rest
Mar 17 14:41:42 ip-10-0-1-9 rstudio-local-launcher-ip-10-0-1-9[8935]: WARNING Unable to restore root privileges - running in single user mode.
Mar 17 14:41:42 ip-10-0-1-9 rstudio-local-launcher-ip-10-0-1-9[8935]: INFO Loading jobs from file...
Mar 17 14:41:42 ip-10-0-1-9 rstudio-local-launcher-ip-10-0-1-9[8935]: INFO Loaded 0 jobs from file
Mar 17 14:41:42 ip-10-0-1-9 rstudio-local-launcher-ip-10-0-1-9[8935]: INFO Pruning 0 jobs
Mar 17 14:41:42 ip-10-0-1-9 rstudio-launcher[8929]: INFO Initializing SslAsyncServer with address localhost and port 5561
Mar 17 14:41:42 ip-10-0-1-9 rstudio-launcher[8929]: INFO Running server

When I checked the status of my license with sudo /opt/rstudio-pm/bin/license-manager status I see everything is great:

RStudio License Manager 1.4.1103-1

-- Local license status --

Status: Activated

Product-Key: Entered license key here

Has-Key: Yes

Has-Trial: Yes

Max-Repo-Count: 1

Expiration: 2022-03-18 00:00:00

Days-Left: 366

License-Engine: 4.3.1.0

License-Scope: System

-- Floating license status --

License server not in use.

When I check to see if my server if listening to the right ports with sudo netstat -nlp everything also looks ok:

Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name    
tcp        0      0 127.0.0.53:53           0.0.0.0:*               LISTEN      634/systemd-resolve 
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      813/sshd            
tcp        0      0 127.0.0.1:5561          0.0.0.0:*               LISTEN      8929/rstudio-launch 
tcp6       0      0 :::4242                 :::*                    LISTEN      8878/rstudio-pm     
tcp6       0      0 :::22                   :::*                    LISTEN      813/sshd            
udp        0      0 127.0.0.53:53           0.0.0.0:*                           634/systemd-resolve 
udp        0      0 10.0.1.9:68             0.0.0.0:*                           610/systemd-network 
raw6       0      0 :::58                   :::*                    7           610/systemd-network 
Active UNIX domain sockets (only servers)
Proto RefCnt Flags       Type       State         I-Node   PID/Program name     Path
unix  2      [ ACC ]     SEQPACKET  LISTENING     11922    1/init               /run/udev/control
unix  2      [ ACC ]     STREAM     LISTENING     7518278  8221/systemd         /run/user/1000/systemd/private
unix  2      [ ACC ]     STREAM     LISTENING     7518282  8221/systemd         /run/user/1000/gnupg/S.gpg-agent.ssh
unix  2      [ ACC ]     STREAM     LISTENING     7518283  8221/systemd         /run/user/1000/gnupg/S.gpg-agent.extra
unix  2      [ ACC ]     STREAM     LISTENING     7518284  8221/systemd         /run/user/1000/gnupg/S.dirmngr
unix  2      [ ACC ]     STREAM     LISTENING     7518285  8221/systemd         /run/user/1000/gnupg/S.gpg-agent.browser
unix  2      [ ACC ]     STREAM     LISTENING     7518286  8221/systemd         /run/user/1000/gnupg/S.gpg-agent
unix  2      [ ACC ]     STREAM     LISTENING     7518287  8221/systemd         /run/user/1000/snapd-session-agent.socket
unix  2      [ ACC ]     STREAM     LISTENING     17293    796/irqbalance       @irqbalance796.sock
unix  2      [ ACC ]     STREAM     LISTENING     6656215  8299/amazon-ssm-age  /var/lib/amazon/ssm/ipc/termination
unix  2      [ ACC ]     STREAM     LISTENING     15187    1/init               /run/acpid.socket
unix  2      [ ACC ]     STREAM     LISTENING     15202    1/init               /var/lib/lxd/unix.socket
unix  2      [ ACC ]     STREAM     LISTENING     6525374  1/init               /run/snapd.socket
unix  2      [ ACC ]     STREAM     LISTENING     6525375  1/init               /run/snapd-snap.socket
unix  2      [ ACC ]     STREAM     LISTENING     15198    1/init               /var/run/dbus/system_bus_socket
unix  2      [ ACC ]     STREAM     LISTENING     15200    1/init               /run/uuidd/request
unix  2      [ ACC ]     STREAM     LISTENING     6656214  8299/amazon-ssm-age  /var/lib/amazon/ssm/ipc/health
unix  2      [ ACC ]     STREAM     LISTENING     15210    1/init               @ISCSIADM_ABSTRACT_NAMESPACE
unix  2      [ ACC ]     STREAM     LISTENING     7520714  8878/rstudio-pm      /var/run/rstudio-pm/rstudio-pm.sock
unix  2      [ ACC ]     STREAM     LISTENING     11692    1/init               /run/systemd/private
unix  2      [ ACC ]     STREAM     LISTENING     2047     1/init               /run/systemd/journal/stdout
unix  2      [ ACC ]     STREAM     LISTENING     11929    1/init               /run/lvm/lvmpolld.socket
unix  2      [ ACC ]     STREAM     LISTENING     11934    1/init               /run/lvm/lvmetad.socket

What else can be done to troubleshoot and find out why the site is not actually working? Also, I need to update my license keys for the other servers asap as they are expiring and I'd like to make sure that this doesnt happen in those servers as well.

Thanks

Rika

I'm busy at the moment, but this sounds pressing enough that it may be worth reaching out to support@rstudio.com so we can handle this through the proper channels! :smile: We can always come back here later to clarify for others who hit this!

thanks! I've opened a ticket with support and waiting to hear back.

1 Like

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.