Thursday, January 22, 2026

Schedule Restart ​PM2 Service for DSpace 9.2 on Ubuntu

Start Manually

pm2 start /home/dspace/dspace-angular-dspace-9.2/dspace-

ui.json

 

Find PM2 binary path

which pm2

Add DAILY restart job (example: 2:00 AM)

 crontab -e 

0 2 * * * /usr/bin/pm2 restart /home/dspace/dspace-angular-dspace-9.2/dspace-ui.json >> /home/dspace/pm2-restart.log 2>&1

 

Ensure PM2 starts on reboot​

pm2 startup​

pm2 save​


No comments:

How to generate statistics in Dspace 6.3

   /dspace/bin/dspace stat-initial  / dspace/bin/dspace stat-general  / dspace/bin/dspace stat-report-initial  / dspace/bin/dspace stat-rep...