Versioncheck discrepancy after upgrade to 1.6.26 Versioncheck discrepancy after upgrade to 1.6.26
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Versioncheck discrepancy after upgrade to 1.6.26

Started by JohnDBush, February 03, 2024, 09:42:36 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

JohnDBush

I upgraded from 1.6.20 to 1.6.26, ran database update, and Versioncheck.

Versioncheck says I now have version 1.6.25 installed, and produces the following discrepancies:

(see attachment)

There doesn't seem to be any problem with the gallery functioning, but I don't use all features.

Can I ignore these errors?   I'm thinking that perhaps it's an error with Versioncheck itself and not my installation.

ron4mac

#1
Yes, you can ignore them. There was an oversight in packaging the 1.6.26 release. It will be immediately corrected.
You can use the cpg_installer_stub to re-upgrade to 1.6.26, if you choose.


JohnDBush

Reinstallation using the stub solved the problem for the most part.  Most of the errors no longer appear.

However, now Versioncheck reports that include/init.inc.php is either corrupt or was modified.   I looked at its md5sum hash in cpg16x.files.xml, and it doesn't match the file.   When I corrected the hash, Versioncheck still reports that the file is corrupt.   Obviously it is NOT corrupt because everything works, and I did not modify init.inc.php.

Line #5377 of cpg16x.files.xml:
The incorrect hash was:             3cb6e66a5a4d5b33078d58fb7c46b48c
The hash I replaced it with was:  521d42c772634747b266921e89c37472     <-- derived using md5sum include/init.inc.php
No <Tags> were disturbed.

Versioncheck still reported "File may be corrupt...", but when I re-ran it after selecting  "Do not connect to the online repository", the discrepancy disappeared.    I suspect that the md5sum in cpg16x.files.xml for init.inc.php also needs to be updated in the repository.


ron4mac

Quote from: JohnDBush on February 04, 2024, 10:31:50 AM
I suspect that the md5sum in cpg16x.files.xml for init.inc.php also needs to be updated in the repository.

Thanks, John  ...  corrected. 

JohnDBush

Excellent ... output from Versioncheck is clean.   Case closed!   Thank you.