When you have got ClusterControl installed, you can upload package under Software Packages and prepare for software upgrade in all active database nodes.
However, you may have to prepare and tweak your setup, and allow for 512MB files.
Setup php.ini to allow upload of files larger than 2MB
Apache/PHP disallows upload of files larger than 2MB. To fix this you have to:
Ubuntu/Debian:
sudo EDITOR /etc/php5/apache2/php.ini
Centos/Redhat:
sudo EDITOR /etc/php.ini
*EDITOR = use your favorite editor like vi, nano or emacs.
Change the following (for any OS):
...
post_max_size = 8M ...
upload_max_filesize = 2M
...
to
....
post_max_size = 512M
... upload_max_filesize = 512M
...
Now your upload file size limit will be 512M.
If you have big dump files, more than 512M, you should upload the dumpfile to the server and load it in using the mysql client..
Save and exit, and finally restart apache:
Ubuntu/Debian:
sudo service apache2 restart
Centos/Redhat:
sudo service httpd restart
Comments
8 comments
The process is well-documented and the prerequisites are clearly listed, making it easy for users to follow along. The restoration steps are straightforward and should help quickly resolve any issues caused by a corrupted CMON DB. Additionally, users may find it helpful to run a GB WhatsApp old version to ensure the integrity of their system after restoration.
This is super helpful — I ran into the 2MB upload limit myself when trying to push a package through ClusterControl. Updating the
php.inisettings forupload_max_filesizeandpost_max_sizemade a big difference. Just a heads up for others: don’t forget to restart Apache after making those changes or it won’t take effect. Great reminder to prep the environment properly before rolling out upgrades across nodes.This is incredibly useful - I hit that same 2MB upload limit when deploying a package via ClusterControl and FM WhatsApp. Adjusting php.ini's upload_max_filesize and post_max_size parameters solved the issue completely. Pro tip for anyone following these steps: remember to restart your Apache service after modifying these values, or the changes won't be applied. Your post serves as an excellent reminder about the importance of properly configuring the environment before executing multi-node upgrades.
That’s a really helpful explanation about increasing the upload size limit in PHP. I had a similar issue when trying to manage larger APK files like Inat Box, which often come in sizes bigger than the default 2MB or even 8MB limit. Adjusting the
post_max_sizeandupload_max_filesizevalues in php.ini made a huge difference, especially when dealing with app backups and installations. Thanks for breaking it down so clearly!Thanks for the clear explanation! Super helpful to know how to tweak php.ini for larger uploads. Makes handling big files way easier without running into limits. I came across a similar situation while setting up brawl nulls, and these tips will definitely help next time I need to upload larger packages.
APDM KPM merupakan sistem digital yang digunakan untuk mengurus dan merekod maklumat serta kehadiran murid di sekolah. Ia memudahkan guru mengemas kini data murid secara sistematik sambil memastikan ketepatan dan kemas kini maklumat sentiasa terjamin.
APDM KPM merupakan sistem digital yang digunakan untuk mengurus dan merekod maklumat serta kehadiran murid di sekolah. Ia memudahkan guru mengemas kini data murid secara sistematik sambil memastikan ketepatan dan kemas kini maklumat sentiasa terjamin.
Upgrading across active database nodes with ClusterControl feels a lot like leveling up in Rope Hero 2 MOD APK—once you’ve got the right tools installed, everything moves faster and more smoothly. Uploading the package under Software Packages and rolling it out across nodes gives you that same “fully unlocked” efficiency, where upgrades happen with power and control instead of chaos.
Please sign in to leave a comment.