# Server-installation on heroku fails

**URL:** <https://forums.rocket.chat/t/server-installation-on-heroku-fails/6489>\
**Category:** Community Support\
**Created:** [April 11, 2020, 2:29pm UTC](https://forums.rocket.chat/t/server-installation-on-heroku-fails/6489 "2020-04-11T14:29:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ralf.balaszeskul](https://avatars.discourse-cdn.com/v4/letter/r/9de0a6/32.png) [@ralf.balaszeskul](https://forums.rocket.chat/u/ralf.balaszeskul)\
**Post date:** [April 11, 2020, 2:29pm UTC](https://forums.rocket.chat/t/server-installation-on-heroku-fails/6489/1 "2020-04-11T14:29:32Z")

</div>

### Description

Installation of own rocktchat-server on heroku fails. “Deploy to heroku” at [https://rocket.chat/docs/installation/paas-deployments/heroku/](https://rocket.chat/docs/installation/paas-deployments/heroku/) ends in “Compiled slug size: **501.1M is too large (max is 500M).**”

### Server Setup Information

- Version of Rocket.Chat Server:
- Operating System:
- Deployment Method: 
- Number of Running Instances:
- DB Replicaset Oplog:
- NodeJS Version:
- MongoDB Version:
- Proxy: 
- Firewalls involved:

### Any additional Information

---

<div class="post-metadata">

**Author:** ![burbs](https://avatars.discourse-cdn.com/v4/letter/b/e19b73/32.png) [@burbs](https://forums.rocket.chat/u/burbs)\
**Post date:** [April 18, 2020, 4:13pm UTC](https://forums.rocket.chat/t/server-installation-on-heroku-fails/6489/2 "2020-04-18T16:13:25Z")

</div>

I tried to deploy Rocket Chat on a fresh Heroku and had the same problem.

I tried with the button “One click to deploy” and with the CLI and got the same results.

remote: ! Compiled slug size: 502M is too large (max is 500M).  
remote: ! Push failed

Any help would be appreciated.
