OpenProject configuration from a packaged installation is split into two things:
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/*
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
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.
Replies (2)
Hi Kevin,
OpenProject configuration from a packaged installation is split into two things:
openproject config
. They are being generated from/etc/openproject/installer.dat
and also any additional variables are stored in/etc/openproject/conf.d/*
settings
, so you'd need to extract them from there to move them to another installationCould you elaborate on what your use-case is?
Best
Oliver from OpenProject
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