Lines 128-137
Link Here
|
128 |
<tr> |
128 |
<tr> |
129 |
<th scope="row">Elasticsearch: </th> |
129 |
<th scope="row">Elasticsearch: </th> |
130 |
[% IF elasticsearch_fatal_config_error %] |
130 |
[% IF elasticsearch_fatal_config_error %] |
131 |
<td><span class="text-bg-warning">[% elasticsearch_fatal_config_error | html %]</span></td> |
131 |
<td><span class="bg-warning-subtle">[% elasticsearch_fatal_config_error | html %]</span></td> |
132 |
[% ELSE %] |
132 |
[% ELSE %] |
133 |
[% IF elasticsearch_status.running %] |
133 |
[% IF elasticsearch_status.running %] |
134 |
[% SET td_class="text-bg-info" %] |
134 |
[% SET td_class="bg-info-subtle" %] |
135 |
[% END %] |
135 |
[% END %] |
136 |
<td class="[% td_class | html %]"> |
136 |
<td class="[% td_class | html %]"> |
137 |
<span>Version:</span> |
137 |
<span>Version:</span> |
Lines 150-156
Link Here
|
150 |
(<span>count:</span> <em>[% index.index_count | html %]</em>) [% UNLESS loop.last %],[% END %] |
150 |
(<span>count:</span> <em>[% index.index_count | html %]</em>) [% UNLESS loop.last %],[% END %] |
151 |
[% END %] |
151 |
[% END %] |
152 |
[% ELSE %] |
152 |
[% ELSE %] |
153 |
<span class="text-bg-warning">not running</span> |
153 |
<span class="bg-warning-subtle">not running</span> |
154 |
[% END %] |
154 |
[% END %] |
155 |
</td> |
155 |
</td> |
156 |
[% END # /IF elasticsearch_fatal_config_error %] |
156 |
[% END # /IF elasticsearch_fatal_config_error %] |
Lines 159-165
Link Here
|
159 |
<tr> |
159 |
<tr> |
160 |
<th scope="row">Memcached: </th> |
160 |
<th scope="row">Memcached: </th> |
161 |
[% IF memcached_running AND is_memcached_still_active AND where_is_memcached_config == 'config_only' %] |
161 |
[% IF memcached_running AND is_memcached_still_active AND where_is_memcached_config == 'config_only' %] |
162 |
[% SET td_class="text-bg-info" %] |
162 |
[% SET td_class="bg-info-subtle" %] |
163 |
[% END %] |
163 |
[% END %] |
164 |
<td class="[% td_class | html %]"> |
164 |
<td class="[% td_class | html %]"> |
165 |
<span>Servers:</span> |
165 |
<span>Servers:</span> |
Lines 179-187
Link Here
|
179 |
<span>Status:</span> |
179 |
<span>Status:</span> |
180 |
[% IF memcached_servers %] |
180 |
[% IF memcached_servers %] |
181 |
[% IF memcached_running and is_memcached_still_active %] |
181 |
[% IF memcached_running and is_memcached_still_active %] |
182 |
<span class="text-bg-info">running</span>. |
182 |
<span class="bg-info-subtle">running</span>. |
183 |
[% ELSE %] |
183 |
[% ELSE %] |
184 |
<span class="text-bg-warning">not running</span>. |
184 |
<span class="bg-warning-subtle">not running</span>. |
185 |
[% IF is_psgi %] |
185 |
[% IF is_psgi %] |
186 |
<span>Remember memcached needs to be started before Plack.</span> |
186 |
<span>Remember memcached needs to be started before Plack.</span> |
187 |
[% END %] |
187 |
[% END %] |
Lines 193-206
Link Here
|
193 |
<span>Config read from:</span> |
193 |
<span>Config read from:</span> |
194 |
[% SWITCH where_is_memcached_config %] |
194 |
[% SWITCH where_is_memcached_config %] |
195 |
[% CASE 'config_only' %] |
195 |
[% CASE 'config_only' %] |
196 |
<span class="text-bg-info">koha-conf.xml</span> |
196 |
<span class="bg-info-subtle">koha-conf.xml</span> |
197 |
[% CASE 'ENV_only' %] |
197 |
[% CASE 'ENV_only' %] |
198 |
<span class="text-bg-warning">ENV</span> <span>Note that the right place to define the memcached config is in your $KOHA_CONF file</span> |
198 |
<span class="bg-warning-subtle">ENV</span> <span>Note that the right place to define the memcached config is in your $KOHA_CONF file</span> |
199 |
[% CASE 'both' %] |
199 |
[% CASE 'both' %] |
200 |
<span class="text-bg-warning">ENV and koha-conf.xml</span> |
200 |
<span class="bg-warning-subtle">ENV and koha-conf.xml</span> |
201 |
<span>Note that the right place to define the memcached config is in your $KOHA_CONF file. To avoid any misunderstanding you should not export the memcached config from ENV.</span> |
201 |
<span>Note that the right place to define the memcached config is in your $KOHA_CONF file. To avoid any misunderstanding you should not export the memcached config from ENV.</span> |
202 |
[% CASE # nowhere %] |
202 |
[% CASE # nowhere %] |
203 |
<span class="text-bg-warning">Nowhere</span> <span>Note that the right place to define the memcached config is in your $KOHA_CONF file. Currently you do not have a valid memcached configuration defined.</span> |
203 |
<span class="bg-warning-subtle">Nowhere</span> <span>Note that the right place to define the memcached config is in your $KOHA_CONF file. Currently you do not have a valid memcached configuration defined.</span> |
204 |
[% END %] |
204 |
[% END %] |
205 |
[% IF effective_caching_method != 'Cache::Memcached::Fast::Safe' %] |
205 |
[% IF effective_caching_method != 'Cache::Memcached::Fast::Safe' %] |
206 |
| <span>Effective caching method:</span> [% effective_caching_method | html %] |
206 |
| <span>Effective caching method:</span> [% effective_caching_method | html %] |
Lines 214-235
Link Here
|
214 |
<tr> |
214 |
<tr> |
215 |
<th scope="row">Zebra status: </th> |
215 |
<th scope="row">Zebra status: </th> |
216 |
[% IF (errZebraConnection == 10000) %] |
216 |
[% IF (errZebraConnection == 10000) %] |
217 |
<td class="text-bg-danger"><strong>Zebra server seems not to be available. Is it started?</strong></td> |
217 |
<td class="bg-danger-subtle"><strong>Zebra server seems not to be available. Is it started?</strong></td> |
218 |
[% ELSIF (errZebraConnection) %] |
218 |
[% ELSIF (errZebraConnection) %] |
219 |
<td class="text-bg-warning"><strong>Error message from Zebra: [% ( errZebraConnection ) | html %]</strong></td> |
219 |
<td class="bg-warning-subtle"><strong>Error message from Zebra: [% ( errZebraConnection ) | html %]</strong></td> |
220 |
[% ELSE %] |
220 |
[% ELSE %] |
221 |
<td class="text-bg-info">Running</td> |
221 |
<td class="bg-info-subtle">Running</td> |
222 |
[% END %] |
222 |
[% END %] |
223 |
</tr> |
223 |
</tr> |
224 |
<tr> |
224 |
<tr> |
225 |
<th scope="row">Message broker: </th> |
225 |
<th scope="row">Message broker: </th> |
226 |
[% IF warnConnectBroker %] |
226 |
[% IF warnConnectBroker %] |
227 |
<td class="text-bg-warning"><strong>Using SQL polling (Fallback, Error connecting to RabbitMQ)</strong></td> |
227 |
<td class="bg-warning-subtle"><strong>Using SQL polling (Fallback, Error connecting to RabbitMQ)</strong></td> |
228 |
[% ELSE %] |
228 |
[% ELSE %] |
229 |
[% IF Koha.Preference('JobsNotificationMethod') == 'polling' %] |
229 |
[% IF Koha.Preference('JobsNotificationMethod') == 'polling' %] |
230 |
<td class="text-bg-info">Using SQL polling</td> |
230 |
<td class="bg-info-subtle">Using SQL polling</td> |
231 |
[% ELSE %] |
231 |
[% ELSE %] |
232 |
<td class="text-bg-info">Using RabbitMQ</td> |
232 |
<td class="bg-info-subtle">Using RabbitMQ</td> |
233 |
[% END %] |
233 |
[% END %] |
234 |
[% END %] |
234 |
[% END %] |
235 |
</tr> |
235 |
</tr> |
Lines 238-245
Link Here
|
238 |
<td>[% current_date_and_time | $KohaDates with_hours => 1 %]</td> |
238 |
<td>[% current_date_and_time | $KohaDates with_hours => 1 %]</td> |
239 |
</tr> |
239 |
</tr> |
240 |
<tr> |
240 |
<tr> |
241 |
[% timezone_config_class = (time_zone.config_invalid) ? 'text-bg-warning' : '' %] |
241 |
[% timezone_config_class = (time_zone.config_invalid) ? 'bg-warning-subtle' : '' %] |
242 |
[% timezone_env_class = (time_zone.env_invalid) ? 'text-bg-warning' : '' %] |
242 |
[% timezone_env_class = (time_zone.env_invalid) ? 'bg-warning-subtle' : '' %] |
243 |
<th scope="row">Time zone: </th> |
243 |
<th scope="row">Time zone: </th> |
244 |
<td> |
244 |
<td> |
245 |
<span>Used:</span> <span>[% time_zone.actual | html %]</span> |
245 |
<span>Used:</span> <span>[% time_zone.actual | html %]</span> |