On 2018-08-15 15:16, Adam Armstrong wrote:
If it doesn't work, it's because you didn't follow the install guide correctly.
Our install guide doesn't include nginx.
adam.
On 2018-08-15 19:26:14, Cesar Vazquez Moreno cesar.vazquez@kpt.com.mx wrote:
Hello,
After install observium Community Edition 17.9.0 in Centos 7 and Nginx, I am not able to login for first time using web interface.
The adduser script added correctly the admin user (also I created 3 more users) with level 10.
The weird is there is not record of the action in any log.
I did research and found similar issue about 5 years ago where the problem was the disk or partition was full, this is not my case, my / filesystem is 47% and /temp filesystem is 2%.
other possibility is the session_start() can have troubles to write, but without log it's only a guess.
I want to try set session_save_path() just before session_start() to see if this solve the issue.
if you think my idea can work, in what file where should I put the variable?
What do you think? any other idea?
-- Regards Zague
observium mailing list observium@observium.org http://postman.memetic.org/cgi-bin/mailman/listinfo/observium
Hi Adam,
Thank you for your answer, You are correct the install guide involves apache however I think that in the mail list can exist someone who can give me an idea how to solve the issue. In fact I was able to solve the problem and here is how it was solved.
The problem was the session_start() had not privilege to write in /var/lib/php/sessions because this directory had apache:apache like owner, so I changed the owner to nginx:nginx and it works.
observium it's a very good tool, so could be a good idea create a guide for nginx to avoid limit it use only to apache. and the only difference in the installation guide to get observium working in nginx is the configuration file and the directory permissions.
Regards
Zague