mirror of
https://github.com/benbusby/whoogle-search.git
synced 2026-04-26 12:45:48 +03:00
[GH-ISSUE #468] fly deployment does not work #307
Labels
No labels
Fixed (Pending PR Merge)
Stale
bug
enhancement
enhancement
good first issue
help wanted
keep-open
needs more info
pull-request
question
theme
unfortunate
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whoogle-search#307
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eikaramba on GitHub (Oct 18, 2021).
Original GitHub issue: https://github.com/benbusby/whoogle-search/issues/468
fly is renamed to flyctl it seems.
also there is no image builder anymore
how can you deploy with fly currently?
@eikaramba commented on GitHub (Oct 18, 2021):
for me what worked was to use the following commands:
//clone repo
flyctl apps create --org personal//then create fly.toml manually as seen here, change app name https://fly.io/docs/app-guides/run-a-global-image-service/#deploying-docker-images-to-fly
flyctl deploy -i benbusby/whoogle-search:latestbut even then when i try to search it does not load the results
@benbusby commented on GitHub (Oct 27, 2021):
@jeromegn any idea what could be the issue here? I haven't had a chance to look into it yet, but you may have a better idea of what's changed since your original PR to include support for Fly.io.
@jeromegn commented on GitHub (Oct 27, 2021):
I'm not entirely sure. @eikaramba can you provide logs?
flyctl logs@joonas-fi commented on GitHub (Oct 30, 2021):
Just set up whoogle on Fly two weeks ago, worked for me.
@eikaramba commented on GitHub (Oct 30, 2021):
as i said, the steps are not valid anymore. I did this now again
But on the served domain it just returns PR_END_OF_FILE_ERROR and that it is not secure.
i'm sorry but i don't even know where to start.
the command flyctl logs -a whoogle-eikaramba outputs
would be nice to share how you did it @joonas-fi
@joonas-fi commented on GitHub (Oct 30, 2021):
@eikaramba I don't remember everything that I did (I mucked around with SSL certificates & custom domain name), but the gist is that I deployed it from the official Docker image (no repo cloning needed).
All I have is this
fly.tomlwhich I deployed:@eikaramba commented on GitHub (Oct 30, 2021):
thanks, i did save your config(changed appname and increased image to 0.6.0) and just used
it is serving the app on port 80 (heck it even works on 443 when using hoppscotch). unfortunately for the love of god i am not able to make it work in any browser (chrome,ff,edge). they all try to establish https and it fails.
update: ok strange, after a few minutes it works now?
@joonas-fi commented on GitHub (Oct 30, 2021):
The URL works fine for me. Did you give it a chance to issue the SSL cert? Could've taken a while for Fly infrastructure to provision the certificate. The Fly CLI had subcommands to check the status of the SSL certificate issuance process.
@eikaramba commented on GitHub (Oct 30, 2021):
yes that must be it. thank you very much. i think we can solve it then. just create the fly.toml as:
and do the above two commands. bam