Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Administrator Guide Lacks Bookmarking Directory Information #239

Open
DarioS opened this issue Sep 15, 2016 · 4 comments
Open

Administrator Guide Lacks Bookmarking Directory Information #239

DarioS opened this issue Sep 15, 2016 · 4 comments

Comments

@DarioS
Copy link

DarioS commented Sep 15, 2016

Presently, the Administrator's Guide has no details about customising the bookmarks directory. The server fails to start if the directory can't be written to.

[2016-09-15 12:54:57.095] [ERROR] shiny-server - Bookmark state directory creation failed: /var/lib/shiny-server/bookmarks

Then, an error message is shown in green font, which should only be used for success messages.

[2016-09-15 12:54:57.096] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
@jcheng5
Copy link
Member

jcheng5 commented Sep 15, 2016

Thanks for the bug report! Are you running your Shiny Server as a root or non-root user?

@DarioS
Copy link
Author

DarioS commented Sep 16, 2016

Actually, the server does start, but the Shiny applications don't, to correct the first statement.

I am running as a non-root user with Shiny Server installed from source into a non-system directory.

Also, I used the git clone instructions from your Wiki article, but the version isn't v1.4.4.807 like for the DEB package, but 1.4.4.0:

[2016-09-15 14:37:29.958] [INFO] shiny-server - Shiny Server v1.4.4.0 (Node.js v0.10.46)

Is the version string wrong or have I really downloaded an outdated version of the server with git clone?

@wch
Copy link
Contributor

wch commented Sep 16, 2016

You should be able to use bookmark_state_dir. It's described here:
https://github.com/rstudio/shiny-server/blob/cf0bf13/config/shiny-server-rules.config#L171-L176

However, it looks like it's not yet in the published admin guide.

@wch
Copy link
Contributor

wch commented Sep 16, 2016

It looks like we have to update the Shiny Server Pro docs for it to show up in the published documents. Until then, we can keep this issue open.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants