[Lychee] blank photos?

,

:uk:

My YunoHost server

Hardware: Raspberry Pi at home
YunoHost version: 11.1.19
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
If your request is related to an app, specify its name and version: lychee v4.8.0~ynh1

Description of my issue

Hi!

I installed Lychee to try out and it’s promising but I have a major issue in that Lychee does not display any photo…

Expected behavior
Uploaded photos are shown

Actual behavior
Uploaded photos show as blank frames (with the right ratio, see appendix). On mobile, the format of the photo is written in the top left corner (thumbnail, small, medium, big, …). Opening original photo redirects to a 403 error page (although this may be due to a lychee config I haven’t set), but download works well.

Steps to reproduce
Install lychee and upload a photo.

Any idea? Thanks for all your help (and for the amazing work you do, I love my Yuno!)


:fr:

Mon serveur YunoHost

Matériel: Raspberry Pi à la maison
Version de YunoHost: 11.1.19
J’ai accès à mon serveur : En SSH | Par la webadmin
Êtes-vous dans un contexte particulier ou avez-vous effectué des modificiations particulières sur votre instance ? : non
Si votre requête est liée à une applicatio, précisez son nom et sa version: lychee v4.8.0~ynh1

Description du problème

Salut !

J’ai installé Lychee pour essayer et ça a l’air top mais il y a un problème majeur qui est que Lychee n’affiche aucune photo…

Comportement attendu
Les photos uploadées sont affichées

Comportement obtenu
Les photos uploadées sont des cadres vides (de la bonne proportion, voir l’annexe). Sur mobile, le format de la photo is est indiqué dans le coin supérieur gauche (thumbnail, small, medium, big, …). Ouvrir la photo originale redirige sur une page d’erreur 403 (mais c’est peut être une config Lychee que je n’ai pas faite), mais le téléchargement fonctionne bien.

Étapes pour reproduire
Installer Lychee et uploader une photo.

Une idée ? Merci pour votre aide (et pour le super boulot, Yuno c’est le feu!)


Appendix

Screenshot

Diagnosis




    Diagnostics
    -------
    Warning: Dropbox import not working. dropbox_key is empty.
    Warning: You may experience problems when uploading a photo of large size or handling many/large albums. Take a look in the FAQ for details.
    Warning: Using 32 bit PHP, recommended upgrade to 64 bit




    System Information
    --------------
    Lychee Version (release):                4.8.0
    DB Version:                              4.8.0
    
    composer install:                        --no-dev
    APP_ENV:                                 production
    APP_DEBUG:                               false
    
    System:                                  Linux
    PHP Version:                             8.2.5
    PHP User agent:                          Lychee/4 (https://lycheeorg.github.io/)
    Timezone:                                Europe/London
    Max uploaded file size:                  512M
    Max post size:                           512M
    Max execution time:                      30
    MySQL Version:                           10.5.19-MariaDB-0+deb11u2
    
    exec() Available:                        yes
    Imagick Available:                       1
    Imagick Enabled:                         1
    Imagick Version:                         1691
    GD Version:                              2.3.3
    Number of foreign key:                   11 found.

    Lychee total space:                      35.21 MB
    Upload folder space:                     737.59 MB
    System total space:                      14.36 GB
    System free space:                       5.43 GB (37%)




    Config Information
    --------------
    version:                                 040800
    check_for_updates:                       0
    sorting_photos_col:                      taken_at
    sorting_photos_order:                    ASC
    sorting_albums_col:                      max_taken_at
    sorting_albums_order:                    ASC
    imagick:                                 1
    skip_duplicates:                         0
    small_max_width:                         0
    small_max_height:                        360
    medium_max_width:                        1920
    medium_max_height:                       1080
    lang:                                    en
    layout:                                  1
    image_overlay_type:                      desc
    default_license:                         none
    compression_quality:                     90
    grants_full_photo_access:                1
    delete_imported:                         0
    mod_frame_enabled:                       1
    mod_frame_refresh:                       30
    thumb_2x:                                1
    small_2x:                                1
    medium_2x:                               1
    landing_page_enable:                     0
    site_owner:                              John Smith
    landing_title:                           John Smith
    landing_subtitle:                        Cats, Dogs & Humans Photography
    sm_facebook_url:                         https://www.facebook.com/JohnSmith
    sm_flickr_url:                           https://www.flickr.com/JohnSmith
    sm_twitter_url:                          https://www.twitter.com/JohnSmith
    sm_instagram_url:                        https://instagram.com/JohnSmith
    sm_youtube_url:                          https://www.youtube.com/JohnSmith
    landing_background:                      dist/cat.webp
    site_title:                              Lychee v4
    footer_show_copyright:                   1
    site_copyright_begin:                    2019
    site_copyright_end:                      2019
    footer_additional_text:                  
    footer_show_social_media:                0
    public_search:                           0
    SL_enable:                               0
    SL_for_admin:                            0
    recent_age:                              1
    grants_download:                         0
    photos_wraparound:                       1
    map_display:                             0
    zip64:                                   1
    map_display_public:                      0
    map_provider:                            Wikimedia
    force_32bit_ids:                         0
    map_include_subalbums:                   0
    update_check_every_days:                 3
    has_exiftool:                            0
    share_button_visible:                    0
    import_via_symlink:                      0
    has_ffmpeg:                              1
    location_decoding:                       0
    location_decoding_timeout:               30
    location_show:                           1
    location_show_public:                    0
    rss_enable:                              0
    rss_recent_days:                         7
    rss_max_items:                           100
    prefer_available_xmp_metadata:           0
    editor_enabled:                          1
    lossless_optimization:                   0
    swipe_tolerance_x:                       150
    swipe_tolerance_y:                       250
    local_takestamp_video_formats:           .avi|.mov
    log_max_num_line:                        1000
    unlock_password_photos_with_url_param:   0
    nsfw_visible:                            1
    nsfw_blur:                               0
    nsfw_warning:                            0
    nsfw_warning_admin:                      0
    nsfw_banner_override:                    
    map_display_direction:                   1
    album_subtitle_type:                     oldstyle
    upload_processing_limit:                 4
    public_photos_hidden:                    1
    new_photos_notification:                 0
    legacy_id_redirection:                   1
    zip_deflate_level:                       6
    SA_enabled:                              1
    default_album_protection:                1
    album_decoration:                        layers
    album_decoration_orientation:            row
    allow_username_change:                   1
    auto_fix_orientation:                    1
    use_job_queues:                          0
    random_album_id:                         starred

can you try
chmod -R 755 /home/yunohost.app/lychee/
on a terminal?

1 Like

Yes that fixes it! Awesome thanks. Did I miss some step that explained the command has to be run?

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.