Applying Patch
Patches are small code updates used to fix a specific issue without performing a full version update. Apply a patch only when it matches your installed version or when your support/admin team confirms it is required.
When To Apply A Patch
Apply a patch when:
- RetailMan ERP System is already installed.
- Your installed version matches the patch instructions.
- A patch was released after your current version was installed.
- The patch is meant to fix an issue affecting your installation.
You usually do not need to apply an older patch during a fresh installation if the latest full application package already includes that fix.
Before Applying A Patch
Back up the following before replacing any file:
- Database
-
.envfile -
public/uploadsfolder - Any file mentioned in the patch instructions
Steps
- Download or receive the patch package from your official update/support source.
- Extract the patch package.
- Open the patch folder. It may be named something like:
-
Patch-VERSION -
Patch-FEATURE-NAME
-
- Look for a
README.txtor instruction file inside the patch folder. - Follow the instructions exactly.
- If the patch says to replace a file, replace only the listed file.
- If the patch says to create a new file, create it in the exact path shown.
- Clear application/cache files if the patch instructions require it.
- Test the affected feature after applying the patch.
Important: Do not blindly copy the whole patch folder into the application root unless the patch instructions specifically say to do that.