Original Magestore POS Package is the package that only contains Magestore POS product originally (the package is built for widely usage base on Magento fresh installation, not on any customer environment-specific, so it does not contain any specific features/integration/bug fixing for your environment, some unexpected conflict with other extensions may occur when installing or after the POS installed).
Note |
---|
NoticeThis guide applies to install the updated version of Original Magestore POS on your website (the major, minor, or the patch update of your current installed Magestore POS). In case that you want to migrate from the old Magestore POS system or upgrade across lines of POS, please contact with Magestore Support Team to get a suitable guideline. If you are looking for the guide to install brand new Original Magestore POS, it’s here. |
Compatibility Check
Please check the link below to make sure that the POS version you are having is compatible with your current Magento version.
Prerequisite
Magestore POS Line 4 (POS Pro 4, POS Pro Commerce 4, POS Enterprise 4, POS Enterprise Commerce 4) requires MSI to be installed and enabled before installing the POS. You can follow the guide Install Inventory Management from Magento to install and enable MSI.
Update the POS
1. Take a backup of your website
The backup will help you recover faster in case that you are failed while updating Magestore POS due to some conflict with other extensions or unexpected incidents.
2. Turn on Maintenance
Code Block |
---|
php bin/magento maintenance:enable |
3. Turn off Magento Cron
Code Block |
---|
php bin/magento cron:remove |
4. Turn on Developer mode
Code Block |
---|
php bin/magento deploy:mode:set developer |
5. Terminating the magestore_pos_process_order
To prevent caching code in the started consumer
...
Code Block |
---|
pkill -f magestore_pos_process_order |
6. Upload the package to Magento Root Directory
7. Extract the package and copy it to Magento Root Directory
We always distribute the full package to keep the consistency, the full package means it includes all earlier releases of the current package that you are having.
Code Block |
---|
cd <magento_root_directory>
rm -rf app/code/Magestore
tar -xf <package_name>
cp -R server/* ./ |
8. Run upgrade command (Update POS)
Code Block |
---|
php bin/magento setup:upgrade |
9. Deploy POS client
Code Block |
---|
php bin/magento webpos:deploy |
10. Run code compilation
Code Block |
---|
php bin/magento setup:di:compile |
11. Install Magento Cron
Code Block |
---|
php bin/magento cron:install |
12. Reindex All
Code Block |
---|
php bin/magento indexer:reindex |
13. Turn on Production mode
Code Block |
---|
php bin/magento deploy:mode:set production |
14. Turn off Maintenance
Code Block |
---|
php bin/magento maintenance:disable |
Summary
You can use the below script for automating the update process.
...