Castopod install fails

I have tried a lot of times to install Castopod and it always fails. CE 24.xx.xx version. Has anyone got any ideas. Tried again this morning (sad I know). Obviously this is from the default catalogue…

Merry Xmas!

Did you check the logfile for any more information on why it fails? From shell you can check with

sudo cat /var/log/app_lifecycle.log

If you’re using hostpaths instead of iXVolume make sure that the datasets you want to use have the correct permissions set
Castopod runs as user 0 (root)
MariaDB runs as user 999 (netdata)
Redis runs as user 568 (apps)

But without more information on why it fails it’s just a guessing game…

Please be specific. There’s a world of difference between 24.04.x and 24.10.x when it comes to apps.

I have 2 x systems one with 24.04 and one with 24.10. It fails on both….
Failed up action for castopod app is the error I get

Focus on the 24.10 for now, 24.04 uses an entirely different subsystem for apps (k3s instead of docker).

The next logical step is to follow what @LarsR wrote, basically, more information is needed.

not much info given - error 56 app won’t come up. Rest is pulling this, pulling that. Using iXvolumes, nothing changed apart from the passwords

I have a suspicion, but i’m not sure. When i tried to install it, it fails too without any meaningful error in the lifecycle.log. My guess is that it’s missing the storage setup for the redis container. At least i couldn’t find a storage path for it in the questions.yml on the apps github and i don’t believe it’s included in the config storage for catstopod

Edit:
yeah im pretty sure it’s missing the redis storage path, because the original yaml has one included…

I couldn’t get the truenas app to run, but i got it running as a custom app via compose file.
If you’re interested you can use this compose to get it working:

version: "3.7"

services:
  app:
    image: castopod/castopod:latest
    container_name: "castopod-app"
    volumes:
      - /mnt/Poolname/datasetname/castopod-media:/var/www/castopod/public/media # replace /mnt/Poolname/datasetname/ with path to your dataset
    environment:
      MYSQL_DATABASE: castopod
      MYSQL_USER: castopod
      MYSQL_PASSWORD: changeme
      CP_BASEURL: "https://castopod.example.com" #if using CP_DISABLE_HTTPS: 1 can be set to http://truenasip:30085 for local access/testing
      CP_ANALYTICS_SALT: changeme #insert random 64 character string
      CP_CACHE_HANDLER: redis
      CP_REDIS_HOST: redis
      CP_REDIS_PASSWORD: changeme
#      CP_DISABLE_HTTPS: 1  # use if you want to disable http ->https redirect
    networks:
      - castopod-app
      - castopod-db
    ports:
      - 30085:8000
    restart: unless-stopped

  mariadb:
    image: mariadb:10.5
    container_name: "castopod-mariadb"
    networks:
      - castopod-db
    volumes:
      - /mnt/Poolname/datasetname/castopod-db:/var/lib/mysql # replace /mnt/Poolname/datasetname/ with path to your dataset
    environment:
      MYSQL_ROOT_PASSWORD: changeme
      MYSQL_DATABASE: castopod
      MYSQL_USER: castopod
      MYSQL_PASSWORD: changeme
    restart: unless-stopped

  redis:
    image: redis:7.0-alpine
    container_name: "castopod-redis"
    command: --requirepass changeme
    volumes:
      - /mnt/Poolname/datasetname/castopod-cache:/data # replace /mnt/Poolname/datasetname/ with path to your dataset
    networks:
      - castopod-app

volumes:
  castopod-media:
  castopod-db:
  castopod-cache:

networks:
  castopod-app:
  castopod-db:
x-portals:
  - host: 0.0.0.0 # replace 0.0.0.0 with your truenas ip
    name: Web UI
    path: /
    port: 30085
    scheme: http

many thanks Lars. I will get on it in the new year and this will help a lot!