SSL cert signing

Back again! trying to resolve the ssl cert insecure issue with no luck.
osx throws errors when trying to import the cert and I can’t find a way to trust it in chrome browser.

Also wondering if it’s the reason I’m unable to install Rock-Ons?

Hi @JTI,

I won’t be able to help with the certificate part, but I don’t think it’s related to your problems with installing Rockons. I personally have not imported my own but have no problem with installing Rockons. Would you be able to describe in more details what error you have with regards to the Rock-on? A new forum topic may be more appropriate for it if it’s indeed unrelated.

Well I’m trying to install own cloud, I go through the steps which all check ok but upon verification I get the install rotating arrows that just stops and it goes back to this screen

55%20am

All others are the same. Rotating arrows that indicates install and it flakes out

Would you be able to post what is outputted in the rockstor log at the moment you install a rockon? The file is located at /opt/rockstor/var/log/rockstor.log

From the first line in the screenshot, it seems the docker service is not running. Did you run into trouble when turning on the Rock-on service as described in the documentation?
http://rockstor.com/docs/docker-based-rock-ons/overview.html#initial-rock-ons-setup

Maybe the following may bring some more info as well:
systemctl status -l docker (or dockerd, I don’t remember exactly for the service).

Don’t think I did have any trouble

I just noticed the timestamps on your original screenshot were much earlier than the last one, so it does look like your Rockon service is on and without problem.
I’m getting a little out of ideas here, but maybe a 'journalctl -xe` could help? I look at it right before and then right after installing a Rockon, this may help isolating the relevant parts.

I just turned off Rock-Ons service then back on, I’m now on the install screen which has been going a good 5 minutes or so so. Not sure if it should take that long or not?

After shuffling pages I’ve come back to rock-ons and it’s still installing but now there’s another toggle in the side pane so I’ll just let it go and see what happens.
Hopefully the new toggle is an indication of success Fingers crossed. This whole setup has tested me to no end!

Houston we have a problem!

File “/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py”, line 41, in _handle_exception
yield
File “/opt/rockstor/src/rockstor/storageadmin/views/disk.py”, line 377, in post
return self._update_disk_state()
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/disk.py”, line 325, in _update_disk_state
dob.save()
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/models/base.py”, line 734, in save
force_update=force_update, update_fields=update_fields)
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/models/base.py”, line 762, in save_base
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/models/base.py”, line 846, in _save_table
result = self._do_insert(cls._base_manager, using, fields, update_pk, raw)
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/models/base.py”, line 885, in _do_insert
using=using, raw=raw)
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/models/manager.py”, line 127, in manager_method
return getattr(self.get_queryset(), name)(*args, **kwargs)
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/models/query.py”, line 920, in _insert
return query.get_compiler(using=using).execute_sql(return_id)
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/models/sql/compiler.py”, line 974, in execute_sql
cursor.execute(sql, params)
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/backends/utils.py”, line 64, in execute
return self.cursor.execute(sql, params)
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/utils.py”, line 98, in exit
six.reraise(dj_exc_type, dj_exc_value, traceback)
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/backends/utils.py”, line 64, in execute
return self.cursor.execute(sql, params)
IntegrityError: duplicate key value violates unique constraint “storageadmin_disk_name_key”
DETAIL: Key (name)=(ata-ST2000DL003-9VT166_5YD57BS4) already exists.

[14/Sep/2018 22:33:56] ERROR [storageadmin.util:44] exception: User(JTI) already exists. Please choose a different username
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-0.16.1-py2.7.egg/gunicorn/workers/sync.py”, line 34, in run
client, addr = self.socket.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[14/Sep/2018 22:55:15] ERROR [storageadmin.util:44] exception: save() prohibited to prevent data loss due to unsaved related object ‘group’.
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/rest_framework_custom/generic_view.py”, line 41, in _handle_exception
yield
File “/opt/rockstor/src/rockstor/storageadmin/views/user.py”, line 167, in post
suser.save()
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/models/base.py”, line 685, in save
“unsaved related object ‘%s’.” % field.name
ValueError: save() prohibited to prevent data loss due to unsaved related object ‘group’.
[15/Sep/2018 00:14:50] ERROR [storageadmin.util:44] exception: Failed to configure drive role, or wipe existing filesystem, or do LUKS format on device (1). Error: Error running a command. cmd = /usr/sbin/wipefs -a /dev/disk/by-id/ata-ST2000DL003-9VT166_5YD57BS4-part1. rc = 1. stdout = [’’]. stderr = [‘wipefs: error: /dev/disk/by-id/ata-ST2000DL003-9VT166_5YD57BS4-part1: probing initialization failed: No such file or directory’, ‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/storageadmin/views/disk.py”, line 822, in _role_disk
return self._wipe(disk.id, request)
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/disk.py”, line 531, in _wipe
wipe_disk(disk_name)
File “/opt/rockstor/src/rockstor/system/osi.py”, line 791, in wipe_disk
return run_command([WIPEFS, ‘-a’, disk_byid_withpath])
File “/opt/rockstor/src/rockstor/system/osi.py”, line 115, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/sbin/wipefs -a /dev/disk/by-id/ata-ST2000DL003-9VT166_5YD57BS4-part1. rc = 1. stdout = [’’]. stderr = [‘wipefs: error: /dev/disk/by-id/ata-ST2000DL003-9VT166_5YD57BS4-part1: probing initialization failed: No such file or directory’, ‘’]
Package upgrade
[15/Sep/2018 00:55:27] ERROR [storageadmin.views.pool:519] Exception while updating disk state: ‘PoolDetailView’ object has no attribute ‘_update_disk_state’
[15/Sep/2018 01:11:38] ERROR [storageadmin.util:44] exception: Configuration undefined. Configure the service first before starting.
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/smart_manager/views/replication_service.py”, line 64, in post
config = self._get_config(service)
File “/opt/rockstor/src/rockstor/smart_manager/views/base_service.py”, line 40, in _get_config
return json.loads(service.config)
File “/usr/lib64/python2.7/json/init.py”, line 338, in loads
return _default_decoder.decode(s)
File “/usr/lib64/python2.7/json/decoder.py”, line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
[15/Sep/2018 02:10:24] ERROR [storageadmin.views.network:85] Unknown ctype: bridge config: {}
[15/Sep/2018 02:45:09] ERROR [storageadmin.views.rockon_helpers:124] Error running a command. cmd = /usr/bin/docker pull dbarton/utorrent. rc = 1. stdout = [‘Using default tag: latest’, ‘Warning: failed to get default registry endpoint from daemon (error during connect: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.26/info: read unix @->/var/run/docker.sock: read: connection reset by peer). Using system default: https://index.docker.io/v1/’, ‘’]. stderr = [‘error during connect: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.26/images/create?fromImage=dbarton%2Futorrent&tag=latest: write unix @->/var/run/docker.sock: write: broken pipe’, ‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 121, in install
generic_install)(rockon)
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 207, in generic_install
run_command([DOCKER, ‘pull’, c.dimage.name])
File “/opt/rockstor/src/rockstor/system/osi.py”, line 121, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/bin/docker pull dbarton/utorrent. rc = 1. stdout = [‘Using default tag: latest’, ‘Warning: failed to get default registry endpoint from daemon (error during connect: Get http://%2Fvar%2Frun%2Fdocker.sock/v1.26/info: read unix @->/var/run/docker.sock: read: connection reset by peer). Using system default: https://index.docker.io/v1/’, ‘’]. stderr = [‘error during connect: Post http://%2Fvar%2Frun%2Fdocker.sock/v1.26/images/create?fromImage=dbarton%2Futorrent&tag=latest: write unix @->/var/run/docker.sock: write: broken pipe’, ‘’]
[15/Sep/2018 02:45:09] ERROR [storageadmin.util:44] exception: Docker service is not running. Start it and try again.
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 68, in run_for_one
self.accept(listener)
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 27, in accept
client, addr = listener.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[15/Sep/2018 03:01:39] ERROR [storageadmin.util:44] exception: Configuration undefined. Configure the service first before starting.
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/smart_manager/views/replication_service.py”, line 64, in post
config = self._get_config(service)
File “/opt/rockstor/src/rockstor/smart_manager/views/base_service.py”, line 40, in _get_config
return json.loads(service.config)
File “/usr/lib64/python2.7/json/init.py”, line 338, in loads
return _default_decoder.decode(s)
File “/usr/lib64/python2.7/json/decoder.py”, line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
[15/Sep/2018 03:02:06] ERROR [storageadmin.util:44] exception: Configuration undefined. Configure the service first before starting.
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/smart_manager/views/replication_service.py”, line 64, in post
config = self._get_config(service)
File “/opt/rockstor/src/rockstor/smart_manager/views/base_service.py”, line 40, in _get_config
return json.loads(service.config)
File “/usr/lib64/python2.7/json/init.py”, line 338, in loads
return _default_decoder.decode(s)
File “/usr/lib64/python2.7/json/decoder.py”, line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
[15/Sep/2018 05:24:54] ERROR [storageadmin.views.rockon:81] Rockon(OwnCloud-Official) is in pending state but there is no pending or failed task for it.
[15/Sep/2018 05:24:54] ERROR [storageadmin.views.rockon:81] Rockon(OwnCloud-Official) is in pending state but there is no pending or failed task for it.
[15/Sep/2018 05:28:07] ERROR [storageadmin.views.rockon:81] Rockon(TFTP server) is in pending state but there is no pending or failed task for it.
[15/Sep/2018 05:37:17] ERROR [storageadmin.views.rockon:81] Rockon(Deluge) is in pending state but there is no pending or failed task for it.
[15/Sep/2018 05:37:17] ERROR [storageadmin.views.rockon:81] Rockon(Deluge) is in pending state but there is no pending or failed task for it.
[15/Sep/2018 17:45:51] ERROR [storageadmin.views.rockon_helpers:124] Error running a command. cmd = /usr/bin/docker pull dbarton/utorrent. rc = 1. stdout = [‘Using default tag: latest’, ‘Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?). Using system default: https://index.docker.io/v1/’, ‘’]. stderr = [‘Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?’, ‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 121, in install
generic_install)(rockon)
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 207, in generic_install
run_command([DOCKER, ‘pull’, c.dimage.name])
File “/opt/rockstor/src/rockstor/system/osi.py”, line 121, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/bin/docker pull dbarton/utorrent. rc = 1. stdout = [‘Using default tag: latest’, ‘Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?). Using system default: https://index.docker.io/v1/’, ‘’]. stderr = [‘Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?’, ‘’]
[15/Sep/2018 17:45:52] ERROR [storageadmin.util:44] exception: Docker service is not running. Start it and try again.
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 68, in run_for_one
self.accept(listener)
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 27, in accept
client, addr = listener.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[15/Sep/2018 17:45:52] ERROR [storageadmin.views.rockon_helpers:124] Error running a command. cmd = /usr/bin/docker pull dbarton/utorrent. rc = 1. stdout = [‘Using default tag: latest’, ‘Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?). Using system default: https://index.docker.io/v1/’, ‘’]. stderr = [‘Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?’, ‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 121, in install
generic_install)(rockon)
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 207, in generic_install
run_command([DOCKER, ‘pull’, c.dimage.name])
File “/opt/rockstor/src/rockstor/system/osi.py”, line 121, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/bin/docker pull dbarton/utorrent. rc = 1. stdout = [‘Using default tag: latest’, ‘Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?). Using system default: https://index.docker.io/v1/’, ‘’]. stderr = [‘Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?’, ‘’]
[15/Sep/2018 17:45:52] ERROR [storageadmin.util:44] exception: Docker service is not running. Start it and try again.
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 68, in run_for_one
self.accept(listener)
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 27, in accept
client, addr = listener.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[15/Sep/2018 17:45:52] ERROR [storageadmin.views.rockon_helpers:124] Error running a command. cmd = /usr/bin/docker pull dbarton/utorrent. rc = 1. stdout = [‘Using default tag: latest’, ‘Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?). Using system default: https://index.docker.io/v1/’, ‘’]. stderr = [‘Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?’, ‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 121, in install
generic_install)(rockon)
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 207, in generic_install
run_command([DOCKER, ‘pull’, c.dimage.name])
File “/opt/rockstor/src/rockstor/system/osi.py”, line 121, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/bin/docker pull dbarton/utorrent. rc = 1. stdout = [‘Using default tag: latest’, ‘Warning: failed to get default registry endpoint from daemon (Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?). Using system default: https://index.docker.io/v1/’, ‘’]. stderr = [‘Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?’, ‘’]
[15/Sep/2018 17:45:53] ERROR [storageadmin.util:44] exception: Docker service is not running. Start it and try again.
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 68, in run_for_one
self.accept(listener)
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 27, in accept
client, addr = listener.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[15/Sep/2018 17:45:53] ERROR [storageadmin.views.rockon_helpers:124] Error running a command. cmd = /usr/bin/docker run -d --restart=unless-stopped --name owncloud-postgres -e POSTGRES_USER=JTI -e POSTGRES_PASSWORD=1977stoots -v /mnt2/owncloud:/var/lib/postgresql/data -v /etc/localtime:/etc/localtime:ro postgres. rc = 125. stdout = [’’]. stderr = [’/usr/bin/docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.’, “See ‘/usr/bin/docker run --help’.”, ‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 121, in install
generic_install)(rockon)
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 272, in owncloud_install
run_command(cmd)
File “/opt/rockstor/src/rockstor/system/osi.py”, line 121, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/bin/docker run -d --restart=unless-stopped --name owncloud-postgres -e POSTGRES_USER=JTI -e POSTGRES_PASSWORD=1977stoots -v /mnt2/owncloud:/var/lib/postgresql/data -v /etc/localtime:/etc/localtime:ro postgres. rc = 125. stdout = [’’]. stderr = [’/usr/bin/docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.’, “See ‘/usr/bin/docker run --help’.”, ‘’]
[15/Sep/2018 17:45:54] ERROR [storageadmin.util:44] exception: Docker service is not running. Start it and try again.
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 68, in run_for_one
self.accept(listener)
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 27, in accept
client, addr = listener.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[15/Sep/2018 17:45:54] ERROR [storageadmin.views.rockon_helpers:124] Error running a command. cmd = /usr/bin/docker run -d --restart=unless-stopped --name owncloud-postgres -e POSTGRES_USER=JTI -e POSTGRES_PASSWORD=1977stoots -v /mnt2/owncloud:/var/lib/postgresql/data -v /etc/localtime:/etc/localtime:ro postgres. rc = 125. stdout = [’’]. stderr = [’/usr/bin/docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.’, “See ‘/usr/bin/docker run --help’.”, ‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 121, in install
generic_install)(rockon)
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 272, in owncloud_install
run_command(cmd)
File “/opt/rockstor/src/rockstor/system/osi.py”, line 121, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/bin/docker run -d --restart=unless-stopped --name owncloud-postgres -e POSTGRES_USER=JTI -e POSTGRES_PASSWORD=1977stoots -v /mnt2/owncloud:/var/lib/postgresql/data -v /etc/localtime:/etc/localtime:ro postgres. rc = 125. stdout = [’’]. stderr = [’/usr/bin/docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.’, “See ‘/usr/bin/docker run --help’.”, ‘’]
[15/Sep/2018 17:45:55] ERROR [storageadmin.util:44] exception: Docker service is not running. Start it and try again.
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 68, in run_for_one
self.accept(listener)
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 27, in accept
client, addr = listener.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[15/Sep/2018 20:01:11] ERROR [storageadmin.views.rockon_helpers:124] Error running a command. cmd = /usr/bin/docker run -d --restart=unless-stopped --name owncloud-postgres -e POSTGRES_USER=JTI -e POSTGRES_PASSWORD=1977stoots -v /mnt2/owncloud:/var/lib/postgresql/data -v /etc/localtime:/etc/localtime:ro postgres. rc = 125. stdout = [’’]. stderr = [’/usr/bin/docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.’, “See ‘/usr/bin/docker run --help’.”, ‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 121, in install
generic_install)(rockon)
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 272, in owncloud_install
run_command(cmd)
File “/opt/rockstor/src/rockstor/system/osi.py”, line 121, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/bin/docker run -d --restart=unless-stopped --name owncloud-postgres -e POSTGRES_USER=JTI -e POSTGRES_PASSWORD=1977stoots -v /mnt2/owncloud:/var/lib/postgresql/data -v /etc/localtime:/etc/localtime:ro postgres. rc = 125. stdout = [’’]. stderr = [’/usr/bin/docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.’, “See ‘/usr/bin/docker run --help’.”, ‘’]
[15/Sep/2018 20:01:11] ERROR [storageadmin.util:44] exception: Docker service is not running. Start it and try again.
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 68, in run_for_one
self.accept(listener)
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 27, in accept
client, addr = listener.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[15/Sep/2018 20:01:11] ERROR [storageadmin.views.rockon_helpers:124] Error running a command. cmd = /usr/bin/docker run -d --restart=unless-stopped --name owncloud-postgres -e POSTGRES_USER=JTI -e POSTGRES_PASSWORD=1977stoots -v /mnt2/owncloud:/var/lib/postgresql/data -v /etc/localtime:/etc/localtime:ro postgres. rc = 125. stdout = [’’]. stderr = [’/usr/bin/docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.’, “See ‘/usr/bin/docker run --help’.”, ‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 121, in install
generic_install)(rockon)
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 272, in owncloud_install
run_command(cmd)
File “/opt/rockstor/src/rockstor/system/osi.py”, line 121, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/bin/docker run -d --restart=unless-stopped --name owncloud-postgres -e POSTGRES_USER=JTI -e POSTGRES_PASSWORD=1977stoots -v /mnt2/owncloud:/var/lib/postgresql/data -v /etc/localtime:/etc/localtime:ro postgres. rc = 125. stdout = [’’]. stderr = [’/usr/bin/docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.’, “See ‘/usr/bin/docker run --help’.”, ‘’]
[15/Sep/2018 20:01:11] ERROR [storageadmin.util:44] exception: Docker service is not running. Start it and try again.
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 68, in run_for_one
self.accept(listener)
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 27, in accept
client, addr = listener.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[15/Sep/2018 20:01:11] ERROR [storageadmin.views.rockon_helpers:124] Error running a command. cmd = /usr/bin/docker run -d --restart=unless-stopped --name owncloud-postgres -e POSTGRES_USER=JTI -e POSTGRES_PASSWORD=1977stoots -v /mnt2/owncloud:/var/lib/postgresql/data -v /etc/localtime:/etc/localtime:ro postgres. rc = 125. stdout = [’’]. stderr = [’/usr/bin/docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.’, “See ‘/usr/bin/docker run --help’.”, ‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 121, in install
generic_install)(rockon)
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 272, in owncloud_install
run_command(cmd)
File “/opt/rockstor/src/rockstor/system/osi.py”, line 121, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/bin/docker run -d --restart=unless-stopped --name owncloud-postgres -e POSTGRES_USER=JTI -e POSTGRES_PASSWORD=1977stoots -v /mnt2/owncloud:/var/lib/postgresql/data -v /etc/localtime:/etc/localtime:ro postgres. rc = 125. stdout = [’’]. stderr = [’/usr/bin/docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.’, “See ‘/usr/bin/docker run --help’.”, ‘’]
[15/Sep/2018 20:01:12] ERROR [storageadmin.util:44] exception: Docker service is not running. Start it and try again.
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 68, in run_for_one
self.accept(listener)
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 27, in accept
client, addr = listener.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[15/Sep/2018 20:01:12] ERROR [storageadmin.views.rockon_helpers:124] Error running a command. cmd = /usr/bin/docker run -d --restart=unless-stopped --name owncloud-postgres -e POSTGRES_USER=JTI -e POSTGRES_PASSWORD=1977stoots -v /mnt2/owncloud:/var/lib/postgresql/data -v /etc/localtime:/etc/localtime:ro postgres. rc = 125. stdout = [’’]. stderr = [’/usr/bin/docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.’, “See ‘/usr/bin/docker run --help’.”, ‘’]
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 121, in install
generic_install)(rockon)
File “/opt/rockstor/src/rockstor/storageadmin/views/rockon_helpers.py”, line 272, in owncloud_install
run_command(cmd)
File “/opt/rockstor/src/rockstor/system/osi.py”, line 121, in run_command
raise CommandException(cmd, out, err, rc)
CommandException: Error running a command. cmd = /usr/bin/docker run -d --restart=unless-stopped --name owncloud-postgres -e POSTGRES_USER=JTI -e POSTGRES_PASSWORD=1977stoots -v /mnt2/owncloud:/var/lib/postgresql/data -v /etc/localtime:/etc/localtime:ro postgres. rc = 125. stdout = [’’]. stderr = [’/usr/bin/docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.’, “See ‘/usr/bin/docker run --help’.”, ‘’]
[15/Sep/2018 20:01:27] ERROR [storageadmin.util:44] exception: Docker service is not running. Start it and try again.
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 68, in run_for_one
self.accept(listener)
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 27, in accept
client, addr = listener.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[15/Sep/2018 20:01:37] ERROR [storageadmin.util:44] exception: Found a failed Task(f9841063-ca2c-4e43-99be-c9df2cced76f) in the future of a pending Task(72630f8f-0155-4d19-9bc0-9b9e3f539f51).
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 68, in run_for_one
self.accept(listener)
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 27, in accept
client, addr = listener.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[15/Sep/2018 20:01:37] ERROR [storageadmin.util:44] exception: Found a failed Task(f9841063-ca2c-4e43-99be-c9df2cced76f) in the future of a pending Task(72630f8f-0155-4d19-9bc0-9b9e3f539f51).
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 68, in run_for_one
self.accept(listener)
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 27, in accept
client, addr = listener.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[15/Sep/2018 20:03:19] ERROR [storageadmin.util:44] exception: Found a failed Task(f9841063-ca2c-4e43-99be-c9df2cced76f) in the future of a pending Task(72630f8f-0155-4d19-9bc0-9b9e3f539f51).
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 68, in run_for_one
self.accept(listener)
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 27, in accept
client, addr = listener.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[15/Sep/2018 20:03:20] ERROR [storageadmin.util:44] exception: Found a failed Task(f9841063-ca2c-4e43-99be-c9df2cced76f) in the future of a pending Task(72630f8f-0155-4d19-9bc0-9b9e3f539f51).
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 68, in run_for_one
self.accept(listener)
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 27, in accept
client, addr = listener.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[15/Sep/2018 20:06:31] ERROR [storageadmin.views.network:85] Unknown ctype: bridge config: {}
[15/Sep/2018 20:07:27] ERROR [storageadmin.util:44] exception: Found a failed Task(f9841063-ca2c-4e43-99be-c9df2cced76f) in the future of a pending Task(72630f8f-0155-4d19-9bc0-9b9e3f539f51).
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 68, in run_for_one
self.accept(listener)
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 27, in accept
client, addr = listener.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[15/Sep/2018 20:07:27] ERROR [storageadmin.util:44] exception: Found a failed Task(f9841063-ca2c-4e43-99be-c9df2cced76f) in the future of a pending Task(72630f8f-0155-4d19-9bc0-9b9e3f539f51).
Traceback (most recent call last):
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 68, in run_for_one
self.accept(listener)
File “/opt/rockstor/eggs/gunicorn-19.7.1-py2.7.egg/gunicorn/workers/sync.py”, line 27, in accept
client, addr = listener.accept()
File “/usr/lib64/python2.7/socket.py”, line 202, in accept
sock, addr = self._sock.accept()
error: [Errno 11] Resource temporarily unavailable
[15/Sep/2018 20:09:33] ERROR [storageadmin.views.rockon_helpers:282] Waited too long(300 seconds) for postgres to initialize for owncloud. giving up.

Hi @JTI

[15/Sep/2018 20:01:12] ERROR [storageadmin.views.rockon_helpers:124] Error running a command. cmd = /usr/bin/docker run -d --restart=unless-stopped --name owncloud-postgres -e POSTGRES_USER=JTI -e POSTGRES_PASSWORD=1977stoots -v /mnt2/owncloud:/var/lib/postgresql/data -v /etc/localtime:/etc/localtime:ro postgres. rc = 125. stdout = [’’]. stderr = [’/usr/bin/docker: Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?.’, “See ‘/usr/bin/docker run --help’.”, ‘’]

It looks like the docker service itself may not be running.

What is the out put from the following command:

sudo systemctl status docker

It has been running. Managed to install owncloud only to have it gone after a reboot. I’m actually in the process of installing freenas to see how that goes.
I really like rockstor for it’s easy to navigate and nice gui but it’s been nothing but headaches so far.
Edit: fresh install of rockstor and things are going much smoother. Much nicer platform to use than freenas!

The cert issue is unrelated to the Rockon issue. It looks like there is an issue with the storage share for rockon
Can you create a new one and try that. The errors you are getting usually point to a dirty rockon share (where it hasn’t cleaned up the dB entries). If it still fails you could try the rockon cleanup utility that should clear the dB