# Line 481 error for ./discourse-setup

**URL:** <https://meta.discourse.org/t/line-481-error-for-discourse-setup/59926>\
**Category:** Self-hosting\
**Created:** [March 27, 2017, 1:53am UTC](https://meta.discourse.org/t/line-481-error-for-discourse-setup/59926 "2017-03-27T01:53:00Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Daily\_SHOCK](https://avatars.discourse-cdn.com/v4/letter/d/a8b319/32.png) [@Daily\_SHOCK](https://meta.discourse.org/u/Daily_SHOCK)\
**Post date:** [March 27, 2017, 1:53am UTC](https://meta.discourse.org/t/line-481-error-for-discourse-setup/59926/1 "2017-03-27T01:53:00Z")

</div>

Hey guys,

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](https://github.com/discourse/discourse/blob/master/docs/INSTALL-cloud.md) 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.

---

_[View the full topic](https://meta.discourse.org/t/line-481-error-for-discourse-setup/59926)._
