unoconv doesn't support .jpeg ... but does support .jpg
.jpeg files are not .jpg's.
So ... you could try the following ...
Use the following mysql query to find where these .jpeg files are located in
the sea of files in moodledata/filedir/
mysql> select contenthash,filename from mdl_files where filename like '%.jpeg';
The contenthash value can be used to find the file in moodledata/filedir/
from command line.
cd /path/to/moodledata/filedir/
find ./ -name [contenthash]
That will take some time to run but one will see something like:
/xx/yy/contenthash
To make sure it's the right mime type:
file -b /xx/yy/contenthash
Ok, now the tricky parts ....
*copy* the /xx/yy/contenthash out of moodledata/filedir/ and put that copy
out to a web accessible directory (in this example, /var/www/html/img2convert/
cp /xx/yy/contenthash /var/www/html/img2convert/[filename].jpeg
Download and use local app to convert to .jpg
Or if you have imagemagick installed could try:
convert filename.jpeg filename.jpg
Upload the converted [filename].jpg to /var/www/html/imgconverted/
Or if imagemagick worked, cp the converted .jpg using below
From /var/www/html/imgconverted/ directory copy and replace the old contenthash name file:
cp [filename].jpg /path/to/moodledata/filedir//xx/yy/contenthash
From /var/www/html/imgconverted/ directory copy and replace the old contenthash name file:
cp [filename].jpg /path/to/moodledata/filedir//xx/yy/contenthash
In the DB mdl_files change filename from .jpeg to .jpg
now go to whatever to see if assignment can convert the file to pdf.
Fingers crossed!
'SoS', Ken