Jump to content

Upgrade on localhost


Sonya*

Recommended Posts

Posted

Hi,

I have an issue upgrading test installation on localhost (WAMP). When I go to localhost/admin/upgrade I get the error:

If you are sure the files have been uploaded correctly, make sure the permissions are set correctly on them.
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/extensions/core/FrontNavigation/Addresses.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/extensions/core/FrontNavigation/Alternatives.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/extensions/core/FrontNavigation/BillingAgreements.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/extensions/core/FrontNavigation/Cards.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/extensions/core/FrontNavigation/Credit.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/extensions/core/FrontNavigation/Info.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/extensions/core/FrontNavigation/Orders.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/extensions/core/FrontNavigation/Purchases.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/extensions/core/FrontNavigation/Referrals.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/extensions/core/FrontNavigation/Support.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/modules/admin/customers/view.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/modules/admin/reports/markets.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/modules/front/checkout/checkout.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/setup/upg_40000/upgrade.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/sources/CreditCard/CreditCard.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/sources/Gateway/Manual/Manual.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/sources/Gateway/PayPal/PayPal.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/sources/Package/Package.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/sources/Support/Request.php
C:\Users\me\Documents\web\_projects\my\httpdocs/applications/nexus/tasks/generateRenewalInvoices.php

I have downloaded the ZIP file some times. No changes. There are only these files, all other files are OK. Does somebody know how to overcome this?

Posted
10 minutes ago, Sonya* said:

It is localhost. Nothing has to be "uploaded". It is on my local PC. Chmod is for Linux, I am on Windows (WAMP) hence no permissions can be set.

add this to your constants.php

define( 'UPGRADE_MD5_CHECK', FALSE );

 

Posted
16 hours ago, TheJackal84 said:

add this to your constants.php


define( 'UPGRADE_MD5_CHECK', FALSE );

 

Thanks TheJackal84. I used temporary hardcode //return [] for md5 check function for doing upgrades) Same as topic starter problem - md5 is not correct (but it downloaded from clientarea and just pasted to webroot folder). Didn't know why md5 is wrong. I checked deeply in check function - all is well (files exists, md5 of file same as md5 in downloaded zip archive, permissions are right, write ability is present). But not md5 of content. I think it depends for some special characters.. but didn't know why it's diffrent between ips md5 checksums. Platworm worked in docker (nginx official, php-fpm:7.1 with other..), webroot folder mounted to my host machine, md5 under docker is the same as in host md5 (and as i say in md5 in archive). Thanks for che constant - it will make my work on upgrades simplier :thumbsup:

20 minutes ago, Sonya* said:

I do not know why. :ph34r:

It's one of question, which should be ask in support ticket) Here IPS can't public answer to you and support system is a special places for questions like that :)

Posted
4 minutes ago, Upgradeovec said:

It's one of question, which should be ask in support ticket) Here IPS can't public answer to you and support system is a special places for questions like that :)

I have contacted support already :thumbsup:. Just wanted to mention it here, as the issue is not just md5() in my case but the "reactivation thing". If an application suddenly should be reactivated manually and you are not aware of it (why should you?), then you get the same error. 

Posted
1 minute ago, Sonya* said:

I have contacted support already :thumbsup:. Just wanted to mention it here, as the issue is not just md5() in my case but the "reactivation thing". If an application suddenly should be reactivated manually and you are not aware of it (why should you?), then you get the same error. 

No. I have a special department in company, who watch that :lol:

But you question provide to me other think. May be ips zip's different between together and different for each licence? So with that thay can return different md5 :lol:. Or it depends on some uniq key inside? Didn't want to check it (lazy) and didn't important )

Posted
1 minute ago, Upgradeovec said:

No. I have a special department in company, who watch that :lol:

Oh, a special department that looks up every day if any application should be reactivated manually? ;) Interesting job :D I have an active licence and I did not get any notification about manual reactivation, I have found it out just by accident. 

There is no nexus at all in the downloaded zip file in my case. I would expect, that system warns me, that the application cannot be upgraded instead of giving md5() error. I guess you can easily reproduce the error if you just delete nexus folder from the ZIP file and try to upgrade.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...