Can't download Transmission Rock-on ("socket: address family not supported by protocol")

I just installed Rockstor v4.0.7 yesterday and was trying to get the Transmission Rock-on, but my repeated attempts to install it failed. I made a share specifically for the Transmission Rock-on config (named MyTransmissionData) with the intent to link the data it torrents to a larger media share, but I got the following error messages in /opt/rockstor/var/log/rockstor.log:

[09/Jul/2021 07:00:31] INFO [storageadmin.tasks:55] Now executing Huey task [install], id: 1fb17295-c877-4b2a-8b4c-946f5427026a.
[09/Jul/2021 07:00:34] ERROR [system.osi:199] non-zero code(125) returned by command: ['/usr/bin/docker', 'run', '-d', '--restart=unless-stopped', '--name', 'transmission', '-v', '/mnt2/MyTransmissionData:/var/lib/transmission-daemon', '-v', '/etc/localtime:/etc/localtime:ro', '-p', '9091:9091/tcp', '-p', '51413:51413/tcp', '-p', '51413:51413/udp', '-e', 'GROUPID=100', '-e', 'TRPASSWD=password', '-e', 'TRUSER=me', '-e', 'USERID=1000', 'dperson/transmission:latest']. output: ['a57f411aaa6b897f635c28661b3e224115dd346779219e59ab88722a952b0fb7', ''] error: ['docker: Error response from daemon: driver failed programming external connectivity on endpoint transmission (4bd99048ade2e89c31b552ebf81b31b6c73c9b65d3ff6515f465c8f798432f92): Error starting userland proxy: listen tcp6 [::]:51413: socket: address family not supported by protocol.', '']
[09/Jul/2021 07:00:34] ERROR [storageadmin.views.rockon_helpers:207] Error running a command. cmd = /usr/bin/docker run -d --restart=unless-stopped --name transmission -v /mnt2/MyTransmissionData:/var/lib/transmission-daemon -v /etc/localtime:/etc/localtime:ro -p 9091:9091/tcp -p 51413:51413/tcp -p 51413:51413/udp -e GROUPID=100 -e TRPASSWD=password -e TRUSER=me -e USERID=1000 dperson/transmission:latest. rc = 125. stdout = ['a57f411aaa6b897f635c28661b3e224115dd346779219e59ab88722a952b0fb7', '']. stderr = ['docker: Error response from daemon: driver failed programming external connectivity on endpoint transmission (4bd99048ade2e89c31b552ebf81b31b6c73c9b65d3ff6515f465c8f798432f92): Error starting userland proxy: listen tcp6 [::]:51413: socket: address family not supported by protocol.', '']
Traceback (most recent call last):
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 204, in install
    globals().get("{}_install".format(rockon.name.lower()), generic_install)(rockon)
  File "/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py", line 390, in generic_install
    run_command(cmd, log=True)
  File "/opt/rockstor/src/rockstor/system/osi.py", line 201, in run_command
    raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/bin/docker run -d --restart=unless-stopped --name transmission -v /mnt2/MyTransmissionData:/var/lib/transmission-daemon -v /etc/localtime:/etc/localtime:ro -p 9091:9091/tcp -p 51413:51413/tcp -p 51413:51413/udp -e GROUPID=100 -e TRPASSWD=password -e TRUSER=me -e USERID=1000 dperson/transmission:latest. rc = 125. stdout = ['a57f411aaa6b897f635c28661b3e224115dd346779219e59ab88722a952b0fb7', '']. stderr = ['docker: Error response from daemon: driver failed programming external connectivity on endpoint transmission (4bd99048ade2e89c31b552ebf81b31b6c73c9b65d3ff6515f465c8f798432f92): Error starting userland proxy: listen tcp6 [::]:51413: socket: address family not supported by protocol.', '']
[09/Jul/2021 07:00:34] INFO [storageadmin.tasks:63] Task [install] completed OK

If anyone has any advice on what I could do to fix it, I’d appreciate it. I’ve already tried to download Transmission a couple times, restarted the NAS, then tried again, and there are no updates are pending for Rockstor.

@KVB Hello there.

I’ve only taken a quick look at your report but it may be that you are affected by an upstream issue regarding docker and IPv6 that was reported here by @Emmanuel_perez & @sanderweel, take a look at the following suggestion by @sanderweel as a work around while we await the upstream fix’s filtering down to a Leap 15.2 update:

What leads me to this initial conclusion is the following in your reported errro:

Incidentally was your installer build using a 15.2 or 15.3 profile?

Hope that helps and thanks for the report.

2 Likes

I created the iso from an OpenSUSE 15.2, and just double checked my NAS’s /etc/os-release and it does say it’s 15.2. I also checked my docker --version and it’s showing as 20.10.6-ce, so I did seem to have the same problem as they had.

Running zypper install --oldpackage docker-19.03.15_ce-lp152.2.9.1.x86_64 seems to have fixed my problem, too.

I got the storage share situation done, too, by using the wrench icon next to the Transmission Rock-on, and pressing “Add Storage”. So everything seems to be working just fine. Thanks for all the help!

3 Likes