Jump to content

Upgrade Stuck !


Recommended Posts

Hi,

 

Backed up DB and clicked on the update button to upgrade from 7.0 to 7.1 (I think). Has been on the screen with an hour glass spinning for 40 mins so am thinking something has gone wrong. The site and admin areas are showing "down for maintenance" messages.

 

Have checked via ftp and various files all appear to have been updated when the upgrade was initiated. The install log file shows:

 

[2016-12-22 18:10:56][WHMCS Installer] DEBUG: Updater bootstrapped []

[2016-12-22 18:10:56][WHMCS Installer] INFO: Applying Updates for 7.0.1-release.1 []

[2016-12-22 18:10:56][WHMCS Installer] INFO: Performing Update Action: removeAdminForceSSLSetting []

[2016-12-22 18:10:56][WHMCS Installer] INFO: Removing any obsolete file and directories []

[2016-12-22 18:10:56][WHMCS Installer] INFO: Applying Updates for 7.1.0-alpha.1 []

[2016-12-22 18:10:59][WHMCS Installer] INFO: Performing Update Action: addAdminPasswordResetVerificationEmailTemplate []

[2016-12-22 18:10:59][WHMCS Installer] INFO: Performing Update Action: addAdminPasswordResetConfirmationEmailTemplate []

[2016-12-22 18:10:59][WHMCS Installer] INFO: Removing any obsolete file and directories []

[2016-12-22 18:10:59][WHMCS Installer] INFO: Applying Updates for 7.1.0-beta.1 []

[2016-12-22 18:11:00][WHMCS Installer] INFO: Performing Update Action: updateCronTasksNextDue []

 

 

What to do? The browser is still showing:

 

This may take several minutes to complete.

 

Please do not navigate away from this page or close your browser.

You will be redirected automatically once complete.

 

If I navigate away I assume the site will still show as down for maintenance and I will have no way to get back into the admin area to uncheck that box. I guess I could run a command in the SQL tab via phpmyadmin to change the setting once I find it.

 

Just wondering if anyone else has has had similar issue?

 

Cheers

Link to comment
Share on other sites

Ok, the maintenance message had noting to do with the TAB in the general settings, it was to do with the version number in the database and file set. I restored the database and site files, removed the install dir and we are back where we were.

 

While looking at the general settings, I noticed that the WHMCS System URL was set to https://ukprohosts.co.uk and not to where the WHMCS actually is (https://ukprohosts.co.uk/admin however when I set it to the admin folder and click save, it reverts back to just the site URL.

 

Could this be the issue?

 

Thanks

Link to comment
Share on other sites

You've got multiple installations it looks like. Your WHMCS URL is always going to be the base WHMCS url, not /admin/

if you change your WHMCs URL, you'll need to update it manually in the database

In phpmyadmin:

 

UPDATE tblconfiguration SET value='http://mywebsite.com' WHERE setting='SystemURL' ;
UPDATE tblconfiguration SET value='https://mywebsite.com' WHERE setting='SystemSSLURL' ;

 

That'll work on both 6 and 7, though only the first is needed for 7.x any more

make sure you're using the right db.

Link to comment
Share on other sites

I have used UPDATE tblconfiguration SET value='http://mywebsite.com' WHERE setting='SystemURL' ; to get back in once before when I set it to https before I installed the certificate.

 

Even with the WHMCS url set to the base url everything seems to work fine (apart from the upgrade). It might have just been a one off glitch but a bit worried to try it again!

 

When you say multiple installations, I remember there was a few issues installing it in the 1st place and I had to re do it, although I can only see 1 installation and 1 whmcs db file.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

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

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated