# Creating logs from asset after upgrade problem

**URL:** <https://farmos.discourse.group/t/creating-logs-from-asset-after-upgrade-problem/1058>\
**Category:** Using farmOS\
**Created:** [January 16, 2022, 8:54pm UTC](https://farmos.discourse.group/t/creating-logs-from-asset-after-upgrade-problem/1058 "2022-01-16T20:54:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![oliverp44](https://avatars.discourse-cdn.com/v4/letter/o/d26b3c/32.png) [@oliverp44](https://farmos.discourse.group/u/oliverp44)\
**Post date:** [January 16, 2022, 8:54pm UTC](https://farmos.discourse.group/t/creating-logs-from-asset-after-upgrade-problem/1058/1 "2022-01-16T20:54:57Z")

</div>

I have just upgraded from v2 alpha to the latest beta and I can no longer create logs from the asset. It allows you to go to records / logs / create new log - works fine. When you try to create the log from an asset it comes up with ‘The website encountered an unexpected error. Please try again later.’

Has anyone had a similar problem ?

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [January 16, 2022, 8:57pm UTC](https://farmos.discourse.group/t/creating-logs-from-asset-after-upgrade-problem/1058/2 "2022-01-16T20:57:34Z")

</div>

@oliverp44 Hmm I’m unable to replicate this. Can you go to `/admin/reports/dblog` and copy+paste more details about the error? That’s a good place to get more details when you see this message:

> The website encountered an unexpected error. Please try again later.

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [January 16, 2022, 9:00pm UTC](https://farmos.discourse.group/t/creating-logs-from-asset-after-upgrade-problem/1058/3 "2022-01-16T21:00:07Z")

</div>

> just upgraded from v2 alpha to the latest beta

Oh… just read this part… what alpha were you using? Upgrades from alpha to beta are not “officially” supported, but if it was the latest one then you may just need to clear your cache.

I documented changes (and manual upgrade steps) between alpha versions here: [farmOS 2.x Releases (and What to Expect)](https://farmos.discourse.group/t/farmos-2-x-releases-and-what-to-expect/736)

As a rule of thumb, _always_ run `/update.php` and clear cache between updates, as described here: [Updating farmOS | farmOS](https://farmos.org/hosting/update/)

---

<div class="post-metadata">

**Author:** ![oliverp44](https://avatars.discourse-cdn.com/v4/letter/o/d26b3c/32.png) [@oliverp44](https://farmos.discourse.group/u/oliverp44)\
**Post date:** [January 16, 2022, 9:00pm UTC](https://farmos.discourse.group/t/creating-logs-from-asset-after-upgrade-problem/1058/4 "2022-01-16T21:00:42Z")

</div>

_InvalidArgumentException_ : Field asset is unknown. in _Drupal\Core\Entity\ContentEntityBase-\>getTranslatedField()_ (line _587_ of _ **web root** /html/farmOS/web/core/lib/Drupal/Core/Entity/ContentEntityBase.php_ ).

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [January 16, 2022, 9:01pm UTC](https://farmos.discourse.group/t/creating-logs-from-asset-after-upgrade-problem/1058/5 "2022-01-16T21:01:37Z")

</div>

> Field asset is unknown.

Ah OK thanks! You need to enable a module, as described in this comment: [farmOS 2.x Releases (and What to Expect) - #10 by mstenta](https://farmos.discourse.group/t/farmos-2-x-releases-and-what-to-expect/736/10)

---

<div class="post-metadata">

**Author:** ![oliverp44](https://avatars.discourse-cdn.com/v4/letter/o/d26b3c/32.png) [@oliverp44](https://farmos.discourse.group/u/oliverp44)\
**Post date:** [January 16, 2022, 9:06pm UTC](https://farmos.discourse.group/t/creating-logs-from-asset-after-upgrade-problem/1058/6 "2022-01-16T21:06:26Z")

</div>

Thank you - all sorted. Initial trials of v2 and farmOS and really impressed so far.

---

<div class="post-metadata">

**Author:** ![mstenta](https://yyz2.discourse-cdn.com/free1/user_avatar/farmos.discourse.group/mstenta/32/4_2.png) [@mstenta](https://farmos.discourse.group/u/mstenta)\
**Post date:** [January 16, 2022, 9:07pm UTC](https://farmos.discourse.group/t/creating-logs-from-asset-after-upgrade-problem/1058/7 "2022-01-16T21:07:55Z")

</div>

Great! Glad you like it! 😄
