[ckan-dev] Upgrading from 2.0 to 2.0.1

Henrik Aagaard Sørensen BU1G at tmf.kk.dk
Fri Jun 21 09:15:10 UTC 2013


I just ran the update from 2.0 > 2.0.1.

Now I just get an internal server error.

This is output from the upgrading/installation:

############################################################
dpkg --info python-ckan_2.0_amd64.deb
 new debian package, version 2.0.
 size 79296560 bytes: control archive= 815 bytes.
      66 bytes,     2 lines      conffiles
     419 bytes,    13 lines      control
     877 bytes,    37 lines   *  postinst             #!/bin/bash
 Package: python-ckan
 Version: 2.0.1-test7
 License: AGPL v3.0
 Vendor: Open Knowledge Foundation
 Architecture: amd64
 Maintainer: CKAN team <ckan-dev at lists.okfn.org>
 Installed-Size: 127205
 Depends: nginx, apache2, libapache2-mod-wsgi, libpq5
 #Pre-Depends:
 Section: default
 Priority: extra
 Homepage: http://ckan.org
 Description: CKAN is an open-source DMS (data management system) for powering data hubs and data portals.
bu1g at ks-ckan-app01:~$ sudo dpkg -i python-ckan_2.0_amd64.deb
(Reading database ... 125077 files and directories currently installed.)
Preparing to replace python-ckan 2.0-X (using python-ckan_2.0_amd64.deb) ...
Unpacking replacement python-ckan ...
dpkg: warning: unable to delete old directory '/usr/lib/ckan/default/src/vdm/.git/refs/remotes/origin': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/default/src/vdm/.git/refs/remotes': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/default/src/vdm/.git/refs': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/default/src/vdm/.git/logs/refs': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/default/src/vdm/.git/logs': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/default/src/vdm/.git/objects': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/default/src/vdm/.git': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/default/src/vdm/vdm/sqlalchemy': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/default/src/vdm/vdm': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/default/src/vdm': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckan/logic/action': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckan/logic': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckan/i18n': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckan/include': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckan/migration/versions': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckan/migration': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckan/model': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckan/config': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckan/plugins': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckan/lib/dictization': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckan/lib/navl': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckan/lib/search': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckan/lib': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckan': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckanext/datastore/bin': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckanext/datastore': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckanext/stats': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan/ckanext': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src/ckan': Directory not empty
dpkg: warning: unable to delete old directory '/usr/lib/ckan/src': Directory not empty
Setting up python-ckan (2.0.1-test7) ...
Installing new version of config file /etc/nginx/sites-available/ckan ...
 System start/stop links for /etc/init.d/nginx already exist.
 System start/stop links for /etc/init.d/apache2 already exist.
 * Restarting web server apache2                                                                                                                                                                                                              ... waiting                                                                                                                                                                                                                          [ OK ]
Restarting nginx: nginx.
############################################################

Any idea on what could have gone wrong?
I'm not able to se anything in the log (Apache reports nothing unusual and CKAN I cannot se due to permissions)

-----Oprindelig meddelelse-----
Fra: ckan-dev-bounces at lists.okfn.org [mailto:ckan-dev-bounces at lists.okfn.org] På vegne af Adrià Mercader
Sendt: 21. juni 2013 10:34
Til: CKAN Development Discussions
Emne: Re: [ckan-dev] Upgrading from 2.0 to 2.0.1

Hi,
Follow the instructions here:
http://docs.ckan.org/en/latest/upgrade-package-to-patch-release.html

Adrià

On 21 June 2013 08:36, Henrik Aagaard Sørensen <BU1G at tmf.kk.dk> wrote:
> Any easy way to upgrade to 2.0.1 from 2.0 with package install on Ubuntu
> 12.04 LTS?
>
>
>
>
> _______________________________________________
> 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