Found a bug making new share for Rockons

LONG time ago (years?) I installed folding@home rockon and it ran until an update killed it.

Years later, today, after a ton of upgrades (Testing Updates) system is running:

Rockstor version: 5.1.0-0 openSUSE Leap: 15.6 Linux: 6.4.0-150600.23.78-default

WAY WAY back when, I called the RockOns share “RockDock”. It was then deleted along with the pool I had used.

Today I created a new pool on unused disks, created a new share called “RockOnsShare” and the system bugged out when I tried to “Enable Rockons”.

[20/Sep/2026 21:09:54] ERROR [storageadmin.util:45] Exception: Share name (RockDock) 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/.venv/lib/python3.11/site-packages/django/db/models/manager.py", line 87, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/rockstor/.venv/lib/python3.11/site-packages/django/db/models/query.py", line 637, in get
    raise self.model.DoesNotExist(
storageadmin.models.share.Share.DoesNotExist: Share matching query does not exist.


It seems to remember the OLD share name and ignored the NEW share name.

I changed the NEW share name to the OLD share name and everything works now.

How messed up am I?

LOL!


:smiling_face_with_sunglasses: