Reinstall rockons (e.g. pihole) starts in die middle of the setup-wizard

Hi,
Lets say I have pihole (rock-on) installed. Unfortunatly I had not set up the 2 recommended shares for the dnsmasq-cfg and die pichole-cfg and installed it directly into the rockon-share.

After recognizing this, I stopped the rockon-pihole and uninstalled ist.

Then i created the shares for dnsmasq-cfg and pihole-cfg, and tried to reinstall die pihole-rockon.

The problem now is, that the install-wizard is not asking me for the shares anymore. It asks for ports, admin and password, but not about the shares for the dnsmasq-cfg und pihole-cfg.

The only way I found to make it ask for the shares again, is stop the rockon-service, remove the rockon-share, reinitialize the disc where the rockons are on and build a new share, restart rockon-service. After that the pihole installation (rockon) asks for the shares again.

Question: Is this really the only way to completely reinstall a rockon, or is there some trick, to make it work somehow easier?

Thanks!

Mmmm… That would be a bug if we can reproduce that.

No, you shouldn’t have to do that, indeed. Your first approach of stopping the rock-on and clicking the uninstall button should have been all you needed.

In unfortunately not sure what could have happened there as to why you weren’t offered the shares selection screen.
Bit of a long shot: when you experienced that, did you have any share defined in your Pool at all? Just wondering if you weren’t offered the shares/volumes selection dialog only because no shares existed on your system.

Hi @TechGameGeek,
I tried to reproduce the issue but I’ve encountered a problem…

I apologize if I misunderstood, so could you please correct where I’ve indeed misunderstood?
I tried to install the Pi-Hole Rock-on using the rock-on_root share (named test_rockons_root in my case), but the install wizard does not let me use the same share for both volumes and I thus can’t go any further.

Thanks in advance for any clarifications you can provide here,

@Flox you are absolutly right. It is impossible to use 1 share for both of these settings. Hm. That is weird. I came to this situation cause I checked my shares and saw, that I have no shares for the pihole defined (and I was sure I have ceated them), which was already running. There only was the share for the rockon. So I misinterpreted the situation. This was clearly my fault.

Seems like the shares disappeared somehow, with the pihole running?!

I’ll try to remove and reinstall the pihole now in the situation that the shares exist (as I recreated them as stated in my first post). Sorry for the chaos.

EDIT: When the shares exist the setup-wizard is asking for it, even if you uninstall and reinstall pihole.

So my initial post was created out of a (my) wrong interpretation of the situation. Why the shares disappeared, hm… cannot reproduce it.

1 Like

Thanks a lot for double checking; greatly appreciated!

That is a curious one, indeed… we’ll have to keep an eye on it. Note that we have some big changes planned for upcoming test cycle(s) related to modernizing our front-end and its interaction with the back-end that should hopefully iron out that kind of quirks (maybe?).

Cheers!

1 Like

Nice to hear!

At the moment I am doing some vids on rockstor-nas at my youtube-channel. If you push the changes to testing I will do even more content, cause there will be additional things to show.

Cheers!

I hope your setups have Rockstor Case Badges on them! They are free if you PM me or buy them on Ebay for super cheap and shipped wherever USPS delivers mail in the world!

:sunglasses:

FWIW I am experiencing the same problem with the Lyrion
media Server Rock-On.
On first installation I defined the wrong share for the config volume and then was unable to correct it. It has been driving me crazy trying to get it corrected. Uninstalling was not enough.
I tried removing the docker image file, and the docker container volumes that remain after uninstall, but it did not help.
(Shouldn’t the Uninstall script be clearing all that out?)

The only thing that worked was to force delete the Rockon share, and recreate it.

Ideally, the uninstall script should take care of the removing all of the associations, including the share assignments. Also not sure what that did not work for you. What I have found (on some test VMs) that the share page takes a while to populate in the wizard, and nothing prevents you from selecting the Next button, jumping ahead (not always, but sometimes), which would result in missing shares (which is not your problem).

To really “clean” the stuff out, you can run a deletion script that not only cleans up the installed Rockon itself, but also removes the entire definition from the database (and any dangling relationships between the Rockon definition and installations). You can do this via the command line:

if using the WebUI’s command shell:

su -
cd /opt/rockstor
poetry run rockon-delete 'Lyrion Media Server - Latest Stable'

Use the case-sensitive Rockon name as displayed in the WebUI.

If using SSH terminal connection, no need to get an elevated command prompt.

Once that runs successfully, hit the Refresh button on the Rockon screen to re-populate the Rockon definition that was just deleted. Then reinstall.

2 Likes