I’m not sure what happened, but I can’t install any new rock-ons nor can I turn the existing ones off.
Attempting to install a new rock-on takes me through the set-up process and back to the Installed tab, but it isn’t listed there. I get this error in the rockstor logs:
[24/Jan/2017 07:51:58] ERROR [storageadmin.views.rockon:81] Rockon(BTSync) is in pending state but there is no pending or failed task for it.
I’ve tried two or three and gotten the same message each time.
Today this has happened on the first install attempt of any rock-on. It also happened to me a while back on the second attempt for GitLab CE: I installed it, and I think the install worked, but I wanted to change the port. It didn’t look editable post-install, so I uninstalled it and then tried to reinstall it. I was never able to install it again after the initial install/uninstall.
Next issue, perhaps related: when I click the switch to turn off an existing rock-on, it goes to off, then I get a spinner for a second or two, then things refresh and it’s back on again. Nothing new in the rockstor logs. Manually stopping the container with the docker stop ...
command does the trick, and the Rock-ons web ui updates to reflect this, but then I cannot start it from the web UI.
I also cannot uninstall from the web ui, and uninstalling from the command line is not reflected in the web ui. After I deleted it’s config and data shares and clicked uninstall in the web UI again, I got this error:
Traceback (most recent call last): File "/opt/rockstor/src/rockstor/storageadmin/views/rockon.py", line 105, 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 263, in _create_update_meta handle_exception(Exception(e_msg), self.request) File "/opt/rockstor/src/rockstor/storageadmin/util.py", line 49, in handle_exception raise RockStorAPIException(detail=e_msg, trace=traceback.format_exc()) RockStorAPIException: ['Cannot add/remove volume definitions of the container(gogs) as it belongs to an installed Rock-on(Gogs). Uninstall it first 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']
I have tried restarting the Rock-on service, it doesn’t seem to make any difference for either of these issues.
Lastly, separate from when I’ve tried restarting the service, I’ve also had a couple of occasions where it said that the Rock-on Service is on at the left, and then says “Warning! Rock-on service is not running. Please turn it on to use the features of this screen.” Refreshing always fixes that one.