Media for /settings/ in 0.7.48

Deployed askbot 0.7.48 on Ubuntu 13.04 with Apache on EC2 and the questions and /admin all work and display correctly with correct media. However the /settings pages are appearing without media (css etc). Uploaded files are showing fine so it is simply the styling of the /settings pages. Page source indicates they use the same media as /admin.

Setup is as per documentation (http://askbot.org/doc/deployment.html) and in particular:

Alias /m/ "/mnt/MYSITE/static/"

and even adding

Alias /admin/media/ "/mnt/MYSITE/static/admin/"

to the *.80 VirtualHost doesn't help...

Any suggestions appreciated.

Rupreck's avatar
305
Rupreck
asked 2013-09-10 19:04:36 -0500
Evgeny's avatar
13.2k
Evgeny
updated 2013-09-23 15:41:18 -0500
edit flag offensive 0 remove flag close merge delete

Comments

Still no solution to this. In addition the markdown and tinymce are not being picked up. Having installed markdown, python_markdown and django_markdown now wondering if this is a versioning problem. Do we have a database of supported dependencies for each version? Is there a way to list these or have askbot verify or restore the dependencies it needs?

Rupreck's avatar Rupreck (2013-09-16 04:45:27 -0500) edit

Please try the updated code base - 0.7.49.

Evgeny's avatar Evgeny (2013-09-23 15:42:00 -0500) edit

The markdown and tinymce issue was a consequence of the mathjax alias not being configured in Apache.

Rupreck's avatar Rupreck (2013-09-23 16:37:14 -0500) edit

Codebase 0.7.49 upgrade did not go smoothly. The database migrations scripts do not take account of existing robots tables nor celery* tables. These bugged out many times until all those tables were removed.. In addition the new jinja and compress work is ropey.. ASKBOT_CSS_DEVEL = False <---or it fails! settings.py needs ALLOWED_HOSTS = ( '.XXX.com', ) Also installed BeautifulSoup using easy_install and have to recreate the robots rules to allow crawling... But 0.7.49 does fix this admin media problem :)

Rupreck's avatar Rupreck (2013-09-23 18:20:43 -0500) edit
add a comment see more comments