"Upload failed, server returned an unknown error"
Sam1370 opened this issue · comments
sam1370 commented
I have created a fresh Lychee installation, latest version on an Ubuntu 18.04 LTS server with Apache 2, MySQL, and PHP 7.2.24. After setting everything up, I found I could not upload files, getting the error in the title.
Here are my diagnostics.
Diagnostics
-----------
Warning: Dropbox import not working. No property for dropboxKey.
Warning: Pictures that are rotated lose their metadata! Please install Imagick to avoid that.
Error: PHP mbstring extension not activated
Error: PHP gd extension not activated
Error: PHP zip extension not activated
Warning: 'dist/user.css' does not exist or has insufficient read/write privileges.
System Information
------------------
Lychee Version (json): 3.2.16
Lychee Version (git): 46b973e (master)
DB Version: update_030216
System: Linux
PHP Version: 7.2
MySQL Version: 50728
Imagick: -
Imagick Active: 0
Imagick Version: -
GD Version: -
Plugins:
Config Information
------------------
checkForUpdates: 1
default_license: none
deleteImported: 1
full_photo: 1
hide_version_number: 1
image_overlay: 0
image_overlay_type: exif
imagick: 0
lang: en
layout: 0
medium_max_height: 1080
medium_max_width: 1920
php_script_limit: 0
public_search: 0
skipDuplicates: 0
small_max_height: 360
small_max_width: 0
sortingAlbums: ORDER BY id DESC
sortingPhotos: ORDER BY id DESC
useExiftool: 0
version: update_030216
I have tried this on both my iPhone 8 (Safari) and my Windows 10 PC (Brave), and the problem persisted.
Thank you in advance for any help you might offer.
Benoît Viguier commented
Error: PHP mbstring extension not activated
Error: PHP gd extension not activated
If you have neither gd
nor imagick
we can't do anything for you.