From 67cc47608d376cccd6ff186d5b4e40f96d003bf7 Mon Sep 17 00:00:00 2001 From: wh1te909 Date: Tue, 19 Jan 2021 23:25:35 +0000 Subject: [PATCH] add hosts check to migration doc --- docs/migration-0.3.0.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/migration-0.3.0.md b/docs/migration-0.3.0.md index 6141356d..17e791d9 100644 --- a/docs/migration-0.3.0.md +++ b/docs/migration-0.3.0.md @@ -238,12 +238,18 @@ sudo rm -f /var/log/celery/* sudo nginx -t ``` -10. Start services +10. Edit `/etc/hosts` and make sure the line starting with 127.0.1.1 or 127.0.0.1 has your 3 subdomains in it like this: +```bash +127.0.0.1 localhost +127.0.1.1 yourservername api.example.com rmm.example.com mesh.example.com +``` + +11. Start services ```bash for i in rmm celery celerybeat celery-winupdate salt-master salt-api nginx meshcentral; do sudo systemctl start $i; done ``` -11. Delete whatever `update.sh` script you currently have and download the latest one and run it +12. Delete whatever `update.sh` script you currently have and download the latest one and run it ```bash wget https://raw.githubusercontent.com/wh1te909/tacticalrmm/master/update.sh chmod +x update.sh