You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 10, 2021. It is now read-only.
Thanks for this awesome project. I had absolutely no issues in development, but my first deployement went horribly. Here are the issues:
The migration ChangeAndConvertPageDataTypeInBackupsTable failed because of
{"init terminating in do_boot",{undef,[{nil,all,['Elixir.Thesis.Backup'],[]},{'Elixir.Databerg.Repo.Migrations.ChangeAndConvertPageDataTypeInBackupsTable',convert_and_map_page_data,0,[{file,"lib/databerg-4.7.6/priv/repo/migrations/20180925114963_change_and_convert_page_data_type_in_backups_table.exs"},{line,17}]},{'Elixir.Databerg.Repo.Migrations.ChangeAndConvertPageDataTypeInBackupsTable',change,0,[{file,"lib/databerg-4.7.6/priv/repo/migrations/20180925114963_change_and_convert_page_data_type_in_backups_table.exs"},{line,9}]},{timer,tc,3,[{file,"timer.erl"},{line,197}]},{'Elixir.Ecto.Migration.Runner',run,6,[{file,"lib/ecto/migration/runner.ex"},{line,25}]},{'Elixir.Ecto.Migrator',attempt,6,[{file,"lib/ecto/migrator.ex"},{line,128}]},{'Elixir.Ecto.Migrator','-do_up/4-fun-1-',4,[{file,"lib/ecto/migrator.ex"},{line,73}]},{'Elixir.Ecto.Adapters.SQL','-do_transaction/3-fun-1-',3,[{file,"lib/ecto/adapters/sql.ex"},{line,576}]}]}}
This is something I cannot explain. Especially since there are no Backups present. And because it worked on my machine. I just removed everything in the change function and only put
alter table(:thesis_backups) do
modify :page_data, :text
end
Which seems to work for now. 🤔
Second issue is Mix.env in production in the notifications.
I tried uncommenting the notifications config in config/config.exs, but that doesn't change the fact that this function uses Mix.env. Has anyone tried to run the code in production?
The text was updated successfully, but these errors were encountered:
Hi there
Thanks for this awesome project. I had absolutely no issues in development, but my first deployement went horribly. Here are the issues:
The migration
ChangeAndConvertPageDataTypeInBackupsTable
failed because ofThis is something I cannot explain. Especially since there are no Backups present. And because it worked on my machine. I just removed everything in the change function and only put
Which seems to work for now. 🤔
Second issue is Mix.env in production in the notifications.
thesis-phoenix/lib/thesis/notifications.ex
Line 40 in bbf88df
I tried uncommenting the notifications config in config/config.exs, but that doesn't change the fact that this function uses Mix.env. Has anyone tried to run the code in production?
The text was updated successfully, but these errors were encountered: