Devs,
Tried upgrading from 1.24 to 1.26 and it failed.
Kindly find attached the error log for your review.
Kindly advise where we went wrong or what could be the issue that contributed to the errors.
Regards;
*******
Zayyad A. Said | Managing Director
Cell No.: +254 716 615274 | Skype: zsaid2011
Email: zay...@intrasofttechnologies.com
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
Mifos-developer mailing list
mifos-d...@lists.sourceforge.net
Unsubscribe or change settings at:
https://lists.sourceforge.net/lists/listinfo/mifos-developer
On Apr 11, 2015, at 6:00 AM, Sangamesh Nadagoudar <sang...@confluxtechnologies.com> wrote:
Zayyad,Please restart the tomcat server, after running the script. It should work.Thanks,Sangamesh
On Sat, Apr 11, 2015 at 6:26 PM, Sangamesh Nadagoudar <sang...@confluxtechnologies.com> wrote:
Hello Zayyad,The error is due to schema version is getting failed:- Migration of schema `mifosplatform-tenants` to version 2 failed!Solution:You need to make it success by running the below mentioned script using mysql.Use `mifosplatfrom-tenants`;update schema version set success=1 where version=2Thanks,Sangamesh
On Sat, Apr 11, 2015 at 5:56 PM, Zayyad A. Said <zay...@intrasofttechnologies.com> wrote:
Devs,
Tried upgrading from 1.24 to 1.26 and it failed.
Kindly find attached the error log for your review.
Kindly advise where we went wrong or what could be the issue that contributed to the errors.
Regards;
*******
Zayyad A. Said | Managing Director
Cell No.: +254 716 615274 | Skype: zsaid2011
<image001.jpg>
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
Mifos-developer mailing list
mifos-d...@lists.sourceforge.net
Unsubscribe or change settings at:
https://lists.sourceforge.net/lists/listinfo/mifos-developer
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SFMifos-developer mailing list
schema_version needs to be updated with the details of this patch by executing the scripts below
mysql -u[your username] -p[your password]
use `mifosplatform-tenants`;
INSERT INTO `schema_version` (`version_rank`, `installed_rank`, `version`, `description`, `type`, `script`, `checksum`, `installed_by`, `installed_on`, `execution_time`, `success`) VALUES
(2, 2, '2', 'externalize-connection-properties', 'SQL', 'V2__externalize-connection-properties.sql', 210473669, 'root', '2014-10-12 22:13:51', 661, 1);
This body part will be downloaded on demand.
This body part will be downloaded on demand.
Upgrading an existing installation of MifosX
1) Download the latest version fromhttp://sourceforge.net/projects/mifos/files/latest/download?source=files and unzip its contents
2) Delete "mifosng-provider.war" and "mifosng-provider" folder from tomcat/webapps and replace them with the latest copy of "mifosng-provider.war" from the release downloaded in the previous step.
3) Delete "community-app" and "api-docs" folders from \tomcat\webapps\ROOT and replace the same with the latest versions from the release downloaded earlier.
If you are updating from version 1.24.0 or lower, follow the special instructions athttps://github.com/openMF/mifosx/blob/develop/INSTALL.md#2221-special-instructions-for-those-upgrading-from-version-124-or-lower
Starting from version 1.25.* , updates to mifosplatform-tenants database are managed by Flyway (http://flywaydb.org/). To ensure that flyway works correctly, verify that table schema_version is present along with two entries in mifosplatform-tenants database.
You can do so as follows
mysql -uroot -pmysql
use `mifosplatform-tenants`;
select * from schema_version;
If the table does not exist, create the same using the script at https://gist.github.com/vishwasbabu/dc105b6a9450cff8ff1f
Next, check if the patch for "externalizing mysql connection properties" has been run (i.e if you are updating from 1.21 or a higher version of Mifos X)
mysql -uroot -pmysql
use `mifosplatform-tenants`;
select pool_initial_size from tenants;
If the above query does not throw an error (Unknown column 'pool_initial_size'), schema_version needs to be updated with the details of this patch by executing the scripts below
mysql -uroot -pmysql
use `mifosplatform-tenants`;
INSERT INTO `schema_version` (`version_rank`, `installed_rank`, `version`, `description`, `type`, `script`, `checksum`, `installed_by`, `installed_on`, `execution_time`, `success`) VALUES
(2, 2, '2', 'externalize-connection-properties', 'SQL', 'V2__externalize-connection-properties.sql', 210473669, 'root', '2014-10-12 22:13:51', 661, 1);
4) Restart tomcat ( this automatically updates the database for the latest release)
Regards,On Apr 12, 2015, at 11:58 PM, Chriss Mwadime <chriss....@intrasofttechnologies.com> wrote:<New Text Document.txt>