Launching Plesk Autoinstaller fails: Update operation was locked by another update process

Refers to:

  • Plesk

Created:

2016-11-16 12:51:27 UTC

Modified:

2017-02-13 21:47:39 UTC

1

Was this article helpful?


Have more questions?

Submit a request

Launching Plesk Autoinstaller fails: Update operation was locked by another update process

Symptoms

When launching Plesk Installer ( /usr/local/psa/admin/bin/autoinstaller on Linux or "%plesk_bin%\\ai.exe" on Windows), the following message is displayed:

BUSY: Update operation was locked by another update process.

Cause

This message appears when the autoinstaller or the ai.exe process is already running. To avoid conflicts or contradictions, only one instance of the autoinstaller can be launched at a particular moment of time.

The message also may appear if a previously started process was not finished properly.

Resolution

Kill the stuck autoinstaller process.

NOTE: Before killing the process, make sure the autoinstaller process is stuck. Check whether other users are logged into the system and operate the autoinstaller. If you kill a process that is not stuck, this may cause wider errors in functionality.

For Linux:

Check the process:

# ps auxffww | grep autoinstaller
root 8405 0.0 2.0 200300 5372 pts/0 S+ 05:10 98:00 \\_ /usr/local/psa/admin/bin/autoinstaller

Get the PID and strace the process:

# strace -p $PID

If there is the following output:

... 
poll([{fd=6, events=POLLIN|POLLPRI}], 1, 0) = 0 (Timeout)
poll([{fd=6, events=POLLIN|POLLPRI}], 1, 1000) = 0 (Timeout)
...

... this means the process is stuck. In that case, kill the process:

# kill -p $PID

Remove the /tmp/psa-installer.lock file if it exists.

Then run the autoinstaller again.

For Windows:

Open Windows Task Manager, check the running processes, find ai.exe and end the task.Alternatively, the following command can be used:

taskkill /F /IM ai.exe

Then, run the autoinstaller again.

If process cannot be killed, check process ID that listens to 8447 port using the following command:

netstat -ano | findstr 8447

and kill this process using it's PID:

taskkill /F /IM PID
Have more questions? Submit a request
Please sign in to leave a comment.