Gallery not completing photo icons for 2 folders

Nextcloud version 13.0.5.2
Operating system and version _Ubuntu 18.04
Apache or nginx version (eg, Apache 2.4.25):Where do I find this stuff???
PHP version (eg, 7.1):

The issue you are facing:

I installed Nextcloud with snap yesterday 8/30 on my Xubuntu 18.04 x86 maxcine. My client is running on Windows 10. I’m syncing a samba share form the lan with Nextcloud. All of the files are correctly synched including the photos. Unfortunately the Gallery is not completing the folder icons for tow of my photo folders. All I see is 4 spinning circles for the two folders in the Gallery overview. When I click on one of the overviews, the folder contains the correct Icons. The other folder shows a blank screen. From the log it appears I hit a php memory limit I don’t see it in the config.php file

Additional Info:
My data is stored in /media/xtra/data on an internal HDD mounted at startup by /etc/init.d
The Client completed the sync about 16 hours ago.
The samba share that is being synched is mounted by windows at startup
There is no proxy server
Not using HTTPS at this point
this server is currently available on my local home lan only.

Is this the first time you’ve seen this error? Y

Steps to replicate it:

  1. install the snap
  2. create an external (to snap) data folder
  3. install the client on my windows machine
    4 wait until sync completes
    5 attempt to view gallery

The output of your Nextcloud log in Admin > Logging:

Found it:
|Error|index|OCP\Files\NotFoundException: /appdata_ocwclw9u5iri/appstore|2018-08-31T13:04:31-0500|
|---|---|---|---|
|Error|PHP|Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) at /snap/nextcloud/8273/htdocs/lib/private/legacy/image.php#892|2018-08-31T12:52:34-0500|
|Error|PHP|Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) at /snap/nextcloud/8273/htdocs/lib/private/legacy/image.php#892|2018-08-31T09:41:58-0500|
|Error|PHP|Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) at /snap/nextcloud/8273/htdocs/lib/private/legacy/image.php#892|2018-08-31T09:38:20-0500|
|Error|PHP|Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) at /snap/nextcloud/8273/htdocs/lib/private/legacy/image.php#892|2018-08-31T09:31:30-0500|
|Error|PHP|Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) at /snap/nextcloud/8273/htdocs/lib/private/legacy/image.php#892|2018-08-31T09:31:28-0500|
|Error|PHP|Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) at /snap/nextcloud/8273/htdocs/lib/private/legacy/image.php#892|2018-08-31T09:31:27-0500|
|Error|PHP|Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) at /snap/nextcloud/8273/htdocs/lib/private/legacy/image.php#892|2018-08-31T09:31:27-0500|
|Error|PHP|Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) at /snap/nextcloud/8273/htdocs/lib/private/legacy/image.php#892|2018-08-31T09:31:27-0500|
|Error|PHP|Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) at /snap/nextcloud/8273/htdocs/lib/private/legacy/image.php#892|2018-08-31T09:31:27-0500|
|Error|PHP|Allowed memory size of 134217728 bytes exhausted (tried to allocate 16384 bytes) at /snap/nextcloud/8273/htdocs/lib/private/legacy/image.php#892|2018-08-31T09:22:10-0500|
and lots more of same...

The output of your config.php file in /path/to/nextcloud (make sure you remove any identifiable information!):


The output of your Apache/nginx/system log in /var/log/____: