Answers.Body: <p>If running Webmin, check the <strong>Website Options</strong> under <strong>Server Configuration</strong> and set <code>Maximum PHP script run time</code> to unlimited or a largar value. </p>
  
  <p>This is what finally did the trick but updating <code>/etc/apache2/mods-available/fcgid.conf</code> with the following values may have also played a role.</p>
  
  <pre><code>FcgidConnectTimeout 600
  FcgidIOTimeout 600
  IPCCommTimeout 600
  </code></pre>
  
  <p>After these changes and restarting apache, the script was finally able to finish and update the installation successfully.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-02-01T16:25:43.540Z
Answers.LastActivityDate: 2016-02-01T16:25:43.540Z
Answers.UserDisplayName: cballenar
Body: <p>I keep getting the following error when trying to update my craft installation. </p>
  
  <pre><code>mod_fcgid: read data timeout in 31 seconds, referer: https://mysite.com/admin/manualupdate/craft
  End of script output before headers: index.php, referer: https://mysite.com/admin/manualupdate/craft
  </code></pre>
  
  <p>I have tried updating my <code>/etc/apache2/mods-available/fcgid.conf</code> file with:</p>
  
  <pre><code>FcgidConnectTimeout 600
  FcgidIOTimeout 600
  IdleTimeout 600
  ProcessLifeTime 600
  IPCConnectTimeout 600
  BusyTimeout 600
  </code></pre>
  
  <p>And this has given no results. I still get the error. The database wasn't able to go rollback and the site is currently not available. Unfortunately this is happening in production...</p>
  
  <p>Help?</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-01T16:16:40.833Z
Comments.Text: nginx and php-fpm? I believe php-fpm has its own timeout settings as well.
Comments.UserDisplayName: Brad Bell
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-02-01T16:22:29.880Z
Comments.Text: I was able to set the `Maximum PHP script run time` to `unlimited` via webmin. I'm assuming this translates to a configuration in the php.ini file. I'll update the post with the answer. Thanks!
Comments.UserDisplayName: cballenar
Tags: <updates><timeout>
Title: Update fails: mod_fcgid: read data timeout
ThreadText: # Update fails: mod_fcgid: read data timeout
  
  (Asked by: username_0 on 2016-02-01)
  
  I keep getting the following error when trying to update my craft installation.
  
  ```
  mod_fcgid: read data timeout in 31 seconds, referer: https://mysite.com/admin/manualupdate/craft
  End of script output before headers: index.php, referer: https://mysite.com/admin/manualupdate/craft
  
  ```
  
  I have tried updating my `/etc/apache2/mods-available/fcgid.conf` file with:
  
  ```
  FcgidConnectTimeout 600
  FcgidIOTimeout 600
  IdleTimeout 600
  ProcessLifeTime 600
  IPCConnectTimeout 600
  BusyTimeout 600
  
  ```
  
  And this has given no results. I still get the error. The database wasn't able to go rollback and the site is currently not available. Unfortunately this is happening in production...
  
  Help?
  
  **Tags:** updates, timeout
  
  > **Comments:**
  > **username_1**: nginx and php-fpm? I believe php-fpm has its own timeout settings as well.  
  > **username_0**: I was able to set the `Maximum PHP script run time` to `unlimited` via webmin. I'm assuming this translates to a configuration in the php.ini file. I'll update the post with the answer. Thanks!  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2016-02-01. Score: 1
  
  If running Webmin, check the **Website Options** under **Server Configuration** and set `Maximum PHP script run time` to unlimited or a largar value.
  
  This is what finally did the trick but updating `/etc/apache2/mods-available/fcgid.conf` with the following values may have also played a role.
  
  ```
  FcgidConnectTimeout 600
  FcgidIOTimeout 600
  IPCCommTimeout 600
  
  ```
  
  After these changes and restarting apache, the script was finally able to finish and update the installation successfully.
  
  
  ---
  
  