You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently upgraded my instance of Lychee from 6.5-ish to the latest 7.4.1 (now 7.5.0). I did that by exporting my database and saving the upload folder, then erased everything, rewrote the docker-compose based on the model given in the repo and launched everything after putting back my dump and upload folder.
Everything worked fine except for one little problem that I didn't had before : when uploading pictures in a folder, the worker correctly does the job, but pictures does not appear on Lychee.
However, when I go back to the gallery, I do have a thumbnail of one of the pictures I uploaded for a test :
If I go back in the folder, still nothing. I have to go to the "Maintainance" page and then "Generate Medium" for the pictures to appear.
Any idea of why, please ?
Here is the x-common-env part, I think it's the most relevant one :
x-common-env: &common-env
PUID: "${PUID:-1000}"
PGID: "${PGID:-1000}"
APP_KEY: "${APP_KEY}"
# Application
APP_NAME: "${APP_NAME:-Lychee}"
APP_ENV: "${APP_ENV:-production}"
APP_DEBUG: "${APP_DEBUG:-false}"
APP_TIMEZONE: "${TIMEZONE:-UTC}"
APP_URL: "${APP_URL:-http://localhost:8000}"
APP_FORCE_HTTPS: "${APP_FORCE_HTTPS:-false}"
APP_MAINTENANCE_DRIVER: "${APP_MAINTENANCE_DRIVER:-file}"
LOG_404_ERRORS: "${LOG_404_ERRORS:-true}"
CLOCKWORK_ENABLE: "${CLOCKWORK_ENABLE:-false}"
LOG_VIEWER_ENABLED: "${LOG_VIEWER_ENABLED:-true}"
#Database
DB_CONNECTION: "${DB_CONNECTION:-mysql}" -> Set to "pgsql" in .env
DB_HOST: "${DB_HOST:-lychee_db}"
DB_PORT: "${DB_PORT:-3306}"
DB_DATABASE: "${DB_DATABASE:-lychee}"
DB_USERNAME: "${DB_USERNAME:-lychee}"
DB_PASSWORD: "${DB_PASSWORD}"
# Session configuration
SESSION_DRIVER: "${SESSION_DRIVER:-file}"
SESSION_LIFETIME: "${SESSION_LIFETIME:-120}"
# Cache
CACHE_STORE: "${CACHE_STORE:-file}" -> Set to "redis" in .env
CACHE_PREFIX: "${CACHE_PREFIX:-lychee_cache}"
REDIS_HOST: "${REDIS_HOST:-lychee_redis}"
REDIS_USERNAME: "${REDIS_USERNAME:-redis}"
REDIS_PASSWORD: "${REDIS_PASSWORD:-}"
REDIS_PORT: "${REDIS_PORT:-6379}"
REDIS_URL: "redis://${REDIS_USERNAME:-default}:${REDIS_PASSWORD:-}@${REDIS_HOST:-lychee_redis}:${REDIS_PORT:-6379}"
LOG_VIEWER_CACHE_DRIVER: "file"
QUEUE_CONNECTION: "${QUEUE_CONNECTION:-database}" -> Set to "redis" in .env
Also, weird thing too I think but I HAVE to set this property to be able to see my pictures. Was already the case in 6.5, but I didn't saw it in the docs so I thought we didn't needed it anymore :
"LYCHEE_UPLOADS_URL=/uploads/"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
That part should not be needed no.
Hum are you using the cache in Lychee ?
Is this disabled or enabled ? (with version 7, it shouldn't be that necessary anymore :) )