You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey Martin!
Thanks for your great effort in this project!
I saw my LocalConfiguration.php overwritten every time i've clicked in Admin-UI at Admin-Tools -> Settings. It asks for PW an then initializes the LocalConfiguration.php - which caused the override.
If that file exists the first run overrides the config.
After recreating the container (k8s redeploy in my case) the file appears again, because /var/www/html itself is not persisted.
Quick fix for me is just remove that file in an own image:
FROM martinhelmich/typo3:11.5
# Install TYPO3
RUN echo 'always_populate_raw_post_data = -1\nmax_execution_time = 300\nmax_input_vars = 1500\nupload_max_filesize = 1G\npost_max_size = 1G' > /usr/local/etc/php/conf.d/typo3.ini
RUN cd /var/www/html && \
rm FIRST_INSTALL
Better would be to persist the state of that file.
Kind Regards
Folke
The text was updated successfully, but these errors were encountered:
Hey Martin!
Thanks for your great effort in this project!
I saw my LocalConfiguration.php overwritten every time i've clicked in Admin-UI at Admin-Tools -> Settings. It asks for PW an then initializes the LocalConfiguration.php - which caused the override.
Reason:
Container comes with 'cd /var/www/html && touch FIRST_INSTALL', defined here https://github.com/martin-helmich/docker-typo3/blob/master/11.5/Dockerfile#L66
If that file exists the first run overrides the config.
After recreating the container (k8s redeploy in my case) the file appears again, because /var/www/html itself is not persisted.
Quick fix for me is just remove that file in an own image:
Better would be to persist the state of that file.
Kind Regards
Folke
The text was updated successfully, but these errors were encountered: