Skip to content

v1.5.3

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Dec 16:46
· 9 commits to main since this release
625152b

Changed

  • Update module versions used by Wings, including compress, brotli, websocket, quic-go, go-jose, OpenTelemetry, pkg/sftp and golang.org/x. by @NaysKutzu

Fixed

  • File listing, archive, token and log handling follow-up: transfer tokens issued in the same second as a Wings restart are still accepted, archives skip denylisted files when a selected folder path ends with a slash, and the request error log test restores the original logger. by @NaysKutzu
  • Tighten file listing, archive, token and log handling: directory listings and SFTP listings no longer show names from the file denylist, archives skip those files inside selected folders and refuse LZIP input, properties files are updated without expanding ${} references, one-time upload tokens are remembered until they expire, transfer tokens issued before a Wings restart are refused, and request error logs record the path without the query string. by @NaysKutzu
  • Server lifecycle and diagnostics hardening by @NaysKutzu:
    • Installs, backup restores and transfers of a server can no longer run at the same time. A restore, install or reinstall requested while one of them is in progress is answered with 409, and an install that loses the race is reported to the panel as unsuccessful without touching the running operation.
    • The installation log no longer contains the values of password, token, key, license and similar egg variables. They are shown as ********, also where they appear inside STARTUP.
    • Diagnostics reports (wings diagnostics and /api/system/diagnostics) remove the node token, the metrics token, JWTs and token query parameters from the whole report, including the included wings.log lines, and endpoints are removed from the logs as well when they are not included. Uploads time out after 30 seconds and read at most 64 KiB of the paste service's answer.
    • Syncing a server's configuration from the panel replaces only its values and keeps the lock that guards them, so requests waiting on the configuration during a sync can no longer stay blocked.
    • Checksums sent with an incoming transfer are read up to 128 bytes; a larger one is refused with 400.
    • When the console stream of a running container ends, Wings retries a failed inspect before deciding anything, attaches again up to 3 times in 5 minutes, and terminates the container if its state cannot be read or it cannot be attached to, instead of marking the server offline while the container may still be running.
  • SFTP uploads no longer truncate an existing file unless the client asks for it, so resuming an interrupted upload keeps what was already uploaded instead of filling it with zero bytes (pelican/wings#238). An exclusive create of a file that already exists is refused. Setstat now applies the access and modification times the client sends and only changes the permissions when the client sends them, so preserving timestamps no longer resets files to 0644 (pelican/wings#240) by @NaysKutzu.
  • With system.quotas.enabled, servers can start, restart and reinstall again instead of failing the Panel sync with quotactl: no such process. The quota library reads the project quota back as a user quota; that read-back error is now checked by reading the quota as a project quota (pelican/wings#239) by @NaysKutzu.
  • With system.quotas.enabled, a server whose data folder was removed can be reinstalled again. The folder is made again and its quota project set on it before the quota is applied, instead of the reinstall failing with lstat ...: no such file or directory before it gets to make the folder (pelican/wings#244) by @NaysKutzu.
  • Folders of a transferred server keep the mode they had on the source node, so a read-only folder (for example 0555) no longer arrives as 0755. Modes are applied after the last file is written, deepest folder first (pelican/wings#241) by @NaysKutzu.
  • On cgroup v2 hosts Wings no longer sends OomKillDisable when creating or updating containers. cgroup v2 has no such setting, so Docker ignored it and logged a warning each time; on cgroup v1 the egg's OOM killer setting is applied as before by @NaysKutzu.
  • Restoring a backup without deleting the server's files first now replaces a file or symlink that is in the way of a symlink from the backup, instead of silently keeping the old entry. A folder in the way is kept by @NaysKutzu.
  • TOML configuration files are written with the same size and disk space checks as the other formats, so a result that is too large or doesn't fit in the server's disk space leaves the file as it was instead of truncating it by @NaysKutzu.
  • When the console stream of a running container ends, Wings now waits for Docker with a backoff (up to 10 minutes) instead of terminating the container when Docker doesn't answer, for example while dockerd restarts with live-restore. The container is only terminated when Docker confirms it is running and attaching to it failed 3 times within 5 minutes; a stream that keeps getting lost but can be attached to again only slows down re-attaching. If Docker still doesn't answer, the server is marked offline without counting as a crash and the runtime reconciliation attaches to it again once Docker reports it running by @NaysKutzu.
  • Resource polling (CPU, memory, disk) keeps running when the console attach stream is replaced while the container is still running. A polling request made by the new attach session while the previous session's loop is still shutting down is kept and taken over when that loop exits, instead of being dropped, so usage no longer stays at 0 when runtime reconciliation is disabled. Follow-up to #44. by @NaysKutzu
  • A server's state is no longer changed by its console output: a line that equals the egg's stop command does not put a running server into the stopping state. The stopping state is set when the stop command is actually sent (the egg's stop command is now known from start-up, so this also works for servers that were re-attached after a restart of Wings), so crash detection and feature detection keep working. by @NaysKutzu

SHA256 Checksum

cb3c589c0c8c39fefc8aa1b2dd474471d72a83f9f3e20d956a0d4a8ed4658382  wings_linux_amd64
45f69069a138b3cecb6c284b885bf94ae3738ba6818f3d407d56a7cb20660768  wings_linux_arm64
1b14a222f293939b2b2f633fbebefc6c484dec222897d7c43b583cd406a03755  featherwings_1.5.3_amd64.deb
866f5fc8b4413fa91f01678f90d05ee3dbd38e199c63ae8013b151e7eec1922c  featherwings_1.5.3_arm64.deb