Skip to content

v2.243.0

Choose a tag to compare

@github-actions github-actions released this 28 Nov 17:11
· 39 commits to main since this release

Security: two fixes reported privately

  • A cron label could add lines to root's crontab. The label of a site cron job was never checked and was
    written after the # dockpanel:<id> marker. A line break in it started a second, unmarked crontab line that
    no later sync removed and the command filter never saw. Any non-admin account that owns a site could use
    that to run commands as root. The panel and the agent now refuse a label with control characters or more
    than 100 characters; the agent also skips a row whose id is not one plain word. Reported by @hackchang.
  • An administrator could reset the password of, or delete, another administrator through
    PUT/DELETE /api/reseller/users/{id}: the guard added in v2.196.0 covered /api/users only. Those two
    routes now treat another administrator as not found, and deleting an account first hands its servers to the
    acting administrator, as /api/users already did (without that, the servers' sites were deleted with it).
    Installs with one administrator were not affected. Reported by @hackchang.

A cron command still runs as root; that is how the cron feature is built and is unchanged here.

Fixed: a fresh Debian 13 box had no cron

setup.sh installs the daily database backup with crontab, and the Cron page writes through it, but no
installer declared the package, and Debian 13 cloud images do not ship it. There the backup job was never
installed and creating a cron answered 502 "crontab -l failed to run". The installer now installs cron
(cronie on RHEL-family) and starts it, and update.sh installs it on a box that is missing it.

Menu Options: choose what each role sees (#131)

Settings has a "Menu Options" tab where an administrator picks, per role, which side menu and top bar
entries are shown. It also applies to the Ctrl-K palette and the dashboard's "Deploy App" and "Add Site"
buttons. This changes what is shown, not what is allowed: a hidden page still opens from its URL and keeps
its access rules. Dashboard, Settings, My Account and Logout cannot be hidden. For admins the saved choice
is a default that each admin can override in their own browser. Contributed by @MikeBerryCC.

Fixed: the Homarr one-click template

Homarr refuses to start without SECRET_ENCRYPTION_KEY (64 hex characters) and the template did not set
it: current images stop at the database migrations, v2.9.1 stayed running and answered HTTP 500. The agent
now generates a random key at deploy, and updates keep it. A Homarr app deployed before this fix does not
get the key from an update: delete it and deploy it again (it never finished its first start).


Install: curl -sL dockpanel.dev/install.sh | bash

Every release is installed on a throwaway VPS and driven as a user before
it ships. What that means, and what it has found, is written up at
https://docs.dockpanel.dev/testing.html.

Binaries are static musl builds signed with Sigstore; checksums.txt
and the .sig/.pem pairs are attached below.

Full changelog: v2.242.7...v2.243.0