← Back to team overview

dhis2-users team mailing list archive

Re: [Dhis2-devs] Editing of Program Rules

 

Barnabas,

It looks like something went a bit wrong during the upgrade, and that your
programindicator records do not have the related analtyticsperiodboundary
records (2 of them, start and end, are supposed to be automatically
inserted during the startup after the upgrade).

1. Did you run the upgrade script before starting the instance on 2.29
exactly like this:

-- *** NOTE ***
-- From 2.29 UserRole-DataSet and UserRole-Program relations are replaced
by the new Data Sharing level
-- To migrate from 2.28 to 2.29 and apply new data sharing for existing
data, do the following steps:
-- 1) Execute below scripts (the upgrade script)
-- 2) Start the DHIS2 server.
-- 3) Then run the migration by executing this SQL: select
migrateRoleToUserGroup();
-- 4) Restart server.

2. In order to (most likely) fix your immediate problem, you can try
to run select
migrateRoleToUserGroup(); again and then restart

if you have direct database access, you can also check that the table
analyticsperiodboundary has two records for each programindicator record.

Regards
Calle

On 25 May 2018 at 20:11, Barnabas Akumba <akumbabarns@xxxxxxxxx> wrote:

> Sorry. I meant Program indicators page
>
> On Fri, May 25, 2018 at 7:09 PM, Barnabas Akumba <akumbabarns@xxxxxxxxx>
> wrote:
>
>> Hello All,
>>
>> I have upgraded an instance from 2.28 to 2.29 and tried to edit a program
>> rule but the page fails to load. A look at the browser console shows the
>> attached errors.
>>
>> Any one with an idea of what could be responsible for this and how it can
>> be resolved?
>>
>> Any information will be appreciated.
>>
>> Regards
>>
>> --
>>
>> Barnabas AKUMBA
>>
>> *Mobile:* +2348036195778
>> *Skype:* barnabas.akumba
>>
>
>
>
> --
>
> Barnabas AKUMBA
>
> *Mobile:* +2348036195778
> *Skype:* barnabas.akumba
>
> _______________________________________________
> Mailing list: https://launchpad.net/~dhis2-devs
> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~dhis2-devs
> More help   : https://help.launchpad.net/ListHelp
>
>


-- 

*******************************************

Calle Hedberg

46D Alma Road, 7700 Rosebank, SOUTH AFRICA

Tel/fax (home): +27-21-685-6472

Cell: +27-82-853-5352

Iridium SatPhone: +8816-315-19119

Email: calle.hedberg@xxxxxxxxx

Skype: calle_hedberg

*******************************************

Follow ups

References