Answers.Body: <p>My guess is that you're bumping into your php.ini file's <code>memory_limit</code> and/or <code>max_execution_time</code> setting.  It just happens to be towards the end of the update process where Craft is (for all practical purposes) updating, and it fails in the "cleaning up" portion of the update process.</p>
  
  <p>Bump those up to something like <code>256M</code> and <code>120</code> (respectively) and see if that helps going forward.</p>
  
  <blockquote>
    <p>Since the prior update pseudo-failure there was a message about maintenance mode and a button to continue (which I'm assuming is a flag set somewhere from the prior update). </p>
  </blockquote>
  
  <p>Yup, it's a flag set that never gets reset if there's a fatal PHP error (live above).  It'll go away after the next successful update.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-17T04:16:40.423Z
Answers.Text: Alas, those are not the issues—it started happening after the first couple of updates; unfortunately I can't remember the version where it started happening.
  
  memory_limit is at 512MB and max_execution_time is at 180. As a side note, there is no php.ini access on this particular shared host.
Answers.UserDisplayName: Anders
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-10-16T00:22:56.347Z
Answers.LastActivityDate: 2018-10-16T00:22:56.347Z
Answers.UserDisplayName: Brad Bell
Body: <p>Updating Craft (and sometimes plugins like Commerce) through Craft 3 admin gives errors. Usually undefined, but have gotten "Backend fetch failed" most recently. Once I refresh the window, it seems to be updated. Since the prior update pseudo-failure there was a message about maintenance mode and a button to continue (which I'm assuming is a flag set somewhere from the prior update). It's a live site on shared open_basedir hosting and proc_open() disabled—which is accounted for in the general config, disabling backups when updating.</p>
  
  <p>Anybody experience this and/or have a solution? All the folder permissions and so forth look correct.</p>
  
Tags: <craft3>
Title: Updating fails (except it does indeed update)
ThreadText: # Updating fails (except it does indeed update)
  
  (Asked by: username_0 on 2018-10-13)
  
  Updating Craft (and sometimes plugins like Commerce) through Craft 3 admin gives errors. Usually undefined, but have gotten "Backend fetch failed" most recently. Once I refresh the window, it seems to be updated. Since the prior update pseudo-failure there was a message about maintenance mode and a button to continue (which I'm assuming is a flag set somewhere from the prior update). It's a live site on shared open\_basedir hosting and proc\_open() disabled—which is accounted for in the general config, disabling backups when updating.
  
  Anybody experience this and/or have a solution? All the folder permissions and so forth look correct.
  
  **Tags:** craft3
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-10-16. Score: 1
  
  My guess is that you're bumping into your php.ini file's `memory_limit` and/or `max_execution_time` setting. It just happens to be towards the end of the update process where Craft is (for all practical purposes) updating, and it fails in the "cleaning up" portion of the update process.
  
  Bump those up to something like `256M` and `120` (respectively) and see if that helps going forward.
  
  > Since the prior update pseudo-failure there was a message about maintenance mode and a button to continue (which I'm assuming is a flag set somewhere from the prior update).
  
  Yup, it's a flag set that never gets reset if there's a fatal PHP error (live above). It'll go away after the next successful update.
  
  > **Comments:**
  > **username_0**: Alas, those are not the issues—it started happening after the first couple of updates; unfortunately I can't remember the version where it started happening.  memory_limit is at 512MB and max_execution_time is at 180. As a side note, there is no php.ini access on this particular shared host.  
  
  ---
  
  