-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Jam 0.2.0 nginx issue on Raspberry Pi 5 (umbrelOS) #123
Comments
@theborakompanioni I am the one who is affected from this issue on my new RPi 5. I think we have discussed that before in Telegram. Seems that the issue can only be solved by Jam developers. Thank you in advance for taking a look into it! |
This is happening to me as well. Thanks for posting the issue! Confirming that setting |
I have exact same issue - RPi 5, UmbrelOS 1.1, Jam 0.2.0 |
Hey guys! Thanks for reporting. I will transfer this issue to the docker repo. Fix will follow shortly. |
Thanks @theborakompanioni, sorry for opening this issue in the wrong place! |
Expected behavior
Expected Jam 0.2.0 to work when installed on a Raspberry Pi 5 running umbrelOS 1.x.
Actual behavior
The
joinmarket-webui/jam-standalone
Docker container shows that nginx exits with an error a few times and is then stopped:This prevents access to the UI.
The specific nginx error is related to the amount of memory allocated to a shared memory zone named "upstreams" in the default.conf:
Currently this is set to 64K:
If I change the memory allocation to 128K and start nginx, then the Jam UI is accessible.
Steps to reproduce the problem
Specifications
Additional context
Jam docker-compose.yml on umbrel app store for reference: https://github.com/getumbrel/umbrel-apps/blob/master/jam/docker-compose.yml
This issue is only occurring on the Raspberry Pi 5. I tested and Jam is working successfully on a Raspberry Pi 4, Umbrel Home, and custom x86 install. Have you received any reports of this error for Raspberry Pi 5 users?
One quick fix could be to increase the memory allocation of "upstreams" to, say, something like 128K, but I have not explored the full implications of doing so. Ideally, we're trying to avoid bind mounting the default.conf nginx file to the host and including our own modified version, because we would then not inherit any changes that Jam may make to this default config file in the future unless we realize the default behaviour has changed and modify it ourselves.
The text was updated successfully, but these errors were encountered: