Revision history  [back]

Cannot upload images in posts

Hi,

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: https://fedorahosted.org/fedora-infrastructure/ticket/4197

EDIT:

Found this in the logs:

/usr/lib/python2.6/site-packages/askbot/views/writers.py TIME: 2014-01-26 06:33:16,632 MSG: writers.py:upload:111 [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  manage.py   settings.py           settings.py.mustache.setmustache  tinymce_sample_config.py   urls.py
__init__.py   local.pp      manage.pyc  settings.pyc          settings.pyo                      tinymce_sample_config.pyc  urls.pyc
__init__.pyc  local.te      manage.pyo  settings.py.mustache  settings.py.set                   tinymce_sample_config.pyo  urls.pyo
[root@ask01 askbot]#

Cannot upload images in posts

Hi,

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: https://fedorahosted.org/fedora-infrastructure/ticket/4197

EDIT:

Found this in the logs:

/usr/lib/python2.6/site-packages/askbot/views/writers.py TIME: 2014-01-26 06:33:16,632 MSG: writers.py:upload:111 [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  manage.py   settings.py           settings.py.mustache.setmustache  tinymce_sample_config.py   urls.py
__init__.py   local.pp      manage.pyc  settings.pyc          settings.pyo                      tinymce_sample_config.pyc  urls.pyc
__init__.pyc  local.te      manage.pyo  settings.py.mustache  settings.py.set                   tinymce_sample_config.pyo  urls.pyo
[root@ask01 askbot]#