# Bug in Admin on Fresh Install

**URL:** <https://ask.gibbonedu.org/t/bug-in-admin-on-fresh-install/8659>\
**Category:** Developers\
**Created:** [March 8, 2024, 6:49am UTC](https://ask.gibbonedu.org/t/bug-in-admin-on-fresh-install/8659 "2024-03-08T06:49:11Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ciphermenial](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/ciphermenial/32/434_2.png) [@ciphermenial](https://ask.gibbonedu.org/u/ciphermenial)\
**Post date:** [March 8, 2024, 6:49am UTC](https://ask.gibbonedu.org/t/bug-in-admin-on-fresh-install/8659/1 "2024-03-08T06:49:11Z")

</div>

I installed Gibbon on Ubuntu today but was unable to open **System Admin**. Someone else mentioned the same issue and that the error was related to `checkUploadsFolderStatus`.

I found the `systemOverview.php` under `/gibbon/modules/System Admin/` and commented out the offending check.

```php
// Uploads folder check, make a request using a Guzzle HTTP get request
    $statusCheck = checkUploadsFolderStatus($session->get('absoluteURL'));
    if (!$statusCheck) {
    $uploadsCheck = Format::alert(__('The system check has detected that your uploa
ds folder may be publicly accessible. This suggests a serious issue in your server config
uration that should be addressed immediately. Please visit our {documentation} page for i
nstructions to fix this issue.', [
        'documentation' => Format::link('https://docs.gibbonedu.org/administrators/
getting-started/installing-gibbon/#post-install-server-config', __('Post-Install and Serv
er Config')),
    ]), 'error');
    }

```

After doing that, the page loded correctly.

Edit: It is because my server is behind Cloudflare. [GitHub - matancohen365/cloudflare-middleware: Bypass Cloudflare (Middleware For Guzzle)](https://github.com/matancohen365/cloudflare-middleware)

---

<div class="post-metadata">

**Author:** ![sandra](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/sandra/32/5_2.png) [@sandra](https://ask.gibbonedu.org/u/sandra)\
**Post date:** [March 12, 2024, 8:28am UTC](https://ask.gibbonedu.org/t/bug-in-admin-on-fresh-install/8659/2 "2024-03-12T08:28:09Z")

</div>

Hi @ciphermenial welcome to the Gibbon community. Thanks for sharing the solution you discovered, and the probable cause. Would you be able to share the PHP error text, as this could give me an idea of how to check for this exception and handle it more gracefully in the code. Thanks!

---

<div class="post-metadata">

**Author:** ![ciphermenial](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/ciphermenial/32/434_2.png) [@ciphermenial](https://ask.gibbonedu.org/u/ciphermenial)\
**Post date:** [March 12, 2024, 5:15pm UTC](https://ask.gibbonedu.org/t/bug-in-admin-on-fresh-install/8659/3 "2024-03-12T17:15:55Z")

</div>

I discovered it from this post: [System Admin page process indefinitely](https://ask.gibbonedu.org/t/system-admin-page-process-indefinitely/8333)
