# App not running even in safe mode for fa\_IR locale

**URL:** <https://meta.discourse.org/t/app-not-running-even-in-safe-mode-for-fa-ir-locale/54932>\
**Category:** Bug\
**Created:** [29 Dezembro , 2016 14:57 UTC](https://meta.discourse.org/t/app-not-running-even-in-safe-mode-for-fa-ir-locale/54932 "2016-12-29T14:57:23Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)\
**Post date:** [29 Dezembro , 2016 14:57 UTC](https://meta.discourse.org/t/app-not-running-even-in-safe-mode-for-fa-ir-locale/54932/1 "2016-12-29T14:57:23Z")

</div>

We get a blank page after we rebuild the site , it’s the same even in [safe mode](https://meta.discourse.org/t/53504?silent=true) and with everything enabled.

the errors:

`Uncaught TypeError: Cannot create property 'one' on string 'پسندهای داده شده'`

with a warning:

`_ember_jquery-60dedd1….js:57263DEPRECATION: `discourse/views/topic-status`was moved to`discourse/raw-views/topic-status``

---

<div class="post-metadata">

**Author:** ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)\
**Post date:** [29 Dezembro , 2016 15:52 UTC](https://meta.discourse.org/t/app-not-running-even-in-safe-mode-for-fa-ir-locale/54932/2 "2016-12-29T15:52:40Z")

</div>

our problem is something like [this](https://meta.discourse.org/t/site-goes-blank-if-you-override-translation-for-js-groups-index-title/54732?u=pad_pors) thread, with the difference that it happens for the string `js.user_action_groups.1`.

the site is upgraded to latest.

I would be thankful if someone can guide me how to help the app.

everywhere is blank, even the [safe mode](https://meta.discourse.org/t/53504?silent=true). but **jason pages** work good, like [https://padpors.com/users/Alavi1412.json](https://padpors.com/users/Alavi1412.json), or the /admin/upgrade/ page.

##edit  
does anyone knows howto go to a previous version of discourse?

does anyone know howto restore a backup in terminal?

[this howto](https://meta.discourse.org/t/advanced-manual-method-of-manually-creating-and-restoring-discourse-backups/18273) doesn’t seem promising as I couldn’t even get a backup from the current version of database using the howto in terminal.

---

<div class="post-metadata">

**Author:** ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)\
**Post date:** [29 Dezembro , 2016 22:28 UTC](https://meta.discourse.org/t/app-not-running-even-in-safe-mode-for-fa-ir-locale/54932/3 "2016-12-29T22:28:00Z")

</div>

after some accidental work, our forum goes live!

but it’s still broken when I put the default locale to `fa_IR` , and it only works in `en` language.

the error log for Persian language:

```plaintext
TypeError: Cannot create property 'one' on string 'پسندهای داده شده'
    at https://padpors.com/assets/application-2e84cc394e4d196502ab98d42a492ef6c5471ec6d4656594b171dc24576d76cb.js:42:3468
    at Array.forEach (native)
    at Object.initialize (https://padpors.com/assets/application-2e84cc394e4d196502ab98d42a492ef6c5471ec6d4656594b171dc24576d76cb.js:42:3145)
    at Object.test.n.initialize (https://padpors.com/assets/application-2e84cc394e4d196502ab98d42a492ef6c5471ec6d4656594b171dc24576d76cb.js:1:20998)
    at https://padpors.com/assets/ember_jquery-60dedd1dca1d8b8ce48b6d0087db3b96f3149b9b5af2d0c7c6357967d29031fb.js:4:28944
    at e.each (https://padpors.com/assets/ember_jquery-60dedd1dca1d8b8ce48b6d0087db3b96f3149b9b5af2d0c7c6357967d29031fb.js:4:13681)
    at e.topsort (https://padpors.com/assets/ember_jquery-60dedd1dca1d8b8ce48b6d0087db3b96f3149b9b5af2d0c7c6357967d29031fb.js:4:13176)
    at e.topsort (https://padpors.com/assets/ember_jquery-60dedd1dca1d8b8ce48b6d0087db3b96f3149b9b5af2d0c7c6357967d29031fb.js:4:12584)
    at i._runInitializer (https://padpors.com/assets/ember_jquery-60dedd1dca1d8b8ce48b6d0087db3b96f3149b9b5af2d0c7c6357967d29031fb.js:4:29123)
    at i.runInstanceInitializers (https://padpors.com/assets/ember_jquery-60dedd1dca1d8b8ce48b6d0087db3b96f3149b9b5af2d0c7c6357967d29031fb.js:4:28889)

```

---

<div class="post-metadata">

**Author:** ![Silvanus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/silvanus/32/62831_2.png) [@Silvanus](https://meta.discourse.org/u/Silvanus)\
**Post date:** [29 Dezembro , 2016 23:47 UTC](https://meta.discourse.org/t/app-not-running-even-in-safe-mode-for-fa-ir-locale/54932/4 "2016-12-29T23:47:11Z")

</div>

> [@Pad\_Pors](#):
>
> does anyone know howto restore a backup in terminal?

If you’re running on DigitalOcean, I recommend you have a snapshot where you have installed everything, including forum.

Then take backup from Admin tools before starting to edit. If you fail, destroy broken discourse droplet, boot new one, restore backup, enjoy life.

---

<div class="post-metadata">

**Author:** ![Alavi1412](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/alavi1412/32/67721_2.png) [@Alavi1412](https://meta.discourse.org/u/Alavi1412)\
**Post date:** [31 Dezembro , 2016 08:53 UTC](https://meta.discourse.org/t/app-not-running-even-in-safe-mode-for-fa-ir-locale/54932/5 "2016-12-31T08:53:43Z")

</div>

I have the same PROBLEM with farsi (فارسی) discourse. after rebuilding my website just blank page shown. today I deleted my local because of some problems and after re-installing discourse on my local , I have changed my local discourse language to farsi and after that every thing went blank.  
I think this is a bug in new version of discourse.  
PLEASE HELP AND FIX THIS BUG. THIS IS VERY IMPORTANT FOR US.

---

<div class="post-metadata">

**Author:** ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)\
**Post date:** [31 Dezembro , 2016 10:35 UTC](https://meta.discourse.org/t/app-not-running-even-in-safe-mode-for-fa-ir-locale/54932/6 "2016-12-31T10:35:47Z")

</div>

Update to understand the problem faster:

when we delete the “translation\_override” table from the database, and upload it on the local host, the problem is gone.

It seems that one of the new translated strings in the admin/customize panel has something wrong with some new updates.

---

<div class="post-metadata">

**Author:** ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)\
**Post date:** [11 Janeiro , 2017 06:46 UTC](https://meta.discourse.org/t/app-not-running-even-in-safe-mode-for-fa-ir-locale/54932/7 "2017-01-11T06:46:30Z")

</div>

This is the view of our digest email, one of the strings that we needed to delete in translation\_override was “likes received”.

 ![](https://global.discourse-cdn.com/meta/original/3X/e/c/ecbd0da6fa00efd8e416fe725eafb37aa3087be6.png)

the problem can be with some update in the digest email. and I’m not sure if we can translate the string now.

---

<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:** [17 Janeiro , 2017 15:35 UTC](https://meta.discourse.org/t/app-not-running-even-in-safe-mode-for-fa-ir-locale/54932/8 "2017-01-17T15:35:27Z")

</div>

@neil can you confirm there is no stray hardcoded string there?

---

<div class="post-metadata">

**Author:** ![neil](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/neil/32/102150_2.png) [@neil](https://meta.discourse.org/u/neil)\
**Post date:** [17 Janeiro , 2017 15:55 UTC](https://meta.discourse.org/t/app-not-running-even-in-safe-mode-for-fa-ir-locale/54932/9 "2017-01-17T15:55:13Z")

</div>

It’s not hard coded. The key for the translation is `user_notifications.digest.liked_received`. It doesn’t have a translation in server.fa\_IR.yml, so we fallback to english.

---

<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:** [12 Junho , 2018 08:14 UTC](https://meta.discourse.org/t/app-not-running-even-in-safe-mode-for-fa-ir-locale/54932/10 "2018-06-12T08:14:16Z")

</div>



---

<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:** [12 Junho , 2018 08:14 UTC](https://meta.discourse.org/t/app-not-running-even-in-safe-mode-for-fa-ir-locale/54932/11 "2018-06-12T08:14:34Z")

</div>

Closing this as stale, flag to reopen @Pad_Pors if still an issue.
