Forum

[SOLVED] bug with t...
 
Notifications
Retirer tout

[SOLVED] bug with the logs directory

7 Posts
3 Utilisateurs
0 Reactions
2,169 Vu
(@ykhaznawi)
Posts: 9
Active Member
Début du sujet
 
[#9695]

Hi,

Connexion to the application Projeqtor works perfectly well except for the message I see while connecting telling that the logs directory is locked and it's impossible to write the logs. The directory has the right owner and rights parameters though. I even checked by trying to write a file directly in it and it worked. A chmod 777 on the logs directory made it even worse and made the connexion to the app impossible. I don't understand.

Please help.

Many thanks in advance.


 
Posté : 10/01/2025 11:48 am
(@maxime)
Posts: 268
Membre Admin
 

Hello,
Have a look at the following topics:
- problem right on log file 
- "incorrect value for 'Log file name', cannot write to such a file : check access rights" 

Have a nice day,
Maxca


 
Posté : 10/01/2025 1:43 pm
(@ykhaznawi)
Posts: 9
Active Member
Début du sujet
 

I obviously have already read these and it was not helping.


 
Posté : 10/01/2025 1:58 pm
(@babynus)
Posts: 14952
Membre Admin
 

Are you sure the logs are written is the directory you checked ?

1) Open tool/parametersLocation.php : you'll find where the parameters.php file is sotred.
2) Open the parameters.php file (as defined above) : check location of log files


 
Posté : 14/01/2025 4:29 pm
(@ykhaznawi)
Posts: 9
Active Member
Début du sujet
 

Hi,
Thanks for your reply.
I made it work by upgrading to the V12.0.0 and did a chmod 777 on the logs directory, which is not ideal, but I see no other solution.


 
Posté : 16/01/2025 2:09 pm
(@babynus)
Posts: 14952
Membre Admin
 

Sure 777 is not expected.
775 should be better.
644 should also work.
And even 600 should work.

Just be sure owner is PHP user (www-data on Debian/Ubuntu apache on RedHat/CentOs)


 
Posté : 17/01/2025 5:35 pm
(@ykhaznawi)
Posts: 9
Active Member
Début du sujet
 

Thank you for you reply. You can close this topic if you want.

Best wishes


 
Posté : 17/01/2025 5:36 pm
Share:
Retour en haut