@@ -35,10 +35,7 @@ public function handle()
35
35
}
36
36
37
37
$ this ->servers = Server::all ();
38
- if (isCloud ()) {
39
- echo "Running in cloud mode \n" ;
40
- } else {
41
- echo "Running in self-hosted mode \n" ;
38
+ if (! isCloud ()) {
42
39
$ this ->send_alive_signal ();
43
40
get_public_ips ();
44
41
}
@@ -64,7 +61,7 @@ public function handle()
64
61
try {
65
62
$ this ->pullHelperImage ();
66
63
} catch (\Throwable $ e ) {
67
- echo " Error pulling helper image: { $ e -> getMessage ()}\n" ;
64
+ //
68
65
}
69
66
70
67
if (isCloud ()) {
@@ -125,7 +122,6 @@ private function update_user_emails()
125
122
try {
126
123
User::whereRaw ('email ~ \'[A-Z] \'' )->get ()->each (function (User $ user ) {
127
124
$ user ->update (['email ' => strtolower ($ user ->email )]);
128
- $ user ->update (['email ' => strtolower ($ user ->email )]);
129
125
});
130
126
} catch (\Throwable $ e ) {
131
127
echo "Error in updating user emails: {$ e ->getMessage ()}\n" ;
@@ -229,7 +225,6 @@ private function restore_coolify_db_backup()
229
225
230
226
private function send_alive_signal ()
231
227
{
232
- echo "Sending alive signal... \n" ;
233
228
$ id = config ('app.id ' );
234
229
$ version = config ('constants.coolify.version ' );
235
230
$ settings = instanceSettings ();
@@ -255,7 +250,6 @@ private function cleanup_in_progress_application_deployments()
255
250
}
256
251
$ queued_inprogress_deployments = ApplicationDeploymentQueue::whereIn ('status ' , [ApplicationDeploymentStatus::IN_PROGRESS ->value , ApplicationDeploymentStatus::QUEUED ->value ])->get ();
257
252
foreach ($ queued_inprogress_deployments as $ deployment ) {
258
- echo "Marking deployment {$ deployment ->id } as failed \n" ;
259
253
$ deployment ->status = ApplicationDeploymentStatus::FAILED ->value ;
260
254
$ deployment ->save ();
261
255
}
0 commit comments