- PHP 90.3%
- Shell 9.7%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| config | ||
| database/migrations | ||
| dist | ||
| lang | ||
| scripts | ||
| src | ||
| tests/Unit | ||
| .gitignore | ||
| composer.json | ||
| phpunit.xml | ||
| plugin.json | ||
| README.md | ||
| update.json | ||
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, orpacman). - 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/wingsrelease foramd64orarm64, verifies that the binary starts, replaces/usr/local/bin/wings, and restartswings.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-beta36or 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.datefor distribution lifecycle data. curlorwget,systemctl, and the standard Wings path/usr/local/bin/wingson 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:
- requires Node update permission and a pinned SSH host key;
- obtains the latest release from Pelican's version service;
- runs the checksum-verifying built-in
/usr/local/bin/wings updatecommand; - captures the verbose updater output and verifies the installed version as the authoritative result because some self-updater error paths return exit status zero;
- falls back to downloading and version-checking the exact official binary on older Wings versions that do not provide the update command;
- 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