Jump to content

Upgrade Failure (stuck on performing update)


Recommended Posts

Updating from 8.1.3 to 8.2 and been stuck on performing update for hours now, have tried updating manually via /install and this just fails with an "Ooops! Something went wrong and we couldn't process your request."  with following error in logfile...

[2021-06-22T17:52:26.374076+01:00][WHMCS Installer] DEBUG: Installer bootstrapped []
[2021-06-22T17:52:26.429674+01:00][WHMCS Installer] INFO: Applying incremental updates to existing installation []
[2021-06-22T17:52:26.616233+01:00][WHMCS Installer] ERROR: ReflectionException: Class remoteAuth does not exist in /var/www/www.deck8.net/html/vendor/illuminate/container/Container.php:805 Stack trace: #0 /var/www/www.deck8.net/html/vendor/illuminate/container/Container.php(805): ReflectionClass->__construct() #1 /var/www/www.deck8.net/html/vendor/illuminate/container/Container.php(687): Illuminate\Container\Container->build() #2 /var/www/www.deck8.net/html/vendor/illuminate/container/Container.php(633): Illuminate\Container\Container->resolve() #3 /var/www/www.deck8.net/html/vendor/illuminate/support/Facades/Facade.php(261): Illuminate\Container\Container->make() #4 /var/www/www.deck8.net/html/vendor/whmcs/whmcs-foundation/lib/User/User.php(0): Illuminate\Support\Facades\Facade::__callStatic() #5 /var/www/www.deck8.net/html/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\User\User->runPostLoginEvents() #6 /var/www/www.deck8.net/html/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\Authentication\AuthManager->login() #7 /var/www/www.deck8.net/html/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Authentication\AuthManager->user() #8 /var/www/www.deck8.net/html/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic() #9 /var/www/www.deck8.net/html/install/install.php(0): logActivity() #10 {main}  Next Illuminate\Contracts\Container\BindingResolutionException: Target class [remoteAuth] does not exist. in /var/www/www.deck8.net/html/vendor/illuminate/container/Container.php:807 Stack trace: #0 /var/www/www.deck8.net/html/vendor/illuminate/container/Container.php(687): Illuminate\Container\Container->build() #1 /var/www/www.deck8.net/html/vendor/illuminate/container/Container.php(633): Illuminate\Container\Container->resolve() #2 /var/www/www.deck8.net/html/vendor/illuminate/support/Facades/Facade.php(261): Illuminate\Container\Container->make() #3 /var/www/www.deck8.net/html/vendor/whmcs/whmcs-foundation/lib/User/User.php(0): Illuminate\Support\Facades\Facade::__callStatic() #4 /var/www/www.deck8.net/html/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\User\User->runPostLoginEvents() #5 /var/www/www.deck8.net/html/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\Authentication\AuthManager->login() #6 /var/www/www.deck8.net/html/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Authentication\AuthManager->user() #7 /var/www/www.deck8.net/html/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic() #8 /var/www/www.deck8.net/html/install/install.php(0): logActivity() #9 {main} []

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi @DanJ,

This error indicates that the extract/copy of the new 8.2 files was unsuccessful.

Please review the last entry in the tblupdatelog table at the time of update for more details on the root cause.

 

To resolve, please upload the files manually and then run the install.php scirpt in your browser. Detailed instructions are here: https://docs.whmcs.com/Updating#For_a_Full_Release_Version

Link to comment
Share on other sites

I held off on performing an upgarde a few days ago and I decided to perform upgrade today.

This is what I got after about 15sec

 

image.png.21e1deb7053d98c66d2d2b0ff0ceda5b.png

 

Then after trying again as requested I got
image.png.e208a97d45a3703c9d50ec708b3a56f2.png

Then after removing install folder i get

image.png.5456e33766cab93859363cfc7475abb2.png

No my WHMCS is down and out and completely broken.

Any suggestions?

 

Link to comment
Share on other sites

  • WHMCS Support Manager

Hi @paulie,

I'm sorry to hear you encountered an error during the update process. Please refer to this guide for assistance troubleshooting the underlying cause: https://help.whmcs.com/m/updating/l/1421137-troubleshooting-a-fatal-error-occurred-while-fetching-the-update-error

To complete the update process and resolve the Down For Maintenance Error, please follow the steps in this guide:https://help.whmcs.com/m/updating/l/1136003-resolving-a-down-for-maintenance-message

Link to comment
Share on other sites

  • 3 weeks later...

I am also having the same issue. double confirmed the installation files. But still getting the error. 

 

/www/wwwroot/*****.cloud/vendor/illuminate/container/Container.php(805): ReflectionClass->__construct() #1 /www/wwwroot/*****.cloud/vendor/illuminate/container/Container.php(687): Illuminate\Container\Container->build() #2 /www/wwwroot/*****.cloud/vendor/illuminate/container/Container.php(633): Illuminate\Container\Container->resolve() #3 /www/wwwroot/*****.cloud/vendor/illuminate/support/Facades/Facade.php(261): Illuminate\Container\Container->make() #4 /www/wwwroot/*****.cloud/vendor/whmcs/whmcs-foundation/lib/User/User.php(0): Illuminate\Support\Facades\Facade::__callStatic() #5 /www/wwwroot/*****.cloud/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\User\User->runPostLoginEvents() #6 /www/wwwroot/*****.cloud/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\Authentication\AuthManager->login() #7 /www/wwwroot/*****.cloud/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Authentication\AuthManager->user() #8 /www/wwwroot/*****.cloud/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic() #9 /www/wwwroot/*****.cloud/install/install.php(0): logActivity() #10 {main}  Next Illuminate\Contracts\Container\BindingResolutionException: Target class [remoteAuth] does not exist. in /www/wwwroot/*****.cloud/vendor/illuminate/container/Container.php:807 Stack trace: #0 /www/wwwroot/*****.cloud/vendor/illuminate/container/Container.php(687): Illuminate\Container\Container->build() #1 /www/wwwroot/*****.cloud/vendor/illuminate/container/Container.php(633): Illuminate\Container\Container->resolve() #2 /www/wwwroot/*****.cloud/vendor/illuminate/support/Facades/Facade.php(261): Illuminate\Container\Container->make() #3 /www/wwwroot/*****.cloud/vendor/whmcs/whmcs-foundation/lib/User/User.php(0): Illuminate\Support\Facades\Facade::__callStatic() #4 /www/wwwroot/*****.cloud/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\User\User->runPostLoginEvents() #5 /www/wwwroot/*****.cloud/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\Authentication\AuthManager->login() #6 /www/wwwroot/*****.cloud/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Authentication\AuthManager->user() #7 /www/wwwroot/*****.cloud/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic() #8 /www/wwwroot/*****.cloud/install/install.php(0): logActivity() #9 {main} []



There are no entries in the tblupdatelog  table as well

Link to comment
Share on other sites

  • 3 months later...

This is still happening even when removing all previous files from the webroot and putting the new version on there. Upgrades from 8.2.1 to 8.3.1 don't seem to work for some reason.

I also checked that supposed file and there really is no class in that, there hasn't ever been that class in there, I checked my backups. I found the library as well and searched the commit history and no mention of anything remotely like that class that is supposedly missing.

I can't follow the stacktrace any further due to the encryption, so that's now in your ballpark to fix up or perhaps finally create an update process that more gracefully handles issues. Been going on for a while that I had to manually install each update which is a big hassle in itself and having to review the entire update log each time to make sure nothing failed isn't fun.

Link to comment
Share on other sites

On 10/29/2021 at 6:48 PM, Tampa said:

This is still happening even when removing all previous files from the webroot and putting the new version on there. Upgrades from 8.2.1 to 8.3.1 don't seem to work for some reason.

I also checked that supposed file and there really is no class in that, there hasn't ever been that class in there, I checked my backups. I found the library as well and searched the commit history and no mention of anything remotely like that class that is supposedly missing.

I can't follow the stacktrace any further due to the encryption, so that's now in your ballpark to fix up or perhaps finally create an update process that more gracefully handles issues. Been going on for a while that I had to manually install each update which is a big hassle in itself and having to review the entire update log each time to make sure nothing failed isn't fun.

Can confirm the same issue. Same versions (from, to).

Link to comment
Share on other sites

  • 3 weeks later...

I have the same Issue.

We have detected that you are currently running WHMCS Version 8.1.3.

This update process will upgrade your installation to 8.3.1.

 

 

Quote

[2021-11-22T00:35:30.668744+00:00][WHMCS Installer] DEBUG: Installer bootstrapped []
[2021-11-22T00:35:33.073832+00:00][WHMCS Installer] DEBUG: Installer bootstrapped []
[2021-11-22T00:35:33.156310+00:00][WHMCS Installer] INFO: Previous install detected []
[2021-11-22T00:35:33.157277+00:00][WHMCS Installer] DEBUG: An upgrade from 8.1.3-release.1 to 8.3.1-release.1 will be attempted. []
[2021-11-22T00:35:36.702976+00:00][WHMCS Installer] DEBUG: Installer bootstrapped []
[2021-11-22T00:35:36.788868+00:00][WHMCS Installer] INFO: Applying incremental updates to existing installation []
[2021-11-22T00:35:36.859480+00:00][WHMCS Installer] ERROR: ReflectionException: Class remoteAuth does not exist in /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php:805 Stack trace: #0 /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php(805): ReflectionClass->__construct('remoteAuth') #1 /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php(687): Illuminate\Container\Container->build('remoteAuth') #2 /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php(633): Illuminate\Container\Container->resolve('remoteAuth', Array) #3 /home/clanhost/public_html/whmcs/vendor/illuminate/support/Facades/Facade.php(261): Illuminate\Container\Container->make('remoteAuth') #4 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/User/User.php(0): Illuminate\Support\Facades\Facade::__callStatic('make', Array) #5 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\User\User->runPostLoginEvents() #6 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\Authentication\AuthManager->login(Object(WHMCS\User\User)) #7 /home/clanhost/public_html/whmcs/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Authentication\AuthManager->user() #8 /home/clanhost/public_html/whmcs/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic('user', Array) #9 /home/clanhost/public_html/whmcs/install/install.php(0): logActivity('An upgrade from...') #10 {main}  Next Illuminate\Contracts\Container\BindingResolutionException: Target class [remoteAuth] does not exist. in /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php:807 Stack trace: #0 /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php(687): Illuminate\Container\Container->build('remoteAuth') #1 /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php(633): Illuminate\Container\Container->resolve('remoteAuth', Array) #2 /home/clanhost/public_html/whmcs/vendor/illuminate/support/Facades/Facade.php(261): Illuminate\Container\Container->make('remoteAuth') #3 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/User/User.php(0): Illuminate\Support\Facades\Facade::__callStatic('make', Array) #4 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\User\User->runPostLoginEvents() #5 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\Authentication\AuthManager->login(Object(WHMCS\User\User)) #6 /home/clanhost/public_html/whmcs/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Authentication\AuthManager->user() #7 /home/clanhost/public_html/whmcs/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic('user', Array) #8 /home/clanhost/public_html/whmcs/install/install.php(0): logActivity('An upgrade from...') #9 {main} []
[2021-11-22T00:35:41.035361+00:00][WHMCS Installer] DEBUG: Installer bootstrapped []
[2021-11-22T00:35:41.120239+00:00][WHMCS Installer] INFO: Applying incremental updates to existing installation []
[2021-11-22T00:35:41.195840+00:00][WHMCS Installer] ERROR: ReflectionException: Class remoteAuth does not exist in /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php:805 Stack trace: #0 /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php(805): ReflectionClass->__construct('remoteAuth') #1 /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php(687): Illuminate\Container\Container->build('remoteAuth') #2 /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php(633): Illuminate\Container\Container->resolve('remoteAuth', Array) #3 /home/clanhost/public_html/whmcs/vendor/illuminate/support/Facades/Facade.php(261): Illuminate\Container\Container->make('remoteAuth') #4 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/User/User.php(0): Illuminate\Support\Facades\Facade::__callStatic('make', Array) #5 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\User\User->runPostLoginEvents() #6 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\Authentication\AuthManager->login(Object(WHMCS\User\User)) #7 /home/clanhost/public_html/whmcs/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Authentication\AuthManager->user() #8 /home/clanhost/public_html/whmcs/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic('user', Array) #9 /home/clanhost/public_html/whmcs/install/install.php(0): logActivity('An upgrade from...') #10 {main}  Next Illuminate\Contracts\Container\BindingResolutionException: Target class [remoteAuth] does not exist. in /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php:807 Stack trace: #0 /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php(687): Illuminate\Container\Container->build('remoteAuth') #1 /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php(633): Illuminate\Container\Container->resolve('remoteAuth', Array) #2 /home/clanhost/public_html/whmcs/vendor/illuminate/support/Facades/Facade.php(261): Illuminate\Container\Container->make('remoteAuth') #3 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/User/User.php(0): Illuminate\Support\Facades\Facade::__callStatic('make', Array) #4 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\User\User->runPostLoginEvents() #5 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\Authentication\AuthManager->login(Object(WHMCS\User\User)) #6 /home/clanhost/public_html/whmcs/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Authentication\AuthManager->user() #7 /home/clanhost/public_html/whmcs/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic('user', Array) #8 /home/clanhost/public_html/whmcs/install/install.php(0): logActivity('An upgrade from...') #9 {main} []
[2021-11-22T00:35:49.051038+00:00][WHMCS Installer] DEBUG: Installer bootstrapped []
[2021-11-22T00:35:49.139273+00:00][WHMCS Installer] INFO: Applying incremental updates to existing installation []
[2021-11-22T00:35:49.211478+00:00][WHMCS Installer] ERROR: ReflectionException: Class remoteAuth does not exist in /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php:805 Stack trace: #0 /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php(805): ReflectionClass->__construct('remoteAuth') #1 /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php(687): Illuminate\Container\Container->build('remoteAuth') #2 /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php(633): Illuminate\Container\Container->resolve('remoteAuth', Array) #3 /home/clanhost/public_html/whmcs/vendor/illuminate/support/Facades/Facade.php(261): Illuminate\Container\Container->make('remoteAuth') #4 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/User/User.php(0): Illuminate\Support\Facades\Facade::__callStatic('make', Array) #5 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\User\User->runPostLoginEvents() #6 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\Authentication\AuthManager->login(Object(WHMCS\User\User)) #7 /home/clanhost/public_html/whmcs/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Authentication\AuthManager->user() #8 /home/clanhost/public_html/whmcs/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic('user', Array) #9 /home/clanhost/public_html/whmcs/install/install.php(0): logActivity('An upgrade from...') #10 {main}  Next Illuminate\Contracts\Container\BindingResolutionException: Target class [remoteAuth] does not exist. in /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php:807 Stack trace: #0 /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php(687): Illuminate\Container\Container->build('remoteAuth') #1 /home/clanhost/public_html/whmcs/vendor/illuminate/container/Container.php(633): Illuminate\Container\Container->resolve('remoteAuth', Array) #2 /home/clanhost/public_html/whmcs/vendor/illuminate/support/Facades/Facade.php(261): Illuminate\Container\Container->make('remoteAuth') #3 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/User/User.php(0): Illuminate\Support\Facades\Facade::__callStatic('make', Array) #4 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\User\User->runPostLoginEvents() #5 /home/clanhost/public_html/whmcs/vendor/whmcs/whmcs-foundation/lib/Authentication/AuthManager.php(0): WHMCS\Authentication\AuthManager->login(Object(WHMCS\User\User)) #6 /home/clanhost/public_html/whmcs/vendor/illuminate/support/Facades/Facade.php(261): WHMCS\Authentication\AuthManager->user() #7 /home/clanhost/public_html/whmcs/includes/functions.php(0): Illuminate\Support\Facades\Facade::__callStatic('user', Array) #8 /home/clanhost/public_html/whmcs/install/install.php(0): logActivity('An upgrade from...') #9 {main} []

 

 

Link to comment
Share on other sites

  • 1 year later...
  • WHMCS Support Manager

Hi all,

We've been able to replicate the issue now; it occurs when executing install.php with an active admin session.

Case #CORE-18800 is open with our developers in order to have this reviewed for future releases. Once we resolve cases and push features they are available at our change log, here:

https://changelog.whmcs.com/

In the meantime, logout from the admin area before visiting install.php, and the error will not occur.

I apologize for the inconvenience, and appreciate your patience as we work to resolve this.

Thanks again for taking the time to report your findings.

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