Cannot delete site as sitemanager (Alfresco 4.0.b)

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2013 10:04 PM
Running CentOS 5.9 and Alfresco 4.0.b.
I've been all over Google and still cannot figure this one out.
I am relatively new to Alfresco, trying to delete a site. From my research, this can only be done through the Share interface. This also requires a person with sitemanager privs to be able to see the magic delete button when doing a scan for sites.
I've set myself as site manager based on java script I found at http://forums.alfresco.com/forum/end-user-discussions/alfresco-share/site-has-no-managers-ugh-091720... (post #13).
I confirmed I show up as site manager back in the share interface, repository, select the site, manage permissions. From there, I see admin as site manager.
The thing I'm confused about is this site doesn't ever show up in My Sites even thought I am sitemanager. Should it?
One other thing, the account that originally created the site has been deleted. If I try to recreate a user with the same name and login as it, I still don't see the Delete button.
I've been all over Google and still cannot figure this one out.
I am relatively new to Alfresco, trying to delete a site. From my research, this can only be done through the Share interface. This also requires a person with sitemanager privs to be able to see the magic delete button when doing a scan for sites.
I've set myself as site manager based on java script I found at http://forums.alfresco.com/forum/end-user-discussions/alfresco-share/site-has-no-managers-ugh-091720... (post #13).
I confirmed I show up as site manager back in the share interface, repository, select the site, manage permissions. From there, I see admin as site manager.
The thing I'm confused about is this site doesn't ever show up in My Sites even thought I am sitemanager. Should it?
One other thing, the account that originally created the site has been deleted. If I try to recreate a user with the same name and login as it, I still don't see the Delete button.
Labels:
- Labels:
-
Archive
4 REPLIES 4
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2013 04:02 AM
Try this through CURL :
<strong>where ttt is site shortName</strong>
curl -H "Accept: application/json" -H "Content-type: application/json" -X DELETE –user admin:admin123 http://192.168.227.1:8080/alfresco/service/api/sites/ttt
<strong>where ttt is site shortName</strong>
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-10-2014 10:18 AM
works fine on Alfresco 4.2.0. Thanks a lot for this solution !

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-22-2015 09:04 AM
I have a similar problem. I have two accounts that are site admins, but neither can delete the sample site. It said "deleting site" but then "site can not deleted" with nothing in the log files. I tried the above curl command and get:
"Request could not be completed due to a conflict with the current state of the resource.
Can anyone suggest something else to try? Explorer won't let me either, it says the folder must be deleted via Share.
I have 4.2.f.
"Request could not be completed due to a conflict with the current state of the resource.
Can anyone suggest something else to try? Explorer won't let me either, it says the folder must be deleted via Share.
I have 4.2.f.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2015 08:07 AM
Hi,
When you say sample site - is it the SWSDP site which ships along with Alfresco?
<blockquote>"Request could not be completed due to a conflict with the current state of the resource." </blockquote>
This means that any previous request for delete is being processed by system in background but not visible on UI.
Did you try restart alfresco service and a delete thereafter?
When you say sample site - is it the SWSDP site which ships along with Alfresco?
<blockquote>"Request could not be completed due to a conflict with the current state of the resource." </blockquote>
This means that any previous request for delete is being processed by system in background but not visible on UI.
Did you try restart alfresco service and a delete thereafter?
