Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Okay, the updating process is bad.

Okay, the updating process is bad.

Added by Johannes Hass about 2 years ago

We're currently hosting OpenProject on a server on-premise. Every time I run apt update && apt upgrade the server becomes unusable until I remember that I also have to do openproject configure and then also putz around with the config file again because this process overwrites the config file without even asking.

Now, the way I remember updates going is that apt usually has a post-install hook which is explicitly intended for just such additional steps after installing/upgrading a module. Also, apt usually asks before overwriting a config file with default values.


Replies (2)

RE: Okay, the updating process is bad. - Added by Cyril Rohr about 2 years ago

Hello,

Sorry for the bad experience. Could you let me know on which specific distribution you encounter the issue?

APT does indeed have a postinstall, but it cannot run ours because there may be additional packages to install depending on your configuration, and you cannot run apt within an apt postinstall. 

Do you by any chance could pinpoint the settings that are overwritten? I’m assuming the database connection doesn’t get reset at any update, am I right?

Also, are you talking about the YAML configuration file, or the /etc/openproject/installer.dat file ?

Thank you for your help,

Cyril

RE: Okay, the updating process is bad. - Added by Stavros Christoforou about 1 year ago

We have the same issue with APT updates,

Hostname (despite having changed it in installer.dat) goes back to fqdn which breaks HAProxy, and any additional changes in the configuration.yml (we use Keycloak as OpenID provider) are erased.

  • (1 - 2/2)
Loading...