Hi,

Quoting cpur via Devel <devel@cyrus.topicbox.com>:

Hi all,
I upgraded to Debian Bookworm today and with this to cyrus 3.6.1

Which Cyrus Version did you use before.
I am nur using debian for my mailservers so i don't know if
the upgrade of distribution did all the cyrus upgrade steps
See https://www.cyrusimap.org/3.6/imap/download/upgrade.html for details.

The upgrade went without error messages, but after upgrade, new mailboxes were created under mail/uuid/...

autocreateinbox: User XXX, INBOX was successfully created

of course, without any mail in it. I added

mailbox_legacy_dirs: yes
autocreate_quota: -1
autocreate_post: 0

and the autocreate of empty mailboxes stopped.

Now I get

cyrus/imaps[1366]: IOERROR: opening index failed: mailbox=<user.XXX> error=<System I/O error> syserror=<No such file or directory> func=<mailbox_open_advanced>

It  looks like it migrated something but not the mails and mailbox dbs:

cyrus@mail:~$ /usr/lib/cyrus/bin/relocate_by_id -n -u XXX
XXX: user already relocated

So now I'm stuck, not knowing what to do beside of restoring from backup. But then, the Debian Upgrade is still pending.

Any quick help appreciated...

And in addition to that: Is is possible to revert the relocate_by_id?

And finally I found that the mailboxes.db is only containing the autocreated mailboxes after upgrade. So I'm lost.


has the debian package installer/upgrade moved your mailboxs.db and replayed it with an empty one,
or have the paths changed?

Restored from Backup. Next step will be migration to Dovecot...

Depending on the answers to the questions above, i think the list could have helped to restore the mailboxes, it would not have been fast. So its always good to have a backup.

Kind regards

    Michael Menge


--
--------------------------------------------------------------------------------
Michael Menge                          Tel.: (49) 7071 / 29-70316
Universität Tübingen                   Fax.: (49) 7071 / 29-5912
Zentrum für Datenverarbeitung mail: michael.me...@zdv.uni-tuebingen.de
Wächterstraße 76
72074 Tübingen

Attachment: smime.p7s
Description: S/MIME-Signatur


------------------------------------------
Cyrus: Devel
Permalink: 
https://cyrus.topicbox.com/groups/devel/Tc0e863bae9053445-M554978403b7bf16133d97df2
Delivery options: https://cyrus.topicbox.com/groups/devel/subscription

Reply via email to