rstudio/shiny-server

Shiny server failing to start in Ubuntu

Opened this issue · 3 comments

I have an Ubuntu 20.04 EC2 instance on AWS. Its ARM64 architecture. So i installed shiny-server from source. It seems to have installed fine but i can't get it to start

sudo systemctl status shiny-server

gives this

shiny-server.service - ShinyServer
     Loaded: loaded (/etc/systemd/system/shiny-server.service; disabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Wed 2021-11-17 18:55:28 UTC; 12min ago
    Process: 10839 ExecStart=/usr/bin/env bash -c exec /opt/shiny-server/bin/shiny-server >> /var/log/shiny-server.log 2>&1 (code=exited, status=127)
    Process: 10840 ExecStopPost=/usr/bin/env sleep 5 (code=exited, status=0/SUCCESS)
   Main PID: 10839 (code=exited, status=127)

Nov 17 18:55:28 ip-10-128-231-149 systemd[1]: shiny-server.service: Scheduled restart job, restart counter is at 3.
Nov 17 18:55:28 ip-10-128-231-149 systemd[1]: Stopped ShinyServer.
Nov 17 18:55:28 ip-10-128-231-149 systemd[1]: shiny-server.service: Start request repeated too quickly.
Nov 17 18:55:28 ip-10-128-231-149 systemd[1]: shiny-server.service: Failed with result 'exit-code'.
Nov 17 18:55:28 ip-10-128-231-149 systemd[1]: Failed to start ShinyServer.

Any ideas on how to fix this ?

Hi @bapoorva, I installed shiny server on a Rpi last year and had to manage some tricks after compiling to get it working. have a look at my docs, hope you find something useful for your case

@bapoorva Have you solved your problem? I have the same problem and I don't know how to solve it.

Add a rule for port 3838 in the firewall solved my problem