OmekaS (php cms) can't copy to a folder, but empty files are created

ph flag

I am trying to fix a thumbnailer problem on my omekaS (a php cms, that uses laminas framework),

I realized that new thumbnails weren’t being generated on my system, and that even forcing them to be regenerated wouldn’t work.

In my error logs, i would get

 Thumbnails creation failed for media 2086: Failed to copy /var/www/Limunata_litteraria/files/original/93128024e4e53cfa9b7d4d0d12c69290410ba4c4 to /tmp/omekampN31r

I checked the permissions, and they seem correct

#ls -laZ /
drwxrwxrwx  53 root root ?  4096 May 17 09:15 tmp

As a matter of fact, the user www-data even has temp files written inside this folder, so i see nothing wrong.

I try to create a new temp folder, (/var/www/temp/), give it 777 and use it instead, but i got the same error

Thumbnails creation failed for media 2082: Failed to copy /var/www/Limunata_litteraria/files/original/2039336f682806bd64c3485c14e10a07fa07ec6c to /var/www/temp/omeka1EMTrp

And what’s even stranger, is that the /var/www/temp/ folder is filled with the temporary files, except that their permission is 500, and that they all weight only 1.

What could this be ?



Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.