I’m using a 4Gb RPi 4b and I followed your steps using the raspberry pi os-lite [legacy] OS, installed from the Raspberry Pi Imager v1.7.2:
$ cat /etc/os-release
PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
NAME="Raspbian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=raspbian
ID_LIKE=debian
[only difference being, I used a USB flash drive]:
$ sudo raspi-config
$ passwd pi
$ sudo raspi-config
$ sudo apt update && sudo apt upgrade -y && sudo apt install python3
$ sudo su
# bash <(curl -sL https://www.screenly.io/install-ose.sh)
# reboot
… but I simply get the commonly-reported “black screen” after the screenly logo. I can ssh in, but no web service is running:
pi@screenlypi:/var/log $ sudo netstat -tnlp | grep 80
pi@screenlypi:/var/log $ sudo netstat -tnlp | grep 443
pi@screenlypi:/var/log $ sudo netstat -tnlp | grep 8080
the entries in /var/log/daemon.log & syslog file:
Jun 22 22:58:55 screenlypi systemd[1]: Started Screenly Host Agent.
Jun 22 22:58:55 screenlypi python3[1292]: INFO:root:Connecting to redis...
Jun 22 22:58:55 screenlypi python3[1292]: Traceback (most recent call last):
Jun 22 22:58:55 screenlypi python3[1292]: File "/usr/lib/python3/dist-packages/redis/connection.py", line 492, in connect
Jun 22 22:58:55 screenlypi python3[1292]: sock = self._connect()
Jun 22 22:58:55 screenlypi python3[1292]: File "/usr/lib/python3/dist-packages/redis/connection.py", line 550, in _connect
Jun 22 22:58:55 screenlypi python3[1292]: raise err
Jun 22 22:58:55 screenlypi python3[1292]: File "/usr/lib/python3/dist-packages/redis/connection.py", line 538, in _connect
Jun 22 22:58:55 screenlypi python3[1292]: sock.connect(socket_address)
Jun 22 22:58:55 screenlypi python3[1292]: ConnectionRefusedError: [Errno 111] Connection refused
Jun 22 22:58:55 screenlypi python3[1292]: During handling of the above exception, another exception occurred:
Jun 22 22:58:55 screenlypi python3[1292]: Traceback (most recent call last):
Jun 22 22:58:55 screenlypi python3[1292]: File "/home/pi/screenly/host_agent.py", line 52, in <module>
Jun 22 22:58:55 screenlypi python3[1292]: subscriber_loop()
Jun 22 22:58:55 screenlypi python3[1292]: File "/home/pi/screenly/host_agent.py", line 41, in subscriber_loop
Jun 22 22:58:55 screenlypi python3[1292]: pubsub.subscribe(CHANNEL_NAME)
Jun 22 22:58:55 screenlypi python3[1292]: File "/usr/lib/python3/dist-packages/redis/client.py", line 3096, in subscribe
Jun 22 22:58:55 screenlypi python3[1292]: ret_val = self.execute_command('SUBSCRIBE', *iterkeys(new_channels))
Jun 22 22:58:55 screenlypi python3[1292]: File "/usr/lib/python3/dist-packages/redis/client.py", line 3003, in execute_command
Jun 22 22:58:55 screenlypi python3[1292]: self.shard_hint
Jun 22 22:58:55 screenlypi python3[1292]: File "/usr/lib/python3/dist-packages/redis/connection.py", line 994, in get_connection
Jun 22 22:58:55 screenlypi python3[1292]: connection.connect()
Jun 22 22:58:55 screenlypi python3[1292]: File "/usr/lib/python3/dist-packages/redis/connection.py", line 497, in connect
Jun 22 22:58:55 screenlypi python3[1292]: raise ConnectionError(self._error_message(e))
Jun 22 22:58:55 screenlypi python3[1292]: redis.exceptions.ConnectionError: Error 111 connecting to 127.0.0.1:6379. Connection refused.
Jun 22 22:58:55 screenlypi systemd[1]: screenly-host-agent.service: Main process exited, code=exited, status=1/FAILURE
Jun 22 22:58:55 screenlypi systemd[1]: screenly-host-agent.service: Failed with result 'exit-code'.
Network access is good:
pi@screenlypi:/var/log $ ping 1.1.1.1
PING 1.1.1.1 (1.1.1.1) 56(84) bytes of data.
64 bytes from 1.1.1.1: icmp_seq=1 ttl=55 time=10.3 ms
64 bytes from 1.1.1.1: icmp_seq=2 ttl=55 time=8.99 ms
Anyone have any input as to what the problem may be?
"I found where the problem comes from: Some raspberry Pi 4 do not come with the same bootloader.
What I have done :
So I started by updating my Raspberry at the bootloader level with “Raspberry Pi imager”
Then you have to install (still with Raspberry Pi imager) the Debian image: Raspberry pi OS lite (Legacy).
Connect the raspberry in ethernet and to a screen + keyboard.
After once in the terminal just do the commands:
sudo apt update
sudo apt upgrade -y
sudo apt install python3 (in case it is not installed)
sudo su (to become super user, always in case)
bash <(curl -sL https://www.screenly.io/install-ose.sh)
The installation of screenly starts:
Do you want to continue: Yes
Which version: (2) Developer
Direct the Raspberry with screenly: Yes
Total system overhaul: Yes
Do you want to restart: Yes (logical …)
And when restarting, waiting a few minutes, the black screen gives way to screenly
If it can help…."