analytics icon indicating copy to clipboard operation
analytics copied to clipboard

Upgrade 2.0.0 to 2.1.0 -> Plausible.Site.Cache.All terminating

Open cutzenfriend opened this issue 4 months ago • 1 comments

Past Issues Searched

  • [x] I have searched open and closed issues to make sure that the bug has not yet been reported

Issue is a Bug Report

  • [x] This is a bug report and not a feature request, nor asking for self-hosted support

Using official Plausible Cloud hosting or self-hosting?

Self-hosting

Describe the bug

After Updating the Plausible Docker from 2.0.0 to 2.1.0 it doesn't start up and I get this error:

plausible-1            | 2025-08-08T07:53:20.419768261Z ** (ArgumentError) cannot load `"@@0IbEZ"` as type #Ecto.Enum for field :theme in %Plausible.Auth.User{__meta__: #Ecto.Schema.Metadata<:loaded, "users">, id: nil, email: nil, password_hash: nil, password: nil, password_confirmation: nil, name: nil, last_seen: nil, trial_expiry_date: nil, theme: nil, email_verified: nil, previous_email: nil, accept_traffic_until: nil, allow_next_upgrade_override: nil, totp_enabled: false, totp_secret: nil, totp_token: nil, totp_last_used_at: nil, grace_period: nil, site_memberships: #Ecto.Association.NotLoaded, sites: #Ecto.Association.NotLoaded, api_keys: #Ecto.Association.NotLoaded, google_auth: #Ecto.Association.NotLoaded, subscription: #Ecto.Association.NotLoaded, enterprise_plan: #Ecto.Association.NotLoaded, inserted_at: nil, updated_at: nil}
plausible-1            | 2025-08-08T07:53:20.419782531Z     (ecto 3.11.2) lib/ecto/repo/queryable.ex:431: Ecto.Repo.Queryable.struct_load!/6
plausible-1            | 2025-08-08T07:53:20.419790051Z     (ecto 3.11.2) lib/ecto/repo/queryable.ex:269: Ecto.Repo.Queryable.preprocess/4
plausible-1            | 2025-08-08T07:53:20.419796991Z     (ecto 3.11.2) lib/ecto/repo/queryable.ex:270: Ecto.Repo.Queryable.preprocess/4
plausible-1            | 2025-08-08T07:53:20.419803891Z     (ecto 3.11.2) lib/ecto/repo/assoc.ex:23: anonymous fn/3 in Ecto.Repo.Assoc.query/4
plausible-1            | 2025-08-08T07:53:20.419811081Z     (elixir 1.16.0) lib/enum.ex:2528: Enum."-reduce/3-lists^foldl/2-0-"/3
plausible-1            | 2025-08-08T07:53:20.419818171Z     (ecto 3.11.2) lib/ecto/repo/assoc.ex:22: Ecto.Repo.Assoc.query/4
plausible-1            | 2025-08-08T07:53:20.419825051Z     (ecto 3.11.2) lib/ecto/repo/queryable.ex:237: Ecto.Repo.Queryable.execute/4
plausible-1            | 2025-08-08T07:53:20.419832101Z     (ecto 3.11.2) lib/ecto/repo/queryable.ex:19: Ecto.Repo.Queryable.all/3
plausible-1            | 2025-08-08T07:53:20.419839081Z Last message: :"$cycle"
plausible-1            | 2025-08-08T07:53:22.030104385Z Kernel pid terminated (application_controller) ("{application_terminated,plausible,shutdown}")```

### Expected behavior

Container Startup.

### Screenshots

_No response_

### Environment

```markdown
- OS: Linux -> Docker
- Browser: Any

cutzenfriend avatar Aug 08 '25 07:08 cutzenfriend

👋 @cutzenfriend

Please see https://github.com/plausible/analytics/discussions/4125#discussioncomment-10052111

ruslandoga avatar Aug 19 '25 01:08 ruslandoga