truecharts / public

Community Helm Chart Repository
https://truecharts.org
GNU Affero General Public License v3.0
1.15k stars 621 forks source link

resilio-sync #705

Closed spuder closed 3 years ago

spuder commented 3 years ago

Resilio sync gets stuck in deploying. Using all the default settings.

Application Name: resilio
Version: 1.2.0
controller:
type: deployment
replicas: 1
strategy: Recreate
Image Environment:
TZ: America/Denver
PUID: 568
PGID: 568
UMASK: 002
Configure Service(s):
main: [object Object]
bt-udp: [object Object]
bt-tcp: [object Object]
Integrated Persistent Storage:
config: [object Object]
ingress:
main: [object Object]
Security Context:
Pod Security Context:
runAsNonRoot: true
runAsUser: 568
runAsGroup: 568
fsGroup: 568
fsGroupChangePolicy: OnRootMismatch
resources:
limits: [object Object]
requests: [object Object]
Confirm these settings.

The logs show that it gets permission denied.

2021-07-21T05:29:22.271313077Z s6-supervise (child): fatal: unable to exec run: Permission denied
2021-07-21T05:29:22.271385275Z s6-supervise resilio: warning: unable to spawn ./run - waiting 10 seconds
2021-07-21T05:29:22.277640971Z [services.d] done.
2021-07-21T05:29:32.273478720Z s6-supervise (child): fatal: unable to exec run: Permission denied
2021-07-21T05:29:32.273772781Z s6-supervise resilio: warning: unable to spawn ./run - waiting 10 seconds
2021-07-21T05:29:42.282749967Z s6-supervise (child): fatal: unable to exec run: Permission denied
2021-07-21T05:29:42.283071274Z s6-supervise resilio: warning: unable to spawn ./run - waiting 10 seconds
2021-07-21T05:29:52.286360796Z s6-supervise (child): fatal: unable to exec run: Permission denied
2021-07-21T05:29:52.286617112Z s6-supervise resilio: warning: unable to spawn ./run - waiting 10 seconds
2021-07-21T05:30:02.294534925Z s6-supervise (child): fatal: unable to exec run: Permission denied
2021-07-21T05:30:02.294858523Z s6-supervise resilio: warning: unable to spawn ./run - waiting 10 seconds
2021-07-21T05:30:12.304806044Z s6-supervise (child): fatal: unable to exec run: Permission denied
2021-07-21T05:30:12.305031282Z s6-supervise resilio: warning: unable to spawn ./run - waiting 10 seconds
2021-07-21T05:30:22.307043323Z s6-supervise (child): fatal: unable to exec run: Permission denied
2021-07-21T05:30:22.307365820Z s6-supervise resilio: warning: unable to spawn ./run - waiting 10 seconds

Full logs attached

resilio_resilio-resilio-sync-7dd86f6cc6-f7pdg_resilio-resilio-sync.log

spuder commented 3 years ago

I've also tried disabling the Pod Security Context runAsNonRoot with no joy. Still gives permission denied.

PrivatePuffin commented 3 years ago

runAsNonRoot doesn't actually do anything. It just adds a check for k8s if the runAsUser != 0

That being said: Thanks for your bugreport, as this a payware app that is not in the stable train, for a company that isn't donating, this would not have priority.

spuder commented 3 years ago

Thank you for the fix. This deploys correctly in 1.2.1

PrivatePuffin commented 3 years ago

@spuder Awesome, good to know :)

truecharts-admin commented 1 year ago

This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists