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:35After this error, the platform logs show:
box:platform initialize: start platformThis 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 -
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:35After this error, the platform logs show:
box:platform initialize: start platformThis 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 -
G girish marked this topic as a question on
-
G girish has marked this topic as solved on
-
Thank you!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login