Update instance update process
This commit is contained in:
		@@ -45,7 +45,6 @@ class UpdateCoolify
 | 
				
			|||||||
                }
 | 
					                }
 | 
				
			||||||
                $this->update();
 | 
					                $this->update();
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
            send_internal_notification("Instance updated from {$this->currentVersion} -> {$this->latestVersion}");
 | 
					 | 
				
			||||||
        } catch (\Throwable $e) {
 | 
					        } catch (\Throwable $e) {
 | 
				
			||||||
            ray('InstanceAutoUpdateJob failed');
 | 
					            ray('InstanceAutoUpdateJob failed');
 | 
				
			||||||
            ray($e->getMessage());
 | 
					            ray($e->getMessage());
 | 
				
			||||||
@@ -83,6 +82,7 @@ class UpdateCoolify
 | 
				
			|||||||
                    "bash /data/coolify/source/upgrade.sh $this->latestVersion"
 | 
					                    "bash /data/coolify/source/upgrade.sh $this->latestVersion"
 | 
				
			||||||
                ], $this->server);
 | 
					                ], $this->server);
 | 
				
			||||||
            }
 | 
					            }
 | 
				
			||||||
 | 
					            send_internal_notification("Instance updated from {$this->currentVersion} -> {$this->latestVersion}");
 | 
				
			||||||
            return;
 | 
					            return;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user