Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Preview of most albums gone after updated to 5.0.3 #2195

Closed
Cartoon-Dude opened this issue Jan 13, 2024 · 7 comments · Fixed by #2197
Closed

Preview of most albums gone after updated to 5.0.3 #2195

Cartoon-Dude opened this issue Jan 13, 2024 · 7 comments · Fixed by #2197
Labels
duplicate This issue or pull request already exists

Comments

@Cartoon-Dude
Copy link

After updating from 5.0.2 to 5.0.3, most of the album previews are gone.
The photos are still inside the albums and can be seen without problem.

Screenshot from 2024-01-13 16-21-46
`System Information

Lychee Version (git): master (b8ace78) -- Up to date (19 minutes ago).
DB Version: 5.0.3

composer install: --no-dev
APP_ENV: production
APP_DEBUG: false
APP_URL: set
APP_DIR: default
LOG_VIEWER_ENABLED: true
LIVEWIRE_ENABLED: true

System: Linux
PHP Version: 8.3.1
PHP User agent: Lychee/4 (https://lycheeorg.github.io/)
Timezone: Europe/Zurich
Max uploaded file size: 256M
Max post size: 256M
Livewire chunk size: 12.00 MB
Max execution time: 200
MySQL Version: 10.6.12-MariaDB-0ubuntu0.22.04.1

exec() Available: yes
Imagick Available: 1
Imagick Enabled: 1
Imagick Version: 1691
GD Version: 2.3.3
Number of foreign key: 11 found.`

@ildyria
Copy link
Member

ildyria commented Jan 13, 2024

What photo-sorting are you using ?
What is the content of the ERROR part of your diagnostics.

Can't help you if you don't give all all the diagnostics...

@ildyria ildyria added the More info required Issue which will be closed under 14 days if not replied by the author label Jan 13, 2024
@Cartoon-Dude
Copy link
Author

sort albums by creation time in a descending order.
sort photos by take date in an ascending order.

And haven't found any error in the diagnostic, this is the remaining config part:

Config Information
------------------
version:                                 050003
check_for_updates:                       1
sorting_photos_col:                      taken_at
sorting_photos_order:                    ASC
sorting_albums_col:                      created_at
sorting_albums_order:                    DESC
imagick:                                 1
skip_duplicates:                         0
small_max_width:                         0
small_max_height:                        360
medium_max_width:                        1920
medium_max_height:                       1080
lang:                                    en
image_overlay_type:                      desc
default_license:                         CC-BY-NC-ND-4.0
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:                              Carty
landing_title:                           Carty
landing_subtitle:                        Fotos Carty
sm_facebook_url:                         
sm_flickr_url:                           
sm_twitter_url:                         
sm_instagram_url:                        
sm_youtube_url:                          
landing_background:                      dist/cat.webp
site_title:                              Carty
footer_show_copyright:                   1
site_copyright_begin:                    2016
site_copyright_end:                      2023
footer_additional_text:                  
footer_show_social_media:                0
search_public:                           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:                              0
location_decoding:                       0
location_decoding_timeout:               30
location_show:                           0
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
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
use_last_modified_date_when_no_exif_date: 0
ffmpeg_path:                             
ffprobe_path:                            
layout:                                  justified
date_format_photo_thumb:                 M j, Y, g:i:s A e
date_format_photo_overlay:               M j, Y, g:i:s A e
date_format_sidebar_uploaded:            M j, Y, g:i:s A e
date_format_sidebar_taken_at:            M j, Y, g:i:s A e
date_format_hero_min_max:                F Y
date_format_hero_created_at:             M j, Y, g:i:s A T
date_format_album_thumb:                 M Y
upload_chunk_size:                       0
nsfw_banner_blur_backdrop:               0
search_pagination_limit:                 1000
search_minimum_length_required:          4
photo_layout_justified_row_height:       320
photo_layout_masonry_column_width:       300
photo_layout_grid_column_width:          250
photo_layout_square_column_width:        200
photo_layout_gap:                        12
display_thumb_album_overlay:             always
display_thumb_photo_overlay:             hover
default_album_thumb_aspect_ratio:        1/1
use_album_compact_header:                0
login_button_position:                   left
back_button_enabled:                     0
back_button_text:                        Return to Home
back_button_url:                         /

@Gendra13
Copy link

I noticed a similar problem after testing the development pre-release version of 5.0.3 that I described here #2137 (comment)
However, suddenly after a few day (and maybe a reboot of the server) the missing images/thumbnails were suddenly back again.

Might there be some kind of caching on the server side, that gets refreshed after some time?

@ttrvl
Copy link

ttrvl commented Jan 13, 2024

After updating to 5.0.3 there was similar effect, but as instruction in "Diagnostic" said, commenting out variable LYCHEE_UPLOADS_URL in .env solved problem.

@ildyria
Copy link
Member

ildyria commented Jan 13, 2024

@Cartoon-Dude can you check if fixes proposed in #2192 works for you.

@Cartoon-Dude
Copy link
Author

@ildyria Yes, it fixed it!

@ildyria
Copy link
Member

ildyria commented Jan 13, 2024

2 bird one stone.
Closing this one as duplicate.

@ildyria ildyria closed this as completed Jan 13, 2024
@ildyria ildyria added duplicate This issue or pull request already exists and removed More info required Issue which will be closed under 14 days if not replied by the author labels Jan 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants