/claim #8154
app/Models/Server.php): Added Debian 13 (Trixie) support by including trixie in the list of recognized Debian version codenames. When /etc/os-release has an empty or missing ID but VERSION_CODENAME is a known Debian codename (stretch, buster, bullseye, bookworm, trixie), ID is set to debian so the server is accepted. Tightened parsing of /etc/os-release (skip empty/invalid lines) and made validateOS() return the matching SUPPORTED_OS string consistently.getDebianDockerInstallCommand() that the fallback uses VERSION_CODENAME (e.g. trixie) for the Docker APT suite so all Debian versions, including 13, are supported.tests/Unit/ServerValidateOsSupportTest.php asserting that SUPPORTED_OS includes the debian family and that the Debian codename list used in validateOS() includes trixie and bookworm.N/A – backend validation only. Optional: screen recording of adding a Debian 13 server and running “Install Prerequisites” / Docker install without “Unsupported OS type” error.
./vendor/bin/pest tests/Unit/ServerValidateOsSupportTest.php. Expect 2 tests, 4 assertions, all passing.deb [arch=...] https://download.docker.com/linux/debian trixie stable).[!IMPORTANT]
- I have read and understood the contributor guidelines. If I have failed to follow any guideline, I understand that this PR may be closed without review.
- I have tested the changes thoroughly and am confident that they will work as expected without issues when the maintainer tests them
Matías J. Magni
@info3
Lawrence Kwan
@MrLawrenceKwan
Prudhviraj Kb
@prudh-vi
buildingvibes
@buildingvibes
Coolify
@coollabsio