From 8ff9f5b1e6d5656823de7577f8f303d123726499 Mon Sep 17 00:00:00 2001 From: Manager Bot Date: Fri, 11 Nov 2022 04:48:14 +0000 Subject: [PATCH] Fixes. --- Web/lib/MJB/Web/Task/UpdateSSLCerts.pm | 2 +- Web/templates/admin/jobs.html.ep | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Web/lib/MJB/Web/Task/UpdateSSLCerts.pm b/Web/lib/MJB/Web/Task/UpdateSSLCerts.pm index a5057b0..5f284cd 100644 --- a/Web/lib/MJB/Web/Task/UpdateSSLCerts.pm +++ b/Web/lib/MJB/Web/Task/UpdateSSLCerts.pm @@ -14,7 +14,7 @@ sub run ( $job ) { $job->note( _mds_template => 'update_ssl_certs' ); # Renew the SSL Certificates - $job->system_command( [ 'sudo', 'letsencrypt renew' ] ); + $job->system_command( [ 'sudo', 'certbot renew' ] ); $job->note( is_renew_done => 1 ); # Push the SSL Certificates diff --git a/Web/templates/admin/jobs.html.ep b/Web/templates/admin/jobs.html.ep index 4e5c668..b46f940 100644 --- a/Web/templates/admin/jobs.html.ep +++ b/Web/templates/admin/jobs.html.ep @@ -29,7 +29,7 @@ % my $index = 0; % foreach my $build ( $c->db->admin_jobs->all ) { % $index++; - % if ( my $build_job = $c->minion->job( $build->{job_id} ) ) { + % if ( my $build_job = $c->minion->job( $build->minion_job_id ) ) { % my $job = $build_job->info; % if ( $job->{state} eq 'finished' ) {