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

    DarylMc

    Joined:
    Mar 24, 2006
    Messages:
    1,340
    Likes Received:
    53
    Location:
    Cleveland, QLD, Australia
    Hi Matt
    I have a rough setup step list I used on 64 bit Homebridge image, raspberry pi5, USB CBus interface.
    The java install commands there are assuming jdk-8u202-linux-arm64-vfp-hflt.tar.gz has been copied over to /home/pi
     

    Attached Files:

    Last edited: Nov 16, 2024
    DarylMc, Nov 16, 2024
    #21
  2. pktechnology

    DarylMc

    Joined:
    Mar 24, 2006
    Messages:
    1,340
    Likes Received:
    53
    Location:
    Cleveland, QLD, Australia
    jdk-8u202 should avoid the TLS issues
     
    DarylMc, Nov 16, 2024
    #22
  3. pktechnology

    Matt

    Joined:
    Aug 3, 2004
    Messages:
    29
    Likes Received:
    3
    Location:
    Cairns North Queensland
    Thanks for the help and suggestions, I ended up just moving the docker image to a x86 machine and it works great.
     
    Matt, Dec 31, 2024
    #23
  4. pktechnology

    theboyg

    Joined:
    Apr 3, 2005
    Messages:
    212
    Likes Received:
    9
    To add my experience, I have Portainer running on an RPi 5 which runs a number of containers. The second I installed this one, it brought the entire thing down, Portainer unavailable through the GUI but could be restarted via SSH but is always short lived as it dies pretty quick. Uninstalling and a light clean up all other containers and Portainer back to normal.
     
    theboyg, Jan 4, 2025
    #24
  5. pktechnology

    theboyg

    Joined:
    Apr 3, 2005
    Messages:
    212
    Likes Received:
    9
    Back up in the thread I see an rpi build listed, using image: pktechnology/cgateserver:3.3.3-rpi fails to find the manifest (or with 3.3.4). Was that replaced with a different version?
     
    theboyg, Jan 5, 2025
    #25
  6. pktechnology

    MDL

    Joined:
    Sep 6, 2022
    Messages:
    2
    Likes Received:
    0
    Hi there.
    Just started looking at this and I'm having a problem.
    Synology DS220j (Realtek RTD1296 SoC) running DSM 7.3.2-86009 U3.
    Node.js v22.
    Container Manager - 24.0.2-1606.
    pktechnology/cgateserver - latest (3.7.0) - fresh install.
    Error i'm seeing is exec /usr/local/jre-11.0.28/bin/java: exec format error.
    Indicates an architecture mis-match.

    Appreciate any advice.
    Thanks.
     
    MDL, Apr 5, 2026
    #26
  7. pktechnology

    pktechnology

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

    the version of JRE changed with cgate 3.7.0 so using "Latest" image to update the previous retains the old path values from cgate 3.6.0. Thats error your seeing. It's expecting jre-11.0.28 but sees the older version in your environment variable.

    So easiest way to move forward is delete the whole container and start from scratch with 3.70 or 3.71 which is now available. Or "Latest" again as long as you delete the previous entirely. Thanks
     
    pktechnology, Apr 14, 2026
    #27
  8. pktechnology

    MDL

    Joined:
    Sep 6, 2022
    Messages:
    2
    Likes Received:
    0
    Thanks for your reply pk. This was a fresh install of 3.7.0 when I started. No previous installation.

    Deleted container, downloaded "Latest" (3.7.1).
    Same error: exec /usr/local/jre-11.0.28/bin/java: exec format error
    Environment variables:
    PATH - /usr/local/jre-11.0.28/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
    JAVA_HOME - /usr/local/jre-11.0.28
    CGATE_APP - /usr/local/bin/cgate3
    CGATE_HOME - /volume1/docker/cgate3/home:/home/clipsal/cgate3/home
    CGATE_APPDATA - /volume1/docker/cgate3/appdata:/home/clipsal/cgate3/appdata

    Cheers and thanks.
     
    MDL, Apr 15, 2026
    #28
  9. pktechnology

    pktechnology

    Joined:
    Nov 22, 2023
    Messages:
    13
    Likes Received:
    6
    Location:
    Australia
    OK please try again. Ive rebuilt it and it should correctly pickup that you are running ARM as opposed to AMD and use the corresponding JRE. Let me know if you have any more issues
     
    pktechnology, Apr 17, 2026
    #29
  10. pktechnology

    pktechnology

    Joined:
    Nov 22, 2023
    Messages:
    13
    Likes Received:
    6
    Location:
    Australia
    The latest version should work with RPI 64 bit not 32bit. Thanks
     
    pktechnology, Apr 17, 2026
    #30
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.