It is quite often that the RStudio server cannot be start after upgrading. This is due to running R session in the background. A simple solution is to just restart the host machine. However, it is very risky to start servers (especially remote shared ones). An alternative way is to find the R session in the background, kill it and then start the RStudio server. The following instruction assumes that the port 8787 (default) is used by RStudio server.
- 
Find processes that listen to the port 8787.
sudo fuser 8787/tcp - 
Kill all processes that listen to the port 8787.
sudo fuser -k 8787/tcpOr you can also use the command
killto terminate processes. - 
Start RStudio server.
sudo rstudio-server start