<p>For anyone else experiencing this issue, there wasn't actually any error shown in the Craft log file. Craft was trying to index the S3 access log files on the bucket and treating them as image files. Reindexing images didn't solve the issue either but I got my images back by deleting all entries from the craft_assetfiles table for files have the dateModified field set to NULL (these were not image files but Craft had added them to the table). [Solved by Craft Support]</p>

CC BY-SA 3.0
2017-11-16T20:30:20.540Z
2017-11-16T20:30:20.540Z
Jai Sandhu
<p>Check your craft.log and phperrors for clues, wild guess is that you're running out of memory.</p>

<p>If that is the case you should increase <code>memory_limit</code> in PHP.</p>

CC BY-SA 3.0
2017-11-15T09:06:29.010Z
2017-11-15T09:06:29.010Z
Erik Weber
<p>I have the correct image asset source for S3 and also a local folder. Neither folder contents show (they were previously) and I see an "unknown error occurred" popup. I've tried turning off image transforms, increasing my PHP memory limit and simplifying my templates but I haven't had any luck</p>

CC BY-SA 3.0
2017-11-15T19:00:18.397Z
The underlying error message for "unknown error occurred" will be in your `craft/storage/runtime/logs` files.  You can start there to help debug this.
Brad Bell
CC BY-SA 3.0
2017-11-16T20:31:06.510Z
Hi Brad, this one didn't actually have any errors shown in the log files, see answer below
Jai Sandhu
<assets>
Cannot see local or s3 image asset source
# Cannot see local or s3 image asset source

(Asked by: username_0 on 2017-11-15)

I have the correct image asset source for S3 and also a local folder. Neither folder contents show (they were previously) and I see an "unknown error occurred" popup. I've tried turning off image transforms, increasing my PHP memory limit and simplifying my templates but I haven't had any luck

**Tags:** assets
> **Comments:**
> **username_1**: The underlying error message for "unknown error occurred" will be in your `craft/storage/runtime/logs` files.  You can start there to help debug this.  
> **username_0**: Hi Brad, this one didn't actually have any errors shown in the log files, see answer below  

---

## 2 answers

### Answer by username_0 on 2017-11-16. Score: 2

For anyone else experiencing this issue, there wasn't actually any error shown in the Craft log file. Craft was trying to index the S3 access log files on the bucket and treating them as image files. Reindexing images didn't solve the issue either but I got my images back by deleting all entries from the craft\_assetfiles table for files have the dateModified field set to NULL (these were not image files but Craft had added them to the table). [Solved by Craft Support]


---

### Answer by username_2 on 2017-11-15. Score: 1

Check your craft.log and phperrors for clues, wild guess is that you're running out of memory.

If that is the case you should increase `memory_limit` in PHP.


---

