Frappe/ERPNext Restart Guide
Frappe/ERPNext Server Restart & Service Management Guide
Part 1 – Restart Frappe Services Through Portainer
Step 1: Login to Portainer
- Open Portainer in your browser.
- Log in using your credentials.
Step 2: Navigate to the Respective Node
- Select the correct node/environment hosting your container.
Step 3: Go to Containers
- Click Containers from the sidebar.
Step 4: Start the Specific Container
- Find your Frappe container.
- If it is stopped, click Start.
Step 5: Connect to the Container Console
- Click the container name.
- Select Console.
- Open
/bin/bash shell.
Step 6: Switch User & Navigate to Frappe Bench
su - extension
cd frappe-bench
Step 7: Restart All Necessary Services
services=(cron dbus fail2ban hwclock.sh mariadb nginx procps redis-server rsync nginx ssh supervisor unattended-upgrades x11-common)
for service in "${services[@]}"
do
sudo service "$service" start
done
Part 2 – Server 225 SSH & Docker Guide
1. Login to Server via SSH
ssh root@216.48.180.225
2. Check Running Docker Containers
docker ps -a
3. Enter the Docker Container
docker exec -it Excitor-dev bash
4. Switch to the 'extension' User
su - extension
5. Navigate to Bench Directory
cd frappe-bench/
6. Start Required System Services
services=(cron dbus fail2ban hwclock.sh mariadb nginx procps redis-server rsync nginx ssh supervisor unattended-upgrades x11-common)
for service in "${services[@]}"
do
sudo service "$service" start
done