module fails to upgrade

I keep getting this email sent to me...

 

The following errors appeared during modules upgrade:

Payment module: Check module hash: Module was modified
Quick Informer module:

 

 

 

  • 480
  • More
Replies (14)
    • Could you please provide screenshot of this email ?

      • Alex the above message is a copy and paste from my email

        • The following errors appeared during modules upgrade:

          Payment module: Check module hash: Module was modified
          Quick Informer module:

           

          Again I received an email

           

          • This message looks like some of these words should be on new lines, so it looks strange, this is the reason I'm asking to provide screenshot of the email, it will help us to identify and fix this problem.

            • Here it is

              • Thank you, it looks correct.

                To be able to upgrade the module, you need to enable option to force upgrade even if files were modified:

                Studio > Settings > System > SITE SETTINGS > Force site and module auto-update, even if some files were modified

                Please note that your custom modification will be overwritten in this case.

                • Now I just received the following email....

                   

                  The following errors appeared during modules upgrade:

                  Payment module: Check module hash: Can't apply upgrade because too many files(18%) were modified

                  • By default only if less than 5% of files are modified - you can force automatic upgrade.

                    If more files are modified upgrade can fail or it will be unpredictable result.

                    If you still want to try to upgrade and understand all responsibility you can increase 5% threshold in inc/classes/BxDolInstallerUtils.php file:

                    define('BX_FORCE_AUTOUPDATE_MAX_CHANGED_FILES_PERCENT', 0.05);

                    For example to rise it up to 20%, change it to:

                    define('BX_FORCE_AUTOUPDATE_MAX_CHANGED_FILES_PERCENT', 0.20);

                    • Will try what you suggested, and let you know.

                      • Upgrade script checks files hash before applying upgrade, if hash isn't matching - then file is considered to be modified. 

                        If files weren't modified, maybe it was problems with the previous upgrades, maybe it's wasn't completed or it was some problems during upgrade.

                        If you are sure that files weren't modified then I think it's safe to overwrite them, however making backup before the upgrade is highly recommended.

                        •  My version is Version: 9.0.0-RC1 Installed: 9 Nov 2016. Are there any upgrades that i missed?

                          • It's the latest version, but it maybe upgrade for modules, since they are versioned separately, you can check if there updates for modules here:

                            Studio > Apps Market > Updates

                            • I continue to receive this...

                              Check module hash: Can't apply upgrade because too many files(18%) were modified

                                Login or Join to comment.