LycheeOrg/Lychee-Docker

Install not working

Neferites opened this issue · 3 comments

Hello,
i'm trying to install lychee on my K8S.
All is working great and prerequises are all green.

But when i click on Install (last step), the installer redirect to /install URL

here the config on last step :

APP_NAME=Lychee
APP_ENV=dev
APP_KEY=xxx
APP_DEBUG=true
APP_URL=https://photo.xxx.lan

# enable or disable debug bar. By default it is disabled.
DEBUGBAR_ENABLED=true

LOG_CHANNEL=stack

##############################################################################
# IMPORTANT: To migrate from Lychee v3 you *MUST* use the same MySQL/MariaDB #
#            server as v3.                                                   #
##############################################################################

# Table prefix (e.g. lychee_) of a Lychee v3 instance for migration
DB_OLD_LYCHEE_PREFIX=

# DB_CONNECTION can be sqlite, mysql or pgsql. For sqlite the other entries are
# not required, but an existing sqlite3 database may be specified if desired. In
# this case, please use an absolute path. DB_DATABASE may be omitted but should
# *not* be left blank.
DB_CONNECTION=mysql
DB_HOST=mariadb.lychee
DB_PORT=3306
DB_DATABASE=lychee
DB_USERNAME=lychee
DB_PASSWORD=xxx
DB_LOG_SQL=true

TIMEZONE=CET

# folders in which the files will be stored
# LYCHEE_DIST="/var/www/html/Lychee-Laravel/public/dist/"
# LYCHEE_UPLOADS="/var/www/html/Lychee-Laravel/public/uploads/"

# url to access those files
# LYCHEE_DIST_URL="dist/"
# LYCHEE_UPLOADS_URL="uploads/"

BROADCAST_DRIVER=log
CACHE_DRIVER=file
SESSION_DRIVER=file
SESSION_LIFETIME=120
QUEUE_DRIVER=sync

SECURITY_HEADER_HSTS_ENABLE=false

MAIL_DRIVER=SMTP
MAIL_HOST=
MAIL_PORT=587
MAIL_USERNAME=admin@xxx.fr
MAIL_PASSWORD=xxx
MAIL_ENCRYPTION=TLS
MAIL_FROM_NAME=
MAIL_FROM_ADDRESS=

PUSHER_APP_ID=
PUSHER_APP_KEY=
PUSHER_APP_SECRET=
PUSHER_APP_CLUSTER=mt1

MIX_PUSHER_APP_KEY="${PUSHER_APP_KEY}"
MIX_PUSHER_APP_CLUSTER="${PUSHER_APP_CLUSTER}"

Last step, i clik on install :
image

And then, the installer bring me back to the install URL :
image

Configuration :
kubernetes 1.23.5
Lychee image: lycheeorg/lychee:v4.4.0
Mariadb image : mariadb:10.5.13-alpine

Did i do something wrong ?
Thanks in advance,
Regards

My bad, i did search for a .log file, and found one.
Error was on grant given to my mysql user.
All is working fine with :

GRANT ALL PRIVILEGES on my_bd.* TO 'my_user'@'%' WITH GRANT OPTION;
FLUSH PRIVILEGES;
d7415 commented

Thanks for reporting back!

So did I