Forum

[SOLVED] problem ri...
 
Notifications
Retirer tout

[SOLVED] problem right on log file

3 Posts
2 Utilisateurs
0 Reactions
4,965 Vu
(@franckvh)
Posts: 2
New Member
Début du sujet
 
[#5972]

Hello,

I install Projeqtor on Docker (nginx + php-fpm + postgreSql).
All is ok except :

incorrect value for 'Log file name', cannot write to such a file : check access rights

The value for log is the default value :

../files/logs/projeqtor_${date}.log

To be sure I have given all rights to the directory projeqtor

chmod 777 -R ./projeqtor

Thanks for your answer.
Greetings
Franck.


 
Posté : 11 Mai PM 16:055
(@babynus)
Posts: 14952
Membre Admin
 

Possibly you have SELinux that blcoks write to directory


 
Posté : 12 Mai AM 03:055
(@franckvh)
Posts: 2
New Member
Début du sujet
 

Thanks for the reply.
I found why it did not work.
In the file docker-compose.yml

web-php:
        build: ./build-php
        container_name: web-php
        volumes:
            - "./www:/script:ro"
            - "./php.ini:/usr/local/etc/php/php.ini"

I haved (ro) read-only on the script directory
After remove this parameters it's ok


 
Posté : 14 Mai AM 10:055
Share:
Retour en haut