# Location of uploads directory

**URL:** <https://ask.gibbonedu.org/t/location-of-uploads-directory/3640>\
**Category:** Installation\
**Created:** [July 29, 2022, 3:57am UTC](https://ask.gibbonedu.org/t/location-of-uploads-directory/3640 "2022-07-29T03:57:18Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![richardg](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/r/e5b9ba/32.png) [@richardg](https://ask.gibbonedu.org/u/richardg)\
**Post date:** [July 29, 2022, 3:57am UTC](https://ask.gibbonedu.org/t/location-of-uploads-directory/3640/1 "2022-07-29T03:57:18Z")

</div>

Good day. Where should the uploads directory be created? On the “Installing Gibbon” webpage it says “Create folder /uploads”. Does it mean:

1. under the Gibbon directory (/var/www/html/GibbonEdu/uploads) or
2. under the root directory (/uploads)

I thought to create it under the root directory (/uploads) because the Gibbon installer already has the uploads subdirectory

---

<div class="post-metadata">

**Author:** ![ross](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/ross/32/8_2.png) [@ross](https://ask.gibbonedu.org/u/ross)\
**Post date:** [July 29, 2022, 2:44pm UTC](https://ask.gibbonedu.org/t/location-of-uploads-directory/3640/2 "2022-07-29T14:44:15Z")

</div>

Hi Richard,

Ah, it seems that those instructions were out of date. Sorry about that! I’ve now updated the line to read:

Set file permissions for the /uploads folder (created by the installer) to allow writing by web server (avoid chmod 777 for security reasons).

The paths we use are always relative to the Gibbon root, as this is variable depending on server, and so we can’t give absolute paths that work for everyone. In your case, based on what you’ve shown above, our /uploads, translations to your /var/www/html/GibbonEdu/uploads.

Cheers,

Ross

---

<div class="post-metadata">

**Author:** ![richardg](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/r/e5b9ba/32.png) [@richardg](https://ask.gibbonedu.org/u/richardg)\
**Post date:** [August 2, 2022, 8:32am UTC](https://ask.gibbonedu.org/t/location-of-uploads-directory/3640/3 "2022-08-02T08:32:13Z")

</div>

Thank you Ross. May I ask if these are the steps to correct my mistake?

1. Move the directory /uploads/cache and its contents to /var/www/html/GibbonEdu/uploads

2. Move the directory /uploads/reports and its contents to /var/www/html/GibbonEdu/uploads

3. Under System Admin \> Cache Manager make these changes:  
Cache Path: /uploads/cache

4. Under Assess \> Reports \> Report Settings  
Custom Asset Path: /uploads/reports

5. Under Assess \> Reports \> Manage Archives  
Path: /uploads/reports

---

<div class="post-metadata">

**Author:** ![ross](https://ask.gibbonedu.org/user_avatar/ask.gibbonedu.org/ross/32/8_2.png) [@ross](https://ask.gibbonedu.org/u/ross)\
**Post date:** [August 3, 2022, 3:22pm UTC](https://ask.gibbonedu.org/t/location-of-uploads-directory/3640/4 "2022-08-03T15:22:14Z")

</div>

Hi Richard, these steps look correct, and very thorough too. Let us know if they work for you, and hopefully they’ll help others in the future too. Cheers, Ross.

---

<div class="post-metadata">

**Author:** ![richardg](https://ask.gibbonedu.org/letter_avatar_proxy/v4/letter/r/e5b9ba/32.png) [@richardg](https://ask.gibbonedu.org/u/richardg)\
**Post date:** [August 4, 2022, 8:35am UTC](https://ask.gibbonedu.org/t/location-of-uploads-directory/3640/5 "2022-08-04T08:35:46Z")

</div>

This is what worked for me 🙂

1. Under System Admin \> Cache Manager make this change:  
Cache Path: /uploads/cache

2. Under Assess \> Reports \> Report Settings make this change:  
Custom Asset Path: /uploads/reports

3. Under Assess \> Reports \> Manage Archives make this change:  
Path: /uploads/reports

4. Log off from Gibbon. But I haven’t tried if it will still work if did not log off from Gibbon

5. Move the directory /uploads/reports and its contents to be under /var/www/html/GibbonEdu/uploads
