I've spun up an RStudio Connect server and connected it to a PostgreSQL database.
At present, each time I restart the
rstudio-connect service I see the following error:
Unable to initialize the database: Secret key mismatch between database and file
This is easily resolved each time by running:
/opt/rstudio-connect/bin/rscadmin configure --reset-secret-key
The documentation states:
--reset-secret-key: Reset the secret key signature in the database allowing the use of a new encryption key file created on disk.
I am curious if anyone has experienced this in the past? Is this expected behaviour when running RStudio Connect with PostgreSQL or should I be worried?