bgunson / onboardpi

On board diagnostic web application for vehicles
https://bengunson.me/onboardpi/
GNU General Public License v2.0
56 stars 3 forks source link

Please can you help with install on existing Open Auto #36

Closed NebularCloud closed 7 months ago

NebularCloud commented 1 year ago

Hello Bennet

Please can you help with the below, I can install on a vanilla rasp image but when I try to install on existing open auto setup it does not seem to be able to start the webservice. I have tried changing the port to 81 just in case but get the same.

onboardpi-db-1 | onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-08 12:53:36.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-08 12:53:36.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-08 12:53:36.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-08 12:53:36.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-08 12:53:36.010 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-08 12:53:36.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-08 12:53:36.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-04-30 22:50:56.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-04-30 22:50:56.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-04-30 22:50:56.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-04-30 22:50:56.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-04-30 22:50:56.010 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-04-30 22:50:56.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-04-30 22:50:56.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-04-30 22:50:56.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-04-30 22:50:56.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-04-30 22:50:56.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-04-30 22:50:56.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-04-30 22:50:56.010 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-04-30 22:50:56.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-04-30 22:50:56.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-02 11:15:28.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-02 11:15:28.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-02 11:15:28.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-02 11:15:28.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-02 11:15:28.010 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-02 11:15:28.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-02 11:15:28.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-01 17:03:12.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-01 17:03:12.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-01 17:03:12.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-01 17:03:12.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-01 17:03:12.010 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-01 17:03:12.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-01 17:03:12.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-03 05:27:44.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-03 05:27:44.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-03 05:27:44.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-03 05:27:44.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-03 05:27:44.010 GMT [1] LOG: startup process (PID 21) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-03 05:27:44.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-03 05:27:44.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-05 12:04:32.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-05 12:04:32.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-05 12:04:32.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-05 12:04:32.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-05 12:04:32.010 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-05 12:04:32.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-05 12:04:32.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-07 18:41:20.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-07 18:41:20.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-07 18:41:20.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-07 18:41:20.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-07 18:41:20.010 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-07 18:41:20.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-07 18:41:20.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-04-28 16:14:08.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-04-28 16:14:08.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-04-28 16:14:08.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-04-28 16:14:08.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-04-28 16:14:08.010 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-04-28 16:14:08.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-04-28 16:14:08.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: startup process (PID 21) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-04 17:52:16.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-04 17:52:16.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-04 17:52:16.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-04 17:52:16.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-04 17:52:16.010 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-04 17:52:16.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-04 17:52:16.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: startup process (PID 23) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-06 06:16:48.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-02 11:15:28.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-02 11:15:28.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-02 11:15:28.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-02 11:15:28.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-02 11:15:28.010 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-02 11:15:28.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-02 11:15:28.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-07 18:41:20.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-07 18:41:20.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-07 18:41:20.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-07 18:41:20.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-07 18:41:20.010 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-07 18:41:20.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-07 18:41:20.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: startup process (PID 23) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-03 23:40:00.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-10 01:18:08.011 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-10 01:18:08.011 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-10 01:18:08.011 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-10 01:18:08.011 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-10 01:18:08.011 GMT [1] LOG: startup process (PID 23) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-10 01:18:08.011 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-10 01:18:08.011 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-10 01:18:08.011 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-10 01:18:08.011 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-10 01:18:08.011 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-10 01:18:08.011 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-10 01:18:08.011 GMT [1] LOG: startup process (PID 23) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-10 01:18:08.011 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-10 01:18:08.011 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-07 00:29:04.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-07 00:29:04.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-07 00:29:04.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-07 00:29:04.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-07 00:29:04.010 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-07 00:29:04.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-07 00:29:04.010 GMT [1] LOG: database system is shut down onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-04 17:52:16.010 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-04 17:52:16.010 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-04 17:52:16.010 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-04 17:52:16.010 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-db-1 | 1970-05-04 17:52:16.010 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-04 17:52:16.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-04 17:52:16.010 GMT [1] LOG: database system is shut down pi@raspberrypi:~/onboardpi $

NebularCloud commented 1 year ago

Just a bit more info, Pi is not connected to OBD at the moment

NAME IMAGE COMMAND SERVICE CREATED STATUS PORTS onboardpi-db-1 timescale/timescaledb:latest-pg14 "docker-entrypoint.s…" db 36 minutes ago Up 7 seconds 5432/tcp onboardpi-obd-1 bgunson/onboardpi-obd:latest "python3 server.py" obd 36 minutes ago Restarting (1) 47 seconds ago onboardpi-web-1 bgunson/onboardpi-web:latest "docker-entrypoint.s…" web 36 minutes ago Restarting (133) 7 seconds ago pi@raspberrypi:~/onboardpi $

NebularCloud commented 1 year ago

Just adding some more logs from looking though the bluewave forums. pi@raspberrypi:~/onboardpi $ docker compose up [+] Running 3/0 ✔ Container onboardpi-db-1 Created 0.0s ✔ Container onboardpi-web-1 Created 0.0s ✔ Container onboardpi-obd-1 Created 0.0s Attaching to onboardpi-db-1, onboardpi-obd-1, onboardpi-web-1 onboardpi-db-1 | onboardpi-db-1 | PostgreSQL Database directory appears to contain a database; Skipping initialization onboardpi-db-1 | onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: starting PostgreSQL 14.7 on arm-unknown-linux-musleabihf, compiled by gcc (Alpine 12.2.1_git20220924-r4) 12.2.1 20220924, 32-bit onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: listening on IPv4 address "0.0.0.0", port 5432 onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: listening on IPv6 address "::", port 5432 onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" onboardpi-web-1 | onboardpi-web-1 | onboardpi-web-1 | # onboardpi-web-1 | # Fatal error in , line 0 onboardpi-web-1 | # unreachable code onboardpi-web-1 | # onboardpi-web-1 | # onboardpi-web-1 | # onboardpi-web-1 | #FailureMessage Object: 0xbeb5862c onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-09 07:05:52.011 GMT [1] LOG: database system is shut down onboardpi-db-1 exited with code 0 onboardpi-web-1 exited with code 0 onboardpi-web-1 | onboardpi-web-1 | onboardpi-web-1 | # onboardpi-web-1 | # Fatal error in , line 0 onboardpi-web-1 | # unreachable code onboardpi-web-1 | # onboardpi-web-1 | # onboardpi-web-1 | # onboardpi-web-1 | #FailureMessage Object: 0xbecdb62c onboardpi-obd-1 | [src.configuration] Initializing OnBoardPi configuration onboardpi-obd-1 | [obd.elm327] [Errno 2] could not open port TEMP: [Errno 2] No such file or directory: 'TEMP' onboardpi-obd-1 | [obd.obd] Cannot load commands: No connection to car onboardpi-obd-1 | Traceback (most recent call last): onboardpi-obd-1 | File "server.py", line 9, in onboardpi-obd-1 | config = Configuration() onboardpi-obd-1 | File "/usr/src/app/src/configuration.py", line 23, in new onboardpi-obd-1 | it.init(*args, **kwds) onboardpi-obd-1 | File "/usr/src/app/src/configuration.py", line 39, in init onboardpi-obd-1 | obd.name, self.__settings['connection']['log_level']) onboardpi-obd-1 | KeyError: 'connection' onboardpi-db-1 | 1970-05-02 11:15:28.010 GMT [1] LOG: startup process (PID 22) was terminated by signal 11: Segmentation fault onboardpi-db-1 | 1970-05-02 11:15:28.010 GMT [1] LOG: aborting startup due to startup process failure onboardpi-db-1 | 1970-05-02 11:15:28.010 GMT [1] LOG: database system is shut down onboardpi-web-1 exited with code 0 onboardpi-obd-1 exited with code 0 onboardpi-db-1 exited with code 0 pi@raspberrypi:~/onboardpi $ ^C pi@raspberrypi:~/onboardpi $ startup process (PID 22) was terminated by signal 11: Segmentation fault -bash: syntax error near unexpected token `(' pi@raspberrypi:~/onboardpi $

bgunson commented 1 year ago

Hi, it seems the web app image is not able to start up properly as seen in the logs:

onboardpi-web-1 | # Fatal error in , line 0
onboardpi-web-1 | # unreachable code
onboardpi-web-1 | #
onboardpi-web-1 | #
onboardpi-web-1 | #
onboardpi-web-1 | #FailureMessage Object: 0xbecdb62c

The web image manages the settings file so its failure is also causing the obd service to fail. I can add a fix for the obd image to have better error handling, however the web image issue will need more investigating with Docker and until then the web app will not be reachable.

Can you please tell me your docker version (docker --version) and docker compose version (docker compose --version) and I will have a closer look for you?

Edit: I believe I too had this issue at one point and believe it is do to the OAP 16 image being shipped with an out of date version of libseccomp. Please see #37 and try again. Please let me know if that works and we can make sure to let any future OAP users be aware of the issue.

NebularCloud commented 1 year ago

Hello Bennett

Thank you for your help.

Here are the versions that are installed.

I am going to do a fresh OAP install on a different SD card, TBH its the orrigonal image that I did and I have been tinkering with the settings to find out how it works and trying to get the carpihat to read the canbus directly without needing to use the OBD port. It dosent seem to read them. But dont know if its that or my connection to my minis canbus

Will let you know if it fixes it but if you can have a look at the below anyway that would be awesome...

Linux is not my area of expertise, I build microsoft 365 and Microsoft Dynamics 365 systems and do powershell

Thanks in advance

Tim

@.:~ $ docker --version Docker version 23.0.2, build 569dd73 @.:~ $

@.***:~ $ docker compose version Docker Compose version v2.17.2

Tim - Nebular Cloud Nebular Cloud Ltd Ask us about our phone systems and internet connections t: +441625837990 e: @.*** | w: www.nebularcloud.co.uk We will never change our bank details without contacting you personally Your business data is at risk if you do not use 2 Factor Logins. Passwords alone are not enough Nebular Cloud Ltd is a company registered in England and Wales under number 10242111. ​VAT Number 243469104 Registered office: Westminster House, 10 Westminster Road, Macclesfield Cheshire SK10 1BX Nebular Cloud Ltd accepts no liability for the content of this email, or for the consequences of any actions taken on the basis of the information provided, unless that information is subsequently confirmed in writing. Any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the company.


From: Bennett Gunson @.> Sent: 05 April 2023 19:33 To: bgunson/onboardpi @.> Cc: Tim - Nebular Cloud @.>; Author @.> Subject: Re: [bgunson/onboardpi] Please can you help with install on existing Open Auto (Issue #36)

Hi, it seems the web app image is not able to start up properly as seen in the logs:

onboardpi-web-1 | # Fatal error in , line 0 onboardpi-web-1 | # unreachable code onboardpi-web-1 | # onboardpi-web-1 | # onboardpi-web-1 | # onboardpi-web-1 | #FailureMessage Object: 0xbecdb62c

The web image manages the settings file so its failure is also causing the obd service to fail. I can add a fix for the obd image to have better error handling, however the web image issue will need more investigating with Docker and until then the web app will not be reachable.

Can you please tell me your docker version (docker --version) and docker compose version (docker compose --version) and I will have a closer look for you?

— Reply to this email directly, view it on GitHubhttps://github.com/bgunson/onboardpi/issues/36#issuecomment-1497939796, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGA3WV7WCFOALH2N4QKYVZ3W7W3IJANCNFSM6AAAAAAWTEJG44. You are receiving this because you authored the thread.Message ID: @.***>

bgunson commented 1 year ago

Hi Tim,

Just want to say thanks for trying out my software, it means a lot.

I believe the issue is to do with the version of libseccomp installed with OAP version 16. I remember running into the same problem when I started development of the OAP integration (originally I was running this software on a headless Pi, just as a web server to access on my phone). On your fresh install of OAP try running the commands from issue #37 I posted and see if that works (I just updated the URL within your last comment here because I realized I had an old version that not longer exists listed).

wget http://ftp.us.debian.org/debian/pool/main/libs/libseccomp/libseccomp2_2.5.4-1+b3_armhf.deb
sudo dpkg -i libseccomp2_2.5.4-1+b3_armhf.deb

You may need to SSH/VNC into the pi to copy/paste the URL. Let me know if this helps.

NebularCloud commented 1 year ago

Not a problem, Hopefully it will mean that I can get a second screen working to display the speed on the small tacho in my mini as my 3d printed insert for the OAP screen covers the speed on the center console.

bgunson commented 1 year ago

Let me know how it goes and I'd love to here from you if you get your canbus coms going, I've been interested in it myself but do not think my car has it. (just ISO 9414-2).

Whether you do end up using the OBD port or not, I'm sure I can help set up OpenAuto API injection to get values from the carpihat to OAP dashboards in the future, if you'd like.