Share name (root) does not exist.

        Traceback (most recent call last):

File “/opt/rockstor/src/rockstor/smart_manager/views/docker_service.py”, line 48, in _validate_root
return Share.objects.get(name=root)
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 334, in get
self.model._meta.object_name
DoesNotExist: Share matching query does not exist.

Hi @robbp12, and welcome to the community!

I unfortunately cannot be of much help without more information on how you encountered that error, but as it happens, we just had a resolved thread about that same error message so I would like to point you to it:

The solution in that case was to make sure the Rock-ons service configuration was up-to-date, by setting the rockons-root:
http://rockstor.com/docs/docker-based-rock-ons/overview.html#the-rock-ons-root

Hope this helps,

1 Like