No description
This repository has been archived on 2026-09-11. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • PHP 90.3%
  • Shell 9.7%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-18 12:45:34 +02:00
config 0 2026-08-18 11:21:47 +02:00
database/migrations 1.1.0 2026-08-18 11:46:01 +02:00
dist 1.2.2 2026-08-18 12:45:34 +02:00
lang 1.2.0 2026-08-18 12:37:16 +02:00
scripts 0 2026-08-18 11:21:47 +02:00
src 1.2.1 2026-08-18 12:42:02 +02:00
tests/Unit 1.2.1 2026-08-18 12:42:02 +02:00
.gitignore 1.1.0 2026-08-18 11:46:01 +02:00
composer.json 0 2026-08-18 11:21:47 +02:00
phpunit.xml 0 2026-08-18 11:21:47 +02:00
plugin.json 1.2.2 2026-08-18 12:45:34 +02:00
README.md 1.2.1 2026-08-18 12:42:02 +02:00
update.json 1.2.2 2026-08-18 12:45:34 +02:00

Pelican Extended Wings Manager

Admin overview and secure Wings updater for Pelican Panel.

Features

  • Lists every accessible Pelican node/Wings instance.
  • Shows online state, installed and latest Wings version, FQDN, architecture, kernel, and the number of assigned servers.
  • Shows the distribution and distribution version after an SSH connection test.
  • Checks the detected release against the endoflife.date API, color-codes its support state, and displays its EOL date.
  • Updates installed system packages with the detected distribution's package manager (apt, dnf/yum, zypper, apk, or pacman).
  • Provides a confirmed action to reboot the complete Wings host.
  • Stores a separate SSH configuration for every node.
  • Encrypts private keys and passphrases with Pelican's APP_KEY.
  • Pins the SSH server host key on the explicit connection test and rejects later host-key changes.
  • Downloads only an exact official pelican-dev/wings release for amd64 or arm64, verifies that the binary starts, replaces /usr/local/bin/wings, and restarts wings.service.

Pelican/Wings currently exposes system information and configuration endpoints, but no supported remote self-update endpoint. The update action therefore uses SSH. The overview itself works without SSH; exact Linux distribution details and the update button require it.

Requirements

  • Pelican Panel 1.0.0-beta36 or newer.
  • A queue worker for plugin installation through Pelican Extended Core.
  • SSH access from the Panel host/container to each Wings host.
  • Outbound HTTPS access from the Panel to endoflife.date for distribution lifecycle data.
  • curl or wget, systemctl, and the standard Wings path /usr/local/bin/wings on the Wings host.
  • A root SSH user, or a dedicated user with carefully reviewed passwordless sudo rights when Run update with sudo -n is enabled.

Installation

Install Pelican Extended Wings Manager from the Pelican Extended Store, or upload pelican-extended-wings-manager.zip under Admin → Plugins.

CLI fallback:

php artisan p:plugin:install pelican-extended-wings-manager

Open Pelican Extended → Wings Manager.

SSH setup

Create a dedicated key from a secure administration workstation:

ssh-keygen -t ed25519 -f ~/.ssh/pelican_wings_manager
ssh-copy-id -i ~/.ssh/pelican_wings_manager.pub root@wings.example.com

In the Wings Manager, choose SSH konfigurieren / Configure SSH for the node, paste the private key, save it, and run SSH testen / Test SSH. The first explicit test uses trust-on-first-use and displays/stores the SHA-256 host-key fingerprint. Verify that fingerprint against the Wings host. Updates are blocked until this test succeeds. A changed host key is never accepted automatically.

The private key field is intentionally blank whenever the form is reopened. Leaving it blank preserves the encrypted key already stored in the database. Deleting the SSH configuration or uninstalling the plugin removes its secrets.

Update behavior

The Wings update action:

  1. requires Node update permission and a pinned SSH host key;
  2. obtains the latest release from Pelican's version service;
  3. runs the checksum-verifying built-in /usr/local/bin/wings update command;
  4. captures the verbose updater output and verifies the installed version as the authoritative result because some self-updater error paths return exit status zero;
  5. falls back to downloading and version-checking the exact official binary on older Wings versions that do not provide the update command;
  6. runs systemctl restart wings.

Running game-server containers are not deliberately stopped, but Wings is briefly unavailable while its service restarts.

The system update action runs the non-interactive package update command selected from the detected /etc/os-release ID. It updates packages within the installed distribution release; it does not perform a major distribution upgrade or reboot the host. The button remains disabled for unknown distributions. Lifecycle data is cached for six hours and can be refreshed with Refresh status.

The reboot action runs systemctl reboot --no-block after confirmation. It reboots the complete host, so Wings and all hosted game servers are temporarily unavailable.

Test updates on a non-critical node first and maintain normal backups and out-of-band SSH access.

Development

composer install
composer test
./scripts/build-plugin-zip.sh

License

AGPL-3.0-only