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
[BUG] bootstrap issue after pulling latest image #382
Comments
Issue-Label Bot is automatically applying the label Links: app homepage, dashboard and code for this bot. |
Hey @belzebubek ! My solution was to delete _bootstrap.scss which seems older. It's definitely the bug of the image upgrade. Another upgrade issue is necessity to delete browser cache after upgrade. It would be great to generate unique static files names on upgrade to avoid browser cache issues... |
After deleting/renaming _bootstrap.scss I saw many errors, unfortunately I deleted the mail with exact information. Only leaving the older one brought back service to life. |
@belzebubek Those errors might be related to browser cache issue. I'd suggest to try to delete the file, then check if it works in browser Incognito mode. |
Thanks I will give it a try and get back with results later. |
@danil-smirnov worked for me - thanks :) |
For me it is not working - internal server error. Traceback: File "/usr/lib/python3.6/site-packages/compressor/base.py" in precompile File "/usr/lib/python3.6/importlib/init.py" in import_module File "" in _gcd_import File "" in _find_and_load File "" in _find_and_load_unlocked During handling of the above exception (No module named 'sassc -t compressed {infile} {outfile}'), another exception occurred: File "/usr/lib/python3.6/site-packages/django/core/handlers/exception.py" in inner File "/usr/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response File "/usr/lib/python3.6/site-packages/django/core/handlers/base.py" in _get_response File "/usr/lib/python3.6/site-packages/django/template/response.py" in render File "/usr/lib/python3.6/site-packages/django/template/response.py" in rendered_content File "/usr/lib/python3.6/site-packages/django/template/backends/django.py" in render File "/usr/lib/python3.6/site-packages/django/template/base.py" in render File "/usr/lib/python3.6/site-packages/django/template/base.py" in _render File "/usr/lib/python3.6/site-packages/django/template/base.py" in render File "/usr/lib/python3.6/site-packages/django/template/base.py" in render_annotated File "/usr/lib/python3.6/site-packages/django/template/loader_tags.py" in render File "/usr/lib/python3.6/site-packages/django/template/base.py" in _render File "/usr/lib/python3.6/site-packages/django/template/base.py" in render File "/usr/lib/python3.6/site-packages/django/template/base.py" in render_annotated File "/usr/lib/python3.6/site-packages/django/template/loader_tags.py" in render File "/usr/lib/python3.6/site-packages/django/template/base.py" in _render File "/usr/lib/python3.6/site-packages/django/template/base.py" in render File "/usr/lib/python3.6/site-packages/django/template/base.py" in render_annotated File "/usr/lib/python3.6/site-packages/compressor/templatetags/compress.py" in render File "/usr/lib/python3.6/site-packages/compressor/templatetags/compress.py" in render_compressed File "/usr/lib/python3.6/site-packages/compressor/css.py" in output File "/usr/lib/python3.6/site-packages/compressor/css.py" in output File "/usr/lib/python3.6/site-packages/compressor/base.py" in output File "/usr/lib/python3.6/site-packages/compressor/base.py" in filter_input File "/usr/lib/python3.6/site-packages/compressor/base.py" in hunks File "/usr/lib/python3.6/site-packages/compressor/base.py" in precompile File "/usr/lib/python3.6/site-packages/compressor/filters/base.py" in input File "/usr/lib/python3.6/site-packages/compressor/filters/base.py" in input Exception Type: FilterError at /accounts/login/ Exception Value: Error: Undefined variable: "$screen-xs-min".
------------------------------^ Request information: GET: POST: No POST data FILES: No FILES data COOKIES: No cookie data |
@belzebubek No ideas then :( This has been discussed here with no luck either: |
It looks like the issue is related to bootstrap. As I mentioned opposite rename to yours solve issue. Exception Type: FilterError at /accounts/login/ Exception Value: Error: Undefined variable: "$screen-xs-min". |
Can you please try:
Turns out the docker images do not clear the old static files from before the upgrade causing such errors when trying to actually compile the static files. |
I also released 0.3.4 (should take a couple of minutes to build and publish the images). |
Worked. Thank you! |
Tag/version of Container Images
Choose from: latest, rolling, 0.2, 0.2.*
After pulling latest image from docker and starting image - when I click on 'login' link I'm getting the following error:
I've noticed there are two files:
static/hyperkitty/libs/bootstrap/stylesheets/_bootstrap.scss
static/hyperkitty/libs/bootstrap/stylesheets/bootstrap.scss
Renaming bootstrap.scss to bootstrap.scss.OLD made web interface usable again but I need to do that each time container is restarted. This file is auto getting created each start. Plus interface looks probably not as it should (using incorrect bootstrap files?)
The text was updated successfully, but these errors were encountered: