Skip to content

Commit

Permalink
Update Reset procedure and some minor cleanup in file
Browse files Browse the repository at this point in the history
  • Loading branch information
Hooverdan96 committed Oct 23, 2024
1 parent 8256e0a commit a217161
Showing 1 changed file with 43 additions and 32 deletions.
75 changes: 43 additions & 32 deletions interface/overview.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,12 @@ specifically for this purpose.
within each rock-on but that is also good practice, and is why this option
is offered.

It is assumed you have already setup your :ref:`pools` and one or more
shares in those pools (see our :ref:`createshare`) appropriate for your
Rock-ons, i.e. a plex-movies share and a plex-config share.
It is assumed that :ref:`pools` and one or more shares in those pools
(see our :ref:`createshare`) have already been created, appropriate for the
Rock-on requirements, e.g. a *plex-movies* share and a *plex-config* share.

But we also need to create the :ref:`rockons_root` share.
As a one-time setup activity, it is also necessary create
the :ref:`rockons_root` share.

.. _rockons_root:

Expand All @@ -53,14 +54,14 @@ All Rock-ons require the **Rock-on service** to be enabled and prior to
enabling this service it must be configured. This is a simple matter of
configuring a sufficiently large share for the rock-ons to be installed into.

We recommend creating a *dedicated* share to be used as the rock-ons root.
While any share can be chosen as the rock-ons root, we **strongly** recommend
to create a share to be used *only* as the rock-ons root to prevent any
conflict that may arise with a mixed-used share. The rock-ons root share is
It is recommended to create a *dedicated* share to be used as the Rock-ons root.
While any share can be chosen as the Rock-ons root, it is **strongly** recommended
to create a share to be used **only** as the Rock-ons root to prevent any
conflict that may arise with a mixed-used share. The Rock-ons root share is
used by Docker to store permanent data such as images and container
layers. As a result, any conflict or alteration of these data that might result
from a mixed used share has the potential to break the installed Rock-ons.
Note also that the rock-ons root share can be part of any :ref:`pool<pools>`
Note that the rock-ons root share can be part of any :ref:`pool<pools>`
and does not require the creation of a dedicated pool.

.. note::
Expand Down Expand Up @@ -94,7 +95,7 @@ Now to **select** the share to use for your **Rock-ons root**.

**Select** the **rock-on-root** share that we created earlier and **Submit**

You can now **enable** the **Rock-on service** and proceed to the Rock-ons
Now **enable** the **Rock-on service** and proceed to the Rock-ons
page.

.. image:: /images/interface/docker-based-rock-ons/rockons_page.png
Expand All @@ -110,11 +111,11 @@ its **Install** button on the Rock-ons WebUI page.
UID and GID usage in Rock-ons
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

During the configuration of Rock-ons, quite a few require the specification of
a User ID (UID) and/or a Group ID (GID). Aside from the various options using
During the configuration of Rock-ons, quite a few of them require the specification
of a User ID (UID) and/or a Group ID (GID). Aside from the various options using
the command line to determine existing UIDs and GIDs, the simplest way is to
take advantage of the User and/or Group management screens. Navigate to System
--> Users (or Groups if necessary).
take advantage of the User and/or Group management screens. Navigate to *System
--> Users* (or *Groups*, if necessary).

.. image:: /images/interface/docker-based-rock-ons/users_page.png
:width: 100%
Expand Down Expand Up @@ -461,9 +462,9 @@ a convenient way to update a Rock-on if desired

Force uninstall of a Rock-on
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
In the event the uninstallation process of a Rock-on is not possible, we
provide a script to force the deletion of a Rock-on. While we do not yet have
this tool integrated into Rockstor's :ref:`web-UI <webui>`, it can easily be
In the event the above uninstallation process of a Rock-on is not possible, a
script is provided to force the deletion of a Rock-on. While this tool has not
yet been integrated into Rockstor's :ref:`web-UI <webui>`, it can easily be
used from the command line as follows.
Running this script (as the 'root' user) without argument will detail its usage:

Expand Down Expand Up @@ -499,28 +500,33 @@ For the Rock-on named *Emby server*, for instance, the commands would be:
.. _rockons_root_reset:

Reset Rock-on Root
-----------------
------------------
In rare instances reported by users, issues during installation and operation
of Rock-ons can be traced back to an inconsistent :ref:`rockons_root` share.
Symptoms are things like:

* The installation fails without a discernible
error when checking the logs.
* A deletion of the Rock-on using the command line as described in :ref:`rockons_force_delete`
and a subsequent Rock-on attempt to re-install it, does not seem to work.
and a subsequent attempt to re-install it does not seem to work.
* The Rock-on fails to start when it worked in previous cases without any
issues. However, this could also be related to a breaking update of
the underlying image.
* The WebUI throws an error like this when for example uninstalling/reinstalling a
Rock-on: :code:`Unknown internal error doing a GET to /api/rockons?page...`.
the underlying image used for the Rock-on.
* The WebUI throws an error like this when uninstalling/reinstalling a
Rock-on:

* :code:`Unknown internal error doing a GET to /api/rockons?page...`.

With the symptoms described above, the best resolution might be to reset the Rock-on root,
following the sequence below:

In that case, the resolution is to reset the Rock-on Root:
* If possible, note the settings of the still installed Rock-ons.

.. note::

If, alternatively, using the :ref:`config_backup` option to back-up the
settings of installed Rock-ons, then you should follow the
*delete/recreate* Rock-ons root option described below.
*recreate* Rock-ons root option described below.

* Uninstall all installed Rock-ons (likely requires the command line as described
in :ref:`rockons_force_delete`).
Expand All @@ -532,21 +538,26 @@ In that case, the resolution is to reset the Rock-on Root:
right back to where it was before the Rock-on root reset process.

* Turn off Rock-ons Service (either on the Rockons page directly, or via the
:code:`System --> Services` web page).
* Either create a new Rock-on root share as described in :ref:`rockons_root`, or
delete and recreate the Rock-on root share.
* In case of creating a new Rock-on root share with a different name, adjust the Rock-ons
service setting by changing the share name. If the Rock-on root share has been
re-created, no change is necessary. Delete the old Rock-on root share to free up the disk
space.
**System --> Services** web page).
* Following :ref:`rockons_root`, either create a new Rock-on root share with
a different name, or delete and recreate the Rock-on root share with its original name.

.. note::

In case of creating a new Rock-on root share with a different name, adjust the Rock-ons
Service setting by selecting the new share name from the dropdown. If the Rock-on root
share has been re-created with the same name, no change is necessary. Delete the old
Rock-on root share to free up disk space.

* Restart the Rock-ons Service.
* Run an update on the list of available Rock-ons.

Now the Rock-ons root should be consistent (albeit empty) once again, and (re-)installation
Now the Rock-ons root should be consistent, albeit empty, once again, and (re-)installation
of Rock-ons should work as before. Or, if the configuration backup was created
this could now be executed, which should skip all existing configuration elements
and only result in the re-installation of the previously capture Rock-ons.


.. _rockons_update:

Updating a Rock-on
Expand Down

0 comments on commit a217161

Please sign in to comment.