MI-DPLA / combine-docker

Combine Docker-ized
https://mi-dpla.github.io/combine-docker/
6 stars 12 forks source link

Installation error on 0.11.1: "tar -xvf static.tar --strip=3" in buildstatic.sh #42

Open fruviad opened 4 years ago

fruviad commented 4 years ago

I downloaded 0.11.1 and tried an install, and I can repro this on two different systems.

The installer gets to the point of running buildstatic.sh and starts throwing errors when trying to run "tar -xvf static.tar --strip=3". (What exactly is the goal of these 5 tar commands? I've never seen the --strip option before.) Here I run it manually:

pkukla@mojo:~/combine/combine-docker/combine/combine/static$ tar xf static.tar --strip=3 tar: core/fnFindCellRowIndexes.js: Cannot open: File exists tar: core/datatables.min.css: Cannot open: File exists tar: core/datatables.min.js: Cannot open: File exists tar: core/jsoneditor-5.18.0/dist/jsoneditor.min.js: Cannot open: File exists tar: core/jsoneditor-5.18.0/dist/jsoneditor.js.map: Cannot open: File exists tar: core/jsoneditor-5.18.0/dist/img/jsoneditor-icons.svg: Cannot open: File exists tar: core/jsoneditor-5.18.0/dist/img: Cannot utime: Operation not permitted tar: core/jsoneditor-5.18.0/dist/jsoneditor.min.css: Cannot open: File exists tar: core/jsoneditor-5.18.0/dist/jsoneditor.map: Cannot open: File exists tar: core/jsoneditor-5.18.0/dist: Cannot utime: Operation not permitted tar: core/jsoneditor-5.18.0: Cannot utime: Operation not permitted tar: core/datetime-moment.js: Cannot open: File exists tar: core/jquery-plugin-query-object-master/package.json: Cannot open: File exists tar: core/jquery-plugin-query-object-master/jquery.query-object.js: Cannot open: File exists tar: core/jquery-plugin-query-object-master/README.md: Cannot open: File exists tar: core/jquery-plugin-query-object-master: Cannot utime: Operation not permitted tar: core/jstree/jstree.js: Cannot open: File exists tar: core/jstree/themes/default/40px.png: Cannot open: File exists tar: core/jstree/themes/default/style.min.css: Cannot open: File exists tar: core/jstree/themes/default/throbber.gif: Cannot open: File exists tar: core/jstree/themes/default/style.css: Cannot open: File exists tar: core/jstree/themes/default/32px.png: Cannot open: File exists tar: core/jstree/themes/default: Cannot utime: Operation not permitted tar: core/jstree/themes/default-dark/40px.png: Cannot open: File exists tar: core/jstree/themes/default-dark/style.min.css: Cannot open: File exists tar: core/jstree/themes/default-dark/throbber.gif: Cannot open: File exists tar: core/jstree/themes/default-dark/style.css: Cannot open: File exists tar: core/jstree/themes/default-dark/32px.png: Cannot open: File exists tar: core/jstree/themes/default-dark: Cannot utime: Operation not permitted tar: core/jstree/themes: Cannot utime: Operation not permitted tar: core/jstree/jstree.min.js: Cannot open: File exists tar: core/jstree: Cannot utime: Operation not permitted tar: core/html5sortable-0.9.8/html5sortable.min.js.map: Cannot open: File exists tar: core/html5sortable-0.9.8/html5sortable.es.js: Cannot open: File exists tar: core/html5sortable-0.9.8/html5sortable.cjs.js: Cannot open: File exists tar: core/html5sortable-0.9.8/html5sortable.min.js: Cannot open: File exists tar: core/html5sortable-0.9.8/html5sortable.amd.js: Cannot open: File exists tar: core/html5sortable-0.9.8/html5sortable.js: Cannot open: File exists tar: core/html5sortable-0.9.8: Cannot utime: Operation not permitted tar: core/bootstrap-4.0.0/js/bootstrap.bundle.js: Cannot open: File exists tar: core/bootstrap-4.0.0/js/bootstrap.js.map: Cannot open: File exists tar: core/bootstrap-4.0.0/js/bootstrap.js: Cannot open: File exists tar: core/bootstrap-4.0.0/js/bootstrap.bundle.min.js.map: Cannot open: File exists tar: core/bootstrap-4.0.0/js/bootstrap.min.js: Cannot open: File exists tar: core/bootstrap-4.0.0/js/bootstrap.min.js.map: Cannot open: File exists tar: core/bootstrap-4.0.0/js/bootstrap.bundle.js.map: Cannot open: File exists tar: core/bootstrap-4.0.0/js/bootstrap.bundle.min.js: Cannot open: File exists tar: core/bootstrap-4.0.0/js: Cannot utime: Operation not permitted tar: core/bootstrap-4.0.0/css/bootstrap-grid.css: Cannot open: File exists tar: core/bootstrap-4.0.0/css/bootstrap.min.css: Cannot open: File exists tar: core/bootstrap-4.0.0/css/bootstrap-reboot.css.map: Cannot open: File exists tar: core/bootstrap-4.0.0/css/bootstrap.css.map: Cannot open: File exists tar: core/bootstrap-4.0.0/css/bootstrap-grid.css.map: Cannot open: File exists tar: core/bootstrap-4.0.0/css/bootstrap.min.css.map: Cannot open: File exists tar: core/bootstrap-4.0.0/css/bootstrap-reboot.css: Cannot open: File exists tar: core/bootstrap-4.0.0/css/bootstrap-grid.min.css.map: Cannot open: File exists tar: core/bootstrap-4.0.0/css/bootstrap-reboot.min.css.map: Cannot open: File exists tar: core/bootstrap-4.0.0/css/bootstrap-reboot.min.css: Cannot open: File exists tar: core/bootstrap-4.0.0/css/bootstrap.css: Cannot open: File exists tar: core/bootstrap-4.0.0/css/bootstrap-grid.min.css: Cannot open: File exists tar: core/bootstrap-4.0.0/css: Cannot utime: Operation not permitted tar: core/bootstrap-4.0.0: Cannot utime: Operation not permitted tar: core/Buttons-1.4.2/js/buttons.foundation.min.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/buttons.bootstrap.min.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/buttons.jqueryui.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/buttons.flash.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/buttons.bootstrap.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/buttons.jqueryui.min.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/buttons.html5.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/buttons.colVis.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/buttons.semanticui.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/buttons.print.min.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/buttons.bootstrap4.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/buttons.foundation.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/buttons.html5.min.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/dataTables.buttons.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/buttons.print.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/buttons.bootstrap4.min.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/buttons.colVis.min.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/dataTables.buttons.min.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/buttons.flash.min.js: Cannot open: File exists tar: core/Buttons-1.4.2/js/buttons.semanticui.min.js: Cannot open: File exists tar: core/Buttons-1.4.2/js: Cannot utime: Operation not permitted tar: core/Buttons-1.4.2/swf/flashExport.swf: Cannot open: File exists tar: core/Buttons-1.4.2/swf: Cannot utime: Operation not permitted tar: core/Buttons-1.4.2/css/buttons.foundation.min.css: Cannot open: File exists tar: core/Buttons-1.4.2/css/buttons.bootstrap.min.css: Cannot open: File exists tar: core/Buttons-1.4.2/css/common.scss: Cannot open: File exists tar: core/Buttons-1.4.2/css/buttons.semanticui.min.css: Cannot open: File exists tar: core/Buttons-1.4.2/css/buttons.bootstrap4.min.css: Cannot open: File exists tar: core/Buttons-1.4.2/css/buttons.dataTables.min.css: Cannot open: File exists tar: core/Buttons-1.4.2/css/buttons.bootstrap4.css: Cannot open: File exists tar: core/Buttons-1.4.2/css/buttons.dataTables.css: Cannot open: File exists tar: core/Buttons-1.4.2/css/buttons.bootstrap.css: Cannot open: File exists tar: core/Buttons-1.4.2/css/buttons.semanticui.css: Cannot open: File exists tar: core/Buttons-1.4.2/css/mixins.scss: Cannot open: File exists tar: core/Buttons-1.4.2/css/buttons.jqueryui.css: Cannot open: File exists tar: core/Buttons-1.4.2/css/buttons.foundation.css: Cannot open: File exists tar: core/Buttons-1.4.2/css/buttons.jqueryui.min.css: Cannot open: File exists tar: core/Buttons-1.4.2/css: Cannot utime: Operation not permitted tar: core/Buttons-1.4.2: Cannot utime: Operation not permitted tar: core/jQuery-3.2.1/jquery-3.2.1.js: Cannot open: File exists tar: core/jQuery-3.2.1/jquery-3.2.1.min.js: Cannot open: File exists tar: core/jQuery-3.2.1: Cannot utime: Operation not permitted tar: core/combine.css: Cannot open: File exists tar: core/img/gitbranch.png: Cannot open: File exists tar: core/img/s3.png: Cannot open: File exists tar: core/img/pencil.png: Cannot open: File exists tar: core/img: Cannot utime: Operation not permitted tar: core/DataTables-1.10.16/js/dataTables.semanticui.min.js: Cannot open: File exists tar: core/DataTables-1.10.16/js/dataTables.bootstrap4.js: Cannot open: File exists tar: core/DataTables-1.10.16/js/dataTables.bootstrap4.min.js: Cannot open: File exists tar: core/DataTables-1.10.16/js/dataTables.bootstrap.min.js: Cannot open: File exists tar: core/DataTables-1.10.16/js/dataTables.foundation.js: Cannot open: File exists tar: core/DataTables-1.10.16/js/dataTables.jqueryui.min.js: Cannot open: File exists tar: core/DataTables-1.10.16/js/dataTables.semanticui.js: Cannot open: File exists tar: core/DataTables-1.10.16/js/jquery.dataTables.min.js: Cannot open: File exists tar: core/DataTables-1.10.16/js/jquery.dataTables.js: Cannot open: File exists tar: core/DataTables-1.10.16/js/dataTables.bootstrap.js: Cannot open: File exists tar: core/DataTables-1.10.16/js/dataTables.foundation.min.js: Cannot open: File exists tar: core/DataTables-1.10.16/js/dataTables.jqueryui.js: Cannot open: File exists tar: core/DataTables-1.10.16/js: Cannot utime: Operation not permitted tar: core/DataTables-1.10.16/images/sort_desc_disabled.png: Cannot open: File exists tar: core/DataTables-1.10.16/images/sort_both.png: Cannot open: File exists tar: core/DataTables-1.10.16/images/sort_asc.png: Cannot open: File exists tar: core/DataTables-1.10.16/images/sort_desc.png: Cannot open: File exists tar: core/DataTables-1.10.16/images/sort_asc_disabled.png: Cannot open: File exists tar: core/DataTables-1.10.16/images: Cannot utime: Operation not permitted tar: core/DataTables-1.10.16/css/jquery.dataTables.min.css: Cannot open: File exists tar: core/DataTables-1.10.16/css/dataTables.semanticui.css: Cannot open: File exists tar: core/DataTables-1.10.16/css/dataTables.jqueryui.min.css: Cannot open: File exists tar: core/DataTables-1.10.16/css/dataTables.bootstrap4.css: Cannot open: File exists tar: core/DataTables-1.10.16/css/dataTables.foundation.min.css: Cannot open: File exists tar: core/DataTables-1.10.16/css/dataTables.bootstrap4.min.css: Cannot open: File exists tar: core/DataTables-1.10.16/css/dataTables.foundation.css: Cannot open: File exists tar: core/DataTables-1.10.16/css/dataTables.bootstrap.css: Cannot open: File exists tar: core/DataTables-1.10.16/css/dataTables.semanticui.min.css: Cannot open: File exists tar: core/DataTables-1.10.16/css/jquery.dataTables.css: Cannot open: File exists tar: core/DataTables-1.10.16/css/dataTables.jqueryui.css: Cannot open: File exists tar: core/DataTables-1.10.16/css/dataTables.bootstrap.min.css: Cannot open: File exists tar: core/DataTables-1.10.16/css: Cannot utime: Operation not permitted tar: core/DataTables-1.10.16: Cannot utime: Operation not permitted tar: core/moment.min.js: Cannot open: File exists tar: core/line-awesome/css/line-awesome.min.css: Cannot open: File exists tar: core/line-awesome/css/line-awesome.css: Cannot open: File exists tar: core/line-awesome/css/line-awesome-font-awesome.min.css: Cannot open: File exists tar: core/line-awesome/css/line-awesome-font-awesome.css: Cannot open: File exists tar: core/line-awesome/css: Cannot utime: Operation not permitted tar: core/line-awesome/fonts/line-awesome.woff2: Cannot open: File exists tar: core/line-awesome/fonts/line-awesome.woff: Cannot open: File exists tar: core/line-awesome/fonts/line-awesome.eot: Cannot open: File exists tar: core/line-awesome/fonts/line-awesome.svg: Cannot open: File exists tar: core/line-awesome/fonts/line-awesome.ttf: Cannot open: File exists tar: core/line-awesome/fonts: Cannot utime: Operation not permitted tar: core/line-awesome: Cannot utime: Operation not permitted tar: core/datatables.js: Cannot open: File exists tar: core/visjs_network_global.js: Cannot open: File exists tar: core/datatables.css: Cannot open: File exists tar: core/vis-4.21.0/dist/vis.css: Cannot open: File exists tar: core/vis-4.21.0/dist/vis.js.map: Cannot open: File exists tar: core/vis-4.21.0/dist/vis-network.min.css: Cannot open: File exists tar: core/vis-4.21.0/dist/img/network/minus.png: Cannot open: File exists tar: core/vis-4.21.0/dist/img/network/editIcon.png: Cannot open: File exists tar: core/vis-4.21.0/dist/img/network/rightArrow.png: Cannot open: File exists tar: core/vis-4.21.0/dist/img/network/upArrow.png: Cannot open: File exists tar: core/vis-4.21.0/dist/img/network/backIcon.png: Cannot open: File exists tar: core/vis-4.21.0/dist/img/network/addNodeIcon.png: Cannot open: File exists tar: core/vis-4.21.0/dist/img/network/downArrow.png: Cannot open: File exists tar: core/vis-4.21.0/dist/img/network/plus.png: Cannot open: File exists tar: core/vis-4.21.0/dist/img/network/acceptDeleteIcon.png: Cannot open: File exists tar: core/vis-4.21.0/dist/img/network/deleteIcon.png: Cannot open: File exists tar: core/vis-4.21.0/dist/img/network/connectIcon.png: Cannot open: File exists tar: core/vis-4.21.0/dist/img/network/cross2.png: Cannot open: File exists tar: core/vis-4.21.0/dist/img/network/cross.png: Cannot open: File exists tar: core/vis-4.21.0/dist/img/network/leftArrow.png: Cannot open: File exists tar: core/vis-4.21.0/dist/img/network/zoomExtends.png: Cannot open: File exists tar: core/vis-4.21.0/dist/img/network: Cannot utime: Operation not permitted tar: core/vis-4.21.0/dist/img: Cannot utime: Operation not permitted tar: core/vis-4.21.0/dist/vis-timeline-graph2d.min.js: Cannot open: File exists tar: core/vis-4.21.0/dist/vis.js: Cannot open: File exists tar: core/vis-4.21.0/dist/vis.min.js: Cannot open: File exists tar: core/vis-4.21.0/dist/vis-timeline-graph2d.min.css: Cannot open: File exists tar: core/vis-4.21.0/dist/vis.map: Cannot open: File exists tar: core/vis-4.21.0/dist/vis-graph3d.min.js: Cannot open: File exists tar: core/vis-4.21.0/dist/vis-network.min.js: Cannot open: File exists tar: core/vis-4.21.0/dist/vis.min.css: Cannot open: File exists tar: core/vis-4.21.0/dist: Cannot utime: Operation not permitted tar: core/vis-4.21.0: Cannot utime: Operation not permitted tar: core/highlight.js/highlight.min.js: Cannot open: File exists tar: core/highlight.js/default.min.css: Cannot open: File exists tar: core/highlight.js: Cannot utime: Operation not permitted tar: core/3.3.6: Cannot open: File exists tar: core: Cannot utime: Operation not permitted tar: Exiting with failure status due to previous errors

fruviad commented 3 years ago

Message from Esty in Slack from 7/21/2020:

The goal is to get all of the static files in the original combine repo and all of the external static files downloaded for Livy and Spark with the svn commands in build.sh into a collected static folder that nginx can read easily, so everything has all the right filepaths and the running application can actually access its CSS & JS & images. I think the end result is that all the static files are unpacked into a flat file structure, as opposed to being weirdly and deeply nested?