Description
Hello, As i found while doing some researchs, there is still permission or ressource issue when you install a package already (or not) build from this project. I install the lastest version of cerebro for CentOS7 with the latest .rpm available.
After the installation i pimped out the configuration file and modify the .service file to change the IP and the PORT on which the service will be listening. But after that the service can't create the .db file.
The workaround i found in the 0.8.3 version was to mouve out the temporary files created by cerebro with add this line in the .service file :
ExecStart=/home/user/cerebro-0.8.3/bin/cerebro \
-Djava.io.tmpdir=/home/user/cerebro-0.8.3 \
-Dhttp.port=${PORT} \
-Dhttp.address=${HOST}
In this version, the configuration file for the service are installed to /usr/share/cerebro/conf with a symbolic link to /etc/cerebro. Even if there is full permission on the /etc/cerebro directory, java can't still create the database.
It would be great if in the future, the installation take care about this issue that is mostly annoying when you are installed the service every 3 or 4 weeks. I always forget what are the steps to follow and pass around this issue.
Maybe that's not a permission problem or something like that, let's investigate