N2WS-21357 - Patch installation fails with Internal Server Error

N2WS-21357 - Patch installation fails with Internal Server Error

Issue:
Patch installation fails with this error in the UI


Solution:

1. Connect to the N2WS server via SSH, username is cpmuser and your selected keyPair

2. Run the following command

sudo grep PrivateTmp /lib/systemd/system/apache2.service

 


3. If PrivateTmp is set to true, change it to false, you can do it with this command:

sudo sed -i 's|PrivateTmp=true|PrivateTmp=false|g' /lib/systemd/system/apache2.service


Then restart apache2 service:

sudo systemctl daemon-reload

sudo systemctl restart apache2