In preparation for PrestaShop upgrade, I migrated a copy of my PrestaShop v.18.104.22.168 store onto a testing domain that resides on the same server. Ensuring that all system requirements are met, there was an anomaly with a good majority of our PrestaShop product images missing from the migration.
It appears to be a default configuration for Pure-FTPd on the server.
By default, Pure-FTPd only displays 2,000 files; you must configure it to display more by increasing the LimitRecursion.
How to edit pure-ftpd.conf file with CentOS
Step 1.) Open /etc/pure-ftpd.conf
(type i to insert text.. command line# vi to save/exit press esc and command# :wq)
:w = save
:q = quit
:q! = force quit
Step 2.) Adjust LimitRecursion
Original: LimitRecursion 10000 8
Adjusted: LimitRecursion 1000000 28
e.g. you can increase LimitRecursion by adding two zeros for size and 28 for depth
Step 3.) Restart PureFTPd
service pure-ftpd restart
Now, all product images are visible 🙂
Don’t show product images after upgrade to 1.5.5: http://www.prestashop.com/forums/topic/272333-solved-how-to-dont-show-product-images-after-upgrade-to-155/
How to increase file limits http://forums.cpanel.net/f5/pureftp-how-increase-file-limits-list-2000-entries-22879.html
How to cinfigure pure-FTPd http://www.howtoforge.com/how-to-configure-pureftpd-to-accept-tls-sessions-on-centos-6.2