Closed marcelofabricanti closed 3 years ago
Seems like you are running Weblate 4.5.1 with database upgraded to 4.5.3...
PS: The secondary column was introduced by e0ba892f8ef3c6c7c96e8f55e7241c154abdfc81.
This issue looks more like a support question than an issue. We strive to answer these reasonably fast, but purchasing the support subscription is not only more responsible and faster for your business but also makes Weblate stronger. In case your question is already answered, making a donation is the right way to say thank you!
You were totally right.
I probably made a mistake on Apr/14/21 and ran version 4.5.3 by mistake, which applied some migration and broke my environment.
I have now tried to run version 4.5.3-3 and 4.6-1, without success. The login screen appears without formatting and after a long time two files (one .js and one .css) abort with an ERR_INCOMPLETE_CHUNKED_ENCODING error. But no errors in the application's log.
Tried different browsers (chrome, firefox, safari), tried flush redis, restart weblate pod.... notting helped.
I restored a DB backup of the day Apr/13/21 and it is running in version 4.5.1-1 without problems.
Thank you very much for your time and I'm sorry for the inconvenience.
The issue you have reported is now resolved. If you don’t feel it’s right, please follow its labels to get a clue for further steps.
Describe the issue
The error "Internal Server Error" is shown at home screen.
I already tried
The error message already is already shown at home screen, you don't need to do anything else.
To Reproduce the issue
Steps to reproduce the behavior:
Expected behavior
The website displays a message of "Internal Server Error" and the app's log prints the Exception traceback below.
Exception traceback
Server configuration and status
Weblate installation: Docker (Kubernetes > AWS EKS)
weblate@weblate-api-7978fcf4ff-9h8nm:/$ weblate list_versions
Weblate deploy checks
weblate@weblate-api-7978fcf4ff-9h8nm:/$ weblate check --deploy SystemCheckError: System check identified some issues:
CRITICALS: ?: (weblate.E027) The path /app/data/settings-override.py is owned by a different user, check your DATA_DIR settings. HINT: https://docs.weblate.org/en/weblate-4.5.1/admin/install.html#file-permissions
INFOS: ?: (weblate.I021) Error collection is not set up, it is highly recommended for production use HINT: https://docs.weblate.org/en/weblate-4.5.1/admin/install.html#collecting-errors ?: (weblate.I028) Backups are not configured, it is highly recommended for production use HINT: https://docs.weblate.org/en/weblate-4.5.1/admin/backup.html ?: (weblate.I031) New Weblate version is available, please upgrade to 4.6. HINT: https://docs.weblate.org/en/weblate-4.5.1/admin/upgrade.html
System check identified 4 issues (1 silenced).
Workaround Solution
Table before:
To workaround this (and reestabilish production), I did execute this command in DB: ALTER TABLE weblate.metrics_metric ALTER COLUMN secondary SET DEFAULT 0;
After that, the problem has been solved (palliative).
Table after: