cancel
Showing results for 
Search instead for 
Did you mean: 

Can not delete a site.

eswbitto
Confirmed Champ
Confirmed Champ
Hello all,

I have been doing some testing and have created and deleted numerous sites via alfresco default admin account. I haven't had an issue at all. Except for this one site I'm not able to delete at all. The error I get is the following:


2013-08-20 14:28:13,194  WARN  [web.bean.LoginBean] [http-apr-8080-exec-28] Security violation. Unable to redirect to external location:
2013-08-20 14:28:46,389  ERROR [ui.common.Utils] [http-apr-8080-exec-21] Unable to delete Space due to system error: 07201721 Unable to find: rpAk885WSe2a5QsmpQ_G1Q


Any ideas what this could be?

4 REPLIES 4

eswbitto
Confirmed Champ
Confirmed Champ
So I have some updated information maybe that will help you guys to help me figure this out. I did some looking around in firebug to get the info it is requesting. Here is the output of this. Keep in mind I'm logged in as the alfresco admin account from the install.

Headers:

Response Headers
Cache-Control   no-cache
Connection   close
Content-Length   480
Content-Type   application/json;charset=UTF-8
Date   Thu, 22 Aug 2013 20:47:05 GMT
Expires   Thu, 01 Jan 1970 00:00:00 GMT
Pragma   no-cache
Server   Apache-Coyote/1.1
Request Headers
Accept   text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Encoding   gzip, deflate
Accept-Language   en-US,en;q=0.5
Content-Length   0
Content-Type   application/x-www-form-urlencoded; charset=UTF-8
Cookie   JSESSIONID=1CC76F88C317B979C68D88EF711570AF; alfLogin=1377204193; alfUsername3=admin
Host   fqdn
Referer   https://fqdn/share/page/document-details?nodeRef=workspace://SpacesStore/a567a1bd-6667-44ac-b22b-d7d...
User-Agent   Mozilla/5.0 (Windows NT 6.1; WOW64; rv:23.0) Gecko/20100101 Firefox/23.0
X-Requested-With   application/x-www-form-urlencoded


Response:

{
    "status" :
  {
    "code" : 500,
    "name" : "Internal Error",
    "description" : "An error inside the HTTP server which prevented it from fulfilling the request."
  }, 
 
  "message" : "JavaException: org.alfresco.service.cmr.quickshare.InvalidSharedIdException: 07220205 Unable to find: rpAk885WSe2a5QsmpQ_G1Q", 
  "exception" : "",
 
  "callstack" :
  [
       
  ],
 
  "server" : "Community v4.2.0 (4576) schema 6,022",
  "time" : "Aug 22, 2013 1:47:05 PM"
}



This is coming from

https://fqdn/share/res/js/yui-common_84ca7eecae18d3abf59034e15736d3a5.js

Line 3



It has to be referencing /tomcat/webapps/share/js/yui-common.js or the yui-common-min.js (I'm assuming)

I really could use some help on this one.

mrksjs
Champ on-the-rise
Champ on-the-rise
did you generate a quickshare link inside this site?

eswbitto
Confirmed Champ
Confirmed Champ
Within this site there was one pdf document that I couldn't delete at all. I moved the document from the site to a user home and then did a re-index (solr) I was then able to delete the site, but I wasn't able to delete this pdf file.

I have since found out that this error is not associated with the site at all, but rather the file itself. So the steps that I have taken is to rename the bin file that is the actual pdf file itself and the re-index…that didn't work. Tried to restore a previous version of the bin file from backup along with database and that was a no go. Since this is just a test version of Alfresco at this point I just wiped the installation and starting over.

Some colleagues and myself think that the culprit may be the Alfresco Add-on for editing pdf documents. Very weird and peculiar thing.

Josh

[edit] To answer your question….yes it did have a quick share link on it.

eswbitto
Confirmed Champ
Confirmed Champ
Another possible issue is that in the webapps/alfresco/WEB-INF/classes/alfresco/public-services-security-context.xml

I put

org.alfresco.service.cmr.site.SiteService.deleteSite=ACL_METHOD.ROLE_ADMINISTRATOR

I am not sure if that could be a cause either, but it wouldn't make sense for it to only happen to this one site instead of multiple sites that I created…tested….and deleted.