El Queso Bandito
El Queso Bandito
RRailway
Created by El Queso Bandito on 8/15/2024 in #✋|help
Adonisjs v6 app, migrations and seeder not running
👍 That did the trick!
12 replies
RRailway
Created by El Queso Bandito on 8/15/2024 in #✋|help
Adonisjs v6 app, migrations and seeder not running
ah, sorry not used to reading this output
12 replies
RRailway
Created by El Queso Bandito on 8/15/2024 in #✋|help
Adonisjs v6 app, migrations and seeder not running
Not sure why there isn't more output from the command
12 replies
RRailway
Created by El Queso Bandito on 8/15/2024 in #✋|help
Adonisjs v6 app, migrations and seeder not running
huh, kinda stumped here
Dockerfile:26

-------------------

24 | RUN npm run build

25 | RUN cd build && npm ci

26 | >>> RUN node ace migration:run --force

27 |

28 |

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c node ace migration:run --force" did not complete successfully: exit code: 1



Error: Docker build failed
Dockerfile:26

-------------------

24 | RUN npm run build

25 | RUN cd build && npm ci

26 | >>> RUN node ace migration:run --force

27 |

28 |

-------------------

ERROR: failed to solve: process "/bin/bash -ol pipefail -c node ace migration:run --force" did not complete successfully: exit code: 1



Error: Docker build failed
12 replies
RRailway
Created by El Queso Bandito on 8/15/2024 in #✋|help
Adonisjs v6 app, migrations and seeder not running
Thanks! trying that now real quick, fingers crossed
12 replies
RRailway
Created by El Queso Bandito on 8/15/2024 in #✋|help
Adonisjs v6 app, migrations and seeder not running
722dccb2-d05a-4099-b21f-f525bef38d3c
12 replies
RRailway
Created by El Queso Bandito on 7/29/2024 in #✋|help
Volumes and tmp storage space
perfect! thanks for the help and quick responses too!
16 replies
RRailway
Created by El Queso Bandito on 7/29/2024 in #✋|help
Volumes and tmp storage space
that is also very good to know, would something like TUS be able to get around that? I'm also using inertia/vue so I'd need to figure out there too if I'd have to modify the request code at all
16 replies
RRailway
Created by El Queso Bandito on 7/29/2024 in #✋|help
Volumes and tmp storage space
This is fantastic, that solves a massive headache for me
16 replies
RRailway
Created by El Queso Bandito on 7/29/2024 in #✋|help
Volumes and tmp storage space
reading this it sounds like it's good but should be a fun test project, I'll report back after I have a chance to try!
16 replies
RRailway
Created by El Queso Bandito on 7/29/2024 in #✋|help
Volumes and tmp storage space
sorry, I'm super late but hello fellow adam, so If I send a 5gb file to my app to process then upload to S3 I should be good? I'm still gonna test out on my own but was just curious if you knew
16 replies
RRailway
Created by El Queso Bandito on 7/29/2024 in #✋|help
Volumes and tmp storage space
N/A
16 replies
RRailway
Created by El Queso Bandito on 9/8/2023 in #✋|help
Adonisjs Migration - MySQL using password no
wait, I just remembered I had a copy of the original env config from when I was testing it out too,
MYSQL_DB_NAME=${{MySQL-a6fb4791-c084-4500-b3f3-e2f7e268b948.MYSQLDATABASE}}
MYSQL_HOST=${{MySQL-a6fb4791-c084-4500-b3f3-e2f7e268b948.MYSQLHOST}}
MYSQL_PASSWORD=${{MySQL-a6fb4791-c084-4500-b3f3-e2f7e268b948.PASSWORD}}
MYSQL_PORT=${{MySQL-a6fb4791-c084-4500-b3f3-e2f7e268b948.MYSQLPORT}}
MYSQL_USER=${{MySQL-a6fb4791-c084-4500-b3f3-e2f7e268b948.MYSQLUSER}}
MYSQL_DB_NAME=${{MySQL-a6fb4791-c084-4500-b3f3-e2f7e268b948.MYSQLDATABASE}}
MYSQL_HOST=${{MySQL-a6fb4791-c084-4500-b3f3-e2f7e268b948.MYSQLHOST}}
MYSQL_PASSWORD=${{MySQL-a6fb4791-c084-4500-b3f3-e2f7e268b948.PASSWORD}}
MYSQL_PORT=${{MySQL-a6fb4791-c084-4500-b3f3-e2f7e268b948.MYSQLPORT}}
MYSQL_USER=${{MySQL-a6fb4791-c084-4500-b3f3-e2f7e268b948.MYSQLUSER}}
aaaaaaaaand it looks like .PASSWORD is missing the .MYSQL infront of it
27 replies
RRailway
Created by El Queso Bandito on 9/8/2023 in #✋|help
Adonisjs Migration - MySQL using password no
The other thing is that Adonisjs is about to release a new major version, v6, but I don't have access to that code base yet, so not sure if the issue (if it is an issue and not just wrong env variables) will still exist
27 replies
RRailway
Created by El Queso Bandito on 9/8/2023 in #✋|help
Adonisjs Migration - MySQL using password no
sounds good, I'll start it now and post a link to the public repo
27 replies
RRailway
Created by El Queso Bandito on 9/8/2023 in #✋|help
Adonisjs Migration - MySQL using password no
yeah, it's definitely possible, I'll still spin up a new project just to test and out and see cause now I'm more curious myself haha
27 replies
RRailway
Created by El Queso Bandito on 9/8/2023 in #✋|help
Adonisjs Migration - MySQL using password no
For now I can confirm that there's some sort of issue using the base config MySQL in adonisjs and that using postgresql resolves the issue
27 replies
RRailway
Created by El Queso Bandito on 9/8/2023 in #✋|help
Adonisjs Migration - MySQL using password no
Sorry, I get what you're saying but I already swapped out the MySQL service for PG so I'll have to go back recreate it. When I have a couple minutes I'll just spin up a fresh adonis web project with MySQL and commit it to a public repo
27 replies
RRailway
Created by El Queso Bandito on 9/8/2023 in #✋|help
Adonisjs Migration - MySQL using password no
The MySQL deploy was the same just with DB_CONNECTION=pg and then MYSQL_USER=${{MySQL.MYSQLUSER}} for that service
27 replies
RRailway
Created by El Queso Bandito on 9/8/2023 in #✋|help
Adonisjs Migration - MySQL using password no
Here's all the variables I have for the working PgSQL version, its just a testing deploy so nothing in here that really needs to be kept secret
APP_KEY=<APP_KEY>
CACHE_VIEWS=false
DRIVE_DISK=local
GITHUB_CLIENT_ID=clientId
GITHUB_CLIENT_SECRET=clientSecret
GOOGLE_CLIENT_ID=clientId
GOOGLE_CLIENT_SECRET=clientSecret
HOST=0.0.0.0
MAILHOG_DASHBOARD_PORT=8026
MAILHOG_PORT=1026
DB_CONNECTION=pg
PG_HOST=${{Postgres.PGHOST}}
PG_PORT=${{Postgres.PGPORT}}
PG_USER=${{Postgres.PGUSER}}
PG_PASSWORD=${{Postgres.PGPASSWORD}}
PG_DB_NAME=${{Postgres.PGDATABASE}}
PORT=3333
REDIS_PORT=6379
SESSION_DRIVER=cookie
APP_KEY=<APP_KEY>
CACHE_VIEWS=false
DRIVE_DISK=local
GITHUB_CLIENT_ID=clientId
GITHUB_CLIENT_SECRET=clientSecret
GOOGLE_CLIENT_ID=clientId
GOOGLE_CLIENT_SECRET=clientSecret
HOST=0.0.0.0
MAILHOG_DASHBOARD_PORT=8026
MAILHOG_PORT=1026
DB_CONNECTION=pg
PG_HOST=${{Postgres.PGHOST}}
PG_PORT=${{Postgres.PGPORT}}
PG_USER=${{Postgres.PGUSER}}
PG_PASSWORD=${{Postgres.PGPASSWORD}}
PG_DB_NAME=${{Postgres.PGDATABASE}}
PORT=3333
REDIS_PORT=6379
SESSION_DRIVER=cookie
27 replies