Install Resilio on 24.10

After much searching, I haven’t been able to find how to install Resilio on the latest version of Truenas 24.10. Should I use the “custom app” button?

If so, can I get some help (I’m new to Truenas)?

the custom app lets you paste in a compose file like this

---
services:
  resilio-sync:
    image: lscr.io/linuxserver/resilio-sync:latest
    container_name: resilio-sync
    environment:
      - PUID=1000
      - PGID=1000
      - TZ=Etc/UTC
    volumes:
      - /path/to/resilio-sync/config:/config
      - /path/to/downloads:/downloads
      - /path/to/data:/sync
    ports:
      - 8888:8888
      - 55555:55555
    restart: unless-stopped

edit the volumes to hostpaths and the folders you want to sync, change the PUID and GUID for the one you want to use and you should be good to go

Thanks a lot!

Resilio seems to start but I’m having a few bugs. If I go too fast in creating folders, it tells me that I don’t have the permissions to create the folder but it creates it anyway.
After a few synchronizations, it was stuck and I had to restart the server. It was able to synchronize the folder, but after that, the GUI stopped responding.

I tried to stop and replay the application, but the application lifecycle says that port 8888 is already in use.
But sudo docker container ls doesn’t list resilio at all.

I restart the server and try to edit the configuration to see if anything is wrong and on the edit page, I get a popup with an error title and an error detected by reading the application as a message.

The application still works, but I don’t know what the problem is.

On the normal catalog application, we can select 2 cpu max. How many cpu does this custom configuration have? Maybe it only has one and needs more?

And I don’t see the “webui” button, I need to go to port 8888 myself. Is it possible to add this button to the configuration? But what if I get the error message when trying to edit the config?

Did you change the PUID and GUID? 1000 was just a placeholder value, sorry i forgot to add a info text to that in the compose file. If the user 1000 does not exist as a user in truenas the container tries to write data without permissions ( or is trying to do so as a user with wrong permissions, in case a user with UID 1000 already exists). I personally use UID and GUID 568 (system user called apps) just because it already has permissons on my Datasets from the old Kubernetes apps system.

Yes, I created a PUID and a GUID 3000.

After a full night where the log was crazy and the server unreachable (I have a lot of files to synchronize), resilio finally managed to synchronize this big folder.
Htop showed that only 1 cpu was used and that the web interface didn’t respond like the rest of the server throughout the night.

I think resilio could be better configured with the custom configuration file. I couldn’t find any documentation about it. And I’ve tried editing the file in /mnt/.ix-apps /user_config.yaml to edit the configuration (I’m not sure this is the right place) but it doesn’t make any changes.

Anyway, thanks for the help

you could try to add this to the compose file, pls adjust values before using it the 4.0 and 200M are placeholders again.

deploy:
      resources:
        limits:
          cpus: "4.0"
          memory: 200M

If i try to edit the app i get this error:

Is there another way, on command line maybe ?

That’s a known bug from the RC version. Don’t know if there’s a workaround for it. But it will be fixed in the final version

FYI