[ECODP-dev] Reseting new database error with vocabularies

Dimitrios Mexis dimitrios.mexis at tenforce.com
Tue Sep 10 07:38:01 UTC 2013


Good morning John,

I transfered the database of ODP to our test machine



On 9/09/2013 17:05, John Glover wrote:
> Hi Dimitrios,
>
> Did you rebuild the search index after upgrading from the 09 database? 
> Release 1 uses a slightly different Solr schema, so you would also 
> have to copy over the new schema first from 
> ckanext-ecportal/ckanext/ecportal/solr and restart tomcat before 
> rebuilding the index.
>
> By the way, if you have not also updated the Solr schema on your test 
> server this might be why you are not seeing the most view datasets 
> box, as we have changed how that information is stored (it is now in 
> Solr). I will add a note about this to our operations manual changes 
> document.
>
> Regards,
> John
>
>
> On 9 September 2013 13:43, Dimitrios Mexis 
> <dimitrios.mexis at tenforce.com <mailto:dimitrios.mexis at tenforce.com>> 
> wrote:
>
>     Hi John,
>
>     there is something "fishy". I can not understand and I can not
>     explain it.
>     The nginx could be a problem. I see the boxes including a dataset
>     under "Top publishers"
>     As I took a copy from ODP, it should be all of informations
>     including datasets. Right ?
>
>     What turns out is that I do see there is Secretariat-General, and
>     1 dataset. But when I click it, I don't go to the dataset
>     the link en/data/dataset/Qj83cpCYT0MrAZIJILOQQ
>     which on ODP is the dataset, on the test returns 404.
>
>     Recap:
>     After the restore of 09.x database I run the following one after
>     the other, one by one.
>
>     paster --plugin=ckanext-ecportal ecportal migrate-odp-namespace -c
>     $CKAN_INI
>     paster --plugin=ckanext-ecportal ecportal update-all-vocabs -c
>     $CKAN_INI
>     paster --plugin=ckanext-ecportal ecportal update-publishers -c
>     $CKAN_INI
>
>
>     The backup is under folder /applications/ecodp/users/ecodp/BACKUP/
>     and there you can find your okf's backup as well as the rel09 as
>     backeup from odp.
>
>     Regards
>     Dimitrios
>
>
>
>     On 9/09/2013 13:20, John Glover wrote:
>
>
>         Ok thanks, so it is something else. If this continues to be a
>         problem could you please transfer the release 09 database dump
>         file to our test server (just put it in the home directory) so
>         that I can load it and run through the upgrade
>
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.okfn.org/mailman/private/ecodp-dev/attachments/20130910/30fb273c/attachment.html>


More information about the ecodp-dev mailing list