I deployed a dockerized shiny app with shinyproxy. There is a bookmark functionality in the app.
However, when I try to restore the bookmark state (opening the link with the state id), the app doesn’t restore the bookmarked state and gives an error:
“Error in RestoreContext initialization: Bookmarked state directory does not exist.”
I tried to create a volume for the bookmark directory in the application.yml file in the following way:
- id: example
container-cmd: [“R”, “-e”, “shiny::runApp(’/root/example’)”]
container-volumes: ["/var/lib/shiny-server/bookmarks/:/var/lib/shiny-server/bookmarks", “/srv/shiny-server/example/Data/:/Data”]
However, I still get the same error message. Is there a way to enable server bookmarks with shinyproxy?