-
-
Notifications
You must be signed in to change notification settings - Fork 18
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
Startup fatal error, unreachable code #152
Comments
Thanks Matthias for bringing this to my attention. May I ask if you’re running 64-bit or 32-bit? My first guess is that there is an issue with crosscompiling the image (we use github actions on AMD64, to build the image for all architectures). Will give it a go tomorrow. |
It's 32bit You just gave me the idea to try to built the docker image myself and I bumped into the same issue while building, during step 4 (npm ci):
|
I just checked out tag v3.1.1 and tried to built it. Gives me the same error. So I guess the issue is not related to the project directely but to some dependency that got updated in between your built of beta8 and beta9. I did some more testing and made the same built test on another pi4 8GB and a pi3 model B. Both also running raspbian buster with a very similar setup (minimal install enough to run docker containers). It seems that both builts went fine. So this might actually be a device related issue. Although I can't image the difference (except the docker containers they are running) between both Pi4's. |
I updated the pi4 with the issue but the issue persists. Since this seems to be device related, I guess this github issue can be closed? I'll run your super app on one of my other pi's. Many thanks! |
There goes my guess that is was related to the builds (and the easy fix). Maybe it's related to 32-bit and alpine node container. Will try a different Dockerfile tomorrow, one that doesn't build the app but instead just installs the npm version of the tagged release. |
Just leave it open, someone else also reported something similar already (on another channel). So I still have to look into. Since you're enjoying it so much may I be blunt and direct you to this page 🤩 |
@VBP8501 do you by any change have the following versions for me?
Then I'm going to see if I can see anything similar on this side |
Well since you ask so nicely ^^. You should have a 10€ (onetime) option though.
|
I’m trying to create a new github action for a different way of building the app. See here. This should skip the compiling in every image. And should make the builds faster and more stable. my guess is that once I have the builds worked out, we should give it a go with the new image on your “broken” pi.
I’ve just updated my sponsoring profile, to now include one-time tiers and summarizing my next project. |
🎉 This issue has been resolved in version 3.1.3-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@VBP8501 could you try starting the new package on your "broken" pi? I've also double published to Github container registry because of the pricing changes at Dockerhub. See https://github.com/svrooij/sonos2mqtt/pkgs/container/sonos2mqtt Or just change the image name to I'm running the latest beta on my device ( uname -a
# Linux ubuntu 5.4.0-1038-raspi #41-Ubuntu SMP PREEMPT Thu Jun 17 14:17:21 UTC 2021 armv7l armv7l armv7l GNU/Linux
lsb_release -a
# Distributor ID: Ubuntu
# Description: Ubuntu 20.04.2 LTS
# Release: 20.04
# Codename: focal
docker --version
# Docker version 20.10.7, build f0df350 |
I'm afread that the new package also gives me the error:
When I try to run the image |
I guess you where right all along. I'm running that specific image on the same hardware as you. |
I stumbled across this issue: Koenkk/zigbee2mqtt#7662 (comment) Ironically it's also a 2mqtt project. They have a similar issue. I changed the dockerfile to So it must be related to some change in node:alpine |
🎉 This issue has been resolved in version 3.1.3-beta.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
@VBP8501 Koen is right a lot of times.... I also published container that has the same fix. |
🎉 This issue has been resolved in version 3.2.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Hello,
I have an issue with starting up the docker image with tag v3.1.2. I see this in my docker console:
Starting up worked fine in v3.1.1. I run docker on Raspberry Pi 4 (8GB ram) with raspbian buster. I have traced back the start of the issue to v3.1.1beta9. beta8 ran with no issue.
The text was updated successfully, but these errors were encountered: