Raspberrypi Unable to Start Ignition-Gateway for Ignition Edge

New to Raspberrypi and trying to load ingition edge. after install of java 8 jdk and ignition edge arm 32 when i try to start ignition i get this error. doug@raspberrypi:/usr/local/ignition $ sudo ./ignition.sh start
Starting Ignition-Gateway with systemd...
Job for Ignition-Gateway.service failed because the control process exited with error code.
See "systemctl status Ignition-Gateway.service" and "journalctl -xeu Ignition-Gateway.service" for details.
Failed to start service Ignition-Gateway
any ideas welcome

Did you run these? Did they tell you anything?

Is there anything in Ignition's wrapper.log file?

here is first one -
doug@raspberrypi:/usr/local/ignition $ systemctl status Ignition-Gateway.service
× Ignition-Gateway.service - Ignition-Gateway
Loaded: loaded (/etc/systemd/system/Ignition-Gateway.service; enabled; preset: enabled)
Active: failed (Result: exit-code) since Fri 2024-05-17 18:17:50 BST; 21min ago
Process: 19563 ExecStart=/usr/local/ignition/./ignition.sh start sysd (code=exited, status=1/FAILURE)
CPU: 6.081s

May 17 18:17:45 raspberrypi systemd[1]: Starting Ignition-Gateway.service - Ignition-Gateway...
May 17 18:17:45 raspberrypi ignition.sh[19563]: Starting Ignition-Gateway...
May 17 18:17:50 raspberrypi ignition.sh[19563]: Waiting for Ignition-Gateway........
May 17 18:17:50 raspberrypi ignition.sh[19563]: WARNING: Ignition-Gateway may have failed to start.
May 17 18:17:50 raspberrypi systemd[1]: Ignition-Gateway.service: Control process exited, code=exited, status=1/FAILURE
May 17 18:17:50 raspberrypi systemd[1]: Ignition-Gateway.service: Failed with result 'exit-code'.
May 17 18:17:50 raspberrypi systemd[1]: Failed to start Ignition-Gateway.service - Ignition-Gateway.
May 17 18:17:50 raspberrypi systemd[1]: Ignition-Gateway.service: Consumed 6.081s CPU time.

What version of RPi are you using and what OS is installed? Maybe you need the ARM 64-bit version of Edge?

I tried the 64 bit os w/ 64 bit java and 64 bit edge tues/wednesday and got the unable to open ignition gateway and worked all day trying to rectify so yesterday I loaded the 32 bit os, 32 bit java and 32 bit edge and still cant get gateway started.

wrapper.log (108.1 KB)

Hmm, definitely something about ARM32/64:

Failed to load native library:sqlite-3.41.2.2-5f95ab6a-be06-47e1-a153-42f98ab9995d-libsqlitejdbc.so. osinfo: Linux/aarch64
java.lang.UnsatisfiedLinkError: /usr/local/ignition/jre-tmp/sqlite-3.41.2.2-5f95ab6a-be06-47e1-a153-42f98ab9995d-libsqlitejdbc.so: /usr/local/ignition/jre-tmp/sqlite-3.41.2.2-5f95ab6a-be06-47e1-a153-42f98ab9995d-libsqlitejdbc.so: wrong ELF class: ELFCLASS64 (Possible cause: can't load AARCH64 .so on a ARM platform)
	at java.base/jdk.internal.loader.NativeLibraries.load(Native Method)
	at java.base/jdk.internal.loader.NativeLibraries$NativeLibraryImpl.open(Unknown Source)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source)
	at java.base/jdk.internal.loader.NativeLibraries.loadLibrary(Unknown Source)

Might need to try this: sqlite-jdbc/USAGE.md at ce109578d710e696ddc8ddae119bfd8f6f455a82 · xerial/sqlite-jdbc · GitHub

You'll have to edit the ignition.conf file and add an appropriately numbered entry to the "additional parameters" section that looks something like:

wrapper.java.additional.N=-Dorg.sqlite.osinfo.architecture=arm

I can start from scratch again Monday. do you think loading 64 across the board on raspberrypi 4 is the best option? Also ran across multiple people posting on other posts that separate java load is not necessary. Is that true?
Thanks for the feed back

Not sure what works best these days on the Pi re: 32 vs 64, but you definitely don’t need to install your own Java. 8 was the wrong version anyway.

i did a fresh install of raspberrypi 64 bit OS. downloaded ignition edge and did NOT load java.

Ignition gateway installed and started flawlessly. it must have been the Java JDK that was interfering.

Thanks for your help