-
Notifications
You must be signed in to change notification settings - Fork 2
Chore: Migrate Email Dashboard from Heroku to Fly.io #61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
For that I would prefer to pay |
https://dashboard.heroku.com/apps/dwylmail As you can see, So even if we wanted to pay Going to https://dashboard.heroku.com/apps/dwylmail/resources/new?addonService=heroku-postgresql https://dwylmail.herokuapp.com/ Restart all dynos ... ⏳ Yah! 🎉 https://dashboard.heroku.com/apps/dwylmail/logs Useless. |
Just tried to run this on Tried running: warning: use Mix.Config is deprecated. Use the Config module instead
config/config.exs:8
warning: use Mix.Config is deprecated. Use the Config module instead
config/dev.exs:1
The database for App.Repo has been dropped
The database for App.Repo has been created
10:18:52.527 [info] == Running 20191113100513 App.Repo.Migrations.CreateTags.change/0 forward
10:18:52.529 [info] create table tags
10:18:52.533 [info] == Migrated 20191113100513 in 0.0s
10:18:52.549 [info] == Running 20191113100912 App.Repo.Migrations.CreateStatus.change/0 forward
10:18:52.549 [info] create table status
10:18:52.551 [info] == Migrated 20191113100912 in 0.0s
10:18:52.552 [info] == Running 20191113100920 App.Repo.Migrations.CreatePeople.change/0 forward
10:18:52.552 [info] create table people
10:18:52.556 [info] create index people_status_index
10:18:52.557 [info] create index people_tag_index
10:18:52.558 [info] == Migrated 20191113100920 in 0.0s
10:18:52.560 [info] == Running 20191113114340 App.Repo.Migrations.AddPersonIdToTag.change/0 forward
10:18:52.560 [info] alter table tags
10:18:52.560 [info] == Migrated 20191113114340 in 0.0s
10:18:52.561 [info] == Running 20191113141229 App.Repo.Migrations.AddPersonIdToStatus.change/0 forward
10:18:52.561 [info] alter table status
10:18:52.566 [info] == Migrated 20191113141229 in 0.0s
10:18:52.567 [info] == Running 20191130210036 App.Repo.Migrations.AddPictureLocaleToPeople.change/0 forward
10:18:52.567 [info] alter table people
10:18:52.568 [info] == Migrated 20191130210036 in 0.0s
10:18:52.570 [info] == Running 20200224224024 App.Repo.Migrations.CreateSent.change/0 forward
10:18:52.570 [info] create table sent
10:18:52.574 [info] create index sent_person_id_index
10:18:52.575 [info] create index sent_status_id_index
10:18:52.576 [info] == Migrated 20200224224024 in 0.0s
MacOSX 10.7 or later required for --file-events
[notice] Application app exited: App.Application.start(:normal, []) returned an error: shutdown: failed to start child: AppWeb.Endpoint
** (EXIT) shutdown: failed to start child: Phoenix.PubSub.PG2
** (EXIT) shutdown: failed to start child: Phoenix.PubSub.PG2Server
** (EXIT) an exception was raised:
** (UndefinedFunctionError) function :pg2.create/1 is undefined or private
(kernel 8.5.3) :pg2.create({:phx, App.PubSub})
(phoenix_pubsub 1.1.2) lib/phoenix/pubsub/pg2_server.ex:43: Phoenix.PubSub.PG2Server.init/1
(stdlib 4.2) gen_server.erl:851: :gen_server.init_it/2
(stdlib 4.2) gen_server.erl:814: :gen_server.init_it/6
(stdlib 4.2) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
[notice] Application phoenix_live_view exited: :stopped
[notice] Application hackney exited: :stopped
[notice] Application metrics exited: :stopped
[notice] Application ssl_verify_fun exited: :stopped
[notice] Application certifi exited: :stopped
[notice] Application mimerl exited: :stopped
[notice] Application idna exited: :stopped
[notice] Application unicode_util_compat exited: :stopped
[notice] Application poison exited: :stopped
[notice] Application ex_aws_lambda exited: :stopped
[notice] Application ex_aws exited: :stopped
[notice] Application joken exited: :stopped
[notice] Application jose exited: :stopped
[notice] Application fields exited: :stopped
[notice] Application html_sanitize_ex exited: :stopped
[notice] Application mochiweb exited: :stopped
[notice] Application syntax_tools exited: :stopped
[notice] Application xmerl exited: :stopped
[notice] Application argon2_elixir exited: :stopped
[notice] Application comeonin exited: :stopped
[notice] Application plug_cowboy exited: :stopped
[notice] Application cowboy exited: :stopped
[notice] Application ranch exited: :stopped
[notice] Application cowlib exited: :stopped
[notice] Application jason exited: :stopped
[notice] Application phoenix_live_reload exited: :stopped
[notice] Application file_system exited: :stopped
[notice] Application phoenix_html exited: :stopped
[notice] Application phoenix_ecto exited: :stopped
[notice] Application runtime_tools exited: :stopped
** (Mix) Could not start application app: App.Application.start(:normal, []) returned an error: shutdown: failed to start child: AppWeb.Endpoint
** (EXIT) shutdown: failed to start child: Phoenix.PubSub.PG2
** (EXIT) shutdown: failed to start child: Phoenix.PubSub.PG2Server
** (EXIT) an exception was raised:
** (UndefinedFunctionError) function :pg2.create/1 is undefined or private
(kernel 8.5.3) :pg2.create({:phx, App.PubSub})
(phoenix_pubsub 1.1.2) lib/phoenix/pubsub/pg2_server.ex:43: Phoenix.PubSub.PG2Server.init/1
(stdlib 4.2) gen_server.erl:851: :gen_server.init_it/2
(stdlib 4.2) gen_server.erl:814: :gen_server.init_it/6
(stdlib 4.2) proc_lib.erl:240: :proc_lib.init_p_do_apply/3 |
Even if we wanted to use
That would mean updating the So the only option would be to manually upgrade the App to |
Just googled for "Send Email Phoenix" (incognito) and the second result is:
|
Tried again on ![]() SSL error:
Similar to: dwyl/elixir-invoke-lambda-example#30 |
Reading: https://elixirforum.com/t/ubuntu-20-04-compile-ssl-verify-fun-fails/32802 |
That was a dead end (way too many steps and not well explained ...) |
There are a lot of steps ... this shouldn't be this complicated!! 😢 |
Following: elixir-lang/elixir#12681 (comment) |
Migrate email dashboard from Heroku to Fly.io? https://dwylmail.herokuapp.com/

related to: dwyl/learn-heroku#52
Todo
The text was updated successfully, but these errors were encountered: