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. Write current configuration to installer.dat

Write current configuration to installer.dat

Added by Kevin Staples almost 4 years ago

Hello,

is there a way to write the current configuration of an OpenProject instance into the installer.dat file?

Best regards

Kevin


Replies (2)

RE: Write current configuration to installer.dat - Added by Oliver Günther almost 4 years ago

Hi Kevin,

OpenProject configuration from a packaged installation is split into two things:

  1. Configuration settings. These are mainly created from ENV variables in packaged installations. You can see them with openproject config . They are being generated from /etc/openproject/installer.dat and also any additional variables are stored in /etc/openproject/conf.d/* 
  2. UI-defined and changeable settings. These are stored in a database table called settings, so you'd need to extract them from there to move them to another installation

Could you elaborate on what your use-case is?

Best

Oliver from OpenProject

RE: Write current configuration to installer.dat - Added by Kevin Staples almost 4 years ago

Hey Oliver,

thank you for your response.

My use case is more effected from the UI-defined and changeable settings.
We are using version 11.1.1.

Our OpenProject admin shortened the Hostname after the installation in the UI settings.
I installed my plugin by doing the given procedure from the documents and lastly executing 'openproject configure', but after that the Hostname got set back to the old value. By now I don´t know, if other settings are effected too.

As far as I understood, the 'openproject configure' command reads it´s settings from the installer.dat file.
That´s why I was wondering, if there is a command that takes those settings and writes them to installer.dat.

Best regards

Kevin

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