randy3k / homebrew-r

Homebrew formulas for R and related tools
25 stars 4 forks source link

rstudio-server 1.1.383 rstudio initialization error #24

Closed dchakro closed 6 years ago

dchakro commented 6 years ago

I was using rstudio-server 1.0.143, and it was working fine. I saw that the brew recipe was moved to this repo and updated to v1.1.383.

However, after installing and following the instructions, when I try to log in (either as my user or root), I get the error message saying screen shot 2018-01-15

"rstudio initialization error" "Unable to connect to service" or sometimes "Error occurred during transmission".

Any instructions on how to properly install and configure rstudio-server?

randy3k commented 6 years ago

It doesn’t sound like an issue of the formula. See if this post could help you. https://stackoverflow.com/questions/24665599/unable-to-start-rstudio-in-centos-getting-error-unable-to-connect-to-service/28385103

dchakro commented 6 years ago

After several hours of struggling with the problem, I managed to fix it somehow. Writing down my steps, in case I run into this problem a few months later or someone else encounters a similar issue.

Then, I manually removed every file related to rstudio-server that I could find (e.g. removed all the config and plist files, rsession directories, everything!)

randy3k commented 6 years ago

I am glad that you have fixed it. Is there any chance that the port was occupied by another instance of rstudio-server?

etheleon commented 6 years ago

I'm getting the same error as robocopALpha

randy3k commented 6 years ago

My only advice is to make sure all rstudio-server instance has been turn off, then restart it.