-
-
Notifications
You must be signed in to change notification settings - Fork 106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
5.x image incompatibility with older systems #2096
Comments
There was no change in users or permissions between those versions, so this is most likely unrelated to the upgrade. What actual permissions of the volume? |
This issue has been marked as a question by a Weblate team member. Why? Because it belongs more to the professional Weblate Care or community Discussions than here. We strive to answer these reasonably fast here, too, but purchasing the support subscription is more responsible and faster for your business. And it makes Weblate stronger as well. Thanks! In case your question is already answered, making a donation is the right way to say thank you! |
I restored server back to weblate 4.18.2. Here is permissions:
weblate 4.18.2 works without problem right now |
What matters are files inside the |
Absolutely nothing. I didn't update any dependencies, didn't update ubuntu. I just ran the commands that I wrote in the first message and that’s it
Inside _data
|
What might be the difference is that 5.x container is based on Debian 12 while 4.x was based on Debian 11. I recall there was some obscure issue running new container on old kernels (AFAIR the host system was Debian 9 back then). What kernel does the host system have? |
Kernel:
|
That isn't that old, but meanwhile I've looked up the original ticket, and it was indeed the same issue, and it was resolved by upgrading the kernel there. What is the root cause is unclear to me, the related code is still the same and is a simple shell condition: Lines 42 to 46 in fe995be
|
So should I try updating the system and then try updating the weblate? |
Yes, that should help. I quickly tried to debug the issue back then, but I gave up, and I couldn't find anything related in the release notes. The volume is indeed not writable as a non-root user from the Debian 12 based containers, it's not just the test that would be wrong. |
I upgraded kernel to the latest one. Now I have such issue:
How to downgrade the docker-compose image to 5.0.2? |
Full solution:
Upgrade weblate from 5.0.2.2 to the latest
|
Thank you for your report; the issue you have reported has just been fixed.
|
redis/docker-library-redis#365 (comment) might be the root cause here and can be addressed by updating |
What I effectly did was to follow @steam3d's comment and then I updated my Debian 10 installation to Debian 11 which solved the volume not writable issue and I somehow ended up with weblate 5.5.5 |
Describe the issue
After upgrade, I can't run the Weblate. I got the error:
weblate_1 | The /app/data volume is not writable, please adjust the permissions. Weblate is running as uid 1000
I did not make any permissions changes. How to fix this?
I already tried
Steps to reproduce the behavior
Expected behavior
No response
Screenshots
Exception traceback
No response
How do you run Weblate?
Docker container
Weblate versions
No response
Weblate deploy checks
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: