Trigaten
WWasp-lang
•Created by joshleeman on 10/31/2024 in #đŸ™‹questions
Deployment issues with migrations
Absolutely understood, appreciate any help yall can give đŸ™‚
15 replies
WWasp-lang
•Created by joshleeman on 10/31/2024 in #đŸ™‹questions
Deployment issues with migrations
@matijash Any ideas for us to look into?
15 replies
WWasp-lang
•Created by joshleeman on 10/31/2024 in #đŸ™‹questions
Deployment issues with migrations
@matijash does wasp allow us to revert db migrations?
Given that we deleted and recreated the db, what secrets do we need to set?
15 replies
WWasp-lang
•Created by joshleeman on 10/31/2024 in #đŸ™‹questions
Deployment issues with migrations
@joshleeman any other details?
15 replies
WWasp-lang
•Created by joshleeman on 10/31/2024 in #đŸ™‹questions
Deployment issues with migrations
We are seeing this error:
15 replies
WWasp-lang
•Created by joshleeman on 10/31/2024 in #đŸ™‹questions
Deployment issues with migrations
@matijash (I am working with @joshleeman ) Basically, he ran the db migrate command locally, it created a new migration file in
migrations
, then we deployed it live. However, when building, the server kept saying there was an issue with this latest migration and wouldnt build.
It didn't seem possible to revert this--I see Prisma has this functionality, but wasp docs say not to use Prisma directly. As such, I tried deleting the migration locally then deploying, but the db seemed to have saved the migration somehow. At this point, we have deleted the database entirely and created a new one, but the server is having difficulty connecting to it even tho we set the database url secret.15 replies
WWasp-lang
•Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
@miho letting you know that I (mostly you đŸ™‚ ) have now solved this. Here is where I went wrong:
- used the default app name on deploy
- didn't know the perform migrate
The first was very avoidable. For the second, I didn't see it noted on the deploy page, and even having done the tutorial might not have known to do it.
It might be worth clarifying these further in the docs to help unexperienced devs like myself. I am happy to make a PR if you are interested đŸ™‚
35 replies
WWasp-lang
•Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
It looks like this problem is fixed. Im having a diff problem with mailgun, looking into that. Ill update here when done.
35 replies
WWasp-lang
•Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
I did not. I went thru those docs somewhat before, but not sure if I would have known to migrate (limited webdev experience).
tysm, ill go through them fully now
35 replies
WWasp-lang
•Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
This seems like a potential problem with wasp/the template. Signing off for today. Thanks for your help @miho .
35 replies
WWasp-lang
•Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
35 replies
WWasp-lang
•Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
Everything works locally, im basically just copying yalls free saas example. Will keep investigating.
35 replies
WWasp-lang
•Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
In server logs, I see this on page load:
GET /auth/me 401 4.297 ms - 43
then this when i try to login:
35 replies
WWasp-lang
•Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
Failed to load resource: the server responded with a status of 401 () https://pub-adjust-server.fly.dev/auth/me
Seeing this in web terminal
35 replies
WWasp-lang
•Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
I may need to reset a bunch of keys, one sec
35 replies
WWasp-lang
•Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
Notably, while building I saw this in terminal:
35 replies
WWasp-lang
•Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
Interesting, so reran, and don't get that error anymore, but when I go to one of the pages (https://pub-adjust-client.fly.dev/audio-upload), I get this:
35 replies
WWasp-lang
•Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
will do
35 replies
WWasp-lang
•Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
Ah that was you, ty again
35 replies
WWasp-lang
•Created by Trigaten on 10/3/2024 in #đŸ™‹questions
Failed to load resource: A server with the specified hostname could not be
ty!
35 replies