docker-openhab2 icon indicating copy to clipboard operation
docker-openhab2 copied to clipboard

Failed to build

Open gw0 opened this issue 9 years ago • 0 comments

It would be great to have Docker tags with fixed versions and fixed URLs to official repositories (eg. GitHub https://github.com/openhab/openhab-distro/releases), because current default snapshot URLs do not work. The Docker build process shows some errors and in the end it fails:

Step 7 : RUN /root/docker-files/scripts/download_openhab.sh
 ---> Running in 838d13944d6a
Downloading runtime...
Downloading addons...
Downloading demo...
Extracting runtime...
Extracting add-ons...
[/tmp/distribution-runtime.zip]
  End-of-central-directory signature not found.  Either this file is not                                            
  a zipfile, or it constitutes one disk of a multi-part archive.  In the                                            
  latter case the central directory and zipfile comment will be found on                                            
  the last disk(s) of this archive.                                                                                 
unzip:  cannot find zipfile directory in one of /tmp/distribution-runtime.zip or                                    
        /tmp/distribution-runtime.zip.zip, and cannot find /tmp/distribution-runtime.zip.ZIP, period.               
[/tmp/distribution-addons.zip]                                                                                      
  End-of-central-directory signature not found.  Either this file is not                                            
  a zipfile, or it constitutes one disk of a multi-part archive.  In the                                            
  latter case the central directory and zipfile comment will be found on                                            
  the last disk(s) of this archive.                                                                                 
unzip:  cannot find zipfile directory in one of /tmp/distribution-addons.zip or                                     
        /tmp/distribution-addons.zip.zip, and cannot find /tmp/distribution-addons.zip.ZIP, period.                 
Extracting demo...
[/tmp/demo-openhab.zip]
  End-of-central-directory signature not found.  Either this file is not                                            
  a zipfile, or it constitutes one disk of a multi-part archive.  In the                                            
  latter case the central directory and zipfile comment will be found on                                            
  the last disk(s) of this archive.                                                                                 
unzip:  cannot find zipfile directory in one of /tmp/demo-openhab.zip or                                            
        /tmp/demo-openhab.zip.zip, and cannot find /tmp/demo-openhab.zip.ZIP, period.                               
chmod: cannot access ‘/opt/openhab/start.sh’: No such file or directory                                             
mv: cannot stat ‘/opt/openhab/conf’: No such file or directory
 ---> Running in 4f1e0f5f9231
ERROR: Service 'openhab' failed to build: The command '/bin/sh -c wget -q -P /tmp/ https://openhab.ci.cloudbees.com/job/openHAB/lastStableBuild/artifact/distribution/target/distribution-1.8.0-SNAPSHOT-addons.zip &&     wget -q -P /tmp/ https://openhab.ci.cloudbees.com/job/openHAB/lastStableBuild/artifact/distribution/target/distribution-1.8.0-SNAPSHOT-runtime.zip &&     unzip -q /tmp/distribution-1.8.0-SNAPSHOT-addons.zip -d /opt/openhab/addons-available-oh1 &&     unzip -j /tmp/distribution-1.8.0-SNAPSHOT-runtime.zip server/plugins/org.openhab.io.transport.mqtt* -d /opt/openhab/addons-available-oh1/  &&     unzip -j /tmp/distribution-1.8.0-SNAPSHOT-runtime.zip configurations/openhab_default.cfg -d /opt/openhab/ &&     rm -f /opt/openhab/runtime/server/plugins/org.openhab.io.transport.mqtt* &&     rm /tmp/distribution-1.8.0-*' returned a non-zero code: 8

gw0 avatar Mar 18 '16 09:03 gw0