Skip to content

Keep custom ports and HTTPS on upgrade, allow host-bound ports, resizable row fields #14346

Closed

Description

@ChiragAgg5k

Tracks PR #14345.

Plan

Goal: Make the self-hosted installer keep a deployment's custom ports and HTTPS setting on upgrade, accept host-bound ports such as 127.0.0.1:80, and let console row text fields be resized.

What changes (PR #14345):

  • Port defaults on upgrade: src/Appwrite/Platform/Tasks/Install.php reads _APP_HTTP_PORT and _APP_HTTPS_PORT from .env, falling back to literal compose ports for older installs. src/Appwrite/Docker/Compose/Service.php splits ports on the last : so host bindings survive.
  • "Use HTTPS" toggle: app/views/install/installer/js/steps.js keeps the installation's saved setting instead of deriving it from the hostname.
  • Host-bound ports: new src/Appwrite/Platform/Installer/Validator/Port.php, used by Installer/Http/Installer/Install.php, the CLI flags in Tasks/Install.php and Tasks/Upgrade.php, and the UI (validation.js, step-1.phtml). The isValidIPv6 bracket bug in validation.js is also fixed.
  • Console row fields: resize-y on the row text and array-item textareas (apps/console/.../databases/_components/DatabaseArrayItemTextField.tsx).
  • Tests: PortTest, ServiceTest, ViewTest::testPortsAcceptHostBinding.

Remaining steps: none beyond the PR; it is the full change.

Done when:

Activity

  1. self-assigned this
    on Oct 11, 2026
  2. added
    product / avatars
    product / console
    product / databases
    product / functions
    product / self-hosted
    on Oct 11, 2026
  3. ChiragAgg5k commented on Oct 14, 2026

    @ChiragAgg5k
    MemberAuthor

    Released in Appwrite 2.5.0 (includes #14345).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

product / avatarsproduct / consoleproduct / databasesproduct / functionsproduct / self-hosted

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions