Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    metanomy
    @metanomy
    @miurahr , Thank you for your work in creating this image. The kandan portion works great, but hubot seems to be failing. The error message I get is: Waiting for kandan server to accept connections/home/app/hubot/bin/hubot: 8: [: -eq: unexpected operator
    Hiroshi Miura
    @miurahr
    @metanomy Thank you for feedback. It seems happening at a place where I inserted lines into hubot script. But I cannot reproduce it, it works fine for me.
    #!/bin/sh
    set -e
    timeout=60
    echo -n "Waiting for kandan server to accept connections"
    while ! curl -s http://localhost:3000/ >/dev/null 2>&1
    do
      timeout=$(expr $timeout - 1)
      if [ $timeout -eq 0 ]; then
        echo -e "\nCould not connect to kandan server. Aborting..."
        exit 1
      fi
      echo -n "."
      sleep 1
    done
    echo
    Hiroshi Miura
    @miurahr
    Similar part of init code works fine. A difference is /bin/sh instead of /bin/bash.
    Hiroshi Miura
    @miurahr
    I change this part to use bash instead of /bin/sh. Cloud you test it again with updated image?
    Docker image was updated in 27, May.
    Hiroshi Miura
    @miurahr
    Oh, I found root cause now...
    When generating this script, $timeout was evaluated but it should be here as is.
    Hiroshi Miura
    @miurahr
    I've pushed the fix. pls wait docker image generation...
    metanomy
    @metanomy
    Thanks for the update. Do you stil recommend I pull from git, or get the latest image from docker hub?
    Hiroshi Miura
    @miurahr
    You can get latest image from dockerhub
    metanomy
    @metanomy
    OK. I was using git, which built latest, not stable (and still had an issue). Modified the .yml file to use stable instead, and confirmed that it worked.
    I'm missing something obvious in getting the image from dockerhub working, but will try that tonight. @miurahr, do you accept tips or donations?
    Hiroshi Miura
    @miurahr
    Thank you for offering. I can accept flattr.
    Hiroshi Miura
    @miurahr
    We use this image for daily job connecting with redmine webhook.
    there is some know-how to operation such as DB backup but not added yet to git repository. If you are interested in it, please feel free to ask me or put an issue on github!
    metanomy
    @metanomy
    I starred your github repo, so flattr should be sent soon.
    I don't have a need for redmine at the moment, but you have the only kandan-hubot docker image that I can find. I'm extending Hubot to do queries against Hadoop, Geospatial systems, and graph databases.
    Hiroshi Miura
    @miurahr
    Oh, you are going to the place where the cutting-edge technology pushing a limit. I'm working for OpenStreetMap and I like a GIS and graph! I hope we have a chance to collaborate on other place! :smile:
    metanomy
    @metanomy
    Once I have my Hubot extended to query Boundless Geoserver and OrientDB, I'll publish those scripts as npm. Perhaps we can collaborate on a GIS-specific kandan-hubot docker environment?
    Hiroshi Miura
    @miurahr
    Interesting! How can i integrate your plugin into Docker image!?
    metanomy
    @metanomy
    I have a docker image for OrientDB, but I'm waiting until their next major release (and week now) before I fix and clean it up.
    I have a docker for Geoserver, but I really want to make one for the entire OpenGeo suite, and I have to troubleshoot the Dockerfile.
    Right now I'm learning the quirks of coffeescript to write my first Hubot script. Not sure how to do proper indentations (I'm not a developer, more a system guy/dabbler)
    metanomy
    @metanomy
    Geo environment is now running: tampabaymap.org
    Preparing to deploy latest kandan-hubot, and start writing Hubot scripts to query OGC service (WMS, WFS, etc)