-
-
Notifications
You must be signed in to change notification settings - Fork 189
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Peerport is being reset to 51413 #296
Comments
Thanks for opening your first issue here! Be sure to follow the relevant issue templates, or risk having this issue marked as invalid. |
Hi, It is the same issue old issue her : #239 |
Tried it, didn't work, it overwrote the config again when the container restarted |
I'm having exactly the same issue. Docker compose file includes PEERPORT=51866. I stop transmission and change peerport in settings.json to 51866. Then recreate the transmission container and it starts on 51413 and the settings.json file is changed to 51413 too - thought I was going mad! Glad it's not just me. |
Seems I have this issue also, setting.json is getting overwritten everytime. |
you need to edit the settings.json when the container is stopped. |
The settings is overwritten on launch by container so the ENV variables are not taken in account, which is the issue |
If you read my comment above, that makes no difference - even stopping transmission, changing the file, and then restarting and it still resets back to the default. |
I can confirm the issue locally, but no idea what's causing it. Our init does successfully modify the settings.json with the PEERPORT from env var: https://github.com/linuxserver/docker-transmission/blob/master/root/etc/s6-overlay/s6-rc.d/init-transmission-config/run#L36 But when the transmission daemon starts, it somehow gets reverted.
|
I'm blind, I missed the string vs int We'll get a fix out |
Can you guys test this image and confirm? |
working for me thanks |
Is there an existing issue for this?
Current Behavior
Updated transmission yesterday to cc489ce02927e526f1cba573b42d31a8cac66338aadcacc4b0d998341818d620, it seems it is resetting my torrent port to 51413 on restart,
Expected Behavior
The port in the env should be used
Steps To Reproduce
Environment
CPU architecture
x86-64
Docker creation
Container logs
The text was updated successfully, but these errors were encountered: