Comments (8)
Do you overwrite SESSION_DRIVER
in you env? This should be database
when seeding.
from traewelling.
Do you overwrite
SESSION_DRIVER
in you env? This should bedatabase
when seeding.
Did not change anything about this value – as there was nothing in the documentation.
Would you mind summarizing the necessary steps to have a seeded database in the dev setup? I'd be happy to add it to the documentation.
from traewelling.
Would you mind summarizing the necessary steps to have a seeded database in the dev setup?
Iirc there's only a few steps:
Clone, composer install, npm install, npm run dev
DB-wise you'll have to define your database. Either use sqlite (DB_HOST should point to a .sqlite file) or mysql/maridb.
Once that is set up you'll need the following commands:
- php artisan key:generate
- php artisan migrate:fresh --seed
- php artisan passport:install
from traewelling.
Ohhhhh. You meant the docker setup. Sorry, i didn't see that the first time.
I haven't used the docker setup until now. Maybe @jeyemwey can help here?
from traewelling.
The sessions table is usually the first table that is queried on a page request, and that fails when the database isn't available.
The error presented is a MySQL error, so the connection and login seems to work, but the database is empty. Can you try php artisan migrate
before the db seed command? That should initialize empty tables.
from traewelling.
The sessions table is usually the first table that is queried on a page request, and that fails when the database isn't available.
The error presented is a MySQL error, so the connection and login seems to work, but the database is empty. Can you try
php artisan migrate
before the db seed command? That should initialize empty tables.
So what you're saying is:
- Run
compose up
withoutSEED_DB=true
- Run
php artisan migrate
- Run
compose up
WITHSEED_DB=true
Correct?
from traewelling.
from traewelling.
Please retry with the changes from #2074 and reopen if the error still exist for you.
If you don't overwrite SESSION_DRIVER
in your environment the table should be created.
from traewelling.
Related Issues (20)
- Inconsistent UI: No new event selection with "drive along" feature HOT 1
- [Very Slow and locking Query] Global Dashboard
- [SlowQuery - 14 sec] select `statuses`.`user_id`, SUM(train_checkins.points) [...] HOT 2
- Don't show departures from current minute as departed
- Non-centered loading animation
- Lack of user interaction when errors occur during check-in HOT 1
- Remove mastodon connection on response "NO SUCH USER"
- 500 when accepting follow requests HOT 3
- No visual difference between drop-down menus and text inputs
- Missing "Remove stop" button in manual trip creation form
- Server error 500 when saving tags HOT 2
- Notification about mention in own status message
- Links in status messages not clickable but coincidentally contained Träwelling usernames clickable HOT 2
- Too many requested scopes HOT 1
- Bug report HOT 2
- Cannot check in for replacement trains (Ersatzzug) HOT 8
- Impossible to Check into train/select Destination HOT 10
- mastodon integration is forgotten instantly HOT 6
- Mastodon App creation done incorrectly
- Blank lines in status messages after emojis not visible
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from traewelling.