trinityX icon indicating copy to clipboard operation
trinityX copied to clipboard

luna2 fail to install on a non-default directory

Open chiensh opened this issue 9 months ago • 2 comments

I believe the installation paths in the following files need to be updated when trix_root is set to a non-default value:

site/roles/trinity/luna2/tasks/main.yml site/roles/trinity/luna2/templates/luna2-cli-wrapper.j2 site/roles/trinity/luna2/templates/luna2.conf.j2 site/roles/trinity/luna2/templates/luna2-daemon.ini.j2 site/roles/trinity/luna2/templates/luna2-daemon-service.j2

Image

chiensh avatar May 06 '25 15:05 chiensh

Hi,

yes this is a known problem as we rely on custom RPM-s (with hardcoded paths) and other packages that are not aware of a variable /trinity or /trinity/local path location. Though we have tried to make this changeable, all attempts resulted in other parts breaking.

For 15.1 (-> 15.1u0 technically) we have decided to remove the configurable path elements from the all.yml file. What remains there, like homes, shared and some others are ok to be changed. For now i can only recommend to not alter the trix_root and trix_local variables.

-Antoine

aphmschonewille avatar May 10 '25 11:05 aphmschonewille

oh,.... and we will still clean up the ansible code to move fixed paths regardless.

aphmschonewille avatar May 10 '25 12:05 aphmschonewille