cancel
Showing results for 
Search instead for 
Did you mean: 

Avatars/thumbnails broken in share

dwinfield
Champ in-the-making
Champ in-the-making
Edit after mroger's post: changed title.

Disclaimer: I'm using HEAD version (although my last updates were 2-3 weeks ago)

I'm having the same problem as this https://issues.alfresco.com/jira/browse/ETHREEOH-2282 , however, the problem is expanded to Profile Pictures in share.  Whenever as user tries to set a profile picture, it's never works and users either see the words "Avatar" OR they get the broken image icon that the browser supplies.

It's been fixed in enterprise version, any update/timeline as when it'll get pushed to head?

Dave

And once this is fixed, is there a way to tell thumbnail service to go back and generate thumbnails for all the documents?  The users that tried to upload a pic for their profile, will they have to do it again?
17 REPLIES 17

mrogers
Star Contributor
Star Contributor
Should be on HEAD now.

dwinfield
Champ in-the-making
Champ in-the-making
mrogers, ty.  I updated subversion last night and decided to test it out.

I received 0 errors about openoffice or swftools or imagemagik on startup.  I log in as admin, edit my profile and change the picture.  However I still see the "broken image" in share.  When I log into the webclient, it is shown correctly.
[img]http://imgur.com/g5e7L.jpg[/img]
[img]http://imgur.com/OdzN4.jpg[/img]


Also, no thumbnails are created for new documents (or old documents).  Nothing is printed out in the logs (though I don't have debugging turned on, I just went with the default head version) except that an activity posted.  Upload a new document and broken thumbnails shown below.
[img]http://imgur.com/uk9Zi.jpg[/img]
[img]http://imgur.com/Ygg9G.jpg[/img]

dwinfield
Champ in-the-making
Champ in-the-making
And then, after logging out as Admin and logging in as a manager of a site, as soon as I hit the dashboard (because I have the list of members dashlet)  I get errors about the permission is denied.

Caused by: org.alfresco.scripts.ScriptException: 10040011 Failed to execute script '/org/alfresco/repository/thumbnail/thumbnail.get.js (in classpath store file:C:/alfrescoOfficial/alfrescoTomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts)': 10040010 Access Denied.  You do not have the appropriate permissions to perform this operation.

Caused by: org.alfresco.repo.security.permissions.AccessDeniedException: 10040010 Access Denied.  You do not have the appropriate permissions to perform this operation.

elocin
Champ in-the-making
Champ in-the-making
Hi,

This issue also extends to the document preview - you can no longer preview documents. It does not relate to the issue mentioned in the first post as I am the owner of the document. I am not a consumer and am not able to preview my own document.

Is there any feedback WRT how this issue can be resolved. Please and thank you very much.

mikeh
Star Contributor
Star Contributor
Have you got OpenOffice, ImageMagick (not required for document preview) and pdf2swf installed?

Check the startup sequence in the alfresco.log file for any errors about transformations not working.

Mike

elocin
Champ in-the-making
Champ in-the-making
Thanks for the prompt response. All software mentioned is installed - we installed at end of august and all was fine. this is a recent development.

I will investigate though, perhaps they have been stopped for some reason…

dwinfield
Champ in-the-making
Champ in-the-making
I've the same issue. How you solve it?

Have not solved it yet.


Have you got OpenOffice, ImageMagick (not required for document preview) and pdf2swf installed?

Check the startup sequence in the alfresco.log file for any errors about transformations not working.

I do not have any problems on startup.  Versions installed are
ImageMagik - ImageMagick-6.5.6-Q16
OO -  3.1
SWFTools - .90

In fact the only error I do end up getting is about FTP

 FTP Socket error : java.net.BindException: Address already in use: JVM_Bind
But that's not a big deal to me right now and probably incredibly easy to fix.

As soon as I logged in, I was given an access denied on an avater.

pawel_pohl
Champ in-the-making
Champ in-the-making
I'm evaluating Alfresco 3.2, and I ran into the very same problem - images are not working.

pawel_pohl
Champ in-the-making
Champ in-the-making
Maybe this helps - found this in log:

10:38:41,579 ERROR [org.alfresco.web.scripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 11080030 Wrapped Exception (with status template): 11080029 Failed to execute script '/org/alfresco/repository/thumbnail/thumbnail.get.js (in classpath store file:C:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts)': 11080028 Access Denied.  You do not have the appropriate permissions to perform this operation.
org.alfresco.web.scripts.WebScriptException: 11080030 Wrapped Exception (with status template): 11080029 Failed to execute script '/org/alfresco/repository/thumbnail/thumbnail.get.js (in classpath store file:C:/Alfresco/tomcat/webapps/alfresco/WEB-INF/classes/alfresco/templates/webscripts)': 11080028 Access Denied.  You do not have the appropriate permissions to perform this operation.
   at org.alfresco.web.scripts.AbstractWebScript.createStatusException(AbstractWebScript.java:613)
   at org.alfresco.repo.web.scripts.content.StreamContent.execute(StreamContent.java:211)
        (…)

I am logging into Share as admin.