Skip to content

Timeout Error When installing dedicated server on Hetzner#1154

Open
fatihalp wants to merge 3 commits into
vitodeploy:3.xfrom
fatihalp:3.x
Open

Timeout Error When installing dedicated server on Hetzner#1154
fatihalp wants to merge 3 commits into
vitodeploy:3.xfrom
fatihalp:3.x

Conversation

@fatihalp

Copy link
Copy Markdown

No description provided.

fatihalp added 2 commits June 11, 2026 23:54
… failed: failed_jobs.uuid (Connection: sqlite
… failed: failed_jobs.uuid (Connection: sqlite
@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 843d7520-73ad-4ebb-af5a-95c5eb404180

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands and usage tips.

… failed: failed_jobs.uuid (Connection: sqlite

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to prevent SSH provisioning jobs (notably on Hetzner dedicated servers) from hanging/timeing out by making apt/dpkg upgrades fully non-interactive and by increasing queue/Horizon timeouts for the SSH worker.

Changes:

  • Add needrestart/dpkg non-interactive handling to OS upgrade/dependency/cleanup SSH scripts.
  • Increase the SSH queue/Horizon worker timeout defaults to allow longer-running provisioning tasks.
  • Add dpkg options to automatically keep existing config files during upgrades/installs.

Reviewed changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
resources/views/ssh/os/upgrade.blade.php Adjust apt upgrade to force non-interactive dpkg config handling.
resources/views/ssh/os/install-dependencies.blade.php Make dependency installs non-interactive and add dpkg conf handling.
resources/views/ssh/os/cleanup.blade.php Attempt to suppress interactive needrestart behavior during cleanup.
config/queue.php Increase SSH queue connection timeout/retry settings.
config/horizon.php Increase Horizon SSH supervisor timeout default.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +1 to +4
export NEEDRESTART_MODE=l
sudo DEBIAN_FRONTEND=noninteractive apt-get clean
sudo DEBIAN_FRONTEND=noninteractive apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
sudo DEBIAN_FRONTEND=noninteractive apt-get upgrade -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold"
Comment on lines +1 to +3
export NEEDRESTART_MODE=l
export DEBIAN_FRONTEND=noninteractive
sudo apt-get install -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" software-properties-common curl zip unzip git gcc openssl ufw cron
Comment on lines +1 to 3
export NEEDRESTART_MODE=l
# Update package lists
sudo DEBIAN_FRONTEND=noninteractive apt-get update -y
Comment thread config/queue.php
Comment on lines 56 to +60
'ssh' => [
'driver' => 'redis',
'connection' => 'default',
'queue' => 'default',
'timeout' => 600,
'retry_after' => 600,
'timeout' => 3600,
Comment thread config/horizon.php
Comment on lines 209 to 213
'memory' => env('HORIZON_SSH_MEMORY', 128),
'tries' => env('HORIZON_SSH_TRIES', 1),
'timeout' => env('HORIZON_SSH_TIMEOUT', 600),
'timeout' => env('HORIZON_SSH_TIMEOUT', 6600),
'nice' => env('HORIZON_SSH_NICE', 0),
],
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants