toniebox-reverse-engineering / teddycloud

teddyCloud is an open source server replacement for the Boxine Cloud
https://toniebox-reverse-engineering.github.io/docs/tools/teddycloud/
GNU General Public License v2.0
422 stars 33 forks source link

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

Open bskp opened 3 days ago

bskp commented 3 days ago

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:

Any thoughts and comments appreciated!

henryk86 commented 3 days ago

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

bskp commented 2 days ago

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