Appendix A2 in the RStudio Connect admin guide mentions the availability of a TempDir configuration option to bypass /temp if -noexec is enabled. We’ve tried setting this under the [Server] block in
/etc/rstudio-connect/rstudio-connect.gcfg but haven’t been able to make it work. RStudio Connect fails to restart with the message:
Couldn't read configuration file /etc/rstudio-connect/rstudio-connect.gcfg: warning: can't store data at section "Server", variable "TempDir"
We set it up as:
[Server] TempDir = /other/directory
It looks like there are files being created in
/other/directory, but the server refuses to restart.
We’re running v1.5.8-12. Any insights on how we might be able to get this to work?