I tried to reinstall Plex Rockon and consistently added all the necessary shares to it. But after one share addition Plex rockon disappeared from both of tabs on ROCK-ONS page – “Installed” and “All” but Plex was still working and I was able to see it on Web UI.
After that I have removed plex container and image by running
“docker container rm” and “docker image rm” in the hope that it will appear on the tab All and I will reinstall it, but this did not happen.
What should I do to make the plex appear on the All tab and I can reinstall it?
You’ll need to use the undocumented support script
/opt/rockstor/bin/delete-rockon, this will clean up the database for you.
Once completed, on the ‘all’ tab, click the ‘refresh’ button.
Note that you need to delete the rockon by the installed container’s name, which in the case of plex, I think is
Best of luck!
@oivanenko, in case the container name does not work, try using the Rock-on name with correct casing. (“Plex”). I never seem to remember which one needs to be used and I can’t verify that right now unfortunately.
On a brief inspection, it appears you may be right, the properties in the Rockon model seem to be those exported from the JSON.
name = models.CharField(max_length=1024)
description = models.CharField(max_length=2048)
version = models.CharField(max_length=2048)
state = models.CharField(max_length=2048)
status = models.CharField(max_length=2048)
link = models.CharField(max_length=1024, null=True)
website = models.CharField(max_length=2048, null=True)
https = models.BooleanField(default=False)
icon = models.URLField(max_length=1024, null=True)
ui = models.BooleanField(default=False)
volume_add_support = models.BooleanField(default=False)
more_info = models.CharField(max_length=4096, null=True)
name = sys.argv
sys.exit('Delete metadata, containers and images of a '
'Rock-on\n\tUsage: %s <rockon name>' % sys.argv)
ro = RockOn.objects.get(name=name)
sys.exit('Rock-On(%s) does not exist' % name)
Based on this, @Flox is probably right, and you should use the name
Plex (Note the capital ‘P’!), rather than the container image name of
Thank you very much guys! I will try.