Repeated Platform Initialization Due to Missing Translation File (pt.json)
-
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 -
@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 runcp /home/yellowtent/box/dashboard/dist/translation/en.json /home/yellowtent/box/dashboard/dist/translation/pt.json
-
-
-
Thank you!