-
-
Notifications
You must be signed in to change notification settings - Fork 958
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
doc: inconsistent path for serving static files #9601
Comments
nijel
added a commit
to nijel/weblate
that referenced
this issue
Jul 20, 2023
nijel
added a commit
to nijel/weblate
that referenced
this issue
Jul 20, 2023
Should be addressed by #9605, review is welcome. |
nijel
added a commit
to nijel/weblate
that referenced
this issue
Jul 20, 2023
- Fixed example configration to match CACHE_DIR usage - Move DATA_DIR sections which now live in CACHE_DIR - Document new CACHE_DIR entries Fixes WeblateOrg#9601
nijel
added a commit
to nijel/weblate
that referenced
this issue
Jul 20, 2023
- Fixed example configration to match CACHE_DIR usage - Move DATA_DIR sections which now live in CACHE_DIR - Document new CACHE_DIR entries Fixes WeblateOrg#9601
nijel
added a commit
to nijel/weblate
that referenced
this issue
Jul 20, 2023
- Fixed example configration to match CACHE_DIR usage - Move DATA_DIR sections which now live in CACHE_DIR - Document new CACHE_DIR entries - Document change in the upgrading instructions Fixes WeblateOrg#9601
nijel
added a commit
to nijel/weblate
that referenced
this issue
Jul 20, 2023
- Fixed example configration to match CACHE_DIR usage - Move DATA_DIR sections which now live in CACHE_DIR - Document new CACHE_DIR entries - Document change in the upgrading instructions Fixes WeblateOrg#9601
nijel
added a commit
to nijel/weblate
that referenced
this issue
Jul 20, 2023
- Fixed example configration to match CACHE_DIR usage - Move DATA_DIR sections which now live in CACHE_DIR - Document new CACHE_DIR entries - Document change in the upgrading instructions Fixes WeblateOrg#9601
nijel
added a commit
that referenced
this issue
Aug 1, 2023
- Fixed example configration to match CACHE_DIR usage - Move DATA_DIR sections which now live in CACHE_DIR - Document new CACHE_DIR entries - Document change in the upgrading instructions Fixes #9601
Thank you for your report; the issue you have reported has just been fixed.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the issue
There is an inconsistency in the documentation regarding serving the static files.
In
settings_example.py
there is since 4.16:STATIC_ROOT = os.path.join(CACHE_DIR, "static")
Before 4.16 this value was:
STATIC_ROOT = os.path.join(DATA_DIR, "static")
The impact of this change is that all documentation talking about serving static file should point out that those files are coming from the CACHE_DIR, e.g. in https://docs.weblate.org/en/latest/admin/install.html#serving-static-files and in particular in https://docs.weblate.org/en/latest/admin/install.html#sample-configuration-for-nginx-and-uwsgi where the paths are now wrong.
I just had the issue when performing an upgrade: suddenly my static files were not properly served anymore. I had to change my nginx configuration to fix the problem.
I already tried
Steps to reproduce the behavior
Upgrade weblate from 4.15 to 4.16 and apply the changes in settings_example.py
Expected behavior
No response
Screenshots
No response
Exception traceback
No response
How do you run Weblate?
weblate.org service
Weblate versions
No response
Weblate deploy checks
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: