Error with upgrade....
Background operation failed with the following message.
Check module hash: _sys_upgrade_files_checksum_failed_too_many_module
Check module hash: Can't apply upgrade because too many files(6%) were modified in Timeline module
Check module hash: Can't apply upgrade because too many files(5%) were modified in Messenger module
-
-
·
LeonidS
- ·
Hello Hodor!
Please specify do this apps really contain the changed files?
-
·
LeonidS
-
i don't really now, at most css....
-
- · Hodor Hodor
- ·
So how can i upgrade it?
-
- · Baloo
-
·
In reply to Hodor Hodor
- ·
Hello Hodor, I had this problem too for two module. I had just applied a few fixes that I needed before the update.
You can do this:
In /inc/classes/BxDolInstallerUtils.php
At line 10define('BX_FORCE_AUTOUPDATE_MAX_CHANGED_FILES_PERCENT', 0.05);
Replace 0.05 by 0.99
Update, then change back to 0.99 by 0.05 to return to the original state.
LeonidS & Alex T⚜️ , why did I have to do this while "force updates for modified files" is checked?For example, I had this problem with the forum module, or I had just applied the fix that related to the author's counter, the change was not very important, and yet he did not want to update .
-
- · Hodor Hodor
- ·
after a while una has updated, yet the 2 modules did not...
do you refer to the modules upgrade?
-
- · Baloo
-
·
In reply to Hodor Hodor
- ·
Yes, for me, it was the module photo and discussion for which I had twice the same error as you.
-
- · Hodor Hodor
- ·
Thanks! that worked
-
- · Baloo
-
·
In reply to Hodor Hodor
- ·
Good news Hodor :-) But I would still like to know, why it works well and not with the option "crush" studio.
Should not it produce the same result? -
- · Hodor Hodor
- ·
yes this is weird
-
-
·
Alex T⚜️
-
·
In reply to Baloo
- ·
> why did I have to do this while "force updates for modified files" is checked?
I think that if a lot of files were modified then the situation must be checked manually, this is the reason that when more than 5% of files are modified update isn't working to make sure it will not break the site.
-
·
Alex T⚜️
-
- · Baloo
-
·
In reply to Alex T⚜️
- ·
Yes I understand the purpose of this. It would be interesting to know, how are the 5% calculated? Is this 5% of all the files in the module? Or 5% of the lines of code of a single file?
-
-
·
Alex T⚜️
-
·
In reply to Baloo
- ·
It's calculated as number of modified files in the module or in the system.
-
·
Alex T⚜️
-
- · Hodor Hodor
- ·
This tricks work no more on una 9.0 and i receive email from updating timeline, polls and lucid.
Background operation failed with the following message.
Check module hash: Module was modified
-
Please refer to this instructions on how to force upgrade even if more than 5% of files are modified:
-