Emby Rockon Update issue

Hi everyone. I’m trying to update my emby rockon and everytime I do, I keep getting the following trace error:

Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon.py”, line 106, in post
self._create_update_meta(r, rockons[r])
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/utils/decorators.py”, line 145, in inner
return func(*args, **kwargs)
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon.py”, line 185, in _create_update_meta
handle_exception(Exception(e_msg), self.request)
File “/opt/rockstor/src/rockstor/storageadmin/util.py”, line 46, in handle_exception
raise RockStorAPIException(detail=e_msg, trace=traceback.format_exc())
RockStorAPIException: [‘Duplicate container(embyserver) definition detected. It belongs to another Rock-on(EmbyServer). Uninstall one of them and try again.’, ‘Traceback (most recent call last):\n File “/opt/rockstor/eggs/gunicorn-0.16.1-py2.7.egg/gunicorn/workers/sync.py”, line 34, in run\n client, addr = self.socket.accept()\n File “/usr/lib64/python2.7/socket.py”, line 202, in accept\n sock, addr = self._sock.accept()\nerror: [Errno 11] Resource temporarily unavailable\n’]

Any suggestions? Thank you in advance!

Hi @scarybaby, and welcome to the community!

The error you are seeing is related to a change in the name of the rock-on we had a little while ago (my doing), but all you need to do is to uninstall and re-install the rock-on. This is actually the recommended way (if not the only one) to update most docker images (on which rock-ons are based).

You will find more details, explanations, and most importantly instructions on how to do so in the post below:

Hope this helps!

2 Likes

Is there any way to force remove this rockon? Uninstall, update and reinstall isn’t working. it keeps using the old 3.5 image instead of the 4.4 version.

Curious… Let’s try to see what we can do about it.

As I’m unsure of the state of your install exactly, some of the steps I’ll list are probably overkill but hopefully able to reset that for you.

First of all, we need to uninstall any Emby rock-on you might have installed at the moment. To do so, you can simply turn them off in the Rockstor webUI and then click Uninstall. Once that is done, make sure to click on the “Update” button in the top right of the Rockstor webUI. This should refresh the database. You should not see any Emby rock-on listed in the list of installed rock-on (report if you do).

Then, we can see what docker images you have and remove all that is potentially conflicting here.

  1. First, let’s make sure you don’t have any phantom emby container running somehow. Run docker ps -a and see if you have anything related to emby. If you do, remove them with docker rm <container_id> (the <container_id> is as reported by docker ps).
  2. Now, let’s take care of images. To see what you have: docker images. To remove it from here, the easiest way (especially given you are at the cli) is to run docker rmi <imageID> (<imageID> is the id of any emby-related images you see as reported by docker images above).

You should now have nothing related to Emby when running docker ps -a and docker images.

Now, you can go back to Rockstor webUI, click the “Update” button in the top right corner (overkill, but better be safe than sorry), and then you can re-install the Emby rock-on. You should now have the latest image running.
You can check everything is the latest in Emby server dashboard, as well as with docker images. It should list the “Created” time and give you a good idea.

Don’t hesitate to paste here the outputs of the commands above if you’d like, it’ll help see any oddity (if any).

Hope this helps,

1 Like

Thanks for the prompt response! I’ll try this momentarily and report back.

Ok, so I followed your instructions. No issues uninstalling the rockons or updating. I ran the docker commands, but no images were left. Of course I reinstall and its still on version 3.5.3.0 for emby. The only other thing I can check is to see if its a version issue with rockon itself.

Final update, got rockstor up to to 3.8. Still getting the image for version 3.5.3.0 of emby instead of version 4.4.3.0. Maybe I need to modify the config file that pulls the docker images?

Hi @scarybaby, thanks for the details on the different versions… we seem to have something really odd here for several reasons.

First:

The latest versions for Rockstor assuming you are on the CentOS base are either 3.9.1-16 for the Testing channel, or 3.9.2-57 for the Stable channel. Rockstor 3.8 was a very very long time ago and using a much older docker version as well… That might explain some issue on that side. Could you elaborate and confirm your Rockstor version? Please paste the output of the following command:

yum info rockstor

Then, to clarify the docker images, can you paste the outputs of the following commands?

docker images
docker rmi <embyserver_image_id>
docker images
docker pull emby/embyserver
docker images

The Rockstor version part is the one that really matters at first so let’s try to figure that one out first.

Thanks!

1 Like

Ok so here’s the rockstor version output:

* base: centos4.zswap.net
 * epel: mirror.umd.edu
 * extras: centos.mirrors.tds.net
 * updates: centos4.zswap.net
Installed Packages
Name        : rockstor
Arch        : x86_64
Version     : 3.8.16
Release     : 16
Size        : 81 M
Repo        : installed
From repo   : anaconda
Summary     : RockStor -- Store Smartly
License     : GPL
Description : RockStor -- Store Smartly

As for the docker commands, their output in order:

linuxserver/duplicati          latest              eaa50c18c40d        2 days ago          578 MB
linuxserver/deluge             latest              20f601a326b8        15 months ago       276 MB
haugene/transmission-openvpn   latest              04705b3d4c16        17 months ago       432 MB
linuxserver/radarr             latest              bbd6003dd4fd        17 months ago       593 MB
dperson/transmission           latest              3f54e67e4b1a        21 months ago       15.1 MB
linuxserver/plex               latest              468ba670c52b        21 months ago       409 MB
emby/embyserver                latest              835050fb3fae        22 months ago       213 MB
geldim/https-redirect          latest              bdc2c27bd2da        22 months ago       5.39 MB
intersoftlab/duplicati         latest              276bb62b547d        2 years ago         477 MB

docker rmi

Error response from daemon: conflict: unable to delete 835050fb3fae (cannot be forced) - image is being used by running container 5f589f9ca5c6

docker image

linuxserver/duplicati          latest              eaa50c18c40d        2 days ago          578 MB
linuxserver/deluge             latest              20f601a326b8        15 months ago       276 MB
haugene/transmission-openvpn   latest              04705b3d4c16        17 months ago       432 MB
linuxserver/radarr             latest              bbd6003dd4fd        17 months ago       593 MB
dperson/transmission           latest              3f54e67e4b1a        21 months ago       15.1 MB
linuxserver/plex               latest              468ba670c52b        21 months ago       409 MB
emby/embyserver                latest              835050fb3fae        22 months ago       213 MB
geldim/https-redirect          latest              bdc2c27bd2da        22 months ago       5.39 MB
intersoftlab/duplicati         latest              276bb62b547d        2 years ago         477 MB

docker pull emby/embyserver

Using default tag: latest
latest: Pulling from emby/embyserver
57c14dd66db0: Pull complete
11f641f811ab: Pull complete
304caacb4011: Pull complete
a7d7f597d051: Pull complete
29630ca1f53a: Pull complete
cb6b62e68549: Pull complete
Digest: sha256:c9aa10e6edea05d1b075d1cbdd5ca6db218e0238a77aa6c75ce592ca83a0f040
Status: Downloaded newer image for emby/embyserver:latest

docker images

REPOSITORY                     TAG                 IMAGE ID            CREATED             SIZE
linuxserver/duplicati          latest              eaa50c18c40d        2 days ago          578 MB
emby/embyserver                latest              f723f482f09d        6 weeks ago         295 MB
linuxserver/deluge             latest              20f601a326b8        15 months ago       276 MB
haugene/transmission-openvpn   latest              04705b3d4c16        17 months ago       432 MB
linuxserver/radarr             latest              bbd6003dd4fd        17 months ago       593 MB
dperson/transmission           latest              3f54e67e4b1a        21 months ago       15.1 MB
linuxserver/plex               latest              468ba670c52b        21 months ago       409 MB
emby/embyserver                <none>              835050fb3fae        22 months ago       213 MB
geldim/https-redirect          latest              bdc2c27bd2da        22 months ago       5.39 MB
intersoftlab/duplicati         latest              276bb62b547d        2 years ago         477 MB

I’ll try restarting the emby server really quickly

I did a quick uninstall reinstall of the emby server to see if it would use the latest image, but its still outputting this for docker images:

REPOSITORY                     TAG                 IMAGE ID            CREATED             SIZE
linuxserver/duplicati          latest              eaa50c18c40d        2 days ago          578 MB
emby/embyserver                latest              f723f482f09d        6 weeks ago         295 MB
linuxserver/deluge             latest              20f601a326b8        15 months ago       276 MB
haugene/transmission-openvpn   latest              04705b3d4c16        17 months ago       432 MB
linuxserver/radarr             latest              bbd6003dd4fd        17 months ago       593 MB
dperson/transmission           latest              3f54e67e4b1a        21 months ago       15.1 MB
linuxserver/plex               latest              468ba670c52b        21 months ago       409 MB
emby/embyserver                <none>              835050fb3fae        22 months ago       213 MB
geldim/https-redirect          latest              bdc2c27bd2da        22 months ago       5.39 MB
intersoftlab/duplicati         latest              276bb62b547d        2 years ago         477 MB

so quick update, I checked the image and it’s the updated version! 4.4.3!