I was prompted with this error when i am trying to run discourse-setup file:
root@forum:/var/discourse# ./discourse-setup ./discourse-setup: line 481: syntax error near unexpected token `else' ./discourse-setup: line 481: ` else'
Oddly enough, i did exactly the same guide from github a few days ago and it worked perfectly.
My server is a 2GB RAM server on Ubuntu 16.04 from Vultr.
Please note, i have tried this on various servers but it didn’t work :-s Not sure what i did wrong tbh.
Thanks in advance guys.