# Need help! Rebuild app, no space left on device

**URL:** <https://meta.discourse.org/t/need-help-rebuild-app-no-space-left-on-device/52794>\
**Category:** Self-hosting\
**Created:** [2016 年 11 月 11 日午前 8:21 UTC](https://meta.discourse.org/t/need-help-rebuild-app-no-space-left-on-device/52794 "2016-11-11T08:21:59Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Nam\_Nguyen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nam_nguyen/32/68634_2.png) [@Nam\_Nguyen](https://meta.discourse.org/u/Nam_Nguyen)\
**Post date:** [2016 年 11 月 11 日午前 8:21 UTC](https://meta.discourse.org/t/need-help-rebuild-app-no-space-left-on-device/52794/1 "2016-11-11T08:21:59Z")

</div>

Hello, I try to add plugin to app.yml file , but when I run Rebuild app, I have Error in bellow, can anyone help me please, Thank you so much 🙂

```
155:M 11 Nov 08:14:09.904 # Error trying to save the DB, can't exit.
155:M 11 Nov 08:14:09.904 # SIGTERM received but errors trying to shut down the server, check the logs for more information
2016-11-11 08:14:09 UTC [46-2] LOG: database system is shut down
2016-11-11 08:14:09 UTC [50-1] LOG: could not write temporary statistics file "pg_stat/db_16384.tmp": No space left on device
2016-11-11 08:14:09 UTC [50-2] LOG: could not close temporary statistics file "pg_stat/db_1.tmp": No space left on device
2016-11-11 08:14:09 UTC [50-3] LOG: could not close temporary statistics file "pg_stat/db_12413.tmp": No space left on device
2016-11-11 08:14:09 UTC [50-4] LOG: could not close temporary statistics file "pg_stat/db_0.tmp": No space left on device
2016-11-11 08:14:09 UTC [50-5] LOG: could not close temporary statistics file "pg_stat/global.tmp": No space left on device
I, [2016-11-11T08:14:19.868506 #13] INFO -- : exec chpst -u redis -U redis /usr/bin/redis-server /etc/redis/redis.conf pid:155 did not terminate cleanly, forcing termination!

FAILED
--------------------
Pups::ExecError: cd /var/www/discourse && su discourse -c 'bundle install --deployment --verbose --without test --without development' failed with return #<Process::Status: pid 279 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:108:in `spawn'
exec failed with the params {"cd"=>"$home", "hook"=>"bundle_exec", "cmd"=>["su discourse -c 'bundle install --deployment --verbose --without test --without development'", "su discourse -c 'bundle exec rake db:migrate'", "su discourse -c 'bundle exec rake assets:precompile'"]}
699943b3be202511b68df0e45a0c97641224fd6cf5fc53443960d47a3e447d3d
**FAILED TO BOOTSTRAP** please scroll up and look for earlier error messages, there may be more than one

```

---

_[View the full topic](https://meta.discourse.org/t/need-help-rebuild-app-no-space-left-on-device/52794)._
