While upgrading to Exchange 2007 SP1 the server I use in my lab, I got the following error:
[ERROR] This role cannot be installed because the following roles are not current: MailboxRole
This role will not be configured because of the following exception: This role cannot be installed because the following roles are not current: MailboxRole
This machine has all the Exchange roles:
- CAS
- HUB
- Mailbox
- Unified Messaging
The error occurred just before upgrading the Unified Messaging role (the CAS and HUB went OK), so after some unsuccessful troubleshooting, I decided to uninstall the UM role from the command line:
setup /mode:uninstall /role:UM
I then rerun the SP1 setup (setup /mode:upgrade) and reinstalled the UM role. Everything is now working and fully upgraded. For additional notes regarding SP1 installation, read this post.