Using SQLite on fresh install results in broken panel due to invalid path #88

Closed
opened 2026-02-04 16:42:09 +03:00 by OVERLORD · 1 comment
Owner

Originally created by @notAreYouScared on GitHub (Jun 5, 2024).

Originally assigned to: @lancepioch on GitHub.

Re: a9e58bb493

When this change was made, it was never updated in the console command file.

When a user does a fresh install and uses SQLite, the value is saved as an absolute path

root@demo:/var/www/pelican# php artisan p:environment:database

 Database Driver [SQLite (recommended)]:
  [sqlite] SQLite (recommended)
  [mysql ] MySQL
 > sqlite

 Database Path [/var/www/pelican/database/database.sqlite]:
 > <Just hitting enter>

Results in DB_DATABASE=/var/www/pelican/database/database.sqlite in the env

Originally created by @notAreYouScared on GitHub (Jun 5, 2024). Originally assigned to: @lancepioch on GitHub. Re: https://github.com/pelican-dev/panel/commit/a9e58bb493b9e087e54fbe5c0c567aa3904a6127 When this change was made, it was never updated in the console command file. When a user does a fresh install and uses SQLite, the value is saved as an absolute path ``` root@demo:/var/www/pelican# php artisan p:environment:database Database Driver [SQLite (recommended)]: [sqlite] SQLite (recommended) [mysql ] MySQL > sqlite Database Path [/var/www/pelican/database/database.sqlite]: > <Just hitting enter> ``` Results in `DB_DATABASE=/var/www/pelican/database/database.sqlite` in the env
Author
Owner

@notAreYouScared commented on GitHub (Jun 5, 2024):

Was fixed with f61c6b9dc2

@notAreYouScared commented on GitHub (Jun 5, 2024): Was fixed with https://github.com/pelican-dev/panel/commit/f61c6b9dc288b4b5dee966b465393dc71c952a1b
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#88