shiny-server won't startup

Hi,

I have recently installed the shiny-server-1.5.9.923 on Ubuntu 18.04 LTS. All seems to have installed and updated without any errors. When I try to start the server it fails. I've followed the guide here:-

https://linode.com/docs/development/r/how-to-deploy-rshiny-server-on-ubuntu-and-debian/

Any ideas why this isn't working? Is it possible due to a miss-configured 'shiny-server.conf?

Any help appreciated.

Server Log;

[2019-05-21T15:46:01.049] [INFO] shiny-server - Shutting down worker processes
[2019-05-21T15:46:07.661] [INFO] shiny-server - Shiny Server v1.5.9.923 (Node.js v8.11.3)
[2019-05-21T15:46:07.664] [INFO] shiny-server - Using config file "/etc/shiny-server/shiny-server.conf"
[2019-05-21T15:46:07.738] [ERROR] shiny-server - Error loading config: Unknown directive "XXX.XX.X.XX" (/etc/shiny-server/shiny-serve$
[2019-05-21T15:46:07.739] [INFO] shiny-server - Shutting down worker processes
[2019-05-21T15:46:14.415] [INFO] shiny-server - Shiny Server v1.5.9.923 (Node.js v8.11.3)
[2019-05-21T15:46:14.419] [INFO] shiny-server - Using config file "/etc/shiny-server/shiny-server.conf"
[2019-05-21T15:46:14.492] [ERROR] shiny-server - Error loading config: Unknown directive "XXX.XX.X.XX" (/etc/shiny-server/shiny-serve$
[2019-05-21T15:46:14.493] [INFO] shiny-server - Shutting down worker processes
[2019-05-22T09:19:17.142] [INFO] shiny-server - Shiny Server v1.5.9.923 (Node.js v8.11.3)
[2019-05-22T09:19:17.146] [INFO] shiny-server - Using config file "/etc/shiny-server/shiny-server.conf"
[2019-05-22T09:19:17.219] [ERROR] shiny-server - Error loading config: Unknown directive "XXX.XX.X.XX" (/etc/shiny-server/shiny-serve$
[2019-05-22T09:19:17.220] [INFO] shiny-server - Shutting down worker processes
[2019-05-22T09:19:23.910] [INFO] shiny-server - Shiny Server v1.5.9.923 (Node.js v8.11.3)
[2019-05-16T09:04:03.754] [INFO] shiny-server - Shiny Server v1.5.9.923 (Node.js v8.11.3)
[2019-05-16T09:04:03.758] [INFO] shiny-server - Using config file "/etc/shiny-server/shiny-server.conf"
[2019-05-16T09:04:03.836] [WARN] shiny-server - Running as root unnecessarily is a security risk! You could be running more securely as non-root
[2019-05-16T09:04:03.844] [INFO] shiny-server - Starting listener on http://[::]:3838
[2019-05-20T15:30:36.829] [INFO] shiny-server - Created bookmark state directory: /var/lib/shiny-server/bookmarks
[2019-05-20T15:30:36.830] [INFO] shiny-server - Created user bookmark state directory: /var/lib/shiny-server/bookmarks/shiny
[2019-05-20T15:30:37.703] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2019-05-20T15:46:40.922] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2019-05-20T15:56:45.384] [INFO] shiny-server - Error getting worker: Error: The application exited during initialization.
[2019-05-21T15:45:54.929] [INFO] shiny-server - Stopping listener on http://[::]:3838
[2019-05-21T15:45:54.930] [INFO] shiny-server - Shutting down worker processes (with notification)
[2019-05-21T15:46:00.969] [INFO] shiny-server - Shiny Server v1.5.9.923 (Node.js v8.11.3)
[2019-05-21T15:46:00.973] [INFO] shiny-server - Using config file "/etc/shiny-server/shiny-server.conf"

shiny-server.conf:

Define a server that listens on port 3838

server {
listen 3838;

Define a location at the base URL

location /app {
app_dir /srv/shiny-server/app;

# Host the directory of Shiny Apps stored in this directory
site_dir /srv/shiny-server;

# Log all Shiny output to files in this directory
log_dir /var/log/shiny-server;

# When a user visits the base URL rather than a particular application,
# an index of the applications available in this directory will be shown.
directory_index on;

}
}

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.