Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Hello Seymen,
The issue you’re encountering with Asterisk on your FreePBX DigitalOcean business app seems to be related to the way Linux handles the /var/run directory after a reboot. This directory, including /var/run/asterisk, often gets cleared upon reboot on many Linux distributions.
To resolve the “Asterisk is already running but can’t find PID file” issue, here are some steps you can take:
Create the Directory and Set Permissions:
/var/run/asterisk directory and set the correct ownership. You can add these commands in the /etc/init.d/asterisk script to automatically execute them when the system starts.if ! [ -d /var/run/asterisk ] ; then
mkdir /var/run/asterisk
chown $AST_USER:$AST_GROUP /var/run/asterisk
fi
$AST_USER and $AST_GROUP with the appropriate user and group names for your Asterisk setup.Check and Fix Permissions:
/var/run/asterisk/ directory and the asterisk.ctl file within it..ctl and .pid files.Verify Asterisk is Running:
asterisk.ctl file. If it’s not running or halts immediately due to an error, this file won’t be created.asterisk -cvvvvv
Consider SELinux Configuration:
Do try these steps and see if they resolve the issue!
Best,
Bobby