Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions lib/Command/Daemon/RegisterDaemon.php
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ protected function execute(InputInterface $input, OutputInterface $output): int
return 1;
}

if ($acceptsDeployId === 'manual-install' && !$isHarp && str_contains($host, ':')) {
$output->writeln('<comment>Warning: The host contains a port, which will be ignored for manual-install daemons. The ExApp\'s port from --json-info will be used instead.</comment>');
}

if ($this->daemonConfigService->getDaemonConfigByName($name) !== null) {
$output->writeln(sprintf('Registration skipped, as the daemon config `%s` already exists.', $name));
return 0;
Expand Down
1 change: 1 addition & 0 deletions lib/DeployActions/ManualActions.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public function resolveExAppUrl(
$host = $deployConfig['additional_options']['OVERRIDE_APP_HOST'];
}
}
$host = explode(':', $host)[0];
return sprintf('%s://%s:%s', $protocol, $host, $port);
}
}