Hello,
For rights I'm using the following commands: sudo chmod -R ug=rwX,o=r /var/www sudo chown -R www-data:www-data /var/www To be sure … Regards, Olivier MORON Miscellaneous Program Member RAYNET SNC Tel : +33 4 76 33 49 52 Fax: +33 4 76 70 56 63 -----Original Message----- From: Josep Guerrero Sole [mailto:[email protected]] Sent: Tuesday, June 02, 2015 9:21 AM To: [email protected]; Moron, Olivier Subject: Re: [Glpi-user] Cannot add components to any computer Hi Olivier, > I've got a similar config: > > VM with 4 cores, Debian 8 (Jessie), GLPI 0.85.4, Apache2.4 and PHP5-FPM. Now that you mention it, the computer is a virtual machine running under openvz (I don't think this has any effect on glpi, but I thought I would mention it, just in case). > From time to time I get the same message. Maybe it's been a coincidence, but for me it has happened every time I tried to add a component (around twenty times, I would guess). Or it may be related to the version (mine is 0.84.8, since that is the version of the Debian package). If you think it may help, I wouldn't mind removing the package and performing a manual installation with the last glpi version. > I'm still searching for a root > cause... But I found that it could come from session management. > Could you check if the /var/www/html/path_to_glpi/files/_sessions folder > has the correct rights to be read/write from the PHP5-FPM user > (www-data?). Regards, Those are the permissions and ownerships for that folder: drwxr-xr-x 2 www-data root 290816 Jun 2 09:02 _sessions/ and all files inside have these other permissions and ownerships: -rw------- 1 www-data www-data 1292 Jun 1 18:32 _sessions/sess_vtj4... but I don't know if that is as it should be. If not, those permissions and ownerships were set by the glpi Debian package, so I guess I should open a bug with them if they are not right. Thanks for your answer! Josep Guerrero
_______________________________________________ Glpi-user mailing list [email protected] https://mail.gna.org/listinfo/glpi-user
