<p>Not a URL, but you can do it from the command line by running either:</p>
<pre><code>php craft update craft
</code></pre>
<p>Or</p>
<pre><code>composer update craftcms/cms
</code></pre>
<p>You can see the issue for this here: <a href="https://github.com/craftcms/cms/issues/7091" rel="nofollow noreferrer">https://github.com/craftcms/cms/issues/7091</a></p>

CC BY-SA 4.0
2020-11-05T15:46:40.057Z
Cheers Brad! Very helpful
Matt P
CC BY-SA 4.0
2020-11-10T16:55:28.167Z
Hi Brad, I couldn't get this to work for the life of me until I 1. Updated Composer (I know, it's the little things that matter right), and 2. changed my .env "DB_Server" to 127.0.0.1.

I'm using MAMP Pro, which only works if "BD_Server=localhost", so for updating Craft using "php craft update craft" I needed to change the value to "localhost' temporarily.

(Next step is to get MAMP Pro working with 127.0.0.1)

Thanks again!
Matt P
CC BY-SA 4.0
2020-11-05T03:08:07.100Z
2020-11-05T03:08:07.100Z
Brad Bell
<p>The update button is missing, and the fix is available, but impossible to initiate from the CP.</p>
<p><a href="https://i.sstatic.net/4rNdR.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/4rNdR.png" alt="enter image description here" /></a></p>
<p>Before I embark on a manual update, I wondered <strong>if there was a URL that I could use to trigger the update</strong>? (What URL does the button normally run?|)</p>
<p>Cheers</p>
<p>Matt</p>

<url><updates><button>
Update 3.5.15.1 - Fixed a bug where the Updates utility wasn’t showing “Update” buttons
# Update 3.5.15.1 - Fixed a bug where the Updates utility wasn’t showing “Update” buttons

(Asked by: username_0 on 2020-11-04)

The update button is missing, and the fix is available, but impossible to initiate from the CP.

[![enter image description here](https://i.sstatic.net/4rNdR.png)](https://i.sstatic.net/4rNdR.png)

Before I embark on a manual update, I wondered **if there was a URL that I could use to trigger the update**? (What URL does the button normally run?|)

Cheers

Matt

**Tags:** url, updates, button


---

## 1 answers

### Answer by username_1 on 2020-11-05. Score: 0 | Accepted answer

Not a URL, but you can do it from the command line by running either:
php craft update craft

Or
composer update craftcms/cms

You can see the issue for this here: https://github.com/craftcms/cms/issues/7091

> **Comments:**
> **username_0**: Cheers Brad! Very helpful  
> **username_0**: Hi Brad, I couldn't get this to work for the life of me until I 1. Updated Composer (I know, it's the little things that matter right), and 2. changed my .env "DB_Server" to 127.0.0.1.  I'm using MAMP Pro, which only works if "BD_Server=localhost", so for updating Craft using "php craft update craft" I needed to change the value to "localhost' temporarily.  (Next step is to get MAMP Pro working with 127.0.0.1)  Thanks again!  

---

