From d4489ce11e043af72d409a056c76f619abd505b2 Mon Sep 17 00:00:00 2001 From: Mike Simpson Date: Fri, 14 Apr 2023 13:57:06 +0100 Subject: [PATCH] Create troubleshooting.md --- docs/troubleshooting.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 docs/troubleshooting.md diff --git a/docs/troubleshooting.md b/docs/troubleshooting.md new file mode 100644 index 00000000..4ac0f570 --- /dev/null +++ b/docs/troubleshooting.md @@ -0,0 +1,8 @@ +# Troubleshooting Colouring Cities + +## 502 Error +If you get a 502 error on the server after updating the deployment, there are a few solutions you can try to fix it. +Note: This seems to often occur after the dependencies (package-lock.json) have been update. + +- The quickest and easiest solution is to do a full reboot of the server, to get rid of any caching issues. +- Alternatively, try deleting all of the files in the deployment folder (i.e. /var/www/colouring-london/app for Colouring London) before rebuilding/redeploying the app, as that will get rid of any erroneous files.