Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Repeated Platform Initialization Due to Missing Translation File (pt.json)

Repeated Platform Initialization Due to Missing Translation File (pt.json)

Scheduled Pinned Locked Moved Solved Support
updatetranslations
4 Posts 2 Posters 414 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Offline
    C Offline
    cesar-duarte-inspirali
    wrote on last edited by girish
    #1

    Hello Cloudron Team,

    I'm encountering an issue where my platform repeatedly initializes, and I believe it's due to a missing translation file. Here's what's happening:

    Before each initialization, I see the following error in the logs:

    ENOENT: no such file or directory, open '/home/yellowtent/box/dashboard/dist/translation/pt.json'
    at Object.readFileSync (node:fs:457:20)
    at Object.getTranslations (/home/yellowtent/box/src/translations.js:59:45)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /home/yellowtent/box/src/oidc.js:466:35
    

    After this error, the platform logs show:

    box:platform initialize: start platform
    

    This sequence repeats multiple times, suggesting that the platform is attempting to recover from the missing file but keeps failing and restarting.

    Here are some details about my setup:

    Cloudron version: v8.0.3 (Ubuntu 20.04 LTS)

    I suspect the issue is related to the absence of the pt.json file. Could you please advise on how to resolve this?

    Thank you for your assistance.

    Best regards,
    César Duarte

    girishG 1 Reply Last reply
    2
    • C cesar-duarte-inspirali

      Hello Cloudron Team,

      I'm encountering an issue where my platform repeatedly initializes, and I believe it's due to a missing translation file. Here's what's happening:

      Before each initialization, I see the following error in the logs:

      ENOENT: no such file or directory, open '/home/yellowtent/box/dashboard/dist/translation/pt.json'
      at Object.readFileSync (node:fs:457:20)
      at Object.getTranslations (/home/yellowtent/box/src/translations.js:59:45)
      at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
      at async /home/yellowtent/box/src/oidc.js:466:35
      

      After this error, the platform logs show:

      box:platform initialize: start platform
      

      This sequence repeats multiple times, suggesting that the platform is attempting to recover from the missing file but keeps failing and restarting.

      Here are some details about my setup:

      Cloudron version: v8.0.3 (Ubuntu 20.04 LTS)

      I suspect the issue is related to the absence of the pt.json file. Could you please advise on how to resolve this?

      Thank you for your assistance.

      Best regards,
      César Duarte

      girishG Offline
      girishG Offline
      girish
      Staff
      wrote on last edited by
      #2

      @cesar-duarte-inspirali You are right. We removed pt.json because the portuguese translation seems to have been abandoned (well below 50%). I will fix our code to not crash in such situations.

      Workaround:
      SSH into server and run

      cp /home/yellowtent/box/dashboard/dist/translation/en.json /home/yellowtent/box/dashboard/dist/translation/pt.json

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        I have fixed this now in https://git.cloudron.io/cloudron/box/-/commit/d32819da4eb7cb0cdb0650a4a5e157bc83a5db89

        1 Reply Last reply
        0
        • girishG girish marked this topic as a question on
        • girishG girish has marked this topic as solved on
        • C Offline
          C Offline
          cesar-duarte-inspirali
          wrote on last edited by
          #4

          Thank you!

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • Bookmarks
          • Search