docker icon indicating copy to clipboard operation
docker copied to clipboard

Cannot mount config directory getting http 500 error

Open varunharidas opened this issue 4 years ago • 2 comments

When I uncomment the ./config and ./logs volumes it's giving me http 500 error, I was trying to change the config.php.ini file, Any idea what's wrong? Also tried creating the config and log folders before running `docker-compose up' - still its not working.

 
# - ./config:/var/www/html/config:rw
# - ./logs:/var/www/html/logs      
- matomo:/var/www/html    

varunharidas avatar May 18 '21 16:05 varunharidas

Same problem here: grafik

FireLizard avatar May 27 '21 10:05 FireLizard

Encountered same issue when I mounted a custom config.ini.php. Unmounting and deleting config.ini.php restores the startup wizard that will regenerate this file after db setup step. It seems that there is no way to provide a custom configuration before the database and config.ini.php file is initialized. After that, I have to manually edit this file to add my custom config... not container friendly.

cdalexndr avatar Oct 29 '21 23:10 cdalexndr