Skip to content

InfyNews Upgrade Guide

Before starting upgrade we recommend to backup your files and export your current database.

Upgrade Steps

Before starting upgrade we recommend to back up your all files and export your current database. so in case if anything goes wrong, you can restore the previous version.

  1. Backup your current code into new folder.
    • Following things must need to backup :
        1. File - .env
        1. Folder - Any new languages that you added in resources/lang/ or lang
        1. Folder - public/uploads/
  2. Backup & Export your database via phpMyAdmin
  3. Delete all your existing code (Before this make sure you performed the step 1)
  4. Upload the latest dist.zip to the server root directory & Extract the zip
  5. Put old .env file back from your backup
  6. Copy lang folder back to the root directory again from your backyup folder
  7. Copy resources/lang folder back from your backyup folder
  8. Copy public/uploads folder back from your backyup folder
  9. Edit .env and change UPGRADE_MODE=true
  10. Run a database upgrade script https://{YOUR_URL}/upgrade/database
  11. Edit .env and change UPGRADE_MODE=false
  12. Verify that latest version is visible in footer

Check everything is working fine.

If you are facing any problem with the upgrade, feel to contact our support at https://infyomlabs.authordesk.app