Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Cs-Cart Mv Upgrade Fail Rate Topic   - - - - -

 
  • melshity
  • Member
  • Members
  • Join Date: 08-May 18
  • 36 posts

Posted 23 November 2018 - 08:00 PM #1

hi

i tray upgrade but fail, photo attached 

Attached Thumbnails

  • Capture.JPG
  • Capture.JPG


 
  • tbirnseth
  • CS Cart Expert
  • Authorized Reseller
  • Join Date: 08-Nov 08
  • 11248 posts

Posted 23 November 2018 - 08:19 PM #2

Us PHP myAdmin to "drop" all phinxlog tables.  They are not needed and apparently your backup is timing out when trying to back them up.  Wish cs-cart would remove these tables after the completion of an upgrade (or the start of the next).  They accumulate over time and become pretty much worthless.


EZ Merchant Solutions: Custom (USA based) B2B Development, Consulting, Development and Special Projects (get a quote here).
Commercial addons, payment methods and modifications to meet your business and operations needs.


 
  • melshity
  • Member
  • Members
  • Join Date: 08-May 18
  • 36 posts

Posted 24 November 2018 - 07:02 AM #3

Us PHP myAdmin to "drop" all phinxlog tables.  They are not needed and apparently your backup is timing out when trying to back them up.  Wish cs-cart would remove these tables after the completion of an upgrade (or the start of the next).  They accumulate over time and become pretty much worthless.

still same 



 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3752 posts

Posted 24 November 2018 - 08:06 PM #4

/var/upgrade/core_log.txt

 

Look at that file to see why it's failing.



 
  • melshity
  • Member
  • Members
  • Join Date: 08-May 18
  • 36 posts

Posted 25 November 2018 - 05:31 AM #5

################################################################################
################################################################################
2018-11-25 06:53:58: Starting installation of the "core" upgrade package
2018-11-25 06:53:58: Upgrading version 4.9.1 to 4.9.2
2018-11-25 06:53:58: Running as user "tzxtgxev"
2018-11-25 06:53:58: Storing entry point files permissions...
2018-11-25 06:53:58: index.php ==> 33188 (-rw-r--r--)
2018-11-25 06:53:58: abulhoul_panel.php ==> 33188 (-rw-r--r--)
2018-11-25 06:53:58: api.php ==> 33188 (-rw-r--r--)
2018-11-25 06:53:58: vendor.php ==> 33188 (-rw-r--r--)
2018-11-25 06:53:58:  ==> 16872 (drwxr-x---)
2018-11-25 06:53:58: Executing pre-upgrade validators
2018-11-25 06:53:58: Found 0 validators at package
2018-11-25 06:53:58: Executing "collisions" validator
2018-11-25 06:53:58: Executing "permissions" validator
2018-11-25 06:53:58: Executing "restore" validator
2018-11-25 06:53:58: Backup filename is "upg_core_4.9.1-4.9.2_25Nov2018_065357"
2018-11-25 06:53:58: Preparing restore script
2018-11-25 06:53:58: Upgrades directory permissions: drwxr-xr-x tzxtgxev:tzxtgxev
2018-11-25 06:53:58: Source restore script permissions: -rw-r--r-- tzxtgxev:tzxtgxev
2018-11-25 06:53:58: Directory "/home/tzxtgxev/public_html/upgrades/core_4.9.1-4.9.2/" for restore script already created
2018-11-25 06:53:58: Created restore script at "/home/tzxtgxev/public_html/upgrades/core_4.9.1-4.9.2/restore_2018-11-25_06-53-57.php"
2018-11-25 06:53:58: Restore script permissions: -rw-r--r-- tzxtgxev:tzxtgxev
2018-11-25 06:53:58: Correcting target restore script directory permissions...
2018-11-25 06:53:58: ----------
2018-11-25 06:53:58: Changing permissions of "/home/tzxtgxev/public_html/upgrades/core_4.9.1-4.9.2/" to 755
2018-11-25 06:53:58: Using chmod()... OK
2018-11-25 06:53:58: ----------
2018-11-25 06:53:58: Target restore script directory permissions: drwxr-xr-x tzxtgxev:tzxtgxev
2018-11-25 06:53:58: Correcting upgrades directory permissions...
2018-11-25 06:53:58: ----------
2018-11-25 06:53:58: Changing permissions of "/home/tzxtgxev/public_html/upgrades" to 755
2018-11-25 06:53:58: Using chmod()... OK
2018-11-25 06:53:58: ----------
2018-11-25 06:53:58: Upgrades directory permissions: drwxr-xr-x tzxtgxev:tzxtgxev
2018-11-25 06:53:58: Checking restore script availability via HTTP
2018-11-25 06:53:59: Executing pre-upgrade script "/home/tzxtgxev/public_html/var/upgrade/packages/core/content/scripts/pre_script.php"
2018-11-25 06:53:59: Pre-upgrade script executed successfully
2018-11-25 06:54:01: Closing storefront
2018-11-25 06:54:01: Backing up files and database
2018-11-25 06:54:01: mysqldump is not available


 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3752 posts

Posted 25 November 2018 - 06:01 AM #6

Looks like you need to ask your server admin why mysqldump is not working.



 
  • melshity
  • Member
  • Members
  • Join Date: 08-May 18
  • 36 posts

Posted 25 November 2018 - 06:37 AM #7

Looks like you need to ask your server admin why mysqldump is not working.

Replay from server admin

The issue you're experiencing is a development one and is not connected to the hosting environment, I'm currently checking if we can configure mysqldump



 
  • melshity
  • Member
  • Members
  • Join Date: 08-May 18
  • 36 posts

Posted 26 November 2018 - 10:16 AM #8

Dears
  I try update to latest version but not complete, now the last update not showing in admin panel 

Attached Thumbnails

  • 01.PNG
  • 02.PNG
  • 03.PNG
  • 04.PNG


 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3752 posts

Posted 26 November 2018 - 11:48 AM #9

Did you get the mysqldump issue fixed?

 

What does /var/upgrade/core_log.txt say now?



 
  • melshity
  • Member
  • Members
  • Join Date: 08-May 18
  • 36 posts

Posted 26 November 2018 - 05:46 PM #10

Did you get the mysqldump issue fixed?

 

What does /var/upgrade/core_log.txt say now?

 

################################################################################
################################################################################
2018-11-26 09:30:03: Starting installation of the "core" upgrade package
2018-11-26 09:30:03: Upgrading version 4.9.1 to 4.9.2
2018-11-26 09:30:03: Running as user "tzxtgxev"
2018-11-26 09:30:03: Storing entry point files permissions...
2018-11-26 09:30:03: index.php ==> 33188 (-rw-r--r--)
2018-11-26 09:30:03: abulhoul_panel.php ==> 33188 (-rw-r--r--)
2018-11-26 09:30:03: api.php ==> 33188 (-rw-r--r--)
2018-11-26 09:30:03: vendor.php ==> 33188 (-rw-r--r--)
2018-11-26 09:30:03:  ==> 16872 (drwxr-x---)
2018-11-26 09:30:03: Executing pre-upgrade validators
2018-11-26 09:30:03: Found 0 validators at package
2018-11-26 09:30:03: Executing "collisions" validator
2018-11-26 09:30:03: Executing "permissions" validator
2018-11-26 09:30:03: Executing "restore" validator
2018-11-26 09:30:03: Backup filename is "upg_core_4.9.1-4.9.2_26Nov2018_093003"
2018-11-26 09:30:03: Preparing restore script
2018-11-26 09:30:03: Upgrades directory permissions: drwxr-xr-x tzxtgxev:tzxtgxev
2018-11-26 09:30:03: Source restore script permissions: -rw-r--r-- tzxtgxev:tzxtgxev
2018-11-26 09:30:03: Created directory for restore script at "/home/tzxtgxev/public_html/upgrades/core_4.9.1-4.9.2/"
2018-11-26 09:30:03: Directory permissions: drwxr-xr-x tzxtgxev:tzxtgxev
2018-11-26 09:30:04: Created restore script at "/home/tzxtgxev/public_html/upgrades/core_4.9.1-4.9.2/restore_2018-11-26_09-30-03.php"
2018-11-26 09:30:04: Restore script permissions: -rw-r--r-- tzxtgxev:tzxtgxev
2018-11-26 09:30:04: Correcting target restore script directory permissions...
2018-11-26 09:30:04: ----------
2018-11-26 09:30:04: Changing permissions of "/home/tzxtgxev/public_html/upgrades/core_4.9.1-4.9.2/" to 755
2018-11-26 09:30:04: Using chmod()... OK
2018-11-26 09:30:04: ----------
2018-11-26 09:30:04: Target restore script directory permissions: drwxr-xr-x tzxtgxev:tzxtgxev
2018-11-26 09:30:04: Correcting upgrades directory permissions...
2018-11-26 09:30:04: ----------
2018-11-26 09:30:04: Changing permissions of "/home/tzxtgxev/public_html/upgrades" to 755
2018-11-26 09:30:04: Using chmod()... OK
2018-11-26 09:30:04: ----------
2018-11-26 09:30:04: Upgrades directory permissions: drwxr-xr-x tzxtgxev:tzxtgxev
2018-11-26 09:30:04: Checking restore script availability via HTTP
2018-11-26 09:30:04: Executing pre-upgrade script "/home/tzxtgxev/public_html/var/upgrade/packages/core/content/scripts/pre_script.php"
2018-11-26 09:30:04: Pre-upgrade script executed successfully
2018-11-26 09:30:04: Closing storefront
2018-11-26 09:30:04: Backing up files and database
2018-11-26 09:30:04: mysqldump is not available
2018-11-26 09:34:35: Backup created at "/home/tzxtgxev/public_html/var/backups/upg_core_4.9.1-4.9.2_26Nov2018_093003.zip"
2018-11-26 09:34:35: Sending upgrade information e-mail to: melshity@abulhoul.com, melshity@gmail.com
2018-11-26 09:34:35: E-mail was successfully sent
2018-11-26 09:34:35: Executing 7 migrations found at package
2018-11-26 09:34:35: Phinx by Rob Morgan - https://phinx.org. version 0.4.3
2018-11-26 09:34:35: 
2018-11-26 09:34:35: using config file ./app/Tygh/UpgradeCenter/Migrations/config.migrations.php
2018-11-26 09:34:35: using config parser php
2018-11-26 09:34:35: using migration path /home/tzxtgxev/public_html/var/upgrade/packages/core/content/migrations
2018-11-26 09:34:35: using environment development
2018-11-26 09:34:35: using adapter mysqli
2018-11-26 09:34:35: using database tzxtgxev_abulhouldb
2018-11-26 09:34:35:  -- createTable('phinxlog1543217403')
2018-11-26 09:34:35:     -> 0.0047s
2018-11-26 09:34:35: 
2018-11-26 09:34:35:  == 20181004083033 CoreDocumentsSnippetsProductTableRowsImprove: migrating
2018-11-26 09:34:35:  == 20181004083033 CoreDocumentsSnippetsProductTableRowsImprove: migrated 0.0010s
2018-11-26 09:34:35: 
2018-11-26 09:34:35:  == 20181016091004 AddonsSmsNotificationsRemoveObsoleteSettings: migrating
2018-11-26 09:34:35:  == 20181016091004 AddonsSmsNotificationsRemoveObsoleteSettings: migrated 0.0007s
2018-11-26 09:34:35: 
2018-11-26 09:34:35:  == 20181017102411 AddonsDiscussionAddReviewReturnAnonymousApprovalOption: migrating
2018-11-26 09:34:35:  == 20181017102411 AddonsDiscussionAddReviewReturnAnonymousApprovalOption: migrated 0.0035s
2018-11-26 09:34:35: 
2018-11-26 09:34:35:  == 20181018123537 AddonsOnekpayRenameToBillriantPay: migrating
2018-11-26 09:34:35:  == 20181018123537 AddonsOnekpayRenameToBillriantPay: migrated 0.0008s
2018-11-26 09:34:35: 
2018-11-26 09:34:35:  == 20181019061641 CoreRenameDeprecatedFuturePayPayments: migrating
2018-11-26 09:34:35:  == 20181019061641 CoreRenameDeprecatedFuturePayPayments: migrated 0.0011s
2018-11-26 09:34:35: 
2018-11-26 09:34:35:  == 20181019120805 CoreDatabaseAddNewGreeceRegions: migrating
2018-11-26 09:34:35:  == 20181019120805 CoreDatabaseAddNewGreeceRegions: migrated 0.0392s
2018-11-26 09:34:35: 
2018-11-26 09:34:35:  == 20181030113131 AddonsOnekpayChangeLangvars: migrating
2018-11-26 09:34:35:  == 20181030113131 AddonsOnekpayChangeLangvars: migrated 0.0014s
2018-11-26 09:34:35: 
2018-11-26 09:34:35: All Done. Took 0.0741s
2018-11-26 09:34:35: Migrations were executed successfully
2018-11-26 09:34:35: Copying package files
2018-11-26 09:35:00: Deleting files removed at new version
2018-11-26 09:35:00: Processing themes files
2018-11-26 09:35:01: Installing languages using upgraded *.po files
2018-11-26 09:35:01: Already installed languages: en, ar
2018-11-26 09:35:01: Languages to be installed: ar, cs, da, de, el, en, es, fr, hu, id, it, ja, nl, no, pl, ro, ru, sk, sr, sv, tr, uk, vi, zh
2018-11-26 09:35:01: Installing "en" language... 


 
  • The Tool
  • Been Here Way Too Long Member
  • Members
  • Join Date: 30-Mar 07
  • 3752 posts

Posted 26 November 2018 - 08:15 PM #11

Seems the server is timing out.  Did you run the pre-upgrade script before without issue?



 
  • melshity
  • Member
  • Members
  • Join Date: 08-May 18
  • 36 posts

Posted 27 November 2018 - 02:40 AM #12

Seems the server is timing out.  Did you run the pre-upgrade script before without issue?

No