Installing application in Plesk from CLI hangs at 0% and not sure how to proceed? Read to find out what our experts suggest.
At Bobcares, we offer solutions for every query, big and small, as a part of our Server Management Services.
Let’s take a look at how our Support Team is ready to help customers when installing application in Plesk from CLI hangs at 0%.
Resolved: Installing application in Plesk from CLI hangs at 0%
While attempting to install or update an application like WordPress via the Tools and Settings or from Domains, sometimes our customers find themselves facing a progress bar that does seem to be stuck on 0%.
In fact, sometimes the process does not finish even while trying to attempt the install or update via command line interface.
# plesk bin aps -d -package-name mediawiki The task to download APS package started. Task id: 77
Fortunately, our Support Techs have been able to get to the root of the issue. It seems the reason behind this issue is stuck tasks in the psa.longtasks table. We can view the stuck tasks by checking the longtasks table in the database:
# plesk db "select * from longtasks where status <> 'done'" | 76 | aps-download | started | 0 | NULL | queue | NULL | 100 | 0 | 0000-00-00 00:00:00 | 0 | NULL | | 77 | aps-download | started | 0 | NULL | queue | NULL | 100 | 0 | 0000-00-00 00:00:00 | 0 | NULL |
Our Support Techs recommend the following process to resolve the issue:
- First, connect to the server via RDP or SSH.
- Next, back up the psa database with the following command:
# plesk db dump > /path/to/.sql
- Then, delete stuck long tasks with the following command:
# plesk db "delete from longtasks where status <> 'done'
- Finally, restore the database from the database dump with this command:
# plesk db < /path/to/.sql
[Looking for a solution to another query? We are just a click away.]
Conclusion
In conclusion, our skilled Support Engineers at Bobcares demonstrated what to do when installing applications in Plesk from CLI hangs at 0%.
PREVENT YOUR SERVER FROM CRASHING!
Never again lose customers to poor server speed! Let us help you.
Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.
0 Comments