Closed HenrikBengtsson closed 1 year ago
Updated rsc start
to check for startup failures. The above error should now give:
$ rsc start --verbose
TTY detected. Printing informational message about logging configuration. Logging configuration loaded from '/etc/rstudio/logging.conf'. Logging to '/wynton/protected/home/legrand/nick/.local/share/rstudio/log/rserver.log'.
2023-03-30T17:46:24.296317Z [rserver] ERROR Unexpected exception: File name too long [system:36]; LOGGED FROM: int main(int, char* const*) src/cpp/server/ServerMain.cpp:941
ERROR: It looks like RStudio Server failed during launch ['rserver' process (PID 1423936 on hb-x1-2023) no longer exists]
Traceback:
1: assert_rserver_running() on line #804 in bin/rsc
2: main() on line #1633 in bin/rsc
Exiting (exit 1)
$
Issue
Two users reported the following problem when we upgraded from RStudio Server 2022.02.4+500 to 2023.03.0+386:
Suggestion
After launching RStudio Server, wait for the process to start, and possible a few more moments to give it time to fail, before reporting that it's available to the user.