Dillinja Posted August 9, 2024 Share Posted August 9, 2024 (edited) Dear Prestashop Forum, I tried to update from 1.7.8.11 to the latest 8 version via 1-Click Upgrade. What I have done so far: removed every thirdparty addon updated every other addon disabled cache removed cache (var/cache/...) switched to standard-theme So when I tried to run the update, it crashes after cleaning file cache with the following error: Cleaning file cache [SKIP] directory "/app/cache/" does not exist and cannot be emptied. [CLEANING CACHE] File CACHEDIR.TAG removed [CLEANING CACHE] File prod removed Running opcache_reset [INTERNAL] /home/.../vendor/prestashop/autoload/src/LegacyClassLoader.php line 175 - include(/home/.../var/cache/prod/class_index.php) [function.include.php]: failed to open stream: No such file or directory [INTERNAL] /home/.../vendor/prestashop/autoload/src/LegacyClassLoader.php line 175 - include() [function.include.php]: Failed opening '/home/.../var/cache/prod/class_index.php' for inclusion (include_path='/home/.../vendor/pear/pear_exception:/home/.../vendor/pear/console_getopt:/home/.../vendor/pear/pear-core-minimal/src:/home/.../vendor/pear/archive_tar:.:/usr/local/share/pear') So it clears the cache folder and then it want's to include the file class_index.php from there? I don't understand that. Does someone knows this behavior? Thanks for your thoughts and help. Cheers, Michael Edit: the 1-Click Upgrade Module ist on it's latest version. (6.0) Edited August 9, 2024 by Dillinja (see edit history) Link to comment Share on other sites More sharing options...
ComGrafPL Posted August 10, 2024 Share Posted August 10, 2024 To be honest. Better make clean 8.1 with new / updated theme and modules. Transfer data base after. Similar 1.6->1.7, 1.7->8.1 will give you pain in the future. 1 Link to comment Share on other sites More sharing options...
Prestashop Addict Posted August 12, 2024 Share Posted August 12, 2024 May be a opcache issue, try to deactivate it before upgrade. 1 Link to comment Share on other sites More sharing options...
Dillinja Posted August 12, 2024 Author Share Posted August 12, 2024 (edited) 6 hours ago, Prestashop Addict said: May be a opcache issue, try to deactivate it before upgrade. that solved the problem - thank you. https://github.com/PrestaShop/PrestaShop/issues/36700 Edited August 12, 2024 by Dillinja (see edit history) Link to comment Share on other sites More sharing options...
PiotrGT Posted January 2 Share Posted January 2 How do I upgrade to 8 from a 1.7.8? It doesnt seem like it's possible. Link to comment Share on other sites More sharing options...
Nickz Posted January 2 Share Posted January 2 Just now, PiotrGT said: How do I upgrade to 8 from a 1.7.8? It doesnt seem like it's possible. by updating step by step, from1.7.8.x to 1.7.8.x +1 Link to comment Share on other sites More sharing options...
ComGrafPL Posted January 2 Share Posted January 2 (edited) 27 minutes ago, PiotrGT said: How do I upgrade to 8 from a 1.7.8? It doesnt seem like it's possible. As Nickz said. Make sure your theme / modules will work on new version if its live store. Edited January 2 by ComGrafPL (see edit history) Link to comment Share on other sites More sharing options...
PiotrGT Posted January 2 Share Posted January 2 (edited) Guys, according to the attached screenshot I have the latest 1.7.x version which is 1.7.8.11. How come V8 is not coming up in the one-step upgrade page? Anyway, my shop uses the classic theme without any additional modules. It's a very simple shop with 70 products and a few category pages. Edited January 2 by PiotrGT (see edit history) Link to comment Share on other sites More sharing options...
ComGrafPL Posted January 2 Share Posted January 2 (edited) Do you have latest version of 1-click upgrade? Either consider clean 8.2 install and migrate the data. Edited January 2 by ComGrafPL (see edit history) Link to comment Share on other sites More sharing options...
PiotrGT Posted January 2 Share Posted January 2 I have 6.3- what version do i need? Link to comment Share on other sites More sharing options...
ComGrafPL Posted January 2 Share Posted January 2 Can you change update channel from minor to "major"? Link to comment Share on other sites More sharing options...
PiotrGT Posted January 2 Share Posted January 2 1 minute ago, ComGrafPL said: Can you change update channel from minor to "major"? How do I do that? Link to comment Share on other sites More sharing options...
ComGrafPL Posted January 2 Share Posted January 2 (edited) 3 minutes ago, PiotrGT said: How do I do that? Option should be here: Yellow button on the right side "Expert mode". Edited January 2 by ComGrafPL (see edit history) Link to comment Share on other sites More sharing options...
PiotrGT Posted January 2 Share Posted January 2 How, I see it. Thank you buddy. Time to upgrade PHP...! Link to comment Share on other sites More sharing options...
PiotrGT Posted January 2 Share Posted January 2 It looks like the upgrade went well. The website is working but some mods need to made to it's appearance (custom stuff that I did in the older release). Should I be worried about this error log which was generated post the upgrade? /home/devel/websites/piotr/grandtouringart.com/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(709): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->updateRTLFiles() #3 /home/devel/websites/piotr/grandtouringart.com/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader.php(151): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->updateTheme() #4 /home/devel/websites/piotr/grandtouringart.com/modules/autoupgrade/classes/UpgradeTools/CoreUpgrader/CoreUpgrader81.php(49): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader->doUpgrade() #5 /home/devel/websites/piotr/grandtouringart.com/modules/autoupgrade/classes/Task/Upgrade/UpgradeDb.php(49): PrestaShop\Module\AutoUpgrade\UpgradeTools\CoreUpgrader\CoreUpgrader81->doUpgrade() #6 /home/devel/websites/piotr/grandtouringart.com/modules/autoupgrade/classes/Task/Runner/ChainedTasks.php(61): PrestaShop\Module\AutoUpgrade\Task\Upgrade\UpgradeDb->run() #7 /home/devel/websites/piotr/grandtouringart.com/admin508zq1gvi/autoupgrade/ajax-upgradetab.php(54): PrestaShop\Module\AutoUpgrade\Task\Runner\ChainedTasks->run() #8 {main} Link to comment Share on other sites More sharing options...
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