@mcuma, I have not been able to get 1.4 working in a way that is suitable for users yet. The problem you identified happens because it wants to create a sqlite database in that directory.
There is a new commandline option “–database-config-file path_to_config_file”, and the directive
to put in that config file to change the location of the database is:
directory=“some_directory”
With these changes to script.sh.erb the server will start without error but when I try to connect I get the dreaded rstudio login screen. If I enter my username and the “passwd” from the connection.yml file I almost get in. This process added “AppUri” to the end of the url and I get a “page not found” error. If I remove that bit from the url in the address bar and type return I do get in.
The real problem here is that they added some extra “security” features in 1.4. In particular they
added a csrf-token to the login screen. We need to figure out what the value is and pass that in along with the username and passwd in order to get past the login screen. I don’t know how to do
this automatically. This is where I’m stuck. I added this line to view.html.erb:
I still get the login screen when I connect but I can just look at the page source and see what
csrf-token is set to and then manually add a line to connection.yml:
csrfToken: …
then when I connect I get in without hitting the login screen.
So that’s where I’m at.