Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Commit

Permalink
cleanup of the webui update chapter
Browse files Browse the repository at this point in the history
  • Loading branch information
joergsteffens committed Oct 12, 2016
1 parent 9565eed commit 2e36365
Showing 1 changed file with 17 additions and 8 deletions.
25 changes: 17 additions & 8 deletions manuals/en/main/webui.tex
Expand Up @@ -317,10 +317,15 @@ \section{Upgrade from 15.2 to 16.2}

\subsection{Console/Profile changes}

As some changes happened regarding the Command ACL and substring matching between 15.2 and 16.2, you need to change .bvfs_* to .bvfs_.* in your Command ACL to have a proper regular expression. Otherwise the restore module won't work any longer, especially the file browser.

Additionally you have to add a few more commands to your Command ACL the \bareosWebui now makes use of.
The \bareosWebui Director profile shipped with Bareos 15.2 (\resourcename{Dir}{Profile}{webui} in the file \file{/etc/bareos/bareos-dir.d/webui-profiles.conf}) is not sufficient to use the \bareosWebui 16.2.
This has several reasons:
\begin{enumerate}
\item The handling of \dt{Acl}s is more strict in Bareos 16.2 then it has been in Bareos 15.2.
Substring matching is no longer enabled, therefore you need to change \bcommand{.bvfs_*} to \bcommand{.bvfs_.*}
in your \linkResourceDirective{Dir}{Profile}{Command ACL} to have a proper regular expression.
Otherwise the restore module won't work any longer, especially the file browser.

\item The \bareosWebui 16.2 uses following additional commands:
\begin{itemize}
\item .help
\item .schedule
Expand All @@ -333,16 +338,20 @@ \subsection{Console/Profile changes}
\item disable
\end{itemize}

Alternatively have a look at the updated example profile the \bareosWebui delivers under the new subdirectory structure, \file{/etc/bareos/bareos-dir.d/profile/webui-admin.conf}.
Also have a look on \nameref{sec:webui-profile} how to configure profile resources.
\end{enumerate}

If you used an unmodified \file{/etc/bareos/bareos-dir.d/webui-profiles.conf} file,
the easiest way is to overwrite it with the new profile file \file{/etc/bareos/bareos-dir.d/profile/webui-admin.conf}.
The new \resourcename{Dir}{Profile}{webui-admin} allows all commands, except of the dangerous ones, see \nameref{sec:webui-profile}.

\subsection{directors.ini}

Since 16.2 it is possible to work with different catalogs. Therefore the catalog parameter has been introduced. If you don't set a catalog explicitly the default \resourcename{Dir}{Catalog}{MyCatalog} will be used. Please see \nameref{sec:webui-configuration-files} for more details.

\subsection{configuration.ini}

Since 16.2 the \bareosWebui introduced an additional configuration file besides the directors.ini file named configuration.ini where you are able to adjust some parameters of the webui to your needs. Please see \nameref{sec:webui-configuration-files} for more details.

\subsection{directors.ini}

Since 16.2 it is now possible to work with different catalogs. Therefore the catalog parameter has been introduced. If you don't set a catalog explicitly the default "MyCatalog" will be used. Please see \nameref{sec:webui-configuration-files} for more details on how to configure your \file{/etc/bareos-webui/directors.ini}.

\section{Additional information}

Expand Down

0 comments on commit 2e36365

Please sign in to comment.