cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with imported Site

kriton
Champ in-the-making
Champ in-the-making
I tried to import a site (the whole site folder starting from its root fodler) in acp format via Explorer.
I imported it to a different alfresco installation. The import was succesfull but I canot view it on the share list of sites. If I enter it directly via its url, it works fine. If I search for it it will also be displayed, so solr is tracking it normally at least.
But since it does not display on the my sites list or dashlet, it is more or less useless to me. I need to either fix it or delete it so that I can import its content properly.

I tried deleting it but it seems to have an "undeletable" aspect. I tried removing the aspect but I am not allowed to do that either.

In order to fix it, I tried a few things: When the site was created it seems that the default site user groups were not created. I created them with the appropriate names and added admin as a manager. Now at least I can customize it, invite others to join it, or access it via the favorites. But still cannot appear on my sites page or dashlet.

Any ideas to either fix or delete the site ?
7 REPLIES 7

muralidharand
Star Contributor
Star Contributor
Hi,
To delete the site which has sys:undeletable aspect, use the below javascript code.
var site = siteService.getSite('Your site short name');
site.deleteSite();

If you use the siteservice, then you can delete the site which has aspect of "undeletable".

Hope this helps someone.

Thanks
Murali.

bbqigniter
Champ in-the-making
Champ in-the-making
same problem here with the site list on "my dashboard" but no problem with deleting the site.

i did export a site from an alfresco 4.0.d to 4.2.b and had to create the site-groups manually

muralidharand
Star Contributor
Star Contributor
During the import, have you got any exceptions?
Does the group names are listed in the acp.xml file?

If possible, can you share the acp file with me?

bbqigniter
Champ in-the-making
Champ in-the-making
Yes, group names are in the .xml file. During import there are no errors.

Sorry, I'm not able to share the ACP file. But as far as I can see with my tests it's also not working correctly with other acp-files Smiley Sad


I also tried to work around the problem. I created a completely new site with the same structure, imported the old site and moved the folders and files through the Samba-share option. With the Blog-posts it works well. But the Wiki pages are ruined. You are able to see all pages, but the links in the wiki-pages itself are brocken and so I get tomcat errors if I click on a page.

My next try will be exporting the folders one by one and importing them again.


Prolly you ask yourself why am I doing such a cumbersome import. First I'm not an Alfresco-Pro Smiley Happy and we now have a "LEGO"-Alfresco on Debian (we used MySQL, Tomcat and so on from repository and installed Alfresco with the war-files) and for the new installation I used the downloadable binary file where everything is included. So updates should be easier next time :?

bbqigniter
Champ in-the-making
Champ in-the-making
My next try will be exporting the folders one by one and importing them again.

Never mind this - links are broken.


I guess we will have to use the old version unless whole site-export/import works or I find another solution. This is rather frustrating.

bbqigniter
Champ in-the-making
Champ in-the-making
I now tried with 4.2.c to import our old-site.

* It seems to work now, that the site is properly listed in the sites list.
* However links in the wiki/blogs to images or files are again broken, because the node-ids don't match.
* The groups for the site must be created manually (I wonder: What's the difference between normal groups and "systemgroups" - the example sitegroup can only be seen if you check the specific box)

bbqigniter
Champ in-the-making
Champ in-the-making
Combing through the wiki I stumbled upon http://wiki.alfresco.com/wiki/ACP - where/how can I set those "Import UUID Bindings"? Ithink I simply would need CREATE_NEW_WITH_UUID and the broken links issue would be solved.