- 
	As discussed with %wojtek this issue is more complex than it looks like. In this task we need to: - make sure that released versions will make sure that they are using schema version which is also released (schema version in tig_schema_versioncannot be snapshot)
- update all existing entries initially to mark them as SNAPSHOT(right now this table should not contain entries for stable version)
- modify TigPutDBPropertyto make sure that userdb-propertiesexists
- remove calls to TigAddUserto adddb-propertiesfrom all schema files
- ensure that new version of schema is loaded
- if version in database is smaller (older)
- if version in database is equal but it is marked as SNAPSHOT
 Note: If users will not use upgrade-schemaand will want to manually load schema, then they will be resposible for that all the time. To useupgrade-schemaagain it will need to be executed with parameter forcing it to once again load schemas.
- make sure that released versions will make sure that they are using schema version which is also released (schema version in 
- 
	Current version displays following message: 2018-03-01 17:03:09.488 [pool-1-thread-8] SchemaVersionCheckerLogger.printErrorMessage() WARNING: It's possible that following data sources are out of date: * pubsub (PubSubDAOJDBC) ~ version in database: 4.0.0-SNAPSHOT-b640, required version: 4.0.0-SNAPSHOT-b640) * server (JDBCRepository) ~ version in database: 8.0.0-SNAPSHOT-b5135, required version: 8.0.0-SNAPSHOT-b5135) Please upgrade the installation by running: $ ./scripts/tigase.sh upgrade-schema etc/tigase.conf (this warning is printed each time SNAPSHOT version is started, you can ignore thismessage if you've just run above command)hub functions OK. 
- 
	Andrzej Wójcik wrote: I've modified schema loader as we discussed and verified that changes work fine. Please check if I've not skipped anything which we discussed and review changes to SchemaLoaderandDBSchemaLoader- as you supposed there were minor changes.I reviewed the changes and everything looks OK. Thank you. 
| Type | Bug | 
| Priority | Normal | 
| Assignee | |
| RedmineID | 6749 | 
| Version | tigase-server-8.0.0 | 
| Spent time | 0 | 
				Issue Votes (0) 
			
			
		Watchers (0)
		 
	
				 
		 
	
			
Currently initialization of schema for DerbyDB fails with following error: