Skip to content

Webtop does not restore environment variables from backup #7684

@stephdl

Description

@stephdl

Steps to reproduce

  • Perform a backup of an ns8-webtop module instance.
  • Attempt to restore the module from the backup, replacing the existing one.

Expected behavior

  • The environment variables from the backup should be restored as they were at the time of backup.

Actual behavior

  • The restoration process completes without any errors.
  • The environment variables are not restored from the backup; instead, the module ends up with the default environment variables as created by the create-module action.
  • Example of default environment variables after restore:
EJABBERD_MODULE=
IMAGE_DIGEST=sha256:7d648cbe299c16de576997d3052625335a80a2319e3fc99f403707b328b6064e
IMAGE_ID=09f056f16c2953660ef5a8b22abf18645e0ecfd52573c9b3f8ef48445075825a
IMAGE_REOPODIGEST=ghcr.io/nethserver/webtop@sha256:7d648cbe299c16de576997d3052625335a80a2319e3fc99f403707b328b6064e
IMAGE_URL=ghcr.io/nethserver/webtop:1.5.3
MAIL_MODULE_UUID=77acea9b-b827-496a-b05c-7c433c793242
MODULE_ID=webtop7
MODULE_UUID=b69fbe5c-fd4e-4197-a30c-eff98dfddb60
NODE_ID=1
TCP_PORT=20019
TCP_PORTS=20019
WEBAPP_JS_DEBUG=False
WEBAPP_MAX_MEMORY=1024
WEBAPP_MIN_MEMORY=512
WEBDAV_DEBUG=False
WEBDAV_LOG_LEVEL=ERROR
WEBTOP_APACHE_IMAGE=ghcr.io/nethserver/webtop-apache:1.5.3
WEBTOP_LOCALE=en_US
WEBTOP_PHONEBOOK_IMAGE=ghcr.io/nethserver/webtop-phonebook:1.5.3
WEBTOP_POSTGRES_IMAGE=ghcr.io/nethserver/webtop-postgres:1.5.3
WEBTOP_REQUEST_HTTPS_CERTIFICATE=False
WEBTOP_TIMEZONE=-
WEBTOP_WEBAPP_IMAGE=ghcr.io/nethserver/webtop-webapp:1.5.3
WEBTOP_WEBDAV_IMAGE=ghcr.io/nethserver/webtop-webdav:1.5.3
WEBTOP_Z_PUSH_IMAGE=ghcr.io/nethserver/webtop-z-push:1.5.3
Z_PUSH_IMAP_SERVER=10.5.4.1
Z_PUSH_LOG_LEVEL=ERROR
Z_PUSH_SMTP_PORT=25
Z_PUSH_SMTP_SERVER=10.5.4.1
Z_PUSH_USE_LEGACY_FOLDER_IDS=false

Components

  • webtop 1.5.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    verifiedAll test cases were verified successfully

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions