Ask Your Question

Cannot upload images in posts

asked 2014-01-27 19:06:47 -0500

FranciscoD's avatar

updated 2014-01-27 21:55:43 -0500


We're unable to upload images in posts either on Ask Fedora or on this instance. Can you please check what's happened? We didn't have this issue with 0.7.48 iirc. Here's a screenshot.

image description

(I'm uploading the images to my fedorapeople space for the time being)

Here's the Fedora infrastructure ticket:


Found this in the logs:

/usr/lib/python2.6/site-packages/askbot/views/ TIME: 2014-01-26 06:33:16,632 MSG: [Errno 13] Permission denied: '/etc/askbot/sites/ask/config/askbot'

The requested directory doesn't exist:

[root@ask01 askbot]# ls /etc/askbot/sites/ask/config/
django.wsgi   __init__.pyo    local.pp      manage.pyc  settings.pyc          settings.pyo                      tinymce_sample_config.pyc  urls.pyc
__init__.pyc  local.te      manage.pyo                   tinymce_sample_config.pyo  urls.pyo
[root@ask01 askbot]#
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-01-27 22:54:49 -0500

FranciscoD's avatar

Looks like a simple issue. Adding this seems to fix it:

MEDIA_ROOT = '/var/lib/askbot/upfiles/ask/'
edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2014-01-27 19:06:47 -0500

Seen: 871 times

Last updated: Jan 27 '14