Skip to content
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

Latest version not working on my Raspberry 2B+ #558

Open
lukemt opened this issue Nov 24, 2024 · 10 comments
Open

Latest version not working on my Raspberry 2B+ #558

lukemt opened this issue Nov 24, 2024 · 10 comments

Comments

@lukemt
Copy link

lukemt commented Nov 24, 2024

I just upgraded to the latest version using docker on my Raspberry 2B+ and it does not work anymore. It prints: Segmentation fault

Log output:

pi@raspberrypi:~/projects/tgtg $ docker compose up --force-recreate
WARN[0000] /home/pi/projects/tgtg/docker-compose.yaml: the attribute `version` is obsolete, it will be ignored, please remove it to avoid potential confusion 
[+] Running 15/15
 ✔ scanner Pulled                                                                                                                 420.3s 
   ✔ 655a25168115 Pull complete                                                                                                    41.5s 
   ✔ 9b9be0ab417d Pull complete                                                                                                    64.0s 
   ✔ f00f9beb254e Pull complete                                                                                                   224.3s 
   ✔ 90294d5f81f6 Pull complete                                                                                                   229.2s 
   ✔ 82ff1bc6b73a Pull complete                                                                                                   232.5s 
   ✔ 0cf3d3e23185 Pull complete                                                                                                   234.1s 
   ✔ 9d031c3ba913 Pull complete                                                                                                   234.5s 
   ✔ c8991df6588e Pull complete                                                                                                   235.2s 
   ✔ 546191cb9ece Pull complete                                                                                                   235.8s 
   ✔ b73b1f4532e6 Pull complete                                                                                                   242.5s 
   ✔ 9d5d0aba90ac Pull complete                                                                                                   413.1s 
   ✔ 71ce3d068e23 Pull complete                                                                                                   414.8s 
   ✔ b64b8b7d7c29 Pull complete                                                                                                   415.4s 
   ✔ 4f4fb700ef54 Pull complete                                                                                                   415.7s 
[+] Running 2/2
 ✔ Network tgtg_default      Created                                                                                                1.8s 
 ✔ Container tgtg-scanner-1  Created                                                                                               12.1s 
Attaching to scanner-1
scanner-1  | Updating UID and GID to 1000:1000
scanner-1  | usermod: no changes
scanner-1  | Segmentation fault
scanner-1 exited with code 139
pi@raspberrypi:~/projects/tgtg $ 

I tried several times and re-downloaded everything.

As for comparison I tried the new version on my intel macbook and there it did work with no issues.

@Der-Henning
Copy link
Owner

Der-Henning commented Nov 24, 2024

Hi @lukemt.
I don't have any amrv7 based systems here for debuging.
No problems on armv8 and x86 for me.
Are you using the default debian or the alpine based image?
Could you please try to build the image on your pi?
So we can check if it is a problem with one of the used libraries.

@lukemt
Copy link
Author

lukemt commented Nov 24, 2024

Hi @Der-Henning
Thanks for replying so promptly!
I was using this image in the docker-compose: derhenning/tgtg:latest-alpine
Yes I already started building the image on the pi! Unfortunately it does take an eternity to build on the pi. I'm 25 minutes in already :D

@Der-Henning
Copy link
Owner

Yes, many of the required packages are not available for armv7 and need to be build on installation.
Even the github workflow runner needs 10 minutes.

@lukemt
Copy link
Author

lukemt commented Nov 24, 2024

Holy cow, after 1h6m42s it finished building. It started and it works just fine :D

@Der-Henning
Copy link
Owner

@lukemt Could you please test whether the image with the tag v1.22.0-alpine has the same problem?

@lukemt
Copy link
Author

lukemt commented Nov 26, 2024

I will! Unfortunately my pi has only isdn internet speed, so i will have to change SIM-Cards temporarily, which I can't do remotely, in oder to download the new version. I will try to test it later today or tomorrow. Sorry about that!

@aldebaran54
Copy link

Hello, Thanks for your comments. I have the same problem on a pi0.
Could you please explain how to build the image ?
Thanks

@lukemt
Copy link
Author

lukemt commented Nov 28, 2024

@aldebaran54 yes, you clone the repo. Then comment out the image in the docker-compose.yaml and uncomment the build-context-dockerfile section.

Then docker compose up as usual

@lukemt
Copy link
Author

lukemt commented Nov 28, 2024

Unfortunately I couldn't get to testing the v1.22.0-alpine tagged version. I'm also now away from home. @aldebaran54 Can you please try that too?

@aldebaran54
Copy link

I also confirm that it works after an image rebuild on my pi0 ! (armv6). I can share the image if necessary.
Thanks a lot !

I tried with the image tgtg and the tag v1.22, but same issue with exit and code 139. But not surprising because it's the same image ? same id ? Did I misunderstood something ?

image pull with the tag, modification in the docker compose file, and docker compose
..@raspberrypi:~/tgtg $ docker image ls
REPOSITORY TAG IMAGE ID CREATED SIZE
tgtg-scanner latest df7a022a9665 2 hours ago 120MB
derhenning/tgtg latest-alpine ed1f24f29cab 5 days ago 121MB
derhenning/tgtg v1.22.0-alpine ed1f24f29cab 5 days ago 121MB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants