Get your server issues fixed by our experts for a price starting at just 25 USD/Hour. Click here to register and open a ticket with us now!

Author Topic: Launching Plesk autoinstaller fails: Update operation was locked by another  (Read 3489 times)

0 Members and 1 Guest are viewing this topic.

vichithrakumart

  • Guest
Symptoms

When launching Plesk Installer ( /usr/local/psa/admin/bin/autoinstaller or /var/log/plesk/systemupdatestool.log on Linux )the following message is displayed

Code: [Select]
BUSY: Update operation was locked by another update process.
OR

Updates and Upgrades page returns the following error:

Code: [Select]
Can't connect to backend: No such file or directory
Resolution

Connect to the server using SSH and check the process:

Code: [Select]
# 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:

Code: [Select]
# strace -p $PID
If there is the following output:

Code: [Select]
...
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:

Code: [Select]
# kill -p $PID
Remove the /tmp/psa-installer.lock file if it exists or there was no process found.

Then run the autoinstaller again.