[ECODP-dev] odp.tenforce.com > eurostat on ecodp fails to upload

David Raznick david.raznick at okfn.org
Mon Mar 4 12:26:38 UTC 2013


The load should work now hopefully.  The example you gave though passing {}
as the metadata will still cause a 500 error.  Test again with real data.


On Mon, Mar 4, 2013 at 12:11 PM, Dimitrios Mexis <
dimitrios.mexis at tenforce.com> wrote:

> I nulled the log file, 0 bytes, and tweaked the postgresql to rotate the
> file, check if the settings are usefull also from your side.
> The settings is 1d  to make the rotation, in order to see that this works.
>
> Kind regards,
> Dimitrios
>
> On Mon, Mar 4, 2013 at 12:50 PM, David Raznick <david.raznick at okfn.org>wrote:
>
>> /var/log/httpd/ecodp.error.log
>>
>>
>>
>> On Mon, Mar 4, 2013 at 11:46 AM, Bert Van Nuffelen <
>> bert.van.nuffelen at tenforce.com> wrote:
>>
>>> @ Dimitrios,
>>>
>>> can you have a look to improve the size?
>>>
>>>
>>> Bert
>>>
>>> 2013/3/4 Bert Van Nuffelen <bert.van.nuffelen at tenforce.com>
>>>
>>>> Hi David,
>>>>
>>>> can you tell me which log you inspected? (assuming that is possible
>>>> information for PO too).
>>>>
>>>> Bert
>>>>
>>>>
>>>> 2013/3/4 David Raznick <david.raznick at okfn.org>
>>>>
>>>>> The logs say there is no space left on the db machine.
>>>>>
>>>>>
>>>>> On Mon, Mar 4, 2013 at 11:18 AM, Bert Van Nuffelen <
>>>>> bert.van.nuffelen at tenforce.com> wrote:
>>>>>
>>>>>> Hi,
>>>>>>
>>>>>> A simplified test case.
>>>>>> @Dimitrios, can you have a look to rdf2ckan on odp.tenforce.com? It
>>>>>> is strange that I get this.
>>>>>>
>>>>>> kind regards,
>>>>>>
>>>>>> Bert
>>>>>>
>>>>>> [root at ecodp-odp3 logs]# curl -X POST
>>>>>> http://localhost/data/api/action/package_update
>>>>>> "Bad request - JSON Error: Could not extract request body data: Bad
>>>>>> content type: '; charset=utf-8'"[root at ecodp-odp3 logs]# curl -X POST
>>>>>> http://localhost/data/api/action/package_update -d {}
>>>>>>
>>>>>>
>>>>>>     <html>
>>>>>>     <head>
>>>>>>     <title>Server Error</title>
>>>>>>
>>>>>>     </head>
>>>>>>     <body>
>>>>>>     <h1>Server Error</h1>
>>>>>>     An internal server error occurred
>>>>>>
>>>>>>     </body>
>>>>>>     </html>[root at ecodp-odp3 logs]#
>>>>>>
>>>>>>
>>>>>>
>>>>>> Bert
>>>>>>
>>>>>> 2013/3/4 Bert Van Nuffelen <bert.van.nuffelen at tenforce.com>
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> reindexing did not resolved this...
>>>>>>>
>>>>>>>
>>>>>>> Bert
>>>>>>>
>>>>>>> 2013/3/4 Bert Van Nuffelen <bert.van.nuffelen at tenforce.com>
>>>>>>>
>>>>>>>> Hi
>>>>>>>>
>>>>>>>> even after restarting httpd the ckan error remains. Datasets which
>>>>>>>> could be uploaded before are now not anymore updatable...
>>>>>>>> So something is screwed up, but what?
>>>>>>>>
>>>>>>>> kind regards,
>>>>>>>>
>>>>>>>> Bert
>>>>>>>>
>>>>>>>>
>>>>>>>> 2013/3/4 Bert Van Nuffelen <bert.van.nuffelen at tenforce.com>
>>>>>>>>
>>>>>>>>> Hi,
>>>>>>>>>
>>>>>>>>> I get a weird error from CKAN:
>>>>>>>>>
>>>>>>>>> 2013-03-04 11:00:05,773 main DEBUG
>>>>>>>>> org.ckan.demo.ecportal.rdf2ckan.http.JsonAPI Content-length: -1
>>>>>>>>> 2013-03-04 11:00:05,773 main DEBUG
>>>>>>>>> org.ckan.demo.ecportal.rdf2ckan.http.JsonAPI Content-Type: text/html;
>>>>>>>>> charset=utf8
>>>>>>>>> 2013-03-04 11:00:05,773 main DEBUG
>>>>>>>>> org.ckan.demo.ecportal.rdf2ckan.http.JsonAPI Body:
>>>>>>>>>     <html>
>>>>>>>>>     <head>
>>>>>>>>>     <title>Server Error</title>
>>>>>>>>>
>>>>>>>>>     </head>
>>>>>>>>>     <body>
>>>>>>>>>     <h1>Server Error</h1>
>>>>>>>>>     An internal server error occurred
>>>>>>>>>
>>>>>>>>>     </body>
>>>>>>>>>     </html>
>>>>>>>>> 2013-03-04 11:00:05,774 main ERROR
>>>>>>>>> org.ckan.demo.ecportal.rdf2ckan.http.JsonAPI UPLOAD ERROR: No JSON output
>>>>>>>>> found.
>>>>>>>>>
>>>>>>>>> John, David
>>>>>>>>>
>>>>>>>>> can you check the ckan logs?
>>>>>>>>>
>>>>>>>>> kind regards,
>>>>>>>>>
>>>>>>>>> Bert
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>> Bert Van Nuffelen
>>>>>>>>>
>>>>>>>>> Semantic Technologies Software Architect at TenForce
>>>>>>>>> www.tenforce.be
>>>>>>>>>
>>>>>>>>> Bert.Van.Nuffelen at tenforce.com
>>>>>>>>> Office: +32 (0)16 31 48 60
>>>>>>>>> Mobile:+32 479 06 24 26
>>>>>>>>> skype: bert.van.nuffelen
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> --
>>>>>>>> Bert Van Nuffelen
>>>>>>>>
>>>>>>>> Semantic Technologies Software Architect at TenForce
>>>>>>>> www.tenforce.be
>>>>>>>>
>>>>>>>> Bert.Van.Nuffelen at tenforce.com
>>>>>>>> Office: +32 (0)16 31 48 60
>>>>>>>> Mobile:+32 479 06 24 26
>>>>>>>> skype: bert.van.nuffelen
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> --
>>>>>>> Bert Van Nuffelen
>>>>>>>
>>>>>>> Semantic Technologies Software Architect at TenForce
>>>>>>> www.tenforce.be
>>>>>>>
>>>>>>> Bert.Van.Nuffelen at tenforce.com
>>>>>>> Office: +32 (0)16 31 48 60
>>>>>>> Mobile:+32 479 06 24 26
>>>>>>> skype: bert.van.nuffelen
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Bert Van Nuffelen
>>>>>>
>>>>>> Semantic Technologies Software Architect at TenForce
>>>>>> www.tenforce.be
>>>>>>
>>>>>> Bert.Van.Nuffelen at tenforce.com
>>>>>> Office: +32 (0)16 31 48 60
>>>>>> Mobile:+32 479 06 24 26
>>>>>> skype: bert.van.nuffelen
>>>>>>
>>>>>> _______________________________________________
>>>>>> Ecodp-dev mailing list
>>>>>> Ecodp-dev at lists.okfn.org
>>>>>> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Ecodp-dev mailing list
>>>>> Ecodp-dev at lists.okfn.org
>>>>> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Bert Van Nuffelen
>>>>
>>>> Semantic Technologies Software Architect at TenForce
>>>> www.tenforce.be
>>>>
>>>> Bert.Van.Nuffelen at tenforce.com
>>>> Office: +32 (0)16 31 48 60
>>>> Mobile:+32 479 06 24 26
>>>> skype: bert.van.nuffelen
>>>>
>>>
>>>
>>>
>>> --
>>> Bert Van Nuffelen
>>>
>>> Semantic Technologies Software Architect at TenForce
>>> www.tenforce.be
>>>
>>> Bert.Van.Nuffelen at tenforce.com
>>> Office: +32 (0)16 31 48 60
>>> Mobile:+32 479 06 24 26
>>> skype: bert.van.nuffelen
>>>
>>> _______________________________________________
>>> Ecodp-dev mailing list
>>> Ecodp-dev at lists.okfn.org
>>> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>>>
>>>
>>
>> _______________________________________________
>> Ecodp-dev mailing list
>> Ecodp-dev at lists.okfn.org
>> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>>
>>
>
> _______________________________________________
> Ecodp-dev mailing list
> Ecodp-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ecodp-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130304/55d2ed29/attachment.html>


More information about the ecodp-dev mailing list