coppermine-gallery.com/forum

Support => cpg1.6.x Support => cpg1.6 upgrading => Topic started by: JohnDBush on February 03, 2024, 09:42:36 AM

Title: Versioncheck discrepancy after upgrade to 1.6.26
Post by: JohnDBush on February 03, 2024, 09:42:36 AM
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.
Title: Re: Versioncheck discrepancy after upgrade to 1.6.26
Post by: ron4mac on February 03, 2024, 12:49:31 PM
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.
Title: Re: Versioncheck discrepancy after upgrade to 1.6.26
Post by: JohnDBush on February 04, 2024, 08:51:19 AM
Many thanks!
Title: Re: Versioncheck discrepancy after upgrade to 1.6.26
Post by: JohnDBush on February 04, 2024, 10:31:50 AM
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.

Title: Re: Versioncheck discrepancy after upgrade to 1.6.26
Post by: ron4mac on February 04, 2024, 01:10:18 PM
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. 
Title: Re: Versioncheck discrepancy after upgrade to 1.6.26
Post by: JohnDBush on February 06, 2024, 08:41:10 AM
Excellent ... output from Versioncheck is clean.   Case closed!   Thank you.