Back to Paperless Ngx

System Status Dialog.Component

src-ui/src/app/components/common/system-status-dialog/system-status-dialog.component.html

2.20.153.2 KB
Original Source
System Status

@if (!status) {

Loading...

} @else {

Environment

Paperless-ngx Version {{status.pngx_version}} @if (versionMismatch) { } Frontend version: {{frontendVersion}}
Backend version: {{status.pngx_version}} Install Type{{status.install_type}}Server OS{{status.server_os}}Media Storage{{status.storage.available | fileSize}} available ({{status.storage.total | fileSize}} total)

Database

Type{{status.database.type}}Status {{status.database.status}} @if (status.database.status === 'OK') { } @else { } @if (status.database.status === 'OK') { {{status.database.url}} } @else { {{status.database.url}}: {{status.database.error}} } Migration Status @if (status.database.migration_status.unapplied_migrations.length === 0) { Up to date } @else { {{status.database.migration_status.unapplied_migrations.length}} Pending }

Latest Migration:

{{status.database.migration_status.latest_migration}} @if (status.database.migration_status.unapplied_migrations.length > 0) {

Pending Migrations:

@for (migration of status.database.migration_status.unapplied_migrations; track migration) { - {{migration}} } }

Tasks Queue

Redis Status {{status.tasks.redis_status}} @if (status.tasks.redis_status === 'OK') { } @else { } @if (status.tasks.redis_status === 'OK') { {{status.tasks.redis_url}} } @else { {{status.tasks.redis_url}}: {{status.tasks.redis_error}} } Celery Status {{status.tasks.celery_status}} @if (status.tasks.celery_status === 'OK') { } @else { } @if (status.tasks.celery_status === 'OK') { {{status.tasks.celery_url}} } @else { {{status.tasks.celery_error}} }

Health

Search Index {{status.tasks.index_status}} @if (status.tasks.index_status === 'OK') { @if (isStale(status.tasks.index_last_modified)) { } @else { } } @else { } @if (currentUserIsSuperUser) { @if (isRunning(PaperlessTaskName.IndexOptimize)) {

} @else { Run Task } } @if (status.tasks.index_status === 'OK') {

Last Updated:

{{status.tasks.index_last_modified | customDate:'medium'}} } @else {

Error:

{{status.tasks.index_error}} } Classifier {{status.tasks.classifier_status}} @if (status.tasks.classifier_status === 'OK') { @if (isStale(status.tasks.classifier_last_trained)) { } @else { } } @else { } @if (currentUserIsSuperUser) { @if (isRunning(PaperlessTaskName.TrainClassifier)) {

} @else { Run Task } } @if (status.tasks.classifier_status === 'OK') {

Last Trained:

{{status.tasks.classifier_last_trained | customDate:'medium'}} } @else {

Error:

{{status.tasks.classifier_error}} } Sanity Checker {{status.tasks.sanity_check_status}} @if (status.tasks.sanity_check_status === 'OK') { @if (isStale(status.tasks.sanity_check_last_run)) { } @else { } } @else { } @if (currentUserIsSuperUser) { @if (isRunning(PaperlessTaskName.SanityCheck)) {

} @else { Run Task } } @if (status.tasks.sanity_check_status === 'OK') {

Last Run:

{{status.tasks.sanity_check_last_run | customDate:'medium'}} } @else {

Error:

{{status.tasks.sanity_check_error}} } WebSocket Connection @if (status.websocket_connected === 'OK') { OK } @else { Error }

}

@if (!copied) { } @if (copied) { } Copy