Skip to content

Dokuwiki restore fails due to missing env keys #7685

@stephdl

Description

@stephdl

Steps to reproduce

  • Attempt to restore ns8-dokuwiki from a backup with stable version ghcr.io/nethserver/dokuwiki:1.0.7
  • Restoration fails due to missing keys.

Expected behavior

  • Restoration should succeed
  • Some keys (PHP_MEMORYLIMIT, PHP_UPLOADLIMIT, PHP_TIMEZONE) should be set by configure-module if never set before.

Actual behavior

  • The restoration fails because of certains keys are not present and expected in the restore-module/06copyenv.
  • These missing keys are causing errors.
  • Keys like PHP_MEMORYLIMIT, PHP_UPLOADLIMIT, PHP_TIMEZONE are currently rewritten by configure-module instead of being preserved from create-module.
  • The PHP_ENABLE_OPCACHE key is also missing

This bug has been introduced by the change of bitnami image to the official dokuwiki and it affects only stable because from previous version the missing environment variable are present, but not with latest version

Components

ns8-dokuwiki ghcr.io/nethserver/dokuwiki:1.0.7
See also


// Acknowledgements

  • Thanks to epetersen-lab for finding the issue and suggesting improvements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    forgeThe package belongs to NethForgeverifiedAll test cases were verified successfully

    Type

    Projects

    Status

    Done

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions