[ckan-dev] File upload error

Kim Haklae haklaekim at gmail.com
Thu Aug 30 13:38:32 UTC 2012


On Thu, Aug 30, 2012 at 2:33 AM, Sean Hammond <sean.hammond at okfn.org> wrote:

> > The URL returns the message - "server error: an internal server error
> > occurred" (also logged in).  Do I need to configure something?
>
> If you're seeing a 500 Internal Server Error in your browser, then there
> should be a Python error (with a traceback) in your log files, if you
> can find that error and post it here that should help. It depends on the
> details of your CKAN deployment, but the error message should be in a
> log file named something like this:
>
>     /var/log/apache2/thedatahub.kr.error.log
>

A log file is attached: it happened when a file selected and uploaded. It
seems that ofs.impl needs to be added in ini file. BTW, I installed CKAN
with packages.

Haklae

(assuming a CKAN source install deployed with Apache)
>
> You do need to add a couple of lines to your configuration to get file
> storage working, and you need to pip install pairtree or boto, it
> depends on whether you're using local file storage or cloud, docs here:
>
> http://docs.ckan.org/en/ckan-1.7.1/filestore.html
>
> > On Thu, Aug 30, 2012 at 4:07 PM, Kim Haklae <haklaekim at gmail.com> wrote:
> >
> > > Yes. It was logged when I tested. Thanks for your clue.
> > >
> > > Haklae
> > >
> > >
> > > On Thu, Aug 30, 2012 at 4:05 PM, Rufus Pollock <rufus.pollock at okfn.org
> >wrote:
> > >
> > >> On 30 August 2012 07:57, Kim Haklae <haklaekim at gmail.com> wrote:
> > >> > Dear all,
> > >> >
> > >> > I installed CKAN 1.7.1 for http://thedatahub.kr, and have tested
> it.
> > >> > But it has failed to upload a file with this message - "Failed to
> get
> > >> > credentials for storage upload. Upload cannot proceed".
> > >> > I didn't install any other components. Should I install something or
> > >> need to
> > >> > configure more?
> > >>
> > >> Are you logged in?
> > >>
> > >> Also check this API URL (when logged in):
> > >> http://thedatahub.kr/api/storage/auth/form/xyz
> > >>
> > >> This is the URL that the upload checks to get authorization.
> > >>
> > >> Rufus
> > >>
> > >> _______________________________________________
> > >> ckan-dev mailing list
> > >> ckan-dev at lists.okfn.org
> > >> http://lists.okfn.org/mailman/listinfo/ckan-dev
> > >>
> > >
> > >
> > >
> > > --
> > > Dr.Dr. Haklae Kim
> > > Semantic Web and Open Data Hacker
> > > http://thedatahub.kr
> > > http://getthedata.kr
> > > http://blogweb.co.kr
> > > Tel: +82-(0)10-3201-0714
> > > Who's Who in the World's 27th Edition - 2010
> > > IBC 2000 Outstanding Scientists - 2010
> > >
> > >
> >
> >
> > --
> > Dr.Dr. Haklae Kim
> > Semantic Web and Open Data Hacker
> > http://thedatahub.kr
> > http://getthedata.kr
> > http://blogweb.co.kr
> > Tel: +82-(0)10-3201-0714
> > Who's Who in the World's 27th Edition - 2010
> > IBC 2000 Outstanding Scientists - 2010
>
> > _______________________________________________
> > ckan-dev mailing list
> > ckan-dev at lists.okfn.org
> > http://lists.okfn.org/mailman/listinfo/ckan-dev
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
>



-- 
Dr.Dr. Haklae Kim
Semantic Web and Open Data Hacker
http://thedatahub.kr
http://getthedata.kr
http://blogweb.co.kr
Tel: +82-(0)10-3201-0714
Who's Who in the World's 27th Edition - 2010
IBC 2000 Outstanding Scientists - 2010
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120830/0002eade/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: datahub.log
Type: application/octet-stream
Size: 20668 bytes
Desc: not available
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20120830/0002eade/attachment-0003.obj>


More information about the ckan-dev mailing list