cancel
Showing results for 
Search instead for 
Did you mean: 

Migrating multi tenant configuration

schipmolder
Champ on-the-rise
Champ on-the-rise
Hi all,

I'm updating a community server from 5.0 (multi tenant) to 5.1 and manage to get everything to work fine except for the tenants, those don't come across.
I have read the docs, including http://docs.alfresco.com/5.0/tasks/upgrade-MT.html but this doesn't make any sense to me and i don't really understand what they mean.

Has anyone else upgraded 5.0 multi tenant deployments before and could give me some pointers?

7 REPLIES 7

schipmolder
Champ on-the-rise
Champ on-the-rise
I knew there were relatively few multi tenant users but surely someone has updated his server?
I'm still trying but to no avail so if anyone has an idea then please let me know.

slibert
Confirmed Champ
Confirmed Champ
Hello,

What is the problem you are facing ? Can you share some more info : error in the log ? Message onscreen ?
The doc link you're mentioning should not be important if you make the migration using official installer, only if you are migrating manually.

Regards

Well, i don't get any errors as such and alfresco is running fine after the upgrade, but it's just not aware of any of the old tenants, so essentially it's back as a single tenant setup. I assume i haven't migrated whatever file/database the tenant information is stored in, but can't find any info on where/what that may be.

How would you upgrade using the official installer if you don't follow the instructions of upgrading first and then re-importing the data?

Thanks!

Hi,

Tenants are in the same database as the main storage. So you cannot have forgotten "a part of". Only tenant files (alf_data) are in separated folders, and even without those folders, you should see tenant list in alfresco.

You can check your tenant list in table "alf_tenant"

Sorry for the stupid question, but are you sure you are not browsing the brand new instance with the default empty database ?
Do you find some old documents/folders in the main repository ?
Does the tenant admin console show something with the list command ?

Also in logs, you should have a line with :
[repo.tenant.MultiTAdminServiceImpl] [localhost-startStop-1] Alfresco Multi-Tenant startup - 11 enabled tenants, 0 disabled tenants
and one with :
[localhost-startStop-1] Alfresco started (Community Multi-Tenant). Current version: x.y.z (d rnnnnnn-b2) schema 8 022. Originally installed version: x.y.z


Regards

Thanks a lot for the advise and info, I'll give it another go over the weekend (I always have to plan this a bit as it's a production server) and will check your suggestions.

Thanks a lot for the advise and info, I'll give it another go over the weekend (I always have to plan this a bit as it's a production server) and will check your suggestions.

schipmolder
Champ on-the-rise
Champ on-the-rise
Ok, it's taken a while but i managed to do it.
You're right about the database containing the tenant info and for some reason it did pick that up now so that was good.
A couple of things though, but all the admin passwords of the different tenant had been reset to the default 'admin' so that was weird but after changing them back to what the should have been they did work ok and the user passwords seemed unaffected so not sure what happened there.
I also had to reindex the server which was fine but a bit time consuming but not too much of an issue.

Thanks a lot for your tips.