Migration from 2.3.4 to 3

Jochen May jochen at jmay.org
Thu Dec 20 22:20:43 CET 2012


Hi!

The last couple of days i install the actual kolab v3 server on a centos 6.3, 
running in a VMware.

I follow the Community installation guide and get no problems or errors during 
installation. The login to roundcube and webadmin also worked out of the box.

Then i try to migrate the data from my old server to the new server following 
the Administrator Guide.  And at this point the problems started.

1. LDAP Import was no problem. Thanks to the script from Jeroen, which he 
posted somewhere back in september on this or the dev list.

2. Import from the mailboxes.db and annotations.db: Here i get a problem after 
the start up of the server. In the maillog was a lot of errors, that cyrus are 
not able to access this files. The reason was, that this files was still 
formated in berkeley and not in skiplist. When i upgraded from 2.2.2 to 2.2.3 
i keep the berkeley format for the mailboxes.db and annotations.db and never 
changed to skiplist. So i changed to skiplist [1] and everything works fine.

3. Migration of spool, seen and subscrition database, works fine. Also the 
scripts for the seen database and the format upgrade works well

4. Point 11 from [2]: Here i get some problem with. If i try to run the 
provided script i get this error [3]

5. The scripts on Point 12 run without problems.

Via roundcube the user can see the imported mails, contacts, calenders, shared 
folders and all the mails. Sending mails betwen the users, editing contacts, 
creating events work.

Things that i noticed:
- error messages in maillog, that user_deny.db are missing. After touch 
user_deny.db this messages disappear. But now i get a lot of this:
kolabv3 imap[3527]: fetching user_deny.db entry for 'user at example.org'

- In /var/log/messages i get 
rsyslogd-2177: imuxsock lost 10 messages from pid 3624 due to rate-limiting 
and 
imap[3624]: unable to open Berkeley db /etc/sasldb2: No such file or directory

I try the workaround from [4] - but the messages are still poping up.

- how the ressource stuff works?
- is there still some shared folders?


Thanks a lot for the nice piece of work! Wish you all a nice holiday season.

Greetings
Jochen




[1]
https://wiki.kolab.org/Kolab2_Server_Troubleshooting_-_IMAP

[2]
http://docs.kolab.org/en-US/Kolab_Groupware/3.0/html-
single/Administrator_Guide/index.html#sect-Administrator_Guide-
Upgrading_from_Kolab_2_on_OpenPKG-Migration_and_Upgrade_of_Data

[3]
[root at kolabv3 kolabv3_import]# sh update_annotations_db.sh
Traceback (most recent call last):
  File "/usr/sbin/kolab", line 39, in <module>
    kolab = Cli()
  File "/usr/lib/python2.6/site-packages/pykolab/cli/__init__.py", line 64, in 
__init__
    commands.execute('_'.join(to_execute))
  File "/usr/lib/python2.6/site-packages/pykolab/cli/commands.py", line 142, 
in execute
    commands[cmd_name]['function'](conf.cli_args, kw)
  File "/usr/lib/python2.6/site-
packages/pykolab/cli/cmd_list_mailbox_metadata.py", line 77, in execute
    imap.connect(domain=domain)
  File "/usr/lib/python2.6/site-packages/pykolab/imap/__init__.py", line 119, 
in connect
    result = urlparse(uri)
  File "/usr/lib/python2.6/urlparse.py", line 129, in urlparse
    tuple = urlsplit(url, scheme, allow_fragments)
  File "/usr/lib/python2.6/urlparse.py", line 168, in urlsplit
    i = url.find(':')
AttributeError: 'NoneType' object has no attribute 'find'
Traceback (most recent call last):
  File "/usr/sbin/kolab", line 39, in <module>
    kolab = Cli()
  File "/usr/lib/python2.6/site-packages/pykolab/cli/__init__.py", line 64, in 
__init__
    commands.execute('_'.join(to_execute))
  File "/usr/lib/python2.6/site-packages/pykolab/cli/commands.py", line 142, 
in execute
    commands[cmd_name]['function'](conf.cli_args, kw)
  File "/usr/lib/python2.6/site-
packages/pykolab/cli/cmd_list_mailbox_metadata.py", line 77, in execute
    imap.connect(domain=domain)
  File "/usr/lib/python2.6/site-packages/pykolab/imap/__init__.py", line 119, 
in connect
    result = urlparse(uri)
  File "/usr/lib/python2.6/urlparse.py", line 129, in urlparse
    tuple = urlsplit(url, scheme, allow_fragments)
  File "/usr/lib/python2.6/urlparse.py", line 168, in urlsplit
    i = url.find(':')
AttributeError: 'NoneType' object has no attribute 'find'

[4]
http://lists.kolab.org/pipermail/kolab-users/2012-December/014202.html

-- 
Contact Information:

Jochen May
Im Laufer 9
97892 Kreuzwertheim
Tel:+49-(0)9342/919692
Fax:+49-(0)9342/919693
Key-ID: 0x3A7D7FFC
Was ist PGP?
http://www.jmay.org/pgp.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20121220/296de125/attachment.html>


More information about the users mailing list