Support for mongodb?

Hi, im trying to package my app for start9.

Does anyone have an example of an app that uses mongodb? I’m having trouble getting it to run with an “Illegal instruction” error when i try to start the mongodb service. Exact error is

/usr/local/bin/docker_entrypoint.sh: line 43: 3 Illegal instruction mongod --dbpath /data/db --bind_ip 127.0.0.1 --port 27017 --quiet

I’m building on a mac, start9 is running on a raspberry pi.

Steps to reproduce:

  1. Clone the repo here
  2. Run make
  3. sideload / upload the hello-world-fullstack.s9pk
  4. start the service

You will see app logs with

2025-09-27T08:03:36-04:00  Starting Hello World service...
2025-09-27T08:03:36-04:00  Starting MongoDB...
2025-09-27T08:03:36-04:00  MongoDB started with PID: 3
2025-09-27T08:03:36-04:00  Waiting for MongoDB to be ready...
2025-09-27T08:03:36-04:00  Waiting for MongoDB... (1/30)
2025-09-27T08:03:37-04:00  /usr/local/bin/docker_entrypoint.sh: line 43: 3 Illegal instruction mongod --dbpath /data/db --bind_ip 127.0.0.1 --port 27017 --quiet
2025-09-27T08:03:37-04:00  Waiting for MongoDB... (2/30)
2025-09-27T08:03:38-04:00  Waiting for MongoDB... (3/30)

You might get more assistance in a developer-focused community:

1 Like