# Recover from filesystem backup: can't rebuild nor start

**URL:** <https://meta.discourse.org/t/recover-from-filesystem-backup-cant-rebuild-nor-start/179624>\
**Category:** Self-hosting\
**Created:** [February 14, 2021, 1:46am UTC](https://meta.discourse.org/t/recover-from-filesystem-backup-cant-rebuild-nor-start/179624 "2021-02-14T01:46:30Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![ulysses4ever](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ulysses4ever/32/122522_2.png) [@ulysses4ever](https://meta.discourse.org/u/ulysses4ever)\
**Post date:** [February 14, 2021, 1:46am UTC](https://meta.discourse.org/t/recover-from-filesystem-backup-cant-rebuild-nor-start/179624/1 "2021-02-14T01:46:30Z")

</div>

Server’s RAID died couple days back and we’re trying to bring back to life our Discourse instance from a filesystem backup. No luck so far.

I get this error message from `./launcher rebuild app`:

```plaintext
FAILED
--------------------
Pups::ExecError: /root/upgrade_postgres failed with return #<Process::Status: pid 46 exit 1>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params "/root/upgrade_postgres"

```

Its output claims that I should be able to just `./launcher start app`, but it fails with:

```plaintext
+ /usr/bin/docker run --shm-size=512m -d --restart=always -e LANG=en_US.UTF-8 -e RAILS_ENV=production -e UNICORN_WORKERS=3 -e UNICORN_SIDEKIQS=1 -e RUBY_GLOBAL_METHOD_CACHE_SIZE=131072 -e RUBY_GC_HEAP_GROWTH_MAX_SLOTS=40000 -e RUBY_GC_HEAP_INIT_SLOTS=400000 -e RUBY_GC_HEAP_OLDOBJECT_LIMIT_FACTOR=1.5 -e DISCOURSE_DB_SOCKET=/var/run/postgresql -e DISCOURSE_DB_HOST= -e DISCOURSE_DB_PORT= -e DISCOURSE_DEVELOPER_EMAILS=bravit111@gmail.com,ulysses4ever@gmail.com -e DISCOURSE_HOSTNAME=forum.mmcs.sfedu.ru -e DISCOURSE_SMTP_ADDRESS=class.mmcs.sfedu.ru -e DISCOURSE_ENABLE_CORS=true -e 'DISCOURSE_CORS_ORIGIN=*' -e DONT_PRECOMPILE_CSS=1 -h users-app -e DOCKER_HOST_IP=172.17.0.1 --name app -t -p 8088:80 -p 2222:22 -v /var/discourse/shared/standalone:/shared -v /var/discourse/shared/standalone/log/var-log:/var/log --mac-address 02:b1:c6:37:24:01 local_discourse/app /sbin/boot
Unable to find image 'local_discourse/app:latest' locally
docker: Error response from daemon: pull access denied for local_discourse/app, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.

```

[Full output of both commands available here](https://gist.github.com/ulysses4ever/35e8683dfc39358c20f6d2e2309ca79e).

Just in case, my `docker ps` is empty.

I’m not sure how to proceed and will appreciate any help.

---

_[View the full topic](https://meta.discourse.org/t/recover-from-filesystem-backup-cant-rebuild-nor-start/179624)._
