Fix Resource Mailbo…
 
Notifications
Clear all

Fix Resource Mailbox after CloudPanel upgrade

6 Posts
2 Users
0 Reactions
2,992 Views
0
Topic starter

Hello,
today I updated CloudPanel from v3.0.906 to v3.1.0040. From the admin/settings I ran the various fixup processes. The “contact fixup” and “distribution groups fixup” worked fine while I’m facing some problem with the “resource mailboxes” fixup.

Since this fixup didn’t work I receive a 404 page if I try to work with Resource Mailboxes.

This is the relevant log:

2015-05-21 22:10:01,493 ::: [23] DEBUG ::: CloudPanel.Modules.Admin.SettingsModule — Getting room mailboxes
2015-05-21 22:10:01,758 ::: [23] DEBUG ::: CloudPanel.Modules.Admin.SettingsModule — Getting equipment mailboxes
2015-05-21 22:10:01,852 ::: [23] DEBUG ::: CloudPanel.Modules.Admin.SettingsModule — Getting shared mailboxes
2015-05-21 22:10:02,024 ::: [23] DEBUG ::: CloudPanel.Modules.Admin.SettingsModule — Found resource CN=Shared Prova,OU=Exchange,OU=CON,OU=Hosting,DC=contoso,DC=local from Exchange. Searching sql…
2015-05-21 22:10:02,024 ::: [23] ERROR ::: CloudPanel.Modules.Admin.SettingsModule — Error getting resource mailboxes from Exchange: System.NullReferenceException: Object reference not set to an instance of an object.
at CloudPanel.Modules.Admin.SettingsModule.<>c__DisplayClassdf.<>c__DisplayClasse5.<.ctor>b__cd(ResourceMailboxes c)
at System.Linq.Enumerable.WhereListIterator`1.MoveNext()
at System.Linq.Enumerable.FirstOrDefault[TSource](IEnumerable`1 source)
at CloudPanel.Modules.Admin.SettingsModule.<>c__DisplayClassdf.<.ctor>b__cc(ResourceMailboxes x)
at System.Collections.Generic.List1.ForEach(Action1 action)
at CloudPanel.Modules.Admin.SettingsModule.<.ctor>b__c7(Object _)

Someone can help me to solve this issue?

Thanks in Advance,
Davide

6 Answers
0

The path for upgrade is 3.0.906 to 3.1 RC then to the latest 3.1. Did you follow that?

Also it’s a bug with resource mailboxes. Have to manually fill in the distinguished names in the SQL database and then you can use the button which will pull in the GUID

0
Topic starter

Hello Jacob,
I upgraded from v3.0.906 to v3.1.0030 RC and then to v3.1.0040. I watched a video made by you. I followed this upgrade path.
I read the you suggested to fill the DN manually, can you confirm I have to work on SQL table named dbo.ResourceMailboxes?

Thanks in Advance,
Davide

0

Yes that is he correct table. If any distinguishedname and GUID columns are null then that’s a problem

Fill in the distinguishedname and go to the settings page and run the fix for resource mailboxes

0
Topic starter

Hello Jacob,
I will try as soon as possibile to add DN to the resource mailboxes as you suggested. In the meantime I rooled back to 3.0.906. Probably I will try again during weekend. I will write you back.

I have another question, maybe you can help me: I have another 3.0.960 and the upgrade isn’t planned. I noticed that the mailbox size reported in cloudpanel is incorrect. I read that this problem is related to localization (we use comma instead of dot in reporting decimals).

I saw that you commited some patch on github to the branch CloudPanel-Legacy to the scheduler module adding CultureInfo.InvariantCulture to solve this localization problem.

The version of my scheduler is 1.2.5. I couldn’t find a compiled updated version of the scheduler for CloudPanel v3.0.906, the latest compiled version of the scheduler available seems to be v1.2.5. Do you have an updated version that solves the problem I’m facing?

Thanks again,
Davide

0
Topic starter

Hello Jacob,
I finally recompiled the CloudPanel.Services.Scheduler taking the updated sources from GitHub. Now the size of the mailbox is reported correctly!

I’ll write you again as soon as I try the upgrade of the other installation to v3.1

Thanks a lot for your job,
Davide

0

No problem!:-P

Share: