Redeploy

I'm trying to redeploy but build failed. Do I need to copy log here or is there some way to access it? Any help is appreciated. Thanks.
51 Replies
Percy
Percy9mo ago
Project ID: 48c65584-0bcd-4e8f-9005-9ca6b4f75f01
Kevinmac
Kevinmac9mo ago
48c65584-0bcd-4e8f-9005-9ca6b4f75f01
Kevinmac
Kevinmac9mo ago
do I just upload the file here?
Brody
Brody9mo ago
yes please
Brody
Brody9mo ago
would you happen to be able to send the build logs of the last build that did work?
Kevinmac
Kevinmac9mo ago
hmmmm...let me look where might I find that?
Brody
Brody9mo ago
in the last deployment that worked
Brody
Brody9mo ago
this is the deployment logs, please send the build logs for the last working deployment
Kevinmac
Kevinmac9mo ago
There does not appear to be any build logs
Brody
Brody9mo ago
why's that? was it more than 30 days ago?
Kevinmac
Kevinmac9mo ago
Yes 5 months
Brody
Brody9mo ago
gotcha can you try to set engines.node to 18 in your package.json?
Kevinmac
Kevinmac9mo ago
for my 5th stupid question of the day,...where might I find that?
Brody
Brody9mo ago
your package.json is in your project files
Kevinmac
Kevinmac9mo ago
This was a template I used, I think. Where might I find the project files?
Brody
Brody9mo ago
in github
Kevinmac
Kevinmac9mo ago
one sec...I don't think it was a template if this is the one it appears to be 18. "engines": { "node": ">=18.0.0" }
Brody
Brody9mo ago
that says >=18.0.0
Kevinmac
Kevinmac9mo ago
so change to just "18"? no >= either
Brody
Brody9mo ago
correct
Kevinmac
Kevinmac9mo ago
one sec
Brody
Brody9mo ago
looks like the build went through
Kevinmac
Kevinmac9mo ago
but it crashed after
Brody
Brody9mo ago
looks like you are still trying to connect to the legacy database, when did you migrate it?
Kevinmac
Kevinmac9mo ago
oh, probably after that 5 month original build looks likes this is a multi coffee event lol
Brody
Brody9mo ago
want to add me to the project so i can get your database variables setup properly? (as a member, not a seat)
Kevinmac
Kevinmac9mo ago
yes, please. How do I do that?
Brody
Brody9mo ago
project settings -> memebers -> invite [email protected] (can edit)
Kevinmac
Kevinmac9mo ago
done. Seems to be for all my projects.
Brody
Brody9mo ago
you added me to your team, im not going to accept that as it would end up charging you 20$ in my messages above im asking to be added to the project, not the team
Kevinmac
Kevinmac9mo ago
Apparently I need my glasses too
Brody
Brody9mo ago
joining now directus doesnt have a volume, i hope you havent uploaded files/images/media to it, as you have now lost that stuff
Kevinmac
Kevinmac9mo ago
I added you to another but if you don't have time to look no worries no images
Brody
Brody9mo ago
no uploads of any kind?
Kevinmac
Kevinmac9mo ago
nope...just db stuff to my knowledge
Brody
Brody9mo ago
okay so please keep that in mind going forward, no volume, no upload persistence
Kevinmac
Kevinmac9mo ago
in three weeks I don't care....I am closing that company
Brody
Brody9mo ago
quick add me to the repo too please https://github.com/kevinmac61/railway-directus-machomes brody192
Kevinmac
Kevinmac9mo ago
done
Brody
Brody9mo ago
only the owner of the project can do this, please go click this button in the legacy database
No description
Kevinmac
Kevinmac9mo ago
in progress
Brody
Brody9mo ago
redeploying directus now
Kevinmac
Kevinmac9mo ago
it's back...thank you
Brody
Brody9mo ago
no problem! once you confirm directus is in perfect working order you can delete the legacy database looking at the other project now can you re-run the migration in the other project again? the sleep-tracker project alright looks like its also back online
Kevinmac
Kevinmac9mo ago
Thank you
Brody
Brody9mo ago
no problem!
Want results from more Discord servers?
Add your server