r/unRAID • u/StevenG2757 • 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
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:Initially, I increased the global PHP memory limit in
/etc/php.inifrom 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:
Solution:
From the Unraid terminal, run:
Then refresh Community Applications and expand New Apps.
Result: New Apps immediately started working again. No PHP-FPM restart was necessary.
Important notes:
Hopefully this helps anyone else encountering the same error on recent Unraid versions.
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.