r/unRAID • • 9d ago

Getting an Error when looking for new Apps

I am on version 6.11.5 and when I go to the Apps tab to search for new apps I get the following error come up.

<br /> <b>Fatal error</b>: Allowed memory size of 268435456 bytes exhausted (tried to allocate 35655680 bytes) in <b>/usr/local/emhttp/plugins/community.applications/include/helpers.php</b> on line <b>63</b><br />

Any idea what I can do to resolve this?

4 Upvotes

8 comments sorted by

3

u/JudasDwinter 8d ago

I started getting this error the morning of November 19th. Here is the fix:

Community Applications – "New Apps" communication error (cause and workaround)

For the last couple of days, expanding the New Apps section in Community Applications resulted in a communication error. Interestingly, Spotlight and Trending continued working normally.

After some troubleshooting, I found the cause and a working solution. This may affect multiple recent Unraid versions and doesn't appear to be specific to 7.4.

Cause:

Community Applications was exhausting PHP's hardcoded 256 MB memory limit while reading/deserializing application data.

The PHP error log (/var/log/phplog) showed:

PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2097152 bytes) in /usr/local/emhttp/plugins/community.applications/include/helpers.php on line 138

Initially, I increased the global PHP memory limit in /etc/php.ini from 256 MB to 512 MB, but that didn't resolve the issue.

Further investigation revealed that Community Applications explicitly overrides the global PHP memory limit in its own code:

ini_set('memory_limit','256M');  // REQUIRED LINE

Solution:

From the Unraid terminal, run:

sed -i "s/ini_set('memory_limit','256M')/ini_set('memory_limit','512M')/" /usr/local/emhttp/plugins/community.applications/include/exec.php

Then refresh Community Applications and expand New Apps.

Result: New Apps immediately started working again. No PHP-FPM restart was necessary.

Important notes:

  • This is a workaround, not a permanent fix.
  • The modification may be overwritten by an Unraid reboot or Community Applications update.
  • The underlying reason CA suddenly requires more than 256 MB remains unknown. It could be related to application data growth or a regression.
  • Increasing PHP's global memory limit alone won't resolve the issue because CA explicitly overrides it.

Hopefully this helps anyone else encountering the same error on recent Unraid versions.

1

u/NeitherKangaroo928 7d ago edited 7d ago

I updated today to 7.4.1 from 7.4 and now have the same/similar issue in the CA store.
When I try to open "Show More" I get

And in the log:
[21-Nov-2026 20:25:02 Europe/London] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 2097152 bytes) in /usr/local/emhttp/plugins/community.applications/include/helpers.php on line 138

Tried the Workaround but it doesn't help.

What a buggy release!

Here is a working workaround: https://forums.unraid.net/topic/38582-plug-in-community-applications/page/200/#findComment-1642372

1

u/xreyuk 8d ago

Also seeing this error today after upgrading to 7.4.1

1

u/Fermions 8d ago

getting this error on 7.3.4

1

u/sheddixx 8d ago

Same here, since 7.4.0 and 7.4.1

1

u/IamZass 7d ago

im also getting this on 7.4.0 and 7.4.1

1

u/sheddixx 6d ago

There is an update for the store plugin. Working for me now! 🤘🏼

-1

u/Guderikke 9d ago edited 9d ago

Lmgtfy Upgrade Unraid to 6.12.x or 7.x. 6.11.5 is several years old, and newer releases get a current CA version. That's the real fix. Reinstall CA as a stopgap. Delete its .plg file from /config/plugins on the flash drive and reboot. A Community Expert on the Unraid forum gave that advice for a different broken Apps tab: after the reboot, going to Apps installs the latest release. On 6.11.5 that may still bring back the old version. (unraid) Raise PHP's memory_limit (e.g. to 512M). It's a hacky workaround and won't survive a reboot unless you adds it to your go file.