Jump to content

Starting from scratch but with old DB


joelie

Recommended Posts

Is it possible to run the upgrade script on an old database to update it to v5, but also start with a fresh installation of the files? ie. I want the new interface without any of my old customisations but don't want to lose any of the data in the old database?

 

Is it simply a matter of deleting all the old files (except for the config file), copying all the new files into the directory, and then running the upgrade script?

Link to comment
Share on other sites

You should first change your WHMCS template setting in Setup > General Settings to "default". You can then delete all the old files except the following:

 

  • configuration.php
  • /images/logo.jpg

 

Optional:

 

  • /attachments/ -> Preserves any attachments
  • /downloads/ -> Preserves any existing downloads
  • /templates/<active_template>/invoicepdf.tpl -> Preserves your PDF invoice customisations
  • /templates/<active_template>/quotepdf.tpl -> Preserves your PDF quote customisations

 

Then upload the new files (excluding the above files) to your whmcs directory and run the upgrade script to update the DB. You will then be upgraded with a clean set of files.

 

If you have customised your WHMCS admin folder name, you should rename the admin folder in the new files to match.

 

If your customisations in invoicepdf.tpl are from the older TCPDF version, you may even need to check for compatibility of the same.

Edited by Vijay
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