Hi,
I used the example for Shinymanager with an sqlite database in Rstudio, and everything worked ok. When I ran the same
code from a web browser with shiny server, it failed with 'can't find keyring'
I checked keyring_list() from Rstudio:
library(keyring)
keyring_list()
keyring num_secrets locked
1 Login 2 FALSE
2 0 FALSE
all ok.
I then ran the app using Rscript from the command line :
keyring num_secrets locked
1 0 FALSE
Login keyring is not in the list.
and if I try to create a service in the default keyring it fails.
I created a new keyring, testkeyring,
this worked ok, after keyring_unlock() used in the script, and using Rscript to run the app..
keyring num_secrets locked
1 0 FALSE
2 testkeyring 0 FALSE
it still does not run when running the app in a browser, possibly keyring_unlock is causing it to stop.
Is it likely to be permissions issue?
Hi, I used the example for Shinymanager with an sqlite database in Rstudio, and everything worked ok. When I ran the same code from a web browser with shiny server, it failed with 'can't find keyring'
I checked keyring_list() from Rstudio:
Best Regards, James