<p>Looks like you're getting an nginx gateway timeout error.  <a href="http://www.nginxtips.com/504-gateway-time-out-using-nginx/" rel="nofollow">Here</a> is some info on how you can increase the time limit.</p>

CC BY-SA 3.0
2015-02-06T21:05:20.370Z
Yes!  that did it.  I totally forgot about the fastcgi_read_timeout, I had it set to 90sec.  Was too low for this job.  300 did it. Thanks!.
Mathieu P.
CC BY-SA 3.0
2015-02-07T02:40:51.373Z
just so you know what stalker gives you points on a Friday -- and, I might need this sometime. Such as for Vagrant Homestead.
narration_sd
CC BY-SA 3.0
2015-02-06T18:29:28.540Z
2015-02-06T18:29:28.540Z
Brad Bell
<p>I uploaded and un-tar'ed a bunch of folders containing images under one of our local asset source folder.  After triggering the "Update Asset Indexes" tool, and waiting for its completion, my asset table is still blank.  Under "Assets", I can see all the new sub-folders but all are empty.  I checked the file and folder permissions on disk, all are ok.</p>

<p>Looking into the database, the "craft_assetindexdata" show all the file path, but the "recordId" column indicate "NULL".  Is there something else I need to trigger for this process to complete?</p>

<p>Using Craft Pro 2.3.2629</p>

<p>Thanks for your help.</p>

CC BY-SA 3.0
2015-02-06T16:45:23.337Z
Do you get an JS errors in your browser's console, or are there any relevant errors being logged in `craft/storage/runtime/logs` when you "Update Asset Indexes"? That should be all you need to do assuming all of your paths are correct.
Brad Bell
CC BY-SA 3.0
2015-02-06T17:37:00.460Z
yep, error in jconsole...  the fact that the job gave me a "checkmark" made me believe all was ok:
Mathieu P.
CC BY-SA 3.0
2015-02-06T17:45:27.173Z
jquery-2.1.1.min.js?d=1423164000:4 POST https://cms.hopper.com/index.php?p=admin/actions/tools/performAction 504 (Gateway Time-out)
 jquery-2.1.1.min.js?d=1423164000:4
n.ajaxTransport.k.cors.a.crossDomain.send
 jquery-2.1.1.min.js?d=1423164000:4 
n.extend.ajax
 craft.js:375 
d.extend.postActionRequest
 settings.js:166 
Craft.Tool.Garnish.Base.extend.postActionRequest
 settings.js:121
Craft.Tool.Garnish.Base.extend.loadAction
 settings.js:98 (anonymous function)jquery-2.1.1.min.js?d=1423164000:2
n.extend.proxy.n.isFunction.f
  velocity.min.js?d=1423164000:3 p
v
  elocity.min.js?d=1423164000:3
c
Mathieu P.
CC BY-SA 3.0
2015-02-06T17:59:41.327Z
not certain if this is related to the gateway time-out, but the baseUrl env variable for this domain is https (and the server only answer https).
Mathieu P.
CC BY-SA 3.0
2015-02-06T18:19:59.463Z
hum... not sure if that was a cut-n-paste issue, but I does post to https:
Mathieu P.
CC BY-SA 3.0
2015-02-06T18:20:24.083Z
POST https://cms.hopper.com/index.php?p=admin/actions/tools/performAction 504 (Gateway Time-out)
Mathieu P.
<assets>
Uploaded assets using ftp, asset not displaying
# Uploaded assets using ftp, asset not displaying

(Asked by: username_0 on 2015-02-06)

I uploaded and un-tar'ed a bunch of folders containing images under one of our local asset source folder. After triggering the "Update Asset Indexes" tool, and waiting for its completion, my asset table is still blank. Under "Assets", I can see all the new sub-folders but all are empty. I checked the file and folder permissions on disk, all are ok.

Looking into the database, the "craft\_assetindexdata" show all the file path, but the "recordId" column indicate "NULL". Is there something else I need to trigger for this process to complete?

Using Craft Pro 2.3.2629

Thanks for your help.

**Tags:** assets

> **Comments:**
> **username_1**: Do you get an JS errors in your browser's console, or are there any relevant errors being logged in `craft/storage/runtime/logs` when you "Update Asset Indexes"? That should be all you need to do assuming all of your paths are correct.  
> **username_0**: yep, error in jconsole...  the fact that the job gave me a "checkmark" made me believe all was ok:  
> **username_0**: jquery-2.1.1.min.js?d=1423164000:4 POST https://cms.hopper.com/index.php?p=admin/actions/tools/performAction 504 (Gateway Time-out)  jquery-2.1.1.min.js?d=1423164000:4 n.ajaxTransport.k.cors.a.crossDomain.send  jquery-2.1.1.min.js?d=1423164000:4  n.extend.ajax  craft.js:375  d.extend.postActionRequest  settings.js:166  Craft.Tool.Garnish.Base.extend.postActionRequest  settings.js:121 Craft.Tool.Garnish.Base.extend.loadAction  settings.js:98 (anonymous function)jquery-2.1.1.min.js?d=1423164000:2 n.extend.proxy.n.isFunction.f   velocity.min.js?d=1423164000:3 p v   elocity.min.js?d=1423164000:3 c  
> **username_0**: not certain if this is related to the gateway time-out, but the baseUrl env variable for this domain is https (and the server only answer https).  
> **username_0**: hum... not sure if that was a cut-n-paste issue, but I does post to https:  
> **username_0**: POST https://cms.hopper.com/index.php?p=admin/actions/tools/performAction 504 (Gateway Time-out)  

---

## 1 answers

### Answer by username_1 on 2015-02-06. Score: 2 | Accepted answer

Looks like you're getting an nginx gateway timeout error. [Here](http://www.nginxtips.com/504-gateway-time-out-using-nginx/) is some info on how you can increase the time limit.

> **Comments:**
> **username_0**: Yes!  that did it.  I totally forgot about the fastcgi_read_timeout, I had it set to 90sec.  Was too low for this job.  300 did it. Thanks!.  
> **username_2**: just so you know what stalker gives you points on a Friday -- and, I might need this sometime. Such as for Vagrant Homestead.  

---

