Forum

Welcome to ProjeQtOr new Forum. We migrated old forum to the new website.
You will find all your posts here, with your usual account.
Just one point : you’ll have to reinitialize your password. Use “Lost password” feature.

[SOLVED] bug with t...
 
Notifications
Clear all

[SOLVED] bug with the logs directory

7 Posts
3 Users
0 Reactions
2,190 Views
(@ykhaznawi)
Posts: 9
Active Member
Topic starter
 
[#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.


 
Posted : 10 Jan 2025 11H48
Maxca
(@maxime)
Posts: 274
Active Member 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


 
Posted : 10 Jan 2025 13H43
(@ykhaznawi)
Posts: 9
Active Member
Topic starter
 

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


 
Posted : 10 Jan 2025 13H58
babynus
(@babynus)
Posts: 14966
Main Contributor 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


 
Posted : 14 Jan 2025 16H29
(@ykhaznawi)
Posts: 9
Active Member
Topic starter
 

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.


 
Posted : 16 Jan 2025 14H09
babynus
(@babynus)
Posts: 14966
Main Contributor 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)


 
Posted : 17 Jan 2025 17H35
(@ykhaznawi)
Posts: 9
Active Member
Topic starter
 

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

Best wishes


 
Posted : 17 Jan 2025 17H36
Share:

Scroll to Top