Jump to content

Upgrade from WHMCS 8.13 to 9 doesnt clean up vendor Folders


Recommended Posts

I have updated to WHMCS 9

In vendor files the folders was updated, but the folders not required anymore was not removed by the automatic update tool as when I compare WHMCS 8,13 and 9 they are removed.   

So remember to remove these manually people
true
sonata-project
Facebook
container-interop

My questions why does the update process not clean and remove everything that is "old".  What happend with the quality of the WHMCS releases .. .

Link to comment
Share on other sites

Also I got some smarty errors after upgrading  but seems that theese files are not in WHMCS 9 but are in 8.13

../vendor/smarty/smarty/libs/sysplugins

  • smarty_internal_resource_registered.php
  • smarty_internal_compile_private_php.php
  • smarty_internal_compile_include_php.php

To be a stable release there the update tool doesnt do a lot of cleaning of old files.. 

Link to comment
Share on other sites

  • 3 weeks later...

Here is the procedure we followed to replace the `vendor` folder.

1. Renamed the Existing Folder
We renamed the current messy `vendor` directory to separate it from the live site without deleting data.

mv vendor vendor_old

 

2. Deployed the Fresh Folder
We extracted the clean `vendor` directory from the **WHMCS v9.0 Full Release** zip file and placed it in the root directory.

unzip -q whmcs_v901_full.zip "whmcs/vendor/*"
mv whmcs/vendor ./
rm -rf whmcs

*(If you did this via FTP, you simply uploaded the fresh `vendor` folder to `public_html/`)*

 

3. Safety Retention
Do not delete `vendor_old` yet.
Keep this folder on the server for several weeks. If any custom modules or hidden dependencies break in the new environment, we can reference or restore files from this backup. Once the system is confirmed stable after a few billing cycles, you can remove it.

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