I’m getting “No preview is available” on my production setup for any document I’m trying to view. I started with the “example” documents; but also uploaded PDFs or otherwise say there’s no preview. Firefox’s console shows no errors, downloading the document works fine. This is a rather plain production environment, semi-scripted setup, one user. As it’s a new environment, I can imagine that I just forgot something (as I did before). ALEPH_UI_URL=http://localhost:8080/
and I’m seeing the Aleph site through an ssh connection with -L8080:localhost:8080, so that’s not the culprit.
Also, a newly setup dev environment on another host does show previews.
What could be wrong here? Both (dev and production) are Aleph 3.17.0. To setup, I only ran sysctl -w vm.max_map_count=262144; docker-compose up
, in another terminal docker-compose run --rm shell aleph upgrade
, then ran aleph crawldir /aleph/contrib/testdata
, made a user with aleph createuser
and that’s about it.