New C-Gate Server 3.2.0 Docker Image

Discussion in 'C-Bus Toolkit and C-Gate Software' started by pktechnology, Nov 22, 2023.

  1. pktechnology

    pktechnology

    Joined:
    Nov 22, 2023
    Messages:
    9
    Likes Received:
    6
    Location:
    Australia
    pktechnology, Nov 22, 2023
    #1
    oracle likes this.
  2. pktechnology

    Ingo

    Joined:
    Dec 2, 2006
    Messages:
    290
    Likes Received:
    1
    Location:
    South Africa
    Great Work!

    I tested this using Portainer and it worked after I figured out how to create volumes. Tested with both 1.16.4 and 1.17. I am not sure how valid the 1.16.4 test was but it works and looks fine.

    By using a :3.2.0 image postfix we probably won't know if there are any updates unless you put it on the forum, right? Not sure how new update notifications are sent to existing installations - perhaps it doesn't, I don't know. Will just check the forum every now and then.

    For info: The Portainer the volumes map to the /var/lib/docker/volumes directory when you create them in Portainer.

    Quick question: With the event.txt file increasing over time, will there be a time when it fills the docker volume disk? Is there a way to guard against that?

    Oh, just a typo in your installation guide, the 'tab' directory is actually 'tag' directory.
     
    Ingo, Nov 25, 2023
    #2
  3. pktechnology

    pktechnology

    Joined:
    Nov 22, 2023
    Messages:
    9
    Likes Received:
    6
    Location:
    Australia

    Thanks for the feedback. I have corrected the typo. Also if your using Portainer you can just Bind the two volumes to some local folder structure (host). For example create the folders on your Synology NAS under "docker". This way you should also be able to monitor how much space log files (event.txt) are taking. Screenshot 2023-11-27 at 2.48.58 pm.png
     
    pktechnology, Nov 27, 2023
    #3
    Ingo likes this.
  4. pktechnology

    pktechnology

    Joined:
    Nov 22, 2023
    Messages:
    9
    Likes Received:
    6
    Location:
    Australia
    Hi All,

    Clipsal C-Gate Server ver 3.2.3 docker image is now available.
    It's now half the size of the initial 3.2.0 version.
    Documentation has been extensively updated to be as straight forward as possible.

    Hope you find this useful.

    https://hub.docker.com/r/pktechnology/cgateserver


    PK
     
    pktechnology, Jan 30, 2024
    #4
    Ingo and DarylMc like this.
  5. pktechnology

    GoldenMouse5410

    Joined:
    May 9, 2024
    Messages:
    6
    Likes Received:
    0
    Location:
    Australia
    Hi there,

    Anyone got this running on a Raspberry Pi??

    Container stops after a few secs with error
    exec /usr/local/jre1.8.0_202/bin/java: exec format error

    Works fine on a Linux VM running in an amd64 host so thinking its an architecture problem
    Any ideas?
     
    GoldenMouse5410, May 9, 2024
    #5
  6. pktechnology

    pktechnology

    Joined:
    Nov 22, 2023
    Messages:
    9
    Likes Received:
    6
    Location:
    Australia
    OK will build multi platform image with next release .
     
    pktechnology, Jun 8, 2024
    #6
  7. pktechnology

    GoldenMouse5410

    Joined:
    May 9, 2024
    Messages:
    6
    Likes Received:
    0
    Location:
    Australia
    Still same error with 3.3.2
    Awesome if we could get a multi platform image next release please
     
    GoldenMouse5410, Jun 16, 2024
    #7
  8. pktechnology

    pktechnology

    Joined:
    Nov 22, 2023
    Messages:
    9
    Likes Received:
    6
    Location:
    Australia
    OK can you please try image tagged as 3.3.3rpi and let me know if that works on your RPI. Thanks
     
    pktechnology, Jul 24, 2024
    #8
  9. pktechnology

    GoldenMouse5410

    Joined:
    May 9, 2024
    Messages:
    6
    Likes Received:
    0
    Location:
    Australia
    Thanks for pushing rpi image, manifest error pulling tag but able to pull via manifest or index digest.
    Unfortunately still same container error.

    Currently using ob01/cgate image but would prefer this one (as kept up to date) if we can get it working please?
     
    GoldenMouse5410, Jul 25, 2024
    #9
  10. pktechnology

    pktechnology

    Joined:
    Nov 22, 2023
    Messages:
    9
    Likes Received:
    6
    Location:
    Australia
    OK, thanks for the feedback. I guess I need to pull out my RPI and do some troubleshooting as I slapped it together with an emulator.
    Stay tuned....

    PK
     
    pktechnology, Jul 25, 2024
    #10
  11. pktechnology

    GoldenMouse5410

    Joined:
    May 9, 2024
    Messages:
    6
    Likes Received:
    0
    Location:
    Australia
    Thank you - much appreciated!
    For reference I’m using a RPI5 with docker and Portainer
     
    GoldenMouse5410, Jul 26, 2024
    #11
  12. pktechnology

    pktechnology

    Joined:
    Nov 22, 2023
    Messages:
    9
    Likes Received:
    6
    Location:
    Australia
    OK thanks for your patience. I have created and tested a working version for Raspberry Pi.
    Please use the image tagged as 3.3.3-rpi

    PK
     
    pktechnology, Jul 27, 2024
    #12
    DarylMc likes this.
  13. pktechnology

    GoldenMouse5410

    Joined:
    May 9, 2024
    Messages:
    6
    Likes Received:
    0
    Location:
    Australia
    Thank you, container now runs!

    Next issue is a bunch of Java errors in the container log when it tries to convert .xml to .db (and fails)
    So tried converting default example.xml and home.xml projects and get same errors.

    Any ideas?
     
    GoldenMouse5410, Jul 29, 2024
    #13
  14. pktechnology

    GoldenMouse5410

    Joined:
    May 9, 2024
    Messages:
    6
    Likes Received:
    0
    Location:
    Australia
    Just to follow up, tried the example.db and home.db files (from the latest windows software) but the container’s cgate event log throws an SQL error when trying to check and load either - bit stuck here?
     
    GoldenMouse5410, Jul 30, 2024
    #14
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.