browserSetup.sh is broken (v490)

0 views
Skip to first unread message

Hoover, David (NIH/CIT) [E]

unread,
2:49 PM (6 hours ago) 2:49 PM
to genome...@soe.ucsc.edu
I tried creating a docker container from the latest UCSC build, but the containerization stopped when it tried to run browserSetup.sh:

=> ERROR [10/13] RUN chmod a+x /root/browserSetup.sh && /root/browserSetup.sh -b install 0.4s
------
> [10/13] RUN chmod a+x /root/browserSetup.sh && /root/browserSetup.sh -b install:
0.284 /root/browserSetup.sh: line 873: syntax error near unexpected token `}'
0.284 Exit error 2 occurred on line 1
0.284 The UCSC Genome Browser installation script exited with an error.
0.284 Please contact us at genome...@soe.ucsc.edu and send us an output log
0.284 of the command prefixed with "bash -x", e.g.
0.284 bash -x browserSetup.sh install 2>&1 > install.log
------
Dockerfile:23
--------------------
21 | # Install the genome browser
22 | ADD http://raw.githubusercontent.com/ucscGenomeBrowser/kent/master/src/product/installer/browserSetup.sh /root/browserSetup.sh
23 | >>> RUN chmod a+x /root/browserSetup.sh && /root/browserSetup.sh -b install
24 |
25 | # Phusion documentation suggests this
--------------------
ERROR: failed to solve: process "/bin/sh -c chmod a+x /root/browserSetup.sh && /root/browserSetup.sh -b install" did not complete successfully: exit code: 2

David
--
David Hoover, Ph.D.
Computational Biologist
CIT SCS HPCS
National Institutes of Health
12 South Dr., Rm 2N207
TEL: (+1) 301-435-2986
Email: david....@nih.gov

Maximilian Haeussler

unread,
6:00 PM (2 hours ago) 6:00 PM
to Hoover, David (NIH/CIT) [E], genome...@soe.ucsc.edu
Sorry! My fault. We definitely need an automated test of this script, after changes. 
There was a missing "fi", I added it here:

Are you pulling your version of the script when you use it from the master branch or the "beta" (stable) branch?

--

---
You received this message because you are subscribed to the Google Groups "UCSC Genome Browser Mirror-Specific Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email to genome-mirro...@soe.ucsc.edu.
To view this discussion visit https://groups.google.com/a/soe.ucsc.edu/d/msgid/genome-mirror/bdcf9a47-0253-4c68-a658-ffeb53e74ff8%40hpc.nih.gov.
Reply all
Reply to author
Forward
0 new messages