coollabsio/coolify · error · RuntimeException
This server cannot be transferred because one or more applic
Error message
This server cannot be transferred because one or more applications use additional destinations (multi-server / multi-destination deploy). Remove all additional destinations from those applications, then retry the export.
What it means
Error "This server cannot be transferred because one or more applications use additional destinations (multi-server / multi-destination deploy). Remove all additional destinations from those applications, then retry the export." thrown in coollabsio/coolify.
Source
Thrown at app/Services/ServerTransfer/ServerTransferExporter.php:788
/**
* Multi-server / multi-destination applications cannot be transferred safely:
* the bundle is per-server and additional destinations may live on other hosts.
*
* @param Collection<int, Application> $applications
*/
private function assertNoAdditionalDestinations(Server $server, Collection $applications): void
{
$involvesThisServer = DB::table('additional_destinations')
->where('server_id', $server->id)
->exists();
$appIds = $applications->pluck('id')->filter()->all();
$involvesTheseApps = $appIds !== [] && DB::table('additional_destinations')
->whereIn('application_id', $appIds)
->exists();
if ($involvesThisServer || $involvesTheseApps) {
throw new RuntimeException(
'This server cannot be transferred because one or more applications use additional destinations (multi-server / multi-destination deploy). '
.'Remove all additional destinations from those applications, then retry the export.'
);
}
}
/**
* @param Collection<int, SharedEnvironmentVariable>|iterable<int, SharedEnvironmentVariable> $variables
* @return list<array<string, mixed>>
*/
private function exportSharedEnvVars(iterable $variables): array
{
$out = [];
foreach ($variables as $variable) {
// Skip auto COOLIFY_SERVER_* — recreated on server create.
if (in_array($variable->key, ['COOLIFY_SERVER_UUID', 'COOLIFY_SERVER_NAME'], true)) {
continue;
}View on GitHub (pinned to 70b9acc424)
When it happens
Trigger: Thrown at app/Services/ServerTransfer/ServerTransferExporter.php:788 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of coollabsio/coolify@70b9acc424 (2026-08-17).
Data as JSON: /api/errors/93d9ef13f0d8bc96.
Report an issue: GitHub.