Hi Branden, It seems that the preview processor only works on the newly uploaded files after changing the password. The previous uploaded files are not been reprocessed - is there a way to make the preview processor to reprocess all existing contents?
Thanks, Harry On Nov 6, 2013, at 11:15 AM, Harry Wang <[email protected]> wrote: > Thanks, Branden. > > After changing the config.js file, the preview processor is back to work now > :). > > Harry > On Nov 6, 2013, at 10:24 AM, Branden Visser <[email protected]> wrote: > >> Hi Harry, the config point located here >> https://github.com/oaeproject/Hilary/blob/master/config.js#L263 should >> be changed to reflect the admin password. >> >> This is something we've agreed to change in a later version by making >> the preview processor not work through the web endpoints. >> >> Thanks, >> Branden >> >> On Wed, Nov 6, 2013 at 10:16 AM, Harry Wang <[email protected]> wrote: >>> Hi all, >>> >>> On a local demo server, the file preview stopped working (showing >>> "Processing this file. Grab some tea and sit back.") after I changed the >>> Admin UI default password (or may be caused by other configuration changes). >>> >>> The server.log shows the following errors: >>> >>> {"name":"oae-authentication","hostname":"ip","pid":7480,"level":30,"msg":"Invalid >>> password check for user >>> administrator","time":"2013-11-06T15:11:44.954Z","v":0} >>> {"name":"oae-preview-processor","hostname":"ip","pid":7480,"level":50,"err":{"code":401,"msg":"Unauthorized"},"msg":"Got >>> an unexpected error from the REST >>> api.","time":"2013-11-06T15:11:44.956Z","v":0} >>> {"name":"oae-preview-processor","hostname":"ip","pid":7480,"level":50,"err":{"code":401,"msg":"Unauthorized"},"contentId":"c:demo:xJ0L_vFuV","msg":"We >>> could not get a signed token for the tenant. The status of the content item >>> will not be set.","time":"2013-11-06T15:11:44.956Z","v":0} >>> >>> Does anyone know how to solve this? >>> >>> Thanks, >>> >>> Harry >>> >>> _______________________________________________ >>> oae-dev mailing list >>> [email protected] >>> http://collab.sakaiproject.org/mailman/listinfo/oae-dev >>> > _______________________________________________ oae-dev mailing list [email protected] http://collab.sakaiproject.org/mailman/listinfo/oae-dev
