Projects tigase _server server-core Issues #307
Add migration from prosody script (#307)
Closed
wojciech.kapcia@tigase.net opened 1 decade ago
Due Date
2017-12-30

We already support conversion from OpenFire, ejabberd and jabberd2.

  • verify above works without problem;

  • add support for Prosody.

Eric Dziewa commented 9 years ago

None of these work. Script converter.sh uses non-existent tigase.xml file. User is instructed to edit the path to tigase.xml but there is none.

The first line of code in converter.sh:

def tigase_config = "/etc/tigase/tigase.xml"

eric@build converter/ $ ./converter.sh
org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
/home/eric/tigase-server/src/main/groovy/tigase/converter/converter.groovy: 42: unable to resolve class ConfigRepository 
 @ line 42, column 17.
   def conf_repo = new ConfigRepository(false, tigase_config)
                   ^

/home/eric/tigase-server/src/main/groovy/tigase/converter/converter.groovy: 51: unable to resolve class VHostRepository 
 @ line 51, column 18.
   def vhost_repo = (VHostRepository) Class.forName(conf_repo.get(Configurable.DEF_VHOST_MAN_NAME, null, VHostManager.VHOSTS_REPO_CLASS_PROP_KEY, null)).newInstance()
                    ^

2 errors

Artur Hefczyc commented 9 years ago

Ok, we need to figure out a new way to implement tools for migration from other servers to Tigase. Please look at it when you have some spare time.

Eric Dziewa commented 8 years ago

This would be sweet to have. I hope someone asks for it so we can bump priority.

issue 1 of 1
Type
New Feature
Priority
Minor
Assignee
RedmineID
1892
Version
Candidate for next major release
Spent time
96h
Issue Votes (0)
Watchers (0)
Reference
tigase/_server/server-core#307
Please wait...
Page is in error, reload to recover