More housekeeping

This commit is contained in:
Pinga 2025-02-12 18:34:38 +02:00
parent 715ba7819d
commit de261bdc87
5 changed files with 36 additions and 16 deletions

View file

@ -89,7 +89,9 @@ After installation, be sure to review all the guides in the Documentation sectio
### Update
If your current version is not immediately before the latest, you must run the update scripts sequentially for each version, e.g., from 1.0.3 to 1.0.4, then from 1.0.4 to 1.0.5, and so on, until you reach the latest version.
You must run update scripts in order, without skipping versions. For example, if you're on 1.0.13 and the latest is 1.0.15, first update to 1.0.14, then to 1.0.15.
- v1.0.14 to v1.0.15 - backup registry, download and run the [update1015.sh](docs/update1015.sh) script.
- v1.0.13 to v1.0.14 - backup registry, download and run the [update1014.sh](docs/update1014.sh) script.

View file

@ -136,6 +136,7 @@ class ReportsController extends Controller
$dasStatus = $checkServiceStatus('das');
$msgbStatus = $checkServiceStatus('msg_producer');
$msgwStatus = $checkServiceStatus('msg_worker');
$redisStatus = $checkServiceStatus('redis');
// Get log lines as strings
$eppLogs = $getLogLines('epp');
@ -213,6 +214,7 @@ class ReportsController extends Controller
'msgwStatus' => $msgwStatus,
'msgbLogs' => $msgbLogs,
'msgwLogs' => $msgwLogs,
'redisStatus' => $redisStatus
]);
}

View file

@ -113,7 +113,7 @@
</div>
<!-- EPP Card -->
<div class="col-md-4">
<div class="col-md-3">
<div class="card">
<div class="card-body">
<div class="d-flex align-items-center flex-wrap">
@ -122,14 +122,14 @@
<span class="status-dot status-dot-animated"></span>
{{ eppStatus == 'Running' ? __('Running') : __('Stopped') }}
</span>
<div class="w-100 mt-2 text-secondary">{{ __('Issue detected? Restart with:') }} <code>service epp restart</code></div>
<div class="w-100 mt-2 text-secondary">{{ __('Problem? Restart:') }} <code>service epp restart</code></div>
</div>
</div>
</div>
</div>
<!-- RDAP Card -->
<div class="col-md-4">
<div class="col-md-3">
<div class="card">
<div class="card-body">
<div class="d-flex align-items-center flex-wrap">
@ -138,14 +138,14 @@
<span class="status-dot status-dot-animated"></span>
{{ rdapStatus == 'Running' ? __('Running') : __('Stopped') }}
</span>
<div class="w-100 mt-2 text-secondary">{{ __('Issue detected? Restart with:') }} <code>service rdap restart</code></div>
<div class="w-100 mt-2 text-secondary">{{ __('Problem? Restart:') }} <code>service rdap restart</code></div>
</div>
</div>
</div>
</div>
<!-- WHOIS Card -->
<div class="col-md-4">
<div class="col-md-3">
<div class="card">
<div class="card-body">
<div class="d-flex align-items-center flex-wrap">
@ -154,14 +154,14 @@
<span class="status-dot status-dot-animated"></span>
{{ whoisStatus == 'Running' ? __('Running') : __('Stopped') }}
</span>
<div class="w-100 mt-2 text-secondary">{{ __('Issue detected? Restart with:') }} <code>service whois restart</code></div>
<div class="w-100 mt-2 text-secondary">{{ __('Problem? Restart:') }} <code>service whois restart</code></div>
</div>
</div>
</div>
</div>
<!-- DAS Card -->
<div class="col-md-4">
<div class="col-md-3">
<div class="card">
<div class="card-body">
<div class="d-flex align-items-center flex-wrap">
@ -170,14 +170,14 @@
<span class="status-dot status-dot-animated"></span>
{{ dasStatus == 'Running' ? __('Running') : __('Stopped') }}
</span>
<div class="w-100 mt-2 text-secondary">{{ __('Issue detected? Restart with:') }} <code>service das restart</code></div>
<div class="w-100 mt-2 text-secondary">{{ __('Problem? Restart:') }} <code>service das restart</code></div>
</div>
</div>
</div>
</div>
<!-- Msg_Producer Card -->
<div class="col-md-4">
<div class="col-md-3">
<div class="card">
<div class="card-body">
<div class="d-flex align-items-center flex-wrap">
@ -186,14 +186,14 @@
<span class="status-dot status-dot-animated"></span>
{{ msgbStatus == 'Running' ? __('Running') : __('Stopped') }}
</span>
<div class="w-100 mt-2 text-secondary">{{ __('Issue detected? Restart with:') }} <code>service msg_producer restart</code></div>
<div class="w-100 mt-2 text-secondary">{{ __('Problem? Restart:') }} <code>service msg_producer restart</code></div>
</div>
</div>
</div>
</div>
<!-- Msg_Worker Card -->
<div class="col-md-4">
<div class="col-md-3">
<div class="card">
<div class="card-body">
<div class="d-flex align-items-center flex-wrap">
@ -202,7 +202,23 @@
<span class="status-dot status-dot-animated"></span>
{{ msgwStatus == 'Running' ? __('Running') : __('Stopped') }}
</span>
<div class="w-100 mt-2 text-secondary">{{ __('Issue detected? Restart with:') }} <code>service msg_worker restart</code></div>
<div class="w-100 mt-2 text-secondary">{{ __('Problem? Restart:') }} <code>service msg_worker restart</code></div>
</div>
</div>
</div>
</div>
<!-- Redis Card -->
<div class="col-md-3">
<div class="card">
<div class="card-body">
<div class="d-flex align-items-center flex-wrap">
<div class="subheader me-2">{{ __('Redis') }}:</div>
<span class="status {{ redisStatus == 'Running' ? 'status-green' : 'status-red' }}">
<span class="status-dot status-dot-animated"></span>
{{ redisStatus == 'Running' ? __('Running') : __('Stopped') }}
</span>
<div class="w-100 mt-2 text-secondary">{{ __('Problem? Restart:') }} <code>service redis restart</code></div>
</div>
</div>
</div>

View file

@ -14,7 +14,7 @@
<a href="https://namingo.org" target="_blank" class="link-secondary" rel="noopener">Namingo</a>
</li>
<li class="list-inline-item">
v1.0.14
v1.0.15
</li>
</ul>
</div>

View file

@ -246,7 +246,7 @@ EOF
wget "http://www.adminer.org/latest.php" -O /usr/share/adminer/latest.php
ln -s /usr/share/adminer/latest.php /usr/share/adminer/adminer.php
git clone --branch v1.0.14 --single-branch https://github.com/getnamingo/registry /opt/registry
git clone --branch v1.0.15 --single-branch https://github.com/getnamingo/registry /opt/registry
mkdir -p /var/log/namingo
chown -R www-data:www-data /var/log/namingo