# An error occurred while checking for updates. Please try again later. (SSH request fails?)

**URL:** <https://forum.mautic.org/t/an-error-occurred-while-checking-for-updates-please-try-again-later-ssh-request-fails/21796>\
**Category:** Product Support\
**Tags:** mautic-3\
**Created:** [November 28, 2021, 12:46pm UTC](https://forum.mautic.org/t/an-error-occurred-while-checking-for-updates-please-try-again-later-ssh-request-fails/21796 "2021-11-28T12:46:51Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [November 28, 2021, 12:46pm UTC](https://forum.mautic.org/t/an-error-occurred-while-checking-for-updates-please-try-again-later-ssh-request-fails/21796/1 "2021-11-28T12:46:51Z")

</div>

**Your software**  
My Mautic version is: 3.3.3  
My PHP version is: 7.425  
My Database type and version is:

**Your problem**  
My problem is: I have asked my host to update mautic following @joeyk 's amazing guide [Update Mautic 3+ to Mautic 4.0.1 (via SSH) – Joey Keller](https://joeykeller.com/update-mautic-3-to-mautic-4-via-ssh/). This mautic is a on a shared host (yes I know that is not ideal) so I have my amazing host do updates for me.

But this time  
"However, it appears that when I try to request a newer version via SSH with the following command:

php bin/console mautic:update:find

The error below occurs:

> An error occurred while checking for updates. Please try again later.

Since the error message itself does not provide enough information for troubleshooting, I cannot update you with details as to why the update failed.

These errors are showing in the log: None

Steps I have tried to fix the problem: Clearing the cache

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [November 29, 2021, 4:29pm UTC](https://forum.mautic.org/t/an-error-occurred-while-checking-for-updates-please-try-again-later-ssh-request-fails/21796/2 "2021-11-29T16:29:47Z")

</div>

seems very strange. What version are you updating from ? are you trying to update to 4.0.2 ?

maybe try run php7.4 bin/console mautic:update:find or maybe even add a sudo before ?

Just shooting in the dark

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [November 29, 2021, 4:55pm UTC](https://forum.mautic.org/t/an-error-occurred-while-checking-for-updates-please-try-again-later-ssh-request-fails/21796/3 "2021-11-29T16:55:06Z")

</div>

Thans Mike,

Seems my host has been able to update from 3.3.3 to 3.3.4 but now when they looking for next update, and I quote,

"However, when I try to find newer updates with the following command:

php bin/console mautic:update:find

The following message occurs:

> Great! You are running the current version of Mautic."

So I am at the same spot but one version more recent. What could be the reason mautic is not finding version 4 with

php bin/console mautic:update:find

?

---

<div class="post-metadata">

**Author:** ![mikew](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/mikew/32/5156_2.png) [@mikew](https://forum.mautic.org/u/mikew)\
**Post date:** [November 29, 2021, 5:04pm UTC](https://forum.mautic.org/t/an-error-occurred-while-checking-for-updates-please-try-again-later-ssh-request-fails/21796/4 "2021-11-29T17:04:24Z")

</div>

I have experienced a similar issue but just waited a bit and reran and I think it found it.  
If you look on your mautic instance do you see a notification for the next version yet ?

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [November 29, 2021, 5:07pm UTC](https://forum.mautic.org/t/an-error-occurred-while-checking-for-updates-please-try-again-later-ssh-request-fails/21796/5 "2021-11-29T17:07:55Z")

</div>

Just checked and the notification is there.

Will ask my host to try again. Hopefully it is just a time delay thing as you have suggested.

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [November 30, 2021, 12:48pm UTC](https://forum.mautic.org/t/an-error-occurred-while-checking-for-updates-please-try-again-later-ssh-request-fails/21796/6 "2021-11-30T12:48:31Z")

</div>

The front end of Mautic shows a notification that there is a new version 4 update available. But running the SSH command php bin/console mautic:update:find

says we are running the latest version. We are on 3.3.4

I have waited 24hrs between update attempts as I suspected there maybe a time delay issue.

Is there another way to get the update package and still update via SSH?

---

<div class="post-metadata">

**Author:** ![silavapi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/silavapi/32/7424_2.png) [@silavapi](https://forum.mautic.org/u/silavapi)\
**Post date:** [November 30, 2021, 1:59pm UTC](https://forum.mautic.org/t/an-error-occurred-while-checking-for-updates-please-try-again-later-ssh-request-fails/21796/7 "2021-11-30T13:59:52Z")

</div>

Have you tried to clear your cache and then check for updates?

Quite often this will catch me out when it doesn’t find the update - clearing the cache sometimes helps with that!

---

<div class="post-metadata">

**Author:** ![robm](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.mautic.org/robm/32/260_2.png) [@robm](https://forum.mautic.org/u/robm)\
**Post date:** [November 30, 2021, 2:29pm UTC](https://forum.mautic.org/t/an-error-occurred-while-checking-for-updates-please-try-again-later-ssh-request-fails/21796/8 "2021-11-30T14:29:01Z")

</div>

Thanks Ruth,

Yes, we have.

In fact clearing the cache did solve the very 1st issue I had and the reason for this post.

The issue has evolved since then to the where version 4 is not being found by the SSH command and we are being told we are on the latest version.
