Adding settings to resilio sync on truenas scale (truecharts)

Dan Rimer

Dabbler
Joined
Apr 26, 2015
Messages
14
Hi there

My Resilio Sync app is displaying a (non blocking) error message in the GUI "Agent Run Out Of System Notify Watchers". The fix from Resilio, as detailed on here, is to change the variable max_user_watches, either temporarily with:
Code:
sudo sysctl fs.inotify.max_user_watches=XXXXX
or permanently with:
Code:
echo fs.inotify.max_user_watches=XXXXXX | sudo tee -a /etc/sysctl.conf
sudo sysctl -p


The problem is that the app has a readonly filesystem and the sudo command doesn't exist.

As you can guess, I'm new to all this so if anyone can give me a push in the right direction, i'd appreciate it!

thanks
 

truecharts

Guru
Joined
Aug 19, 2021
Messages
788
To be frank:
If a commercial backup solution doesn't want to build decent software, it seems wrong to alter the host system to ensure their broken application can run in a docker container.
Relying on increased inotify settings for a backup/sync solution without a plan-b for systems that do not have root access, seems idiotic.

So not likely to recieve any assistence from us on this.
 
Last edited:

Dan Rimer

Dabbler
Joined
Apr 26, 2015
Messages
14
not the answer or the spirit i was hoping for in an answer, but thanks :smile:
 

truecharts

Guru
Joined
Aug 19, 2021
Messages
788
not the answer or the spirit i was hoping for in an answer, but thanks :smile:
Yeah, it absolutely sucks that this is the case. But this would either need to be done on the host, or with root access on the container.

The later can actually be done by us in theory, but adding init containers to make changes on the host to support badly writen software... is not very wise from a security perspective, so we would, most likely, not merge such a change.

However: you're free to make these changes to the host system yourself and on your own risk ofcoarse.
Remember: it's a host change, not a container change.

The readonly warning looks like you tried to make the change inside the container. Thats not going to work.
 

Dan Rimer

Dabbler
Joined
Apr 26, 2015
Messages
14
Thanks for the info. I'm new to the way that Scale manages apps. I've used trueNas core for some time and unRAID at home without any issues. Hence my assumption that it's something wrong with Scale/container.

I've got other issues regarding IPs abd subnets, so I'll start another topic.

Again, thanks for your replies.
 

Sawtaytoes

Patron
Joined
Jul 9, 2022
Messages
221
How did you even install the Docker Container as an application in TrueNAS SCALE?

From what I'm seeing, you need to click "Pull Image" under Applications:
1671430707370.png


Then you can add `resilio/sync` like so:
1671430727427.png


But from here, I see the image is downloaded, but I have no clue how to run it other than Launch Docker Image, but from there, I don't know how to configure it in TrueNAS.
 

Sawtaytoes

Patron
Joined
Jul 9, 2022
Messages
221
Resilo Sync is available via truecharts, I assume that's how he's attempting to install it
Yep! This is how I later got it working!

At the time, I didn't realize TrueCharts and TrueNAS Charts were 2 different things.
 

ddos127

Dabbler
Joined
Jan 5, 2022
Messages
20
Yep! This is how I later got it working!

At the time, I didn't realize TrueCharts and TrueNAS Charts were 2 different things.
I never managed to get it to work on TrueNAS which when I think about it was a bad idea anyway.

I spun up an LXC on Proxmox, and it's happily living there now, TreuNAS is a storage solution
 

truecharts

Guru
Joined
Aug 19, 2021
Messages
788
Yep! This is how I later got it working!

At the time, I didn't realize TrueCharts and TrueNAS Charts were 2 different things.

For clearity:
"TrueNAS Charts" doesn't actually exist.

There is an "Official" catalog that has a train called "charts", but that's about it.
 

ddos127

Dabbler
Joined
Jan 5, 2022
Messages
20
Truecharts is truecharts, that's understood

Having said that, and after playing with truecharts for some time, I would not use any of the apps for production purposes, home use ok but from my experience not ready for the real world yet.
 
Top