mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-14 00:16:42 +00:00
feat(servers): add cross-instance server migration (#11075)
This commit is contained in:
1 parent
c15e3b35fd
commit
f9caa5250d
36 files changed
+7675
-15
No files matched your search
@@ -327,6 +327,15 @@ class Show extends Component
|
||||
{
|
||||
try {
|
||||
$this->authorize('update', $this->server);
|
||||
if (! $this->server->canBeValidated()) {
|
||||
$this->dispatch(
|
||||
'error',
|
||||
'Cannot revalidate',
|
||||
'This server was transferred to another Coolify instance. Manage it from the target instance instead.'
|
||||
);
|
||||
|
||||
return;
|
||||
}
|
||||
if ($this->server->vultr_instance_id) {
|
||||
$status = $this->server->refreshVultrState();
|
||||
$this->server->refresh();
|
||||
|
||||
Reference in new issue
Block a user