Coder Social home page Coder Social logo

docker-openhab2's People

Contributors

carlossg avatar m0se avatar maddingo avatar richardpowellus avatar scottt732 avatar tdeckers avatar timweyand avatar wetwarelabs avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-openhab2's Issues

Example in the readme is not working

To access the demo, according to the readme:
http://[IP-of-Docker-Host]:8080/openhab.app?sitemap=demo

This does not work for me:
HTTP ERROR 404

Problem accessing /openhab.app. Reason:

ProxyServlet: /openhab.app

Failed to build

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

Image not working on Raspberry Pi running Raspbian

When trying to run/start the docker container on a Rasperry Pi with Raspbian, you get the following error message:

[9] System error: exec format error
Error: failed to start containers:

Am I missing something or is Raspberry Pi not supported at all?

Regards,
Dennis

Add support for ARM architecture

The CPU architecture for Raspberry Pi is ARM rather than x86/x64 by Intel or AMD. Thus, this container is failing with the following error:

FATA[0003] Error response from daemon: Cannot start container 0f0fa3f8e510e53908e6a459e817d600b9649e621e7dede974d6a65761ad39e5: exec format error

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.