Prerequisites
- Administrator Access: Ensure you have server-level administrative privileges.
- Backup Tools: MySQL Workbench or a similar database management tool.
- Web Browser: Use Chrome or Edge for certain steps; Internet Explorer may not be compatible.
- Latest ReadyWorks Package: Obtain the new version’s ZIP file from the official source or your ReadyWorks account manager.
Upgrade Steps
1. Confirm Current Version and Remove Database Views
-
Log into the ReadyWorks Front End:
- Open your web browser and navigate to the ReadyWorks login page.
- Enter your administrator credentials.
-
Navigate to Configuration Options:
- Go to the top menu and select
Configuration. - Click on
Options.
- Go to the top menu and select
-
Remove Existing Database Views:
- Click on
Remove Views.- Note: This step drops existing database views to prevent conflicts during the schema update.
- Click on
2. Backup the www Directory
-
Access the Server:
- Log into the server where ReadyWorks is installed.
-
Locate the
wwwFolder:- Navigate to the ReadyWorks installation directory, typically found at
C:\ReadyWorks\wwwor a custom installation path.
- Navigate to the ReadyWorks installation directory, typically found at
-
Create a Backup:
- Copy the entire
wwwfolder. - Paste it in the same directory or a safe backup location.
- Rename the copied folder to include the current version number, e.g.,
www_0603.
- Copy the entire
3. Backup the ReadyWorks Database
-
Open MySQL Workbench:
- Launch MySQL Workbench or your preferred database management tool.
-
Create a Self-Contained Backup:
- Connect to the ReadyWorks database.
- Select the database and choose the option to export it.
- Save the backup as a self-contained file.
- Note: This backup is precautionary and may not be used during the upgrade.
-
Handle Export Dump Errors (If Any):
- If you encounter export dump errors, refer to the [process to resolve export errors] (insert link or reference to the process here).
4. Log Out of the ReadyWorks Front End
- Ensure that all users are logged out to prevent data inconsistencies.
- Close all browser sessions connected to ReadyWorks.
5. Prepare the New Version Files
-
Extract the New Version ZIP File:
- Locate the downloaded ZIP file of the new ReadyWorks version.
- Right-click the ZIP file and select
Extract All. - Choose a temporary location for the extracted files.
-
Verify Extracted Files:
- Ensure all files and folders have been extracted successfully.
6. Update the www Directory with New Files
-
Delete Old Files:
- Navigate back to the original
wwwfolder (C:\ReadyWorks\www). - Delete all contents within the
wwwfolder.- Warning: Ensure you have completed the backup in Step 2 before deleting.
- Navigate back to the original
-
Copy New Files:
- From the extracted new version folder, select all files and folders.
- Copy and paste them into the now-empty
wwwfolder.
7. Restore Configuration Files
-
Copy Configuration Files from Backup:
- From your backed-up
wwwfolder (www_0603), locate:database.phpclient_config.php
- From your backed-up
-
Paste Configuration Files into New
wwwFolder:- Copy these two files into the new
wwwdirectory. - Overwrite any existing files if prompted.
- Note: The existing
edit_medatabase and config files in the new version can remain unchanged.
- Note: The existing
- Copy these two files into the new
8. Update the Database Schema
-
Edit the
client_config.phpFile:- Open
client_config.phpfrom the newwwwfolder in a text editor (e.g., Notepad++).
- Open
-
Change Schema Update Flag:
- Locate line 22, which should read:
$update_schema = "False"; - Change the value to
"True"so it reads:$update_schema = "True"; - Save and close the file.
- Locate line 22, which should read:
9. Refresh the Front End to Apply Schema Updates
-
Open the ReadyWorks Login Page:
- In your web browser, navigate to the ReadyWorks URL.
-
Trigger Schema Update:
- Refresh the page.
- The system will detect the schema update flag and begin updating the database schema.
- Note: This process may take several minutes. Do not close the browser during the update.
10. Log In and Confirm New Version
-
Log Back into ReadyWorks:
- Use your administrator credentials to log in.
-
Verify the Version:
- Navigate to
Configuration>Aboutor a similar section that displays version information. - Confirm that the displayed version matches the new version number.
- Navigate to
11. Recreate Database Views
-
Remove Old Views Again:
- Go to
Configuration>Options. - Click on
Remove Views.
- Go to
-
Create New Views:
- Still in
Options, click onCreate Views.- Note: Use Chrome or Edge browsers for this step, as Internet Explorer may not be compatible.
- Still in
12. Verify System Functionality
-
Check Custom Reports:
- Navigate to the
Reportssection. - Ensure all custom reports are accessible and displaying data correctly.
- Navigate to the
-
Confirm Environment Name and Logo:
- Verify that the environment name and logo are correctly displayed on the dashboard and login page.
-
Test Attachments:
- Access any files or attachments within the system to confirm they are working.
-
Review Cron Jobs:
- Go to
Admin Options>Cron Jobs. - Ensure scheduled tasks are listed and configured correctly.
- Go to
-
Check ETL Processes:
- Navigate to the
ETLmodule. - Verify that all ETL processes are online and functioning.
- Navigate to the
13. Confirm Schema Update Flag Reset
-
Reopen
client_config.php:- Open the file from the
wwwdirectory.
- Open the file from the
-
Verify Schema Update Flag:
- Ensure line 22 has automatically reverted to:
$update_schema = "False"; - Note: The system resets this flag after successfully updating the schema to prevent unintended future updates.
- Ensure line 22 has automatically reverted to:
14. Send Latest Release Notes to Stakeholders
-
Download the Release Notes:
- Access the latest Release Notes from [Placeholder for Release Notes Link].
-
Review Changes and Updates:
- Familiarize yourself with new features, bug fixes, and any deprecated functionalities.
-
Distribute to Relevant Parties:
- Share the Release Notes with your team, users, or stakeholders to inform them of the updates.
-
Handling Export Dump Errors:
- If you encountered errors during the database backup, refer to the specific troubleshooting guide or contact ReadyWorks support.
-
Post-Upgrade Monitoring:
- Keep an eye on system performance and logs for any anomalies.
- Encourage users to report any issues they experience.
-
Support:
- For assistance, contact ReadyWorks support through your designated support channel.
You have successfully upgraded ReadyWorks to the latest version in your on-premises or self-hosted environment. Regularly updating your system ensures optimal performance, security, and access to new features that enhance your organization’s operational efficiency.
Disclaimer: Always ensure you have adequate backups before performing system upgrades. This guide assumes that you have the necessary administrative privileges and familiarity with ReadyWorks system administration.