• Welcome to the Chevereto User Community!

    Here, users from all over the world come together to learn, share, and collaborate on everything related to Chevereto. It's a place to exchange ideas, ask questions, and help improve the software.

    Please keep in mind:

    • This community is user-driven. Always be polite and respectful to others.
    • Support development by purchasing a Chevereto license, which also gives you priority support.
    • Go further by joining the Community Subscription for even faster response times and to help sustain this space
  • Chevereto Support CLST

    Support response

    Support checklist

    • Got a Something went wrong message? Read this guide and provide the actual error. Do not skip this.
    • Confirm that the server meets the System Requirements
    • Check for any available Hotfix - your issue could be already reported/fixed
    • Read documentation - It will be required to Debug and understand Errors for a faster support response

Chevereto not reading updated php.ini

robman510

Chevereto Member
I have deployed chevereto via portainer(docker), however it is not reading my updated php.ini settings and when I go to the Image Upload settings it still says my max upload size is 2M. In the docker-compose I have specified where the php.ini is located (see below). I originally had this problem before and solved it by the volume configuration below. Is there something else I need to update these settings? I have tried redeploying and rebooting the server. I'm not sure where its still pulling the default values from.

docker-compose:
volumes:
- /srv/rpimage/conf/Chevereto/chevereto_images:/var/www/html/images:rw
- /srv/rpimage/conf/php.ini:/etc/php/7.4/apache2/php.ini:ro

contents of php.ini:
upload_max_filesize = 50M
post_max_size = 50M
memory_limit = 512M
max_execution_time = 180
 
I figured it out a work around. My container was not loading the php.ini from my host system. So I used portainer's built in bash console for the chevereto container. Once inside I used "php --ini" to see where the file was located. I found the path for it but no php.ini was present or loaded. I changed to the directory shown and using "nano php.ini" I input the correct settings and saved. Then I rebooted the container from portainer. This has corrected my problem.
 
Do note that, it is nothing to do with Chevereto as it is just an app. And it reads what your system reports. So it is more of your system issue which you sorted out.
 
Back
Top