Create troubleshooting.md

This commit is contained in:
Mike Simpson 2023-04-14 13:57:06 +01:00 committed by GitHub
parent 269ec45834
commit d4489ce11e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

8
docs/troubleshooting.md Normal file
View File

@ -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.