beyondcode / herd-community

89 stars 1 forks source link

[Bug]: database.herd.test not loading sqlite file #1108

Closed 45ooo closed 3 weeks ago

45ooo commented 3 weeks ago

Platform

Windows

Operating system version

windows 11 pro (23H2 22631.4317 1000.22700.1041.0)

System architecture

Windows

Herd Version

1.11.1

PHP Version

No response

Bug description

unable to load adminer correctly on a freshly build laravel breeze with default sqlite configuration

Steps to reproduce

site > add > new Laravel project > next > laravel breeze:

image

once project done generated, tested d login and register to make sure it works fine. the sqlite is working as expected for login and register

when click site > click "open" button which is at right side of Adminer

image

image

unable to access the project sqlite file

Relevant log output

No response

mechelon commented 3 weeks ago

Can you share the database-related part of your local .env file to support@beyondco.de?

45ooo commented 3 weeks ago

I haven't change a thing yet:

here you go:

APP_NAME=Laravel
APP_ENV=local
APP_KEY=base64:PTOUs+cTSVbTN/qM4SjwKo1JwJlkNTHdcBfnqc+eakw=
APP_DEBUG=true
APP_TIMEZONE=UTC
APP_URL=http://test-adminer.test

APP_LOCALE=en
APP_FALLBACK_LOCALE=en
APP_FAKER_LOCALE=en_US

APP_MAINTENANCE_DRIVER=file
# APP_MAINTENANCE_STORE=database

PHP_CLI_SERVER_WORKERS=4

BCRYPT_ROUNDS=12

LOG_CHANNEL=stack
LOG_STACK=single
LOG_DEPRECATIONS_CHANNEL=null
LOG_LEVEL=debug

DB_CONNECTION=sqlite
# DB_HOST=127.0.0.1
# DB_PORT=3306
# DB_DATABASE=laravel
# DB_USERNAME=root
# DB_PASSWORD=

SESSION_DRIVER=database
SESSION_LIFETIME=120
SESSION_ENCRYPT=false
SESSION_PATH=/
SESSION_DOMAIN=null

BROADCAST_CONNECTION=log
FILESYSTEM_DISK=local
QUEUE_CONNECTION=database

CACHE_STORE=database
CACHE_PREFIX=

MEMCACHED_HOST=127.0.0.1

REDIS_CLIENT=phpredis
REDIS_HOST=127.0.0.1
REDIS_PASSWORD=null
REDIS_PORT=6379

MAIL_MAILER=log
MAIL_HOST=127.0.0.1
MAIL_PORT=2525
MAIL_USERNAME=null
MAIL_PASSWORD=null
MAIL_ENCRYPTION=null
MAIL_FROM_ADDRESS="hello@example.com"
MAIL_FROM_NAME="${APP_NAME}"

AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_BUCKET=
AWS_USE_PATH_STYLE_ENDPOINT=false

VITE_APP_NAME="${APP_NAME}"

@mechelon

45ooo commented 3 weeks ago

here is the .env

On Tue, Oct 22, 2024 at 4:05 PM Di @.***> wrote:

Can you share the database-related part of your local .env file to @.***?

— Reply to this email directly, view it on GitHub https://github.com/beyondcode/herd-community/issues/1108#issuecomment-2428550337, or unsubscribe https://github.com/notifications/unsubscribe-auth/BMFNDML6WHOIWXLHFUYOGP3Z4YBLPAVCNFSM6AAAAABQL3QF6SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMRYGU2TAMZTG4 . You are receiving this because you authored the thread.Message ID: @.***>

mechelon commented 3 weeks ago

Thanks, this will be fixed in the next release :)