[ckan-dev] trouble upgrading to 2.1

Adrià Mercader adria.mercader at okfn.org
Wed Aug 28 10:09:38 UTC 2013


Both messages are harmless:

* "warning: unable to delete old directory
'/usr/lib/ckan/default/src/ckan/ckanext/jsonpreview': directory not
empty"
This means that the installation script could not delete this
directory that does not exist anymore in the CKAN source (probably
because there are pyc files in it). You can manually delete it or
ignore it.

* "System start/stop links for /etc/init.d/nginx already exist"
Similarly on this case the install script is just saying that a
previous install has already added these files.

The 500 error must be caused by something else, check the log at
/var/log/apache2/ckan.default.error.log (or similar) to see what is
the actual exception.

Note for instance that you need to change the json_preview plugin to
text_preview plugin on your ini file
http://docs.ckan.org/en/latest/changelog.html#v2-1-2013-08-13

Adrià


On 28 August 2013 04:29, Congrui Li <lic10 at rpi.edu> wrote:
> Maybe you could try this instead.
>
> http://docs.ckan.org/en/latest/upgrade-source.html
>
> Actually I had the same problem when I tried to update from package.
>
>
> Corey
>
>
> 2013/8/27 Randy Rosso <rossonova at gmail.com>
>>
>> Hi,
>> I just attempted to upgrade from 2.0.1 to 2.1, following the instructions
>> at http://docs.ckan.org/en/latest/upgrade-package-to-minor-release.html, and
>> got "warning: unable to delete old directory
>> '/usr/lib/ckan/default/src/ckan/ckanext/jsonpreview': directory not empty".
>> Then the log told me that the "System start/stop links for /etc/init.d/nginx
>> already exist" and same for /etc/init.d/apache2.
>>
>> Now my site is down (500 internal server error) and I'm not sure what to
>> do...
>> Thanks for any help you can provide!
>> Randy
>>
>> _______________________________________________
>> 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
>>
>
>
> _______________________________________________
> 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
>




More information about the ckan-dev mailing list