Share with name: 6 does not exist

When I click on any share, I receive following trace back. Please help.

        Traceback (most recent call last):

File “/opt/rockstor/src/rockstor/storageadmin/views/”, line 44, in get_queryset
share = Share.objects.get(id=self.kwargs[‘sid’])
File “/opt/rockstor/eggs/Django-1.8.16-py2.7.egg/django/db/models/”, 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/”, line 334, in get
DoesNotExist: Share matching query does not exist.

@shahnawaz_azam Welcome to the Rockstor community.

This can happen directly after a recent update and if you refresh your browser it should resolve itself. We changed how these links work and if one part of the system has taken effect and the other not then this link type error can result. If the browser trick doesn’t help then try rebooting the Rockstor system.

Hope that helps and let us know how you get on.


Thanks a lot for the welcome message and resolution, I restarted the box and it worked.

Have a great day!


@shahnawaz_azam Thanks for the update and glad it’s sorted for you.

We have more recently had quite a few large changes (API changes) that inevitably cause hiccups like this but they should be calming down for a bit now. Just working on the last know related issue currently as it goes.