# NC18 Blank Page

**URL:** <https://help.nextcloud.com/t/nc18-blank-page/75806>\
**Category:** ℹ️ Support\
**Created:** [March 30, 2020, 12:52am UTC](https://help.nextcloud.com/t/nc18-blank-page/75806 "2020-03-30T00:52:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![snargle](https://help.nextcloud.com/letter_avatar/snargle/32/6_449c533f586939b6e5f246632a46421f.png) [@snargle](https://help.nextcloud.com/u/snargle)\
**Post date:** [March 30, 2020, 12:52am UTC](https://help.nextcloud.com/t/nc18-blank-page/75806/1 "2020-03-30T00:52:09Z")

</div>

Nextcloud version _(eg, 12.0.2)_: 18.03  
Operating system and version _(eg, Ubuntu 17.04)_: Ubuntu 18.04  
Apache or nginx version _(eg, Apache 2.4.25)_:  
PHP version _(eg, 7.1)_:

The issue you are facing:  
Nextcloud fails to load anything in browser. Apache error log shows:

```auto
[Sun Mar 29 17:42:43.493643 2020] [php7:error] [pid 2570] [client 192.168.42.208:3538] PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 4096 bytes) in /var/www/nextcloud/3rdparty/composer/autoload_static.php on line 446

```

This instance was freshly installed today. After install I saw on the Admin page a warning that “The PHP memory limit is below the recommended value of 512MB.” Attempted to resolve per this [The PHP memory limit is below the recommended value of 512MB](https://help.nextcloud.com/t/the-php-memory-limit-is-below-the-recommended-value-of-512mb/42719) which recommends editing /etc/php/7.2/cli/php.ini and /etc/php/7.2/apache2/php.ini to set the memory\_limit value to 512MB. After restarting apache I’m just getting a blank page with the noted entry in the apache error log. Setting the values back to defaults does not change behavior. Help!

---

<div class="post-metadata">

**Author:** ![thijssie85](https://help.nextcloud.com/letter_avatar/thijssie85/32/6_449c533f586939b6e5f246632a46421f.png) [@thijssie85](https://help.nextcloud.com/u/thijssie85)\
**Post date:** [March 30, 2020, 2:07am UTC](https://help.nextcloud.com/t/nc18-blank-page/75806/2 "2020-03-30T02:07:16Z")

</div>

> [@snargle](#):
>
> Allowed memory size of 2097152 bytes exhausted

Can you set youre memory limit to -1

---

<div class="post-metadata">

**Author:** ![snargle](https://help.nextcloud.com/letter_avatar/snargle/32/6_449c533f586939b6e5f246632a46421f.png) [@snargle](https://help.nextcloud.com/u/snargle)\
**Post date:** [March 30, 2020, 2:55pm UTC](https://help.nextcloud.com/t/nc18-blank-page/75806/3 "2020-03-30T14:55:17Z")

</div>

Hi, thanks for the reply. That was the default value for the cli/php.ini, and I have set that back to -1 now, restarted apache via systemctl, and confirmed reloading the page results in the same log entry:

```auto
[Mon Mar 30 07:50:06.271255 2020] [php7:error] [pid 6907] [client 192.168.42.208:6807] PHP Fatal error: Allowed memory size of 2097152 bytes exhausted (tried to allocate 147456 bytes) in /var/www/nextcloud/3rdparty/composer/autoload_static.php on line 446

```

Based on what I was reading in the linked thread (and others), it sounds like using a memory\_limit value of -1 is generally inadvisable outside of dev & troubleshooting scenarios.

It almost seems like something in this ‘composer/autoload\_static.php’ was updated after the initial memory changes, but it’s a rather large file and I’m not sure what I would be looking for.  
Perhaps there’s a “safe boot” option for nextcloud that starts the service without loading 3rdparty plugins?

---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 11, 2024, 9:25pm UTC](https://help.nextcloud.com/t/nc18-blank-page/75806/4 "2024-12-11T21:25:32Z")

</div>



---

<div class="post-metadata">

**Author:** ![wwe](https://help.nextcloud.com/user_avatar/help.nextcloud.com/wwe/32/72963_2.png) [@wwe](https://help.nextcloud.com/u/wwe)\
**Post date:** [December 11, 2024, 9:25pm UTC](https://help.nextcloud.com/t/nc18-blank-page/75806/5 "2024-12-11T21:25:33Z")

</div>


