# \#elixir-upgrade

**URL:** https://forum.elixirforum.com/tag/elixir-upgrade/3447.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Issue upgrading - cannot define module Phoenix.View because it is currently being defined in](https://forum.elixirforum.com/t/issue-upgrading-cannot-define-module-phoenix-view-because-it-is-currently-being-defined-in/65158)

<div class="topic-metadata">

**Author:** [@Sandeep-Suthar9467](https://forum.elixirforum.com/u/Sandeep-Suthar9467)\
**Replies:** 4\
**Last updated:** [July 29, 2024, 9:11am UTC](https://forum.elixirforum.com/t/issue-upgrading-cannot-define-module-phoenix-view-because-it-is-currently-being-defined-in/65158 "2024-07-29T09:11:14Z")

</div>

\*\*Elixir Version:\*\* 1.13.4 \*\*Erlang/OTP Version:\*\* 24.3.4.4 \*\*Phoenix Version (Before Upgrade):\*\* - {:phoenix, "~\> 1.6.0"} - {:phoenix\_html, "~\> 3.0"} - {:phoenix\_live\_dashboard, "~\> 0.5"} \*\*Phoenix Version (A…

---

## [Upgrading elixir/erlang from 1.14.3/24.3.2.8 to 1.16.2/26.2.5 resulted in 5x performance degradation](https://forum.elixirforum.com/t/upgrading-elixir-erlang-from-1-14-3-24-3-2-8-to-1-16-2-26-2-5-resulted-in-5x-performance-degradation/64340)

<div class="topic-metadata">

**Author:** [@baruh](https://forum.elixirforum.com/u/baruh)\
**Replies:** 4\
**Last updated:** [June 20, 2024, 3:34pm UTC](https://forum.elixirforum.com/t/upgrading-elixir-erlang-from-1-14-3-24-3-2-8-to-1-16-2-26-2-5-resulted-in-5x-performance-degradation/64340 "2024-06-20T15:34:40Z")

</div>

Overall, the performance in multiple places in the project I am working on has improved. However, there is one module that does a few operations that seems to - although it doesn’t seem to - get slower between versions,…

---

## [Warnings : ElixirLS Dialyzer The function call will not succeed](https://forum.elixirforum.com/t/warnings-elixirls-dialyzer-the-function-call-will-not-succeed/59597)

<div class="topic-metadata">

**Author:** [@rakeshtripathy](https://forum.elixirforum.com/u/rakeshtripathy)\
**Replies:** 4\
**Last updated:** [November 15, 2023, 5:45am UTC](https://forum.elixirforum.com/t/warnings-elixirls-dialyzer-the-function-call-will-not-succeed/59597 "2023-11-15T05:45:32Z")

</div>

The function call will not succeed. ExInsights.track\_exception( \_ :: %{:\_\_exception\_\_ =\> true, :\_\_struct\_\_ =\> atom(), atom() =\> \_}, \_ :: \[{atom(), atom(), \[any()\] | byte(), \[{:file, string()} | {:line, pos\_integer()…

---

## [Abnormal surge of memory after upgrade elixir version to 1.15.6 on Heroku dyno](https://forum.elixirforum.com/t/abnormal-surge-of-memory-after-upgrade-elixir-version-to-1-15-6-on-heroku-dyno/59491)

<div class="topic-metadata">

**Author:** [@tomwang57](https://forum.elixirforum.com/u/tomwang57)\
**Replies:** 2\
**Last updated:** [November 6, 2023, 11:51am UTC](https://forum.elixirforum.com/t/abnormal-surge-of-memory-after-upgrade-elixir-version-to-1-15-6-on-heroku-dyno/59491 "2023-11-06T11:51:45Z")

</div>

We are recently considering upgrade the elixir version from 1.8.1 to 1.15.6 as well as the phoenix framework. We tried it firstly in staging env and found that the memory usage increased dramatically: from 300M to 700M. …

---

## [Need Help error Duplicated modules: 'Elixir.Phoenix.View' specified in phoenix and phoenix\_view](https://forum.elixirforum.com/t/need-help-error-duplicated-modules-elixir-phoenix-view-specified-in-phoenix-and-phoenix-view/55052)

<div class="topic-metadata">

**Author:** [@rakeshtripathy](https://forum.elixirforum.com/u/rakeshtripathy)\
**Replies:** 3\
**Last updated:** [November 3, 2023, 7:17pm UTC](https://forum.elixirforum.com/t/need-help-error-duplicated-modules-elixir-phoenix-view-specified-in-phoenix-and-phoenix-view/55052 "2023-11-03T19:17:52Z")

</div>

Hi All, I am using below deps versions: {:phoenix, “~\> 1.5”}, {:phoenix\_view, “~\> 2.0”}, I am getting below error while running mix release RUN mix release --overwrite —\> Running in 62456d7895bc2 assembling my\_te…

---

## [gpb dependency not fully compiled when migrating to Elixir 15 and OTP 26](https://forum.elixirforum.com/t/gpb-dependency-not-fully-compiled-when-migrating-to-elixir-15-and-otp-26/58663)

<div class="topic-metadata">

**Author:** [@Lucian-Bosinceanu](https://forum.elixirforum.com/u/Lucian-Bosinceanu)\
**Replies:** 3\
**Last updated:** [October 10, 2023, 1:27pm UTC](https://forum.elixirforum.com/t/gpb-dependency-not-fully-compiled-when-migrating-to-elixir-15-and-otp-26/58663 "2023-10-10T13:27:59Z")

</div>

Hello! I am currently working on upgrading the Elixir and Erlang versions of an app from: elixir 1.12.2 erlang 24.2.1 to: elixir 1.15.6-otp-26 erlang 26.1.1 I’m using asdf as a dependency manager and I configured th…

---

## [Upgrade to elixir 1.15 broke matrix dependency](https://forum.elixirforum.com/t/upgrade-to-elixir-1-15-broke-matrix-dependency/58699)

<div class="topic-metadata">

**Author:** [@Laurent](https://forum.elixirforum.com/u/Laurent)\
**Replies:** 2\
**Last updated:** [October 4, 2023, 4:52pm UTC](https://forum.elixirforum.com/t/upgrade-to-elixir-1-15-broke-matrix-dependency/58699 "2023-10-04T16:52:55Z")

</div>

Hi We are currently on elixir 1.14.3, we import matrix dependency: {:matrix, "~\> 0.3.0"}, After upgrading to 1.15.6 there is now an error by starting the application: error: undefined variable "description" /home/me…

---

## [(UndefinedFunctionError) function :crypto.hmac/3 is undefined or private in OTP 24](https://forum.elixirforum.com/t/undefinedfunctionerror-function-crypto-hmac-3-is-undefined-or-private-in-otp-24/55750)

<div class="topic-metadata">

**Author:** [@rakeshtripathy](https://forum.elixirforum.com/u/rakeshtripathy)\
**Replies:** 12\
**Last updated:** [July 11, 2023, 6:16pm UTC](https://forum.elixirforum.com/t/undefinedfunctionerror-function-crypto-hmac-3-is-undefined-or-private-in-otp-24/55750 "2023-07-11T18:16:46Z")

</div>

Hello, I have upgraded to OTP 24 and the application gives me below error. 2023-05-08T09:39:40.016516261Z \*\* (UndefinedFunctionError) function :crypto.hmac/3 is undefined or private 2023-05-08T09:39:40.016521861Z (…

---

## [Exunit test error Ecto.Changeset.cast/4](https://forum.elixirforum.com/t/exunit-test-error-ecto-changeset-cast-4/56444)

<div class="topic-metadata">

**Author:** [@rakeshtripathy](https://forum.elixirforum.com/u/rakeshtripathy)\
**Replies:** 9\
**Last updated:** [June 15, 2023, 11:26am UTC](https://forum.elixirforum.com/t/exunit-test-error-ecto-changeset-cast-4/56444 "2023-06-15T11:26:59Z")

</div>

I’m testing the test\_controller and I’m getting this error: \*\* (FunctionClauseError) no function clause matching in Ecto.Changeset.cast/4 when attempting to create or update an object. The following arguments were giv…

---

## [Error : Plug.Exception is not implemented after upgrading to plug 1.14](https://forum.elixirforum.com/t/error-plug-exception-is-not-implemented-after-upgrading-to-plug-1-14/56206)

<div class="topic-metadata">

**Author:** [@rakeshtripathy](https://forum.elixirforum.com/u/rakeshtripathy)\
**Replies:** 1\
**Last updated:** [May 31, 2023, 1:17pm UTC](https://forum.elixirforum.com/t/error-plug-exception-is-not-implemented-after-upgrading-to-plug-1-14/56206 "2023-05-31T13:17:22Z")

</div>

Hi All, I have upgraded Phoenix to 1.5.14 and plug 1.14. I am getting below error after upgrading. warning: function actions/1 required by protocol Plug.Exception is not implemented (in module Plug.Exception.Plug.CSR…

---

## [Need Help on Erlang OTP version mismatch in Dev and QA environment](https://forum.elixirforum.com/t/need-help-on-erlang-otp-version-mismatch-in-dev-and-qa-environment/55165)

<div class="topic-metadata">

**Author:** [@rakeshtripathy](https://forum.elixirforum.com/u/rakeshtripathy)\
**Replies:** 8\
**Last updated:** [April 11, 2023, 6:01pm UTC](https://forum.elixirforum.com/t/need-help-on-erlang-otp-version-mismatch-in-dev-and-qa-environment/55165 "2023-04-11T18:01:20Z")

</div>

Hello, I have upgraded Elixir version from 1.10 to 1.12.3 and erlang 22.2.6 to 23.3.4.18 I have set the global version after erlang installation. asdf global erlang 23.3.4 .tool-version.ex elixir 1.12.3-otp-23 erla…

---

## [Elixir upgrade help - warning: the VM is running with native name encoding of latin1 which may cause Elixir to malfunction](https://forum.elixirforum.com/t/elixir-upgrade-help-warning-the-vm-is-running-with-native-name-encoding-of-latin1-which-may-cause-elixir-to-malfunction/55020)

<div class="topic-metadata">

**Author:** [@rakeshtripathy](https://forum.elixirforum.com/u/rakeshtripathy)\
**Replies:** 1\
**Last updated:** [April 4, 2023, 4:10pm UTC](https://forum.elixirforum.com/t/elixir-upgrade-help-warning-the-vm-is-running-with-native-name-encoding-of-latin1-which-may-cause-elixir-to-malfunction/55020 "2023-04-04T16:10:31Z")

</div>

Hello, I have upgraded Elixir version from 1.10 to 1.12.3 and erlang 22.2.6 to 23.3.4.18 .tool-version.ex elixir 1.12.3-otp-23 nodejs 13.8.0 postgres 11.6 ruby 2.7.0 erlang 23.3.4.18 In my dev environment I can s…

---

## [Need help on :mime compile time value not set error](https://forum.elixirforum.com/t/need-help-on-mime-compile-time-value-not-set-error/54882)

<div class="topic-metadata">

**Author:** [@rakeshtripathy](https://forum.elixirforum.com/u/rakeshtripathy)\
**Replies:** 1\
**Last updated:** [March 28, 2023, 8:32am UTC](https://forum.elixirforum.com/t/need-help-on-mime-compile-time-value-not-set-error/54882 "2023-03-28T08:32:30Z")

</div>

I have upgraded mime to 2.0.3, and getting below error. RUN mix compile —\> Running in 0e90b797e89a1 ERROR! the application :mime has a different value set for key :types during runtime compared to compile time. Since …

---

## [Error after upgrading Elixir version to 1.12.3 and OTP 23 via docker](https://forum.elixirforum.com/t/error-after-upgrading-elixir-version-to-1-12-3-and-otp-23-via-docker/54192)

<div class="topic-metadata">

**Author:** [@rakeshtripathy](https://forum.elixirforum.com/u/rakeshtripathy)\
**Replies:** 3\
**Last updated:** [February 28, 2023, 1:31pm UTC](https://forum.elixirforum.com/t/error-after-upgrading-elixir-version-to-1-12-3-and-otp-23-via-docker/54192 "2023-02-28T13:31:24Z")

</div>

Hello All, I have upgraded elixir version from 1.10.0 → 1.12.3, and erlang 22.2.6 → 23.3.4.18 from the terminal using asdf. Also I have set the local and global version for both and updated the docker image file. The …

---

## [Fail to update and deploy to 1.13.4 via docker](https://forum.elixirforum.com/t/fail-to-update-and-deploy-to-1-13-4-via-docker/53808)

<div class="topic-metadata">

**Author:** [@rakeshtripathy](https://forum.elixirforum.com/u/rakeshtripathy)\
**Replies:** 6\
**Last updated:** [February 13, 2023, 11:31am UTC](https://forum.elixirforum.com/t/fail-to-update-and-deploy-to-1-13-4-via-docker/53808 "2023-02-13T11:31:20Z")

</div>

I have upgraded elixir version from 1.10.0 to 1.13.4. I tried to update docker file manually “FROM elixir:1.10.0-slim” to FROM elixir:1.13.4-slim, but I am getting below error. Current docker file is using FROM elixir:…

---

## [Need help to upgrade Elixir and Ubuntu version](https://forum.elixirforum.com/t/need-help-to-upgrade-elixir-and-ubuntu-version/53416)

<div class="topic-metadata">

**Author:** [@rakeshtripathy](https://forum.elixirforum.com/u/rakeshtripathy)\
**Replies:** 1\
**Last updated:** [January 25, 2023, 3:01pm UTC](https://forum.elixirforum.com/t/need-help-to-upgrade-elixir-and-ubuntu-version/53416 "2023-01-25T15:01:10Z")

</div>

Hello, Currently we are having Ubuntu 19.10 and Elixir version 1.10. We are planning to upgrade Elixir version from 1.10 to 1.12 or 1.13. Also we are planning to upgrade Ubuntu version 19.10 to the latest version, but …

---

## [How to upgrade Elixir from 1.13.4 to 1.14.2](https://forum.elixirforum.com/t/how-to-upgrade-elixir-from-1-13-4-to-1-14-2/51908)

<div class="topic-metadata">

**Author:** [@ariandanim](https://forum.elixirforum.com/u/ariandanim)\
**Replies:** 1\
**Last updated:** [November 20, 2022, 4:37am UTC](https://forum.elixirforum.com/t/how-to-upgrade-elixir-from-1-13-4-to-1-14-2/51908 "2022-11-20T04:37:31Z")

</div>

Dear all, please how to upgrade Elixir from 1.13.4 to 14.2 in my VPS server using Ubuntu 20.04? when i try type into my vps “sudo apt-get install elixir” the command shows “Elixir is already newest”, i try search into e…
