# Upgrade log location

**URL:** <https://forum.mautic.org/t/upgrade-log-location/22428>\
**Category:** Mautic 4 Install/Upgrade Support\
**Created:** [January 22, 2022, 6:39am UTC](https://forum.mautic.org/t/upgrade-log-location/22428 "2022-01-22T06:39:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![roblefko](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/roblefko/32/4958_2.png) [@roblefko](https://forum.mautic.org/u/roblefko)\
**Post date:** [January 22, 2022, 6:39am UTC](https://forum.mautic.org/t/upgrade-log-location/22428/1 "2022-01-22T06:39:17Z")

</div>

I’m upgrading from version 3.3.4 to version 4.1

After issuing the command php bin/console mautic:update:apply --finish, I get an error that says,  
“An error occurred while updating the database. Check log for more details.”

Where can I find the correct log file?

Thanks.

---

<div class="post-metadata">

**Author:** ![huuich](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/huuich/32/419_2.png) [@huuich](https://forum.mautic.org/u/huuich)\
**Post date:** [February 18, 2022, 8:38am UTC](https://forum.mautic.org/t/upgrade-log-location/22428/2 "2022-02-18T08:38:41Z")

</div>

You can search on /var/www/YourWebsiteFolder/htdocs/var/logs
