Change disk location contentstore tennant
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2011 05:59 AM
Hi.
I have no disk space for my tennant. I tried to change the location in Alf_Atributes to a new disk (\\newServer\resource), but when login in the tennant and try open the root space, give me this error:
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/5b5e1676-33e9-43ac-a007-e35a664365e8
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/5b5e1676-33e9-43ac-a007-e35a664365e8
at org.alfresco.repo.node.db.DbNodeServiceImpl.getNodePairNotNull(DbNodeServiceImpl.java:151)
at org.alfresco.repo.node.db.DbNodeServiceImpl.hasAspect(DbNodeServiceImpl.java:842)
at sun.reflect.GeneratedMethodAccessor298.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Is it necessary to modify some additional configuration? My system is Entreprise v3.2.0 (304)
Thanks in advance.
I have no disk space for my tennant. I tried to change the location in Alf_Atributes to a new disk (\\newServer\resource), but when login in the tennant and try open the root space, give me this error:
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/5b5e1676-33e9-43ac-a007-e35a664365e8
org.alfresco.service.cmr.repository.InvalidNodeRefException: Node does not exist: workspace://SpacesStore/5b5e1676-33e9-43ac-a007-e35a664365e8
at org.alfresco.repo.node.db.DbNodeServiceImpl.getNodePairNotNull(DbNodeServiceImpl.java:151)
at org.alfresco.repo.node.db.DbNodeServiceImpl.hasAspect(DbNodeServiceImpl.java:842)
at sun.reflect.GeneratedMethodAccessor298.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
Is it necessary to modify some additional configuration? My system is Entreprise v3.2.0 (304)
Thanks in advance.
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-14-2011 09:28 AM
Your first port of call should be Alfresco support.
However if you are trying to move your entire content store to another larger filesystem then you shouldn't be touching Alf_Attributes.
However if you are trying to move your entire content store to another larger filesystem then you shouldn't be touching Alf_Attributes.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-15-2014 02:57 PM
Hi,
In my case, I needed some free space in the server also so I tried do move a tenant repository to another place.
My tenants were saved at:
D:\Alfresco\alf_data\contentstore-tenant\tentant1_com_br
D:\Alfresco\alf_data\contentstore-tenant\tentant2_com_br
D:\Alfresco\alf_data\contentstore-tenant\tentant3_com_br
I moved tenant2_com_br to another place "C:\desktop\tenants\" and changed mysql table (alf_attributes) field (string_value) to C:\desktop\tenants\tentant2_com_br, restarted the server and worked !
Is this solution ok? Are there any problems doing this?
I am worried because you said not touching alf_attributes.
Please help?
In my case, I needed some free space in the server also so I tried do move a tenant repository to another place.
My tenants were saved at:
D:\Alfresco\alf_data\contentstore-tenant\tentant1_com_br
D:\Alfresco\alf_data\contentstore-tenant\tentant2_com_br
D:\Alfresco\alf_data\contentstore-tenant\tentant3_com_br
I moved tenant2_com_br to another place "C:\desktop\tenants\" and changed mysql table (alf_attributes) field (string_value) to C:\desktop\tenants\tentant2_com_br, restarted the server and worked !
Is this solution ok? Are there any problems doing this?
I am worried because you said not touching alf_attributes.
Please help?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2014 11:08 AM
I discovered that upgrading Alfresco breaks tenants that where created using the repository default root contentstore. The previous version was installed at /opt/alfresco-4.2.b/ and the tenants contentstore directory was still pointing to /opt/alfresco-4.2.b/alf_data/contentstore. I had to modify that in the database:
Unfortunately the wiki page for the General Upgrade Process does not take enabled multi tenancy into account (yet).
UPDATE alfresco.alf_tenant SET content_root = '/opt/alfresco-4.2.f/alf_data/contentstore' WHERE alf_tenant.tenant_domain = 'acme';
Unfortunately the wiki page for the General Upgrade Process does not take enabled multi tenancy into account (yet).
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-15-2014 10:23 AM
Hi urx,
I saw your reply about upgrade alfresco can breaking multi tenancy and I would like to see if you can help me.
I am using Alfresco 3.2r multi tenancy. I need to upgrade this but I don't know how to do ir surely, I am kind worry because my costumers are using it. So, as I am runing out of space on my server, for now I needed some free space so I tried to move the tenant repository (for some tenants) to another place.
I did a test. My tenants were saved at:
C:\Alfresco\alf_data\contentstore-tenant\tentant1_com_br
D:\Alfresco\alf_data\contentstore-tenant\tentant2_com_br
D:\Alfresco\alf_data\contentstore-tenant\tentant3_com_br
I tried to move tenant2_com_br to another place "E:\Alfresco\alf_data\" so I changed mysql table (alf_attributes) field (string_value) to E:\Alfresco\alf_data\tentant2_com_br
It creates a tentant2_com_br folder in the new location but all the content folders remained in the old place… It didn't change the location actually.
Could you help me please?
I saw your reply about upgrade alfresco can breaking multi tenancy and I would like to see if you can help me.
I am using Alfresco 3.2r multi tenancy. I need to upgrade this but I don't know how to do ir surely, I am kind worry because my costumers are using it. So, as I am runing out of space on my server, for now I needed some free space so I tried to move the tenant repository (for some tenants) to another place.
I did a test. My tenants were saved at:
C:\Alfresco\alf_data\contentstore-tenant\tentant1_com_br
D:\Alfresco\alf_data\contentstore-tenant\tentant2_com_br
D:\Alfresco\alf_data\contentstore-tenant\tentant3_com_br
I tried to move tenant2_com_br to another place "E:\Alfresco\alf_data\" so I changed mysql table (alf_attributes) field (string_value) to E:\Alfresco\alf_data\tentant2_com_br
It creates a tentant2_com_br folder in the new location but all the content folders remained in the old place… It didn't change the location actually.
Could you help me please?
