Crashing after about 30 seconds in docker image. #128
Replies: 3 comments
-
Per your configuration, make sure that Additionally, there is an unreleased change that fixed certain issues with disk usage function. Try BTW: For security reasons, it is discouraged to place config directory to a path permitted by |
Beta Was this translation helpful? Give feedback.
-
Alright, so I managed to get it working, however with a workaround rather than actually getting it to work. The image provided fixed the issue with crashing I was having, thanks for that. I also changed some stuff with the mounting of the SMB share (creating new shares specifically for this purpose), such that I avoided having the config directory in the path permitted by As such, the final docker command looks like this, in case any others stumble upon the same issue as I:
(The folder I am successfully able to read and write .torrent files and downloads in the data volume, and save configurations in the config volume, but for some reason the socket still doesn't like to be located inside the config volume, citing the same Operation not permitted error as before. |
Beta Was this translation helpful? Give feedback.
-
Unix sockets need to be in local Unix mounts. It might not work properly with network drives. It is generally not a good idea to use shared network drives due to the decreased performance, potential connectivity issues and other caveats. BitTorrent operations are IO intensive and requires stable underlying devices. You should deploy rTorrent and Flood on the machine that has the physical drive. |
Beta Was this translation helpful? Give feedback.
-
Type: Bug Report
Your Environment
git --no-pager log -1
node --version
npm --version
name and version
Summary
I created a docker container with Flood and rTorrent together, as per the instructions on #120, and then started it with the following docker command:
The docker manages to start up successfully, however, after about 30 seconds it comes to a grinding halt, with the following error:
Log
I can supply the full log if required, but it was too long to post here or in any pastebin-like service.
Expected Behavior
The container shouldn't crash shortly after starting up.
Current Behavior
Crashes at launch.
Possible Solution
I don't know if this is related to issues with write permissions to the volume being mounted, since I had to connect to rTorrent through scgi on port 3001 instead of the socket file, due to permission issues.
The said permissions error is:
rtorrent: Error in option file: ~/.rtorrent.rc:98: Could not prepare socket for listening: Operation not permitted
Steps to Reproduce
.rtorrent.rc
file in the config directory.Beta Was this translation helpful? Give feedback.
All reactions