HELP! Separated the filestore now previews aren't showing up!

19 views
Skip to first unread message

Douglas Thompson

unread,
Apr 1, 2025, 1:30:27 PM4/1/25
to ResourceSpace
So, I used the following:

To address your first message there is the config option $originals_separate_storage - if you enable that in your ResourceSpace config.php file and then run the script pages/tools/filestore_separation.php it will split your filestore into two folders - "original" and "resized". Original uploaded resource files will be stored in the "original" folder while the preview files generated for that resource will be stored in the "resized" folder.

To separate the filestore. That took almost an hour to run, but it ultimately appears to have finished/worked...there are now "original" and "resized" folders in our filestore and they contain files and whatnot as expected.

However, there's a wrinkle.

Namely, whenever I do a search (or, really, use any method to look at any resources I've uploaded to the system), I'm seeing this:

Screenshot 2025-04-01 at 13-29-11 Ohio Wesleyan University ResourceSpace Photo Archive.png

Basically, it's only showing me the "original" and no amount of rebuilding previews or looking at file permissions on the server or anything are making that behave any differently.

Any ideas?

Douglas Thompson

unread,
Apr 1, 2025, 1:43:41 PM4/1/25
to ResourceSpace
Heh and nevermind...the filestore_separation.php script looked to me like it was finished but it actually wasn't...it was just "taking a breather" (or something). Some of the added-to-the-system-earlier photos have thumbnails and preview sizes and whatnot showing up properly now, so my guess is that those are just things that have already been processed by the script. I bet by when I come into work tomorrow morning, it'll all be working properly again :P

Crisis averted (for now) :)

Reply all
Reply to author
Forward
0 new messages