Hello together,
just updated to NC 17 in a Docker.
Set php.ini-development and php.ini-productio under /usr/local/etc/php to post_max_size = 5G und upload_max_filesize = 5G
There is no normal php.ini
It works fine but in NC Web UI under System i still see max upload 2M.
How can i fix it to see the correct value?
Kind regards
Michael
With no php.ini file, I believe the default values are always used. What you would need to do is copy php.ini-production to php.ini for any changes to take effect. In my testing, what I did was create a docker-compose.yml file and had a local copy of php.ini that I mapped with a volume to /usr/local/etc/php.ini and that worked for me.
Can you post me the Code for the compose file?
Will try with copy to php.ini. hope i dont damage something
Something like this, with your customized php.ini file right next to your docker-compose file.
version: '3.7'
services:
nextcloud:
image: nextcloud:17
volumes:
- ./php.ini:/usr/local/etc/php/php.ini:ro
networks:
- traefik-public
- nextcloud-db
... omitting other configuration like database and Traefik labels
networks:
traefik-public:
external: true
name: traefik-public
nextcloud-db:
driver: overlay
name: nextcloud-db