@raff Am trying to deploy on kubernetes(google). I need help for forking stable release for modules.
Is it possible help on this. What are the repositories i need fork like openmrs-core. Am trying to understand where the module related code there.
Hi Team, Am trying to run docker-compose up on windows (docker quick starter terminal) as per openmrs #docker documentation and getting the error below.
eb_1 | INFO 1/20/19 3:50 AM:liquibase: Creating database history table with name: liquibasechangelog
web_1 | INFO 1/20/19 3:50 AM:liquibase: Reading from liquibasechangelog
web_1 | WARNING 1/20/19 3:50 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use and re-specify all configuration if this is the case
web_1 | WARNING 1/20/19 3:50 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use and re-specify all configuration if this is the case
web_1 | WARNING 1/20/19 3:50 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use and re-specify all configuration if this is the case
web_1 | INFO 1/20/19 3:50 AM:liquibase: Successfully acquired change log lock
web_1 | + wait 86
web_1 | WARNING 1/20/19 3:50 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use and re-specify all configuration if this is the case
web_1 | WARNING 1/20/19 3:50 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use and re-specify all configuration if this is the case
web_1 | WARNING 1/20/19 3:50 AM:liquibase: modifyDataType will lose primary key/autoincrement/not null settings for mysql. Use and re-specify all configuration if this is the case
web_1 | INFO 1/20/19 3:51 AM:liquibase: Reading from liquibasechangelog
web_1 | INFO 1/20/19 3:51 AM:liquibase: Marking ChangeSet: liquibase-update-to-latest.xml::0::bwolfe::(Checksum: 3:ccc4741ff492cb385f44e714053920af) ran despite precondition error:
web_1 | liquibase-update-to-latest.xml : Table ‘openmrs.global_property’ doesn’t exist
web_1 |
web_1 | SEVERE 1/20/19 3:51 AM:liquibase: Change Set liquibase-update-to-latest.xml::1::upul failed. Error: Error executing SQL ALTER TABLE person_attribute_type ADD edit_privilege VARCHAR(255): Table ‘openmrs.person_attribute_type’ doesn’t exist
web_1 | liquibase.exception.DatabaseException: Error executing SQL ALTER TABLE person_attribute_type ADD edit_privilege VARCHAR(255): Table ‘openmrs.person_attribute_type’ doesn’t exist
web_1 | at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:62)
web_1 | at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:104)
web_1 | at liquibase.database.AbstractDatabase.execute(AbstractDatabase.java:1091)
web_1 | at liquibase.database.AbstractDatabase.executeStatements(AbstractDatabase.java:1075)
web_1 | at liquibase.changelog.ChangeSet.execute(ChangeSet.java:317)
web_1 | at liquibase.changelog.visitor.UpdateVisitor.visit(UpdateVisitor.java:27)
web_1 | at org.openmrs.util.DatabaseUpdater$1OpenmrsUpdateVisitor.visit(DatabaseUpdater.java:189)
web_1 | at liquibase.changelog.ChangeLogIterator.run(ChangeLogIterator.java:58)
web_1 | at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:218)
web_1 | at org.openmrs.util.DatabaseUpdater.executeChangelog(DatabaseUpdater.java:148)
web_1 | at org.openmrs.web.filter.initialization.InitializationFilter$InitializationCompletion$1.run(InitializationFilter.java:1650)
web_1 | at java.lang.Thread.run(Thread.java:748)
web_1 | Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: Table ‘openmrs.person_attribute_type’ doesn’t exist
web_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
web_1 | at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
web_1 | at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
web_1 | at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
web_1 | at com.mysql.jdbc.Util.handleNewInstance(Util.java:411)
web_1 | at com.mysql.jdbc.Util.getInstance(Util.java:386)
web_1 | at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:1054)
web_1 | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4237)
web_1 | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:4169)
web_1 | at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2617)
web_1 | at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2778)
web_1 | at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2819)
web_1 | at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2768)
web_1 | at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:949)
web_1 | at com.mysql.jdbc.StatementImpl.execute(StatementImpl.java:795)
web_1 | at liquibase.executor.jvm.JdbcExecutor$1ExecuteStatementCallback.doInStatement(JdbcExecutor.java:92)
web_1 | at liquibase.executor.jvm.JdbcExecutor.execute(JdbcExecutor.java:55)
web_1 | … 11 more
web_1 | INFO 1/20/19 3:51 AM:liquibase: Successfully released change log lock
Below comments used and also refer the attachment for property files.
1)mvn org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:setup-sdk
2)docker-compose up
I copied below files to working directory and using windows laptop.
openmrs-distro.properties: https://pastebin.com/6w0sdcR7
I took openmrsdistro.sql file from openmrs-distro-referenceapplication github repository.