InfyInvoices Upgrade Guide
Before starting upgrade we recommend to backup your files and export your current database.
Prerequisite
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.
- Backup your whole folder
- Backup & Export your database via phpymadmin
Backup Sensitive Files and Folders
Backup the following folders and files.
- File -
.env
- Folder - Any new languages that you added in
resources/lang/
- Folder -
public/uploads/
Replace the latest code
- Delete all your existing code (you can also rename the current folder or move all content to some other folder, if possible)
- Upload the latest
dist.zip
to the server - Extract the zip
- Put old
.env
file back - Put
resources/lang/
andpublic/uploads
folder back (or you can merge) - Edit
.env
and changeUPGRADE_MODE=true
- Run a database upgrade script
https://{YOUR_URL}/upgrade/database
- Edit
.env
and changeUPGRADE_MODE=false
- Verify that latest version is visible in footer
Check everything is working fine.
Post Upgrade Steps
- Add newly added languages keys (if you have added a new languages)
- Apply/Replace any custom changes that you made to the code.
Hope your upgrade went well and working fine. If you are facing any problem with the upgrade, feel to contact our support at https://infyomlabs.authordesk.app
From v5.8.0
- For enable Recurring Invoice feature, you need to enable Cron Jobs on cPanel.
- Documentation step for enable Cron job. Click here
Old Upgrade Guide
Before starting upgrade we recommenced to backup your files and export your current database.
NOTE : Always take backup of .env file while replacing the files.
Upgrading from v5.5.0 to v5.6.0
For Technical Users:
- Download v5.6.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace v5.6.0 files into your existing version v5.5.0
- Run composer install to update composer dependencies
- Run
php artisan migrate
to make new build - Run npm install
- And at last Run npm run dev to make new build
- That's it!, you are ready to go with new version v5.6.0
For Non Technical Users:
- Download v5.6.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace v5.6.0 files/directories into your existing version 5.5.0
- Now add
ENABLE_UPGRADE_ROUTE=true
variable into your .env file for enable upgrade database route. - Now please call this URL once
YOUR_APP_URL/upgrade-database
- Set value
ENABLE_UPGRADE_ROUTE=false
for disable upgrade database route. - That's it!, you are ready to go with new version v5.6.0
Upgrading from v5.2.0 to v5.5.0
For Technical Users:
- Download v5.5.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace v5.5.0 files into your existing version v5.2.0
- Run composer install to update composer dependencies
- Run
php artisan migrate
to make new build - Run npm install
- And at last Run npm run dev to make new build
- That's it!, you are ready to go with new version v5.5.0
For Non Technical Users:
- Download v5.5.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace v5.5.0 files/directories into your existing version 5.2.0
- Now please call this URL once
YOUR_APP_URL/upgrade-to-v5-5-0
- That's it!, you are ready to go with new version v5.5.0
Upgrading from v5.0.0 to v5.2.0
For Technical Users:
- Download v5.2.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace v5.2.0 files into your existing version v5.0.0
- Run composer install to update composer dependencies
- Run npm install
- And at last Run npm run dev to make new build
- That's it!, you are ready to go with new version v5.2.0
For Non Technical Users:
- Download v5.2.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace v5.2.0 files/directories into your existing version 5.0.0
- That's it!, you are ready to go with new version v5.2.0
Upgrading from v4.0.0 to v5.0.0
For Technical Users:
- Download v5.0.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace v5.0.0 files into your existing version v4.0.0
- Run composer install to update composer dependencies
- Run npm install
- And at last Run npm run dev to make new build
- That's it!, you are ready to go with new version v5.0.0
For Non Technical Users:
- Download v5.0.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace v5.0.0 files/directories into your existing version 4.0.0
- That's it!, you are ready to go with new version v5.0.0
Upgrading from v3.5.0 to v4.0.0
For Technical Users:
- Download v4.0.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace v4.0.0 files into your existing version v3.5.0
- Run composer install to update composer dependencies
- Run
php artisan migrate
to make new build - Run npm install
- And at last Run npm run dev to make new build
- That's it!, you are ready to go with new version v4.0.0
For Non Technical Users:
- Download v4.0.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace v4.0.0 files/directories into your existing version 3.5.0
- Now please call this URL once
YOUR_APP_URL/upgrade-to-v4.0.0
- That's it!, you are ready to go with new version v4.0.0
Upgrading from v3.4.0 to v3.5.0
For Technical Users:
- Download
v3.5.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace
v3.5.0
files into your existing versionv3.4.0
- Run
composer install
to update composer dependencies - Run
php artisan db:seed --class="PaymentFieldSeeder"
to add payment setting fields - Run
php artisan migrate
to make new build - Run
npm install
- And at last Run
npm run dev
to make new build - That's it!, you are ready to go with new version
v3.5.0
For Non Technical Users:
- Download
v3.5.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace
v3.5.0
files/directories into your existing versionv3.4.0
- That's it!, you are ready to go with new version
v3.5.0
Upgrading from v3.3.0 to v3.4.0
For Technical Users:
- Download
v3.4.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace
v3.4.0
files into your existing versionv3.3.0
- Run
composer install
to update composer dependencies - Run
php artisan migrate
to make new build - Run
npm install
- And at last Run
npm run dev
to make new build - That's it!, you are ready to go with new version
v3.4.0
For Non Technical Users:
- Download
v3.4.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace
v3.4.0
files/directories into your existing versionv3.3.0
- That's it!, you are ready to go with new version
v3.4.0
Upgrading from v2.2.0 to v3.3.0
For Technical Users:
- Download
v3.3.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace
v3.3.0
files into your existing versionv2.2.0
- Run
composer install
to update composer dependencies - Run
php artisan migrate
to make new build - Run
npm install
- And at last run
npm run dev
to make new build - That's it! you are ready to go with new version
v3.3.0
For Non Technical Users:
- Download
v3.3.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace
v3.3.0
files/directories into your existing versionv2.2.0
- Now please call this URL once
YOUR_APP_URL/upgrade-to-3-3-0
- That's it! you are ready to go with new version
v3.3.0
Upgrading from v2.1.0 to v2.2.0
For Technical Users:
- Download
v2.2.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace
v2.2.0
files into your existing versionv2.1.0
- Run
composer install
to update composer dependencies - Run
php artisan migrate
to make new build - Run
npm install
- And at last run
npm run dev
to make new build - That's it! you are ready to go with new version
v2.2.0
For Non Technical Users:
- Download
v2.2.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace
v2.2.0
files/directories into your existing versionv2.1.0
- Now please call this URL once
YOUR_APP_URL/upgrade-to-2-2-0
- That's it! you are ready to go with new version
v2.2.0
Upgrading from v2.0.0 to v2.1.0
For Technical Users:
- Download
v2.1.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace
v2.1.0
files into your existing versionv2.0.0
- Run
composer install
to update composer dependencies - Run
php artisan migrate
to make new build - Run
npm install
- And at last run
npm run dev
to make new build - That's it! you are ready to go with new version
v2.1.0
For Non Technical Users:
- Download
v2.1.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace
v2.1.0
files/directories into your existing versionv2.0.0
- Now please call this URL once
YOUR_APP_URL/upgrade-to-2-1-0
- That's it! you are ready to go with new version
v2.1.0
Upgrading from v1.0.0 to v2.0.0
For Technical Users:
- Download
v2.0.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace
v2.0.0
files into your existing versionv1.0.0
- Run
composer install
to update composer dependencies - Run
php artisan migrate
to make new build - Run
npm install
- And at last run
npm run dev
to make new build - That's it! you are ready to go with new version
v2.0.0
For Non Technical Users:
- Download
v2.0.0
- Backup your current version files and DB
- If you have manually changed any files then please take a backup of them. After replacing files, you can again get that portion of code into some particular files.
- Replace
v2.0.0
files/directories into your existing versionv1.0.0
- Now please call this URL once
YOUR_APP_URL/upgrade-to-v2-0-0
- That's it! you are ready to go with new version
v2.0.0