After successfully uploading the first pictures yesterday and creating categories, albums and people, I wanted to continue my work today. But I can’t import images anymore. Otherwise, Zoph works as expected
Problem Description
The Import page don’t show the uploaded pictures
Steps to Reproduce
Login to Zoph
Go to Import page
Choose a file and then click to import
the file is uploaded to /var/lib/zoph/upload/ but don’t appears on the Import page
Expected Results
yesterday i could see all uploaded files
Actual results
In the apache2 error.log are a lot of messages like:
[Sun Oct 31 14:04:45.724711 2021] [php7:error] [pid 4729] [client 10.42.0.139:43690] PHP Fatal error: Uncaught Exception: Failed in /usr/share/zoph/www/php/classes/xmp/reader.inc.php:139\nStack
from ~/zoph/import.php
I don’t see any connection to the last Freedombox update. I restored the last backup of Zoph but the error persists
Any help is welcome
Information
Debian GNU/Linux 11: (bullseye) and FreedomBox Version 21.12.
Hardware: AMD 64
Installed Freedombox on a fresh Debian 11
This is probably a specific JPG file which zoph can not import, but will be stuck in /var/lib/zoph/upload and zoph will not be able to move it to the correct destination. Probably zoph issue 163
As a workaround, please try removing the problem file from the upload directory and you should be able to import and upload other files. The issue is fixed in Debian package zoph-0.9.17-2. which I don’t think is in Freedombox yet.
Thank you very much johnlines, that was the solution. It was a photo that I had converted from png to jpg with an image viewer. Something must have gone wrong. From now on, I will select the images with more care before uploading them. I like Zoph very much and I want to build up a collection of pictures for the whole family…
self … 2.
with root acces it was possible copied some pictures to the upload map.
But every picture has a red cross and nothing happens.
I can not select them for import.
You can change the upload_max_filesize parameter by editing the following in your FBX
‘sudo nano /etc/php/7.4/apache2/php.ini’
You may search in nano with Ctrl+W to find the string and revise to file size limit to something more reasonable.
Use Ctrl+X to exit nano, confirming to overwrite the file.
don’t forget to restart your apache server with
‘sudo /etc/init.d/apache2 restart’