Previews not generating in RS 9.6

99 views
Skip to first unread message

Mark Leo-Russell

unread,
Jul 14, 2021, 5:25:25 PM7/14/21
to ResourceSpace
Greetings All--

We recently upgraded from Resource Space 8.6 to 9.5 and then to 9.6. In version 8 new images loaded to the system got previews auto generated no problem. However, since going to 9.x previews are not auto generated, even after waiting considerable time.

In our \include\config.php file we have the following lines:

$alternative_file_previews=true;
$alternative_file_previews_batch=true;

$enable_thumbnail_creation_on_upload = true;


Running the \batch\create_previews.php script does properly generate the missing previews. As a hack I have this file scheduled to run every 15 minutes through Task Scheduler which generates the previews but isn't really fixing the problem.

I have spent many days reviewing Resource Space's Knowledge Base and the postings in this group and haven't got this fixed yet. Anyone got a solution to this problem?

TIA,
ML-R



Jeff Nova

unread,
Jul 14, 2021, 5:56:35 PM7/14/21
to resour...@googlegroups.com
Are the paths to your previewing utilities valid on the new config?  - J

On Jul 14, 2021, at 2:25 PM, Mark Leo-Russell <mark...@nmt.edu> wrote:


--
ResourceSpace: Open Source Digital Asset Management
http://www.resourcespace.com
---
You received this message because you are subscribed to the Google Groups "ResourceSpace" group.
To unsubscribe from this group and stop receiving emails from it, send an email to resourcespac...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/resourcespace/9c24260a-df74-4780-a4e0-24154cfb0f3dn%40googlegroups.com.

Mark Leo-Russell

unread,
Jul 15, 2021, 11:48:40 AM7/15/21
to ResourceSpace
If, by previewing utilities, you mean ImageMagik, Exiftool and the others, yes they appear valid. The Installation Check page in RS shows OK for all those utilities. The create_previews.php script correctly creates previews and I assume that script uses the same utilities.

M

malaik...@gmail.com

unread,
Jul 16, 2021, 6:40:58 AM7/16/21
to ResourceSpace
Please take a look below thread, you will get some ideas and on more thing check your permission to "filestore" folder has proper permissions.

https://groups.google.com/g/resourcespace/c/TkRDj5QzkFo/m/xHa25UtPEwAJ

Dan Huby

unread,
Jul 16, 2021, 8:27:08 AM7/16/21
to ResourceSpace
/filestore folder permissions would be my guess as it would explain why running the preview generation on the command line - and therefore as a different user - works.

Mark Leo-Russell

unread,
Jul 16, 2021, 12:19:06 PM7/16/21
to ResourceSpace
Thank You Dan!!! That was it. While your reference was for Linux and we're on Windows, it keyed me to something in the Resource Space folder security settings. Sure enough, when I dug deeper I found that I forget to check the option "Replace all child permission entries with inheritable permission entries from this object." That change fixed the broken auto generation of preview images on both RS 9.5 and 9.6. The simple stuff always bites you!!

Thanks again and have a good weekend.

ML-R
Reply all
Reply to author
Forward
0 new messages