Teddycloud on truenas scale

Hello everybody,
Does anyone run teddycloud as a custom app on truenas scale (ElectricEel-24.10.1)?
Thanks

Yes, i tried it out just a few minutes ago.

Nice! could you provide your yaml?

I set this up as TrueNAS Custom App not with .yaml
The only thing to take care is that TrueNAS is using port 443 for his own https
System > General Settings > GUI > Settings > Web Interface HTTPS Port
I changed this port to 444 so I can run my Container on 443.
This is important because TeddyCloud can not connect to your TonieBox without this Port.

Just in case I confused you. I mean I installed TeddyCloud on TrueNAS Scale using the GUI for Custom Apps :slight_smile:
If you have any questions, feel free to contact me.

Hi, no confusion, but the recipient of the teddycloud service was keeping me busy :-).
I now have the teddycloud up and running as a Home assistant add on.
Thats a satisfying solution for me right now.
thanks!

1 Like

mmmh I just figured out that the my way needs some extra steps…
@S2ciOnur could you provide your custom applications configuration? as this is new to me…
Repo: ghcr.io/toniebox-reverse-engineering/teddycloud:latest i guess? container config? network config?

thanks in advance!

PS.:
Port 443 is already available :slight_smile:
CC3200 programming hardware should arrive the next days :smiley:

First i created the folder structure on my system and give them some rights (chmod)

After that it is important to check the https port of your TrueNAS as i mentioned before.

Then I just “translated” the provided Docker compose into the GUI.

Means

  • name
  • hostname
  • ports (i skipped Port 80)
  • volumes (Type Host)

https://github.com/toniebox-reverse-engineering/teddycloud/blob/master/docker/docker-compose.yaml

For nice Integration in your TrueNAS you can also set Web UI on Port 8443 (HTTPS)

thanks a lot! I will try and if necessary ask for help here :slight_smile:

1 Like

could this be a rights-issue?

2025-02-05 18:33:02.049526+00:00INFO |cert.c:0042:cert_generate_rsa| Generating RSA Key... (slow, very slow!!!)
2025-02-05 18:33:17.989010+00:00INFO |tls_adapter.c:0204:read_certificate| File '/teddycloud/certs/server/ca-root.pem' assumed PEM style
2025-02-05 18:33:17.989044+00:00INFO |tls_adapter.c:0201:read_certificate| File '/teddycloud/certs/server/ca-key.pem' detected as DER style RSA PRIVATE KEY
2025-02-05 18:33:17.989058+00:00INFO |tls_adapter.c:0204:read_certificate| File '/teddycloud/certs/server/teddy-cert.pem' assumed PEM style
2025-02-05 18:33:17.989065+00:00INFO |tls_adapter.c:0201:read_certificate| File '/teddycloud/certs/server/teddy-key.pem' detected as DER style RSA PRIVATE KEY
2025-02-05 18:33:17.989068+00:00ERROR|tls_adapter.c:0189:read_certificate| Failed to open '/teddycloud/certs/client/ca.der' for cert type detection
2025-02-05 18:33:17.989074+00:00ERROR|tls_adapter.c:0376:load_cert| Loading cert '/teddycloud/certs/client/ca.der' failed
2025-02-05 18:33:17.989077+00:00ERROR|tls_adapter.c:0189:read_certificate| Failed to open '/teddycloud/certs/client/client.der' for cert type detection
2025-02-05 18:33:17.989080+00:00ERROR|tls_adapter.c:0376:load_cert| Loading cert '/teddycloud/certs/client/client.der' failed
2025-02-05 18:33:17.989103+00:00ERROR|tls_adapter.c:0189:read_certificate| Failed to open '/teddycloud/certs/client/private.der' for cert type detection
2025-02-05 18:33:17.989118+00:00ERROR|tls_adapter.c:0376:load_cert| Loading cert '/teddycloud/certs/client/private.der' failed
2025-02-05 18:33:17.989124+00:00INFO |settings.c:1667:settings_load_certs_id| ********************************************
2025-02-05 18:33:17.989141+00:00INFO |settings.c:1668:settings_load_certs_id|    FINISHED
2025-02-05 18:33:17.989165+00:00INFO |settings.c:1669:settings_load_certs_id| ********************************************
2025-02-05 18:33:17.995061+00:00INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.custom.json with size 0
2025-02-05 18:33:17.995086+00:00INFO |toniesJson.c:0399:tonies_readJson| Create empty json file
2025-02-05 18:33:17.995104+00:00INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.json with size 0
2025-02-05 18:33:17.995115+00:00INFO |toniesJson.c:0399:tonies_readJson| Create empty json file
2025-02-05 18:33:17.995139+00:00INFO |toniesJson.c:0100:tonies_update| Updating tonies.json from api.revvox.de...
2025-02-05 18:33:17.995148+00:00INFO |cloud_request.c:0200:web_request| Connecting to HTTP server api.revvox.de:443...
2025-02-05 18:33:17.996390+00:00INFO |cloud_request.c:0252:web_request|   trying IP: 157.90.183.226
2025-02-05 18:33:18.118821+00:00INFO |cloud_request.c:0382:web_request| Redirecting to: https://raw.githubusercontent.com/toniebox-reverse-engineering/tonies-json/release/tonies.json
2025-02-05 18:33:18.118936+00:00INFO |cloud_request.c:0200:web_request| Connecting to HTTP server raw.githubusercontent.com:443...
2025-02-05 18:33:18.121294+00:00INFO |cloud_request.c:0252:web_request|   trying IP: 185.199.108.133
2025-02-05 18:33:18.675899+00:00INFO |toniesJson.c:0124:tonies_update| ... success updating tonies.json from api.revvox.de, reloading
2025-02-05 18:33:18.675928+00:00INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.custom.json with size 2
2025-02-05 18:33:18.675932+00:00INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.json with size 5138696
2025-02-05 18:33:18.806951+00:00INFO |toniesJson.c:0211:tonieboxes_update| Updating tonies.json from api.revvox.de...
2025-02-05 18:33:18.806990+00:00INFO |cloud_request.c:0200:web_request| Connecting to HTTP server api.revvox.de:443...
2025-02-05 18:33:18.808151+00:00INFO |cloud_request.c:0252:web_request|   trying IP: 157.90.183.226
2025-02-05 18:33:18.931830+00:00INFO |cloud_request.c:0382:web_request| Redirecting to: https://raw.githubusercontent.com/toniebox-reverse-engineering/tonies-json/release/tonieboxes.json
2025-02-05 18:33:18.931955+00:00INFO |cloud_request.c:0200:web_request| Connecting to HTTP server raw.githubusercontent.com:443...
2025-02-05 18:33:18.934027+00:00INFO |cloud_request.c:0252:web_request|   trying IP: 185.199.109.133
2025-02-05 18:33:18.992609+00:00INFO |toniesJson.c:0238:tonieboxes_update| ... success updating tonieboxes.json from api.revvox.de, reloading
2025-02-05 18:33:19.001164+00:00INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.custom.json with size 2
2025-02-05 18:33:19.001194+00:00INFO |toniesJson.c:0280:tonies_readJson| Trying to read /teddycloud/config/tonies.json with size 5138696
2025-02-05 18:33:19.383314+00:00INFO |settings.c:1513:settings_loop| Settings file changed. Reloading.
2025-02-05 18:33:19.383435+00:00INFO |settings.c:0851:settings_load_ovl| Load settings from /teddycloud/config/config.ini
2025-02-05 18:33:19.384096+00:00INFO |tls_adapter.c:0204:read_certificate| File '/teddycloud/certs/server/ca-root.pem' assumed PEM style
2025-02-05 18:33:19.384177+00:00INFO |tls_adapter.c:0201:read_certificate| File '/teddycloud/certs/server/ca-key.pem' detected as DER style RSA PRIVATE KEY
2025-02-05 18:33:19.384298+00:00INFO |tls_adapter.c:0204:read_certificate| File '/teddycloud/certs/server/teddy-cert.pem' assumed PEM style
2025-02-05 18:33:19.384382+00:00INFO |tls_adapter.c:0201:read_certificate| File '/teddycloud/certs/server/teddy-key.pem' detected as DER style RSA PRIVATE KEY
2025-02-05 18:33:19.384452+00:00ERROR|tls_adapter.c:0189:read_certificate| Failed to open '/teddycloud/certs/client/ca.der' for cert type detection
2025-02-05 18:33:19.384476+00:00ERROR|tls_adapter.c:0376:load_cert| Loading cert '/teddycloud/certs/client/ca.der' failed
2025-02-05 18:33:19.384492+00:00ERROR|tls_adapter.c:0189:read_certificate| Failed to open '/teddycloud/certs/client/client.der' for cert type detection
2025-02-05 18:33:19.384536+00:00ERROR|tls_adapter.c:0376:load_cert| Loading cert '/teddycloud/certs/client/client.der' failed
2025-02-05 18:33:19.384559+00:00ERROR|tls_adapter.c:0189:read_certificate| Failed to open '/teddycloud/certs/client/private.der' for cert type detection
2025-02-05 18:33:19.384574+00:00ERROR|tls_adapter.c:0376:load_cert| Loading cert '/teddycloud/certs/client/private.der' failed```

Hmm
Is WebUI available?
The errors looks like missing client certifcates which is normal as you do not flash you ROM at this point.
If there is another problem,
You can contact me on Discord.

1 Like