Applying packages with Meteor
Patches to the Jadu software are applied through our Open Source Meteor tool. Further details on the various capabilities of this tool are covered in our Meteor documentation.
In Multi-server / load balanced environments, patches must be applied to all web nodes that are part of that environment's cluster. Meteor will only run database migrations on the first node and no database migrations are run on subsequent nodes during the patching process.
You will need to repeat this process for each patch package listed previously and in the specified order.
Applying a patch
- Copy the package to the jadu root folder.
- Unzip the package
- From the terminal, cd to the unzipped folder, run the following command and answer yes to run the migrations.
php -d memory_limit=512M meteor.phar patch:apply --path=<<JADU-HOME>>
Should you ever need to revert from the patch, from inside the patch directory run the following command and then clear the system cache:
php -d memory_limit=512M meteor.phar patch:rollback
Patch content
Our patches contain the following:
File or directory | Description |
---|---|
/to_patch | Directory including application files included in the patch. These files will overwrite those on the server. |
meteor.json | Configuration file for patch application software. |
meteor.phar | Patch application software, distributed as a PHP archive. |
/upgrades | Directory including database and filesystem migrations. Run by Doctrine DBAL. |