# Production.log non esiste

**URL:** https://meta.discourse.org/t/production-log-does-not-exist/93887
**Category:** Self-hosting
**Created:** [3 Agosto 2018, 11:44pm UTC](https://meta.discourse.org/t/production-log-does-not-exist/93887 "2018-08-03T23:44:45Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Rahul\_Jobanputra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rahul_jobanputra/32/106061_2.png) [@Rahul\_Jobanputra](https://meta.discourse.org/u/Rahul_Jobanputra)
#### Post date: [3 Agosto 2018, 11:44pm UTC](https://meta.discourse.org/t/production-log-does-not-exist/93887/1 "2018-08-03T23:44:46Z")

</div>

When i try and access my production.log file, using the following commands:

```
cd /var/discourse
tail shared/standalone/log/rails/production.log

```

tail: cannot open ‘shared/standalone/log/rails/production.log’ for reading: No such file or directory is returned form the command line.

Further, when i list contents in the shared directory, it comes up empty. Is there something wrong with the discourse i downloaded.

Side note, does the DISCOURSE\_HOSTNAME: ‘[discourse.example.com](http://discourse.example.com)’ have to have discourse. at the front of the subdomain url. or is something like [talk.example.com](http://talk.example.com) acceptable.

Thanks

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [4 Agosto 2018, 1:39am UTC](https://meta.discourse.org/t/production-log-does-not-exist/93887/2 "2018-08-04T01:39:44Z")

</div>

I think something is wrong with your install, because that command works fine for me

```
root@endoffice-a:~# cd /var/discourse
root@endoffice-a:/var/discourse# tail shared/standalone/log/rails/production.log
  Rendered application/_header.html.erb (0.1ms)
  Rendered common/_discourse_javascript.html.erb (0.1ms)
Completed 200 OK in 66ms (Views: 4.4ms | ActiveRecord: 15.2ms)
Started GET "/t/why-cant-programmers-program/612?page=10" for 84.201.133.46 at 2018-08-04 01:39:07 +0000
Processing by TopicsController#show as */*
  Parameters: {"page"=>"10", "slug"=>"why-cant-programmers-program", "topic_id"=>"612"}
  Rendering topics/show.html.erb within layouts/crawler
  Rendered topics/show.html.erb within layouts/crawler (2.3ms)
  Rendered layouts/_head.html.erb (0.2ms)
Completed 200 OK in 99ms (Views: 3.5ms | ActiveRecord: 20.2ms)
root@endoffice-a:/var/discourse#

```

---

<div class="post-metadata">

### Author: ![sam](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/sam/32/102149_2.png) [@sam](https://meta.discourse.org/u/sam)
#### Post date: [6 Agosto 2018, 12:28am UTC](https://meta.discourse.org/t/production-log-does-not-exist/93887/3 "2018-08-06T00:28:33Z")

</div>

What is your container config? (app.yml) - scrub out passwords.

---

<div class="post-metadata">

### Author: ![Rahul\_Jobanputra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rahul_jobanputra/32/106061_2.png) [@Rahul\_Jobanputra](https://meta.discourse.org/u/Rahul_Jobanputra)
#### Post date: [10 Agosto 2018, 8:07pm UTC](https://meta.discourse.org/t/production-log-does-not-exist/93887/4 "2018-08-10T20:07:59Z")

</div>

As in remove the passwords?

---

<div class="post-metadata">

### Author: ![Rahul\_Jobanputra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rahul_jobanputra/32/106061_2.png) [@Rahul\_Jobanputra](https://meta.discourse.org/u/Rahul_Jobanputra)
#### Post date: [10 Agosto 2018, 8:08pm UTC](https://meta.discourse.org/t/production-log-does-not-exist/93887/5 "2018-08-10T20:08:41Z")

</div>

I reinstalled and it still does not work

```
root@ubuntu-s-1vcpu-1gb-sfo2-01:/# cd /var/discourse
root@ubuntu-s-1vcpu-1gb-sfo2-01:/var/discourse# ls
bin containers discourse-setup launcher samples shared Vagrantfile
cids discourse-doctor image README.md scripts templates
root@ubuntu-s-1vcpu-1gb-sfo2-01:/var/discourse# tail shared/standalone/log/rails/production.log
tail: cannot open 'shared/standalone/log/rails/production.log' for reading: No such file or directory
root@ubuntu-s-1vcpu-1gb-sfo2-01:/var/discourse# cd shared
root@ubuntu-s-1vcpu-1gb-sfo2-01:/var/discourse/shared# ls

```

---

<div class="post-metadata">

### Author: ![ssvenn](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ssvenn/32/86740_2.png) [@ssvenn](https://meta.discourse.org/u/ssvenn)
#### Post date: [10 Agosto 2018, 8:36pm UTC](https://meta.discourse.org/t/production-log-does-not-exist/93887/6 "2018-08-10T20:36:07Z")

</div>

The launcher most likely failed early in the deploy/rebuild process. Try again and look for warnings or errors near the end. A successful installation should generate several pages of text while it’s rebuilding.

You should also check if it was able to make any docker containers with “docker ps -a” .. it could be that there is a problem with docker (incompatible file systems for instance, discourse is set up to use overlayfs so you should put /var/discourse on a ext4 filesystem - [OverlayFS storage driver | Docker Docs](https://docs.docker.com/storage/storagedriver/overlayfs-driver/))

---

<div class="post-metadata">

### Author: ![Mittineague](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/mittineague/32/114259_2.png) [@Mittineague](https://meta.discourse.org/u/Mittineague)
#### Post date: [10 Agosto 2018, 9:48pm UTC](https://meta.discourse.org/t/production-log-does-not-exist/93887/7 "2018-08-10T21:48:28Z")

</div>

> [@Rahul\_Jobanputra](#):
>
> As in remove the passwords?

I don’t think Sam meant to remove them from app.yml and rebuild. But to redact them (and any other sensitive information) before posting its contents here.

---

<div class="post-metadata">

### Author: ![Rahul\_Jobanputra](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rahul_jobanputra/32/106061_2.png) [@Rahul\_Jobanputra](https://meta.discourse.org/u/Rahul_Jobanputra)
#### Post date: [10 Agosto 2018, 10:00pm UTC](https://meta.discourse.org/t/production-log-does-not-exist/93887/8 "2018-08-10T22:00:56Z")

</div>

Resolved. Was an issue with my SMTP password. I used my own password instead of the default one
