I am currently deploy my React Next.js project to the fly.io but not working properly.
Lots of issues continuously occuring. Please help me.
I am currently deploy my React Next.js project to the fly.io but not working properly.
Lots of issues continuously occuring. Please help me.
Hi @timeworn can you share some logs about those issues?
My ubuntu PC was just broken, so I installed the new clean ubuntu system. So canât share that issue exactly. And I am a newbie in this field. So if you are available, could you please help me to deploy the project to the fly.io?
Yeah we can help. When you try that again can you share what youâre doing and what are the errors that are happening?
thanks for letting us know-- always frustrating to have to wrestle your OS while troubleshooting something else.
we do have some docs on troubleshooting failed deployments that might come in handy as you start troubleshooting your logs:
additionally, searching flyctlâs repo on github can sometimes help demystify the error message you hit
I tried to deploy following the documentation but not working now.
@lubien first of all, I am going to login with token, could you let me know how can I login with token?
You can use env variables for that.
export FLY_API_TOKEN='token here's
That should make flyctl think youâre logged in.
If itâs a deploy token itâs only going to work for that specific app.
If you do me your favor, could you please help me with step by step? Just installed the flyctl on my ubuntu local but getting issue like âflyctl: command not foundâ. Please let me know the solution for this.
Just installed the fly with âcurl -L https://fly.io/install.sh | shâ.
Can you verify if this helps?
Great, Passed.
I am going to login the fly.io. I tried like this.
âflyctl auth token -t --access-token token_stringâ, am I right? Let me know about this.
fly auth token
will show the current token, you may be looking for fly auth login
first
(you can use the --interactive
flag from the terminal in case opening the default browser is acting up on your new system)
I donât have the auth credentials at the moment, Just have access token from my client.
Could you please let me know how to login with only token?
Can you try this?
Regarding to the token type, got the string from client like this âFlyV1 fm2_lJPECAâŚâ.
In this case, should I set like this âexport FLY_API_TOKEN=âfm2_âŚââ or âexport FLY_API_TOKEN=âFlyV1 fm2âŚââ. Let me know about this. Because I wasnât logged in yet, so I am asking like this.
The later version
Could you let me know more detail?
Are you busy now? could you please update me now? I mean should I include the string like FlyV1 in the first section of token string?
Yes, please include the FlyV1 bit.
Hello.
I just tried to login with âflyctl auth token -t --access-token token_stringâ, but if I input âflyctl launchâ, redirect me to the auth login page. But I am going to login with token, so if I already loggedin with token, I will be passed without redirecting to the auth login page. Isnât there any method to launch the flyctl with only token? Let me know about this. Thank you.