Patch – creates a backup of the original license certificate and replaces it with a custom one.
Restore – restores the original certificate from the backup.
Patch command:
sh ./patcher.sh patch
Expected output for patch command:
/home/node # sh ./patcher.sh patch
✅ Detected: Running main logic INSIDE the container.
...
✅ Patch applied! Restart n8n for the changes to take effect.
✅ Patch License URL applied! https://patcher.n8selfhosted.com
/home/node #
Restore command:
sh ./patcher.sh restore
Expected output for restore command:
/home/node # sh ./patcher.sh restore
✅ Detected: Running main logic INSIDE the container.
...
Starting operation: RESTORE
Restoring the original file from backup...
✅ Original file restored! Restart n8n for the changes to take effect.
/home/node #
Use "exit" to exit the container shell.
5. Restart the Container
After applying the patch, restart your container to apply the changes:
docker restart [container_name]
6. Activate the License
Access your application's web interface.
Go to Settings.
Enter your N8SH-Entomai license. (If you don't have one, check the "Get Free License" tab).
Docker Image Method (Recommended)
This is the easiest and fastest way to get started. The image is already patched.
1. Install Docker
Install Docker on your system following the official instructions.
2. Run the Pre-patched Container
Use the pre-patched Docker image that comes with the license already configured. No additional patching required.
Docker Run (Simple)
Start the container with the pre-patched image:
docker run -d --name [container_name] -p 5678:5678 [image_name]
The image ([image_name]) is already configured as ghcr.io/n8nsh/n8n:latest in the Configuration Helper.