<p>If you're not able to increase your server's <code>memory_limit</code> and/or <code>max_execution_time</code> settings, then your current process is a way to "manually" update Craft 3.</p>

<p>Alternatively, if your server has Composer <a href="https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx" rel="nofollow noreferrer">installed</a> from the command line and you have SSH access, you can perform the composer update locally, then upload your <code>composer.json</code> and <code>composer.lock</code> files, then execute <code>composer install</code> from your project's root.</p>

<p>That method should use less memory than updating from the Control Panel.</p>

CC BY-SA 4.0
2018-12-10T16:15:33.173Z
2018-12-10T16:15:33.173Z
Brad Bell
<p>What's the best way to update Craft offline and then upload the files to the server? Reason I'm asking is because my updates often fail because of too low PHP memory and I don't have control over the server to update the minimum value.</p>

<p>This is my process right now:</p>

<ul>
<li>Backup everything (files + db)</li>
<li>Updating the composer.json file manually to the versions that are shown in the admin panel. </li>
<li>Run 'composer update --no-dev'</li>
<li>Upload vendor directory, composer.json and composer.lock to the server</li>
<li>Refresh admin panel and finish update. </li>
</ul>

<p>Is this the way to go or am I missing something?</p>

<updates><manual-updates>
Offline update then upload files to server
# Offline update then upload files to server

(Asked by: username_0 on 2018-12-10)

What's the best way to update Craft offline and then upload the files to the server? Reason I'm asking is because my updates often fail because of too low PHP memory and I don't have control over the server to update the minimum value.

This is my process right now:

* Backup everything (files + db)
* Updating the composer.json file manually to the versions that are shown in the admin panel.
* Run 'composer update --no-dev'
* Upload vendor directory, composer.json and composer.lock to the server
* Refresh admin panel and finish update.

Is this the way to go or am I missing something?

**Tags:** updates, manual-updates

---

## 1 answers

### Answer by username_1 on 2018-12-10. Score: 0 | Accepted answer

If you're not able to increase your server's `memory_limit` and/or `max_execution_time` settings, then your current process is a way to "manually" update Craft 3.

Alternatively, if your server has Composer [installed](https://getcomposer.org/doc/00-intro.md#installation-linux-unix-osx) from the command line and you have SSH access, you can perform the composer update locally, then upload your `composer.json` and `composer.lock` files, then execute `composer install` from your project's root.

That method should use less memory than updating from the Control Panel.


---

