netamismb Posted July 27, 2023 Posted July 27, 2023 I am trying to migrate from Prestashop 1.6.1.13 to Thirty bees using module psonesixmigrator-v2.1.1 but I get out of memory after a few minutes. I am using PHP 7.0 Can I get some help with this issue?
pauld Posted July 27, 2023 Posted July 27, 2023 What is your environment? Are you on hosting, or migrating it on your own environment (localhost)? What is your memory limit and what modules do you have enabled?
netamismb Posted July 27, 2023 Author Posted July 27, 2023 I am on my hosting memory_limit = 512M, and server API LiteSpeed V8.0.1 Cloudlinux 1.3 modules enabled: Artichow, Banner block, Cargus - by Complete Web, Cart block , Cash on delivery (COD) , Categories block , CMS block , Cron tasks manager , Cross-selling , Currency block , Custom CMS information block , Customer data privacy block, Customer follow-up , Customer loyalty and rewards , Dashboard Activity , Dashboard Goals , Dashboard Products , Dashboard Trends , Data mining for statistics , Ei Captcha - by hhennes, Facebook Share Button , Favorite Products , Featured products on the homepage Google Analytics , Google Analytics API , Google sitemap , Image slider for your homepage , Language block , Layered navigation block , LiteSpeed Cache Plugin Mail alerts , My Account block , My account block for your website's footer , New products block, Newsletter, Product Comments , Product payment logos block , Products category , Quick search block , RSS products feed , Site Verification - by Mediacom87, Social sharing , Suppliers block , Theme configurator , Top-sellers block , Top horizontal menu , User info block , Viewed products block , Watermark , Wishlist block
netamismb Posted July 27, 2023 Author Posted July 27, 2023 I have increased the memory to 1024 M, but I still get the out-of-memory issue. From the report, there are 9740 files to update and was filed after the remaining files were around 1349.
pauld Posted July 27, 2023 Posted July 27, 2023 Looking at psonesixmigrator-v2.1.1 classes/UpgraderTools.php file, you can try set "Server performance" setting to "Low" inside your current PS 1.6 store. If it is not sufficient, you can lower values inside mentioned file (classes/UpgraderTools.php; lines 244 - 252). BTW, are you getting some errors in your hosting logs? If nothing helps, I would make a store and database copy locally, and try update here. If not successful either, I would disable (or uninstall) any third party modules.
netamismb Posted July 27, 2023 Author Posted July 27, 2023 (edited) Not sure I understand. Should I change those values, maybe half of them in UpgraderTools: // Performance settings, if your server has a low memory size, lower these values $perfArray = [ 'loopBackupFiles' => [ 400, 800, 1600], 'maxBackupFileSize' => [15728640, 31457280, 62914560], 'loopBackupDbTime' => [ 6, 12, 25], 'maxWrittenAllowed' => [ 4194304, 8388608, 16777216], 'loopUpgradeFiles' => [ 600, 1200, 2400], 'loopRestoreFiles' => [ 400, 800, 1600], 'loopRestoreQueryTime' => [ 6, 12, 25], 'loopUpgradeModulesTime' => [ 6, 12, 25], 'loopRemoveSamples' => [ 400, 800, 1600], I have already disabled the back-up, I only try o migrate. Edited July 27, 2023 by netamismb
pauld Posted July 27, 2023 Posted July 27, 2023 Do complete backup before any migrations first. Test migration on a copy (files and database) on your webhost or localhost. If migration is successful, you can use it as production then (in case you don't have any new orders, or other data). If you're unable to find Server performance setting, lower values in UpgraderTool (it's a dirty solution, but may work). 1 2
netamismb Posted July 29, 2023 Author Posted July 29, 2023 I managed to do the migration on my local. 1
pauld Posted July 30, 2023 Posted July 30, 2023 Is migrated store working when you move it from local to host?
netamismb Posted August 6, 2023 Author Posted August 6, 2023 Yes, it is working on my local. But I cannot go live for now, as some of the TB modules don't show on frontend, so I am working now to change the theme. I will update when I manage to have it on production.
netamismb Posted August 29, 2023 Author Posted August 29, 2023 Just to update, I managed to migrate from Prestashop 1.6.23 to ThirtyBees 1.3 and I have been live with it since last week 👍. The next challenge, is to migrate from WooCommerce to ThirtyBees. 1
the.rampage.rado Posted August 29, 2023 Posted August 29, 2023 Before you start with Woo update this shop to edge channel and make everything working. 1.3 is good but edge is much much better AND MORE SECURE! 😉 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now