Our team has been using multiple project directories to develop in Windows, as explained in Change Ignition Project Location, and it has been very helpful when working on projects for multiple servers. Just point -Dignition.projects.dir to the source directory you want to work on, and restart Ignition. But something isn't working when we follow these steps in a Linux environment.
A new member of our team is trying to get this working on his Ubuntu VM. He set up his source directory and populated it with the projects needed for one of our systems from our git repository. But when he set -Dignition.projects.dir in his ignition.conf to this directory, he got the following error in the wrapper.log after restart.
INFO | jvm 1 | 2023/08/10 15:40:30 | W [g.ProjectManager ] [19:40:30]: ?:?: Not a directory: "/home/john.doe/source/ignition/PhoenixMobileStack", using default projects dir
The additional parameters in his ignition.conf are:
We've tried setting the permissions to 777 for the whole path from source/ on down, and have also tried moving his source directory into /usr/local/bin/ignition/data/projects, and configuring the projects directory there. But it still won't recognize it as a directory.
Is there an extra step or parameter that Ignition would require to make this work in a Linux environment? Or is there something we're missing in how to set the path in the configuration file?