Migrating multi tenant configuration

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-22-2016 05:55 PM
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?
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?
Labels:
- Labels:
-
Archive
7 REPLIES 7

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-23-2016 04:30 PM
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.
I'm still trying but to no avail so if anyone has an idea then please let me know.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-08-2016 06:39 AM
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
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-09-2016 04:47 PM
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!
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!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2016 01:39 AM
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
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

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2016 03:43 AM
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-10-2016 03:44 AM
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.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎06-16-2016 05:58 PM
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.
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.
