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
Percy4mo ago
Project ID: 48c65584-0bcd-4e8f-9005-9ca6b4f75f01
Kevinmac
Kevinmac4mo ago
48c65584-0bcd-4e8f-9005-9ca6b4f75f01
Kevinmac
Kevinmac4mo ago
do I just upload the file here?
Brody
Brody4mo ago
yes please
Brody
Brody4mo ago
would you happen to be able to send the build logs of the last build that did work?
Kevinmac
Kevinmac4mo ago
hmmmm...let me look where might I find that?
Brody
Brody4mo ago
in the last deployment that worked
Brody
Brody4mo ago
this is the deployment logs, please send the build logs for the last working deployment
Kevinmac
Kevinmac4mo ago
There does not appear to be any build logs
Brody
Brody4mo ago
why's that? was it more than 30 days ago?
Kevinmac
Kevinmac4mo ago
Yes 5 months
Brody
Brody4mo ago
gotcha can you try to set engines.node to 18 in your package.json?
Kevinmac
Kevinmac4mo ago
for my 5th stupid question of the day,...where might I find that?
Brody
Brody4mo ago
your package.json is in your project files
Kevinmac
Kevinmac4mo ago
This was a template I used, I think. Where might I find the project files?
Brody
Brody4mo ago
in github
Kevinmac
Kevinmac4mo 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
Brody4mo ago
that says >=18.0.0
Kevinmac
Kevinmac4mo ago
so change to just "18"? no >= either
Brody
Brody4mo ago
correct
Kevinmac
Kevinmac4mo ago
one sec
Brody
Brody4mo ago
looks like the build went through
Kevinmac
Kevinmac4mo ago
but it crashed after
Brody
Brody4mo ago
looks like you are still trying to connect to the legacy database, when did you migrate it?
Kevinmac
Kevinmac4mo ago
oh, probably after that 5 month original build looks likes this is a multi coffee event lol
Brody
Brody4mo ago
want to add me to the project so i can get your database variables setup properly? (as a member, not a seat)
Kevinmac
Kevinmac4mo ago
yes, please. How do I do that?
Brody
Brody4mo ago
project settings -> memebers -> invite brodyover@gmail.com (can edit)
Kevinmac
Kevinmac4mo ago
done. Seems to be for all my projects.
Brody
Brody4mo 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
Kevinmac4mo ago
Apparently I need my glasses too
Brody
Brody4mo 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
Kevinmac4mo ago
I added you to another but if you don't have time to look no worries no images
Brody
Brody4mo ago
no uploads of any kind?
Kevinmac
Kevinmac4mo ago
nope...just db stuff to my knowledge
Brody
Brody4mo ago
okay so please keep that in mind going forward, no volume, no upload persistence
Kevinmac
Kevinmac4mo ago
in three weeks I don't care....I am closing that company
Brody
Brody4mo ago
quick add me to the repo too please https://github.com/kevinmac61/railway-directus-machomes brody192
Kevinmac
Kevinmac4mo ago
done
Brody
Brody4mo ago
only the owner of the project can do this, please go click this button in the legacy database
No description
Kevinmac
Kevinmac4mo ago
in progress
Brody
Brody4mo ago
redeploying directus now
Kevinmac
Kevinmac4mo ago
it's back...thank you
Brody
Brody4mo 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
Kevinmac4mo ago
Thank you
Brody
Brody4mo ago
no problem!