falkyre / nhl-led-scoreboard-img

A Raspberry Pi OS lite image built with the latest release of the NHL LED Scoreboard software fully installed. Built using the Hasicorp Packer and the packer-arm plugin extended with ansible and everything wrapped with docker.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

LED Display Flashing "Loading" Net Image After Fresh Install

ramsaytc opened this issue · comments

On a fresh install: setting one preferred team and answering all of the questions during initial setup (size of board, etc), the LED display is stuck in a loop, flashing the "Loading" screen.

See pastebin for config.json: https://pastebin.com/fM0kQVdn

Pastebin of sb-stderr: https://pastebin.com/mJtPw2fr

ssh to the raspberry pi. Run sb-stop then try this sudo pip3 install certifi. The run sb-start and see if your board runs.

ssh to the raspberry pi. Run sb-stop then try this sudo pip3 install certifi. The run sb-start and see if your board runs.

Done. Board is still looping. This was the output after sudo pip3 install certifi

Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple Requirement already satisfied: certifi in /usr/lib/python3/dist-packages (2018.8.24)

Try sudo pip3 install certifi --upgrade

That upgraded it to certifi-2020.12.5, however the board still runs in a loop.

Updated stderr: https://pastebin.com/5MncUh78

those ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056) is cause by the nhl server where we get the logos right ?

@falkyre I found something on the nhl-led-scoreboard side. the damn firstrun file does not exist in the release. not sure if that is related but definitely will prevent the scoreboard from working. I just pushed a fix, let me know if that fix this issue at the same time.

those ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1056) is cause by the nhl server where we get the logos right ?

Sort of yes. It's the requests library that we are using to pull that's spitting that out. The fix is supposed to be upgraded the certifi library. But that appears to have not worked. I am just getting a board setup with the image today so I can test it and see what's going on

@falkyre I found something on the nhl-led-scoreboard side. the damn firstrun file does not exist in the release. not sure if that is related but definitely will prevent the scoreboard from working. I just pushed a fix, let me know if that fix this issue at the same time.

First run file is more for the config.json. Shouldn't impact the image downloads.

It was a bad build of the image. I redid it locally and tried it out and it works fine. The new image has been uploaded. Try it out and let me know if it works for you and I'll close this issue

I redid my board with the updated image. It worked for about an hour, and now is stuck in the loading loop again. Is there a sleep command after X minutes?

Pastebin with sb-stderr log: https://pastebin.com/X6Ld8q8H

OK, I'm going to close this as the error you are seeing above is core to the code and not part of the image. Open another issue @ https://github.com/riffnshred/nhl-led-scoreboard/issues