LycheeOrg / Lychee

A great looking and easy-to-use photo-management-system you can run on your server, to manage and share photos.
https://lycheeorg.github.io/
MIT License
3.33k stars 297 forks source link

Installation problem, 500 appears after the installation is complete SERVER ERROR #966

Closed cxri closed 3 years ago

cxri commented 3 years ago

APP_NAME=Lychee APP_ENV=production APP_KEY=base64:QWciGsWdLX7cF7dwHZRqBcGiuS42cLJ6COo0GD4OFrw= APP_DEBUG=false APP_URL=http://localhost

enable or disable debug bar. By default it is disabled.

DEBUGBAR_ENABLED=false

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=localhost DB_PORT=3306 DB_DATABASE=lychee DB_USERNAME=lychee DB_PASSWORD=YAPK6Asa6jaWXrKB DB_LOG_SQL=false

TIMEZONE=UTC

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

REDIS_HOST=127.0.0.1 REDIS_PASSWORD=null REDIS_PORT=6379

MAIL_DRIVER=smtp MAIL_HOST= MAIL_PORT= MAIL_USERNAME= MAIL_PASSWORD= MAIL_ENCRYPTION=

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}"

cxri commented 3 years ago

我是Nginx服务器,MySQL 8,0 PHP 7.4.16