Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

Fix issue with pulling helper image in Kernel.php and ApplicationDeploymentJob.php

Andras Bacsai51e918be6db0
diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php
index 89ec6feead..31760f2fd3 100644
--- a/app/Console/Kernel.php
+++ b/app/Console/Kernel.php
@@ -46,7 +46,7 @@ class Kernel extends ConsoleKernel
$this->instance_auto_update($schedule);
$this->check_scheduled_backups($schedule);
$this->check_resources($schedule);
- // $this->pull_helper_image($schedule);
+ $this->pull_helper_image($schedule);
$this->check_scheduled_tasks($schedule);
$schedule->command('cleanup:database --yes')->daily();
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.php
index 0207e4a809..b7e8e67cf3 100644
--- a/app/Jobs/ApplicationDeploymentJob.php
+++ b/app/Jobs/ApplicationDeploymentJob.php
@@ -999,10 +999,6 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
}
$this->application_deployment_queue->addLogEntry("Preparing container with helper image: $helperImage.");
$this->execute_remote_command(
- [
- "command" => "docker pull -q {$helperImage}",
- "hidden" => true
- ],
[
"command" => "docker rm -f {$this->deployment_uuid}",
"ignore_errors" => true,