[ckan-dev] Add Dataset Problem

Dimitrakakis Georgios giorgis at ucnet.uoc.gr
Sat Jun 29 17:50:24 UTC 2013


I managed to get through the following but I am still cannot ADD a NEW  
DATASET!

I can only edit the already available.

Is there a way to check if the database has been damaged ??

Something very strange is happening with this configuration....

G.

> I forgot to send you the error I am getting now...
>
> Could you please check this: http://pastebin.com/kcTKtvAZ
>
> Best,
>
>
> G.
>
>> This is a source installation and not a package one.
>>
>> I think that somehow I managed to mess up with the permissions and  
>> now I cannot even reach the first page (Internal Server Error)...
>> Should could someone tell me what the permissions should be for the  
>> files and folders at the
>>
>> "/usr/lib/ckan/default" and at "/ e t c /ckan"
>>
>> Best,
>>
>> G.
>>
>>
>>> On 28 June 2013 14:25, Dimitrakakis Georgios <giorgis at ucnet.uoc.gr> wrote:
>>>> Could someone elaborate more in what to do with the database and  
>>>> how to drop
>>>> it and re-initialize it?
>>>
>>> assuming this is a package install
>>>
>>> # remove all existing data
>>> sudo ckan db clean
>>>
>>> # reinitialize the database
>>> sudo ckan db init
>>>
>>>
>>>>
>>>> Best,
>>>>
>>>> G.
>>>>
>>>>
>>>>> I am not sure I understood you correctly.
>>>>>
>>>>> Why to "/user/visitor"???
>>>>>
>>>>> I am trying to Add a Dataset as a user which is already logged in and the
>>>>> when I browse x..x.x.x/user my UserName appears there!
>>>>>
>>>>> Best,
>>>>>
>>>>> G.
>>>>>
>>>>>> Hi Dimitrakakis,
>>>>>>
>>>>>> Can you browse to /user/visitor and check if the user exists?
>>>>>>
>>>>>> You'll definitely not have to install all of CKAN. The worst case
>>>>>> scenario
>>>>>> is to drop the database and re-initalize the CKAN database.
>>>>>>
>>>>>> Nigel Babu
>>>>>>
>>>>>> Developer  |  @nigelbabu <https://twitter.com/nigelbabu>
>>>>>>
>>>>>> The Open Knowledge Foundation <http://okfn.org/>
>>>>>>
>>>>>> Empowering through Open Knowledge
>>>>>>
>>>>>> http://okfn.org/  |  @okfn <http://twitter.com/OKFN>  |  OKF on
>>>>>> Facebook<https://www.facebook.com/OKFNetwork> |
>>>>>> Blog <http://blog.okfn.org/>  |
>>>>>> Newsletter<http://okfn.org/about/newsletter>
>>>>>>
>>>>>> CKAN | http://ckan.org/ | @CKANproject
>>>>>> <http://twitter.com/CKANproject> |the world’s leading open-source data
>>>>>> portal platform
>>>>>>
>>>>>>
>>>>>> On 27 June 2013 15:54, Dimitrakakis Georgios <giorgis at ucnet.uoc.gr>
>>>>>> wrote:
>>>>>>
>>>>>>> This problem appeared again out of nowhere!!!
>>>>>>>
>>>>>>> I didn't change anything at the configuration i just added another
>>>>>>> sysadmin user (there are 3 sysadmin users now but I thing that this is
>>>>>>> irrelevant).
>>>>>>>
>>>>>>> As requested the log is available here:
>>>>>>>
>>>>>>> http://pastebin.com/WJv88vLg
>>>>>>>
>>>>>>> For what it matters the already uploaded datasets, organizations etc.
>>>>>>> can
>>>>>>> be edited without any problem! I just cannot add new ones!
>>>>>>>
>>>>>>> Looking forward for your suggestions as I don't want to re-install
>>>>>>> everything from scratch.
>>>>>>>
>>>>>>> Best regards,
>>>>>>>
>>>>>>> G.
>>>>>>>
>>>>>>>
>>>>>>> Dear Nigel & Phillip,
>>>>>>>>
>>>>>>>>
>>>>>>>> I 've started building it from scratch and didn't keep the logs!
>>>>>>>>
>>>>>>>> Let's see if this second attempt will be succesfull.
>>>>>>>>
>>>>>>>> Thanks a lot for everything!
>>>>>>>>
>>>>>>>> Best,
>>>>>>>>
>>>>>>>> G.
>>>>>>>>
>>>>>>>> Hi Dimitrakakis,
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Could you upload your apache error logs to pastebin.com and link us?
>>>>>>>>> The
>>>>>>>>> log should be in /var/log/apache2/ckan_default.**error.log
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Nigel Babu
>>>>>>>>>
>>>>>>>>> Developer  |  @nigelbabu <https://twitter.com/nigelbabu**>
>>>>>>>>>
>>>>>>>>> The Open Knowledge Foundation <http://okfn.org/>
>>>>>>>>>
>>>>>>>>> Empowering through Open Knowledge
>>>>>>>>>
>>>>>>>>> http://okfn.org/  |  @okfn <http://twitter.com/OKFN>  |  OKF on
>>>>>>>>>
>>>>>>>>> Facebook<https://www.facebook.**com/OKFNetwork<https://www.facebook.com/OKFNetwork>>
>>>>>>>>> |
>>>>>>>>> Blog <http://blog.okfn.org/>  |  Newsletter<http://okfn.org/**
>>>>>>>>> about/newsletter <http://okfn.org/about/newsletter>>
>>>>>>>>>
>>>>>>>>> CKAN | http://ckan.org/ | @CKANproject
>>>>>>>>> <http://twitter.com/**CKANproject <http://twitter.com/CKANproject>>
>>>>>>>>> |the world’s leading open-source data
>>>>>>>>> portal platform
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 10 June 2013 10:58, Dimitrakakis Georgios <giorgis at ucnet.uoc.gr>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>> Dear all,
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> I am a new member to CKAN and I am facing the following problem:
>>>>>>>>>>
>>>>>>>>>> I cannot Add a dataset or group or an organization at my
>>>>>>>>>> installation!
>>>>>>>>>>
>>>>>>>>>> The only thing that I get is
>>>>>>>>>>
>>>>>>>>>> "Server Error
>>>>>>>>>>
>>>>>>>>>> An internal server error occured"
>>>>>>>>>>
>>>>>>>>>> I 've tried to solve this by looking the log files but couldn't find
>>>>>>>>>> anything useful!
>>>>>>>>>>
>>>>>>>>>> Do you have any idea where should I look and for what?
>>>>>>>>>>
>>>>>>>>>> I did the package installation at an Ubuntu 12.04 LTS  
>>>>>>>>>> Server that was
>>>>>>>>>> build from scratch just for CKAN.
>>>>>>>>>>
>>>>>>>>>> Thank a lot for your help!
>>>>>>>>>>
>>>>>>>>>> All the best,
>>>>>>>>>>
>>>>>>>>>> G.
>>>>>>>>>>
>>>>>>>>>> ------------------------------****----------------------------**
>>>>>>>>>> --**----
>>>>>>>>>> This message was sent using IMP, the Internet Messaging Program.
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> ______________________________****_________________
>>>>>>>>>> ckan-dev mailing list
>>>>>>>>>> ckan-dev at lists.okfn.org
>>>>>>>>>>
>>>>>>>>>> http://lists.okfn.org/mailman/****listinfo/ckan-dev<http://lists.okfn.org/mailman/**listinfo/ckan-dev>
>>>>>>>>>>
>>>>>>>>>> <http://**lists.okfn.org/mailman/**listinfo/ckan-dev<http://lists.okfn.org/mailman/listinfo/ckan-dev>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>> Unsubscribe:
>>>>>>>>>> http://lists.okfn.org/mailman/****options/ckan-dev<http://lists.okfn.org/mailman/**options/ckan-dev>
>>>>>>>>>>
>>>>>>>>>> <http://**lists.okfn.org/mailman/**options/ckan-dev<http://lists.okfn.org/mailman/options/ckan-dev>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>> ------------------------------**------------------------------**----
>>>>>>>> This message was sent using IMP, the Internet Messaging Program.
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>> ------------------------------**------------------------------**----
>>>>>>> This message was sent using IMP, the Internet Messaging Program.
>>>>>>>
>>>>>>> ______________________________**_________________
>>>>>>> ckan-dev mailing list
>>>>>>> ckan-dev at lists.okfn.org
>>>>>>>
>>>>>>> http://lists.okfn.org/mailman/**listinfo/ckan-dev<http://lists.okfn.org/mailman/listinfo/ckan-dev>
>>>>>>> Unsubscribe:
>>>>>>> http://lists.okfn.org/mailman/**options/ckan-dev<http://lists.okfn.org/mailman/options/ckan-dev>
>>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> ----------------------------------------------------------------
>>>>> This message was sent using IMP, the Internet Messaging Program.
>>>>>
>>>>
>>>>
>>>> ----------------------------------------------------------------
>>>> This message was sent using IMP, the Internet Messaging Program.
>>>>
>>>> _______________________________________________
>>>> ckan-dev mailing list
>>>> ckan-dev at lists.okfn.org
>>>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>>>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>>>
>>>
>>>
>>> --
>>> Toby Dacre
>>>
>>> The Open Knowledge Foundation
>>>
>>> Empowering through Open Knowledge
>>> http://okfn.org/  |  @okfn
>>>
>>> _______________________________________________
>>> ckan-dev mailing list
>>> ckan-dev at lists.okfn.org
>>> http://lists.okfn.org/mailman/listinfo/ckan-dev
>>> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>>>
>>>
>>
>>
>>
>> -- 
>> Dr. Dimitrakakis Georgios
>>
>> Center of Communications and Networking
>> Voutes Campus, University of Crete
>> P.O. Box 2208
>> 710 - 03 Heraklion
>> Crete, Greece
>>
>> Tel: +30 2810 393331
>> Fax: +30 2810 393318
>>
>> E-mail: giorgis at ucnet.uoc.gr
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev

----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.




More information about the ckan-dev mailing list