Install shiny-server on armhf ubuntu

342 views
Skip to first unread message

Yi Jin

unread,
Nov 9, 2014, 11:18:33 AM11/9/14
to shiny-...@googlegroups.com
While follow the procedure : http://www.rstudio.com/products/shiny/download-server/

I have followed each step. But in the end the shiny-server won't start-up. When I launch it, in console: Segmentation fault

While seeing the node compiled in within the git repo, the by launching npm, it shows segmentation fault as well. I wonder if someone has succeeded in building shiny-server from source in arm architecture ?

Python version : Python 2.7.6

Yi Jin

unread,
Nov 9, 2014, 11:20:37 AM11/9/14
to shiny-...@googlegroups.com
By the way, in the ubuntu armhf, it provides a prebuilt and working node and npm.

在 2014年11月9日星期日UTC+1下午5时18分33秒,Yi Jin写道:

Joe Cheng

unread,
Nov 10, 2014, 3:21:35 PM11/10/14
to Yi Jin, shiny-...@googlegroups.com
Is "segmentation fault" literally the first and only message that comes up when you run shiny-server?

--
You received this message because you are subscribed to the Google Groups "Shiny - Web Framework for R" group.
To unsubscribe from this group and stop receiving emails from it, send an email to shiny-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/shiny-discuss/ac928a12-e4e2-4b3d-b403-b4b8c8c7e62d%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Yi Jin

unread,
Nov 10, 2014, 3:46:24 PM11/10/14
to Joe Cheng, shiny-...@googlegroups.com
Yes. When I issue :

odroid@odroid:~/shiny-server/bin$ shiny-server

Segmentation fault


I try to see the content of shiny-server/bin/shiny-server:

Р^D=^@$^A4U^D?8FAFJFGBѽ^@V^@^@L^@^@pG^@

F^AF^C ^@^H@-^H^A^@^B^@--daemonize^@/ext/node/bin/shiny-server^@^@/lib$

^@Fatal error calling lstat: %d

^@^@/proc/%d/exe was not a symlink

^@Link resolved to an unexpectedly long path

^@Fatal error calling readlink: %d

^@^@^@^@^@^@^@0^?


The architecture of the device is different from x86 or i386 or amd64. The architecture of CPU is ARM.


Here is a docker environment of the same os distribution : https://registry.hub.docker.com/u/mazzolino/armhf-ubuntu/

Joe Cheng

unread,
Nov 10, 2014, 3:49:23 PM11/10/14
to Yi Jin, shiny-...@googlegroups.com
Sorry, I really have no idea... needless to say, we don't test on ARM.

The 0.3 builds of shiny-server are long since deprecated, but they use different packaging, I wonder if it would work for you?

Yi Jin

unread,
Nov 10, 2014, 3:54:08 PM11/10/14
to Joe Cheng, shiny-...@googlegroups.com
Thanks for your suggestion. I will try that version.

We are just considering to create a portable shiny-server with odroid for an offline(without internet connection) client presentation. 

I have succeeded in installing the shiny-server in raspberry Pi which is also ARM platform. But raspberry is not so powerful.

I will test that and give feedback.

Thanks for your reply.

Joe Cheng

unread,
Nov 10, 2014, 3:59:14 PM11/10/14
to Yi Jin, shiny-...@googlegroups.com
There are some pretty nice little Intel boxes too :)

Yi Jin

unread,
Nov 10, 2014, 4:02:08 PM11/10/14
to Joe Cheng, shiny-...@googlegroups.com
This one seems promising!


Terence Lam

unread,
Jun 30, 2015, 7:57:25 PM6/30/15
to shiny-...@googlegroups.com, j...@rstudio.com
Hi Jin could you share how did you get shiny-server running on raspberry pi? Which OS did you installed on it? Did you compile from source?

I tried both raspbian and Ubuntu MATE, after compiling, shiny-server started with errors (something along "trap", need to go back and get a screencap).
Reply all
Reply to author
Forward
0 new messages