Cannot use rock-ons [SOLVED]

Hi,

I’ve enabled the rock-on service and tried to install syncthing, but nothing ever happens. I can keep installing it and nothing ever shows up under installed.

The log at /opt/rockstor/var/log/rockstor.log shows me lots of errors like this one:

[02/Oct/2015 20:37:58] ERROR [storageadmin.util:38] request path: /api/sm/services/docker/start method: POST data: <QueryDict: {}>
[02/Oct/2015 20:37:58] ERROR [storageadmin.util:39] exception: Cannot start without configuration. Please configure(System->Services) and try again.
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/smart_manager/views/docker_service.py”, line 58, 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 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
[02/Oct/2015 20:38:04] DEBUG [smart_manager.data_collector:240] Services have been initialized
[02/Oct/2015 20:38:04] DEBUG [smart_manager.data_collector:243] Services has connected
[02/Oct/2015 20:38:08] ERROR [storageadmin.util:38] request path: /api/sm/services/docker/start method: POST data: <QueryDict: {}>
[02/Oct/2015 20:38:08] ERROR [storageadmin.util:39] exception: Cannot start without configuration. Please configure(System->Services) and try again.
Traceback (most recent call last):
File “/opt/rockstor/src/rockstor/smart_manager/views/docker_service.py”, line 58, 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 365, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
[02/Oct/2015 20:38:12] DEBUG [smart_manager.data_collector:250] Services have disconnected
[02/Oct/2015 20:42:49] DEBUG [smart_manager.data_collector:131] network stats connected
[02/Oct/2015 20:43:01] DEBUG [smart_manager.data_collector:33] disks namespace disconnected
[02/Oct/2015 20:43:01] DEBUG [smart_manager.data_collector:136] network stats disconnected
[02/Oct/2015 20:43:01] DEBUG [smart_manager.data_collector:104] disconnect received

What am I doing wrong?

Also on the rock-ons page now, the off/on slider is showing ON, but the right-pane reads “Warning! Rock-on service is not running. Please turn it on to use features on this screen.”

Aha! Caused by https://github.com/rockstor/rockstor-core/issues/917

1 Like