teddycloud icon indicating copy to clipboard operation
teddycloud copied to clipboard

Teddycloud on arm/v6 architectures (Raspberry Pi A+ v1.1)

Open bskp opened this issue 1 year ago • 2 comments

While setting up my old Raspberry Pi Model A+ with

I realized that the architecture arm/v6 is not supported:

 ⠧ teddycloud Pulling                                                                 6.7s 
no matching manifest for linux/arm/v6 in the manifest list entries

and found the corresponding commit where arm/v6 was removed from the build matrix:

remove arm v6 (doesn't work)

However, it's still part of the Alpine buildI'd be happy to hear if anybody can confirm this working!

To be honest, I don't have too much an idea of what I'm trying to do, unknowns include:

  • Why did the teddycloud build not work vor arm/v6?
  • Will it be possible to get docker running on Alpine Linux 32-Bit?

Any thoughts and comments appreciated!

bskp avatar Oct 11 '24 08:10 bskp

alpine version should work, but if you want to use the stream functionality of TeddyCloud, there is still something broken.

If docker is running on your Raspi, then you can run a alpine container in it. just switch to that container directly:

https://github.com/toniebox-reverse-engineering/teddycloud/pkgs/container/teddycloud/287489053?tag=develop_alpine

or release:

https://github.com/toniebox-reverse-engineering/teddycloud/pkgs/container/teddycloud/284595026?tag=tc_v0.6.1_alpine

henryk86 avatar Oct 11 '24 09:10 henryk86

Oh my, I was already about to setup my Raspberry from scratch with Alpine Linux… thank you for saving me from that! I'm happy to confirm that teddycloud is running on a Raspberry Pi 1 A+ with this minor change in docker-compose.yaml:

services:
  teddycloud:
    container_name: teddycloud
    hostname: teddycloud
    image: ghcr.io/toniebox-reverse-engineering/teddycloud:tc_v0.6.1_alpine
    ports:
     - 80:80 #optional (for the webinterface)
     - 8443:8443 #optional (for the webinterface)
     - 443:443 #Port is needed for the connection for the box, must not be changed!
    volumes:
      - ./certs:/teddycloud/certs
      - ./config:/teddycloud/config
      - ./content:/teddycloud/data/content
      - ./library:/teddycloud/data/library
      - ./firmware:/teddycloud/data/firmware
      - ./cache:/teddycloud/data/cache
    restart: unless-stopped

bskp avatar Oct 11 '24 14:10 bskp