Installing Gladys V4 on Raspberry Pi 3B

Hello,

I’m trying to install Gladys V4 on an SSD with a Raspberry Pi 3B but without success. I’ve tried different methods and the one that worked best only allowed me to install Gladys on an SD card but not on an SSD.

Another problem: when installing a Zigbee2MQTT dongle (« SONOFF Zigbee 3.0 USB Dongle Plus »), the MQTT container was installed but not the ZIGBEE2MQTT container.

Does anyone have a solution for installing on an SSD? I should mention that I, of course, tried the method shown in the video « Install a Raspberry Pi on an external SSD without command line » but it doesn’t seem suitable for a Pi 3B which cannot boot from USB by default.

Thanks for any help you can provide.

You have the official documentation here https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#raspberry-pi-2b-3a-3b-cm3-cm3-zero-2-w

The tutorial indicates this command

echo program_usb_boot_mode=1 | sudo tee -a /boot/firmware/config.txt

Then to verify

vcgencmd otp_dump | grep 17: should return 0x3020000a

Can you give us the output of the command:

docker logs gladys-z2m-zigbee2mqtt

Good evening cicoub13,

It took me a little while to reply because I wanted to be sure of my procedure. I’ll set the scene: I’m a novice with Raspberry Pi (Raspi) and Linux.

  • Using « Raspberry Pi Imager » on my PC running Windows 10, I wrote « Raspberry Pi OS (Legacy,32 bits) » to the SD card and then booted the Raspberry Pi from it

  • In the Raspberry Pi command window (I don’t know if that’s what it’s called in Linux), I copied/pasted the command echo program_usb_boot_mode=1 | sudo tee -a /boot/firmware/config.txt then I performed the check vcgencmd otp_dump | grep 17: whose response was 0x3020000a.

  • Because I couldn’t find that file in the filesystem under Linux, I opened the « config.txt » file on my PC and did not see the line « program_usb_boot_mode=1 » at the end of the file. I therefore added it, saved the file, then rebooted the Raspberry Pi from the SD card.

  • Using « Raspberry Pi Imager », I copied the Gladys image to my SSD and after removing the SD, I booted from the SSD and… nothing happens.

  • Since I suspected insufficient power, I added a 3A power supply connected to the GPIO port in addition to the 3A supply on the µUSB connector.

  • I tried again to boot from the SSD but no improvement.

  • I repeated the same procedure after transferring « Raspberry Pi OS (Legacy,32 bits) » to my SSD to rule out an OS problem but still no improvement. :worried: