# OCP\\Files\\ NotPermittedException: Could not create folder

**URL:** <https://help.nextcloud.com/t/ocp-files-notpermittedexception-could-not-create-folder/133818>\
**Category:** ℹ️ Support\
**Created:** [February 15, 2022, 6:06am UTC](https://help.nextcloud.com/t/ocp-files-notpermittedexception-could-not-create-folder/133818 "2022-02-15T06:06:16Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![eugenevdm](https://help.nextcloud.com/letter_avatar/eugenevdm/32/6_22734026db12803ebb3e059622ac3534.png) [@eugenevdm](https://help.nextcloud.com/u/eugenevdm)\
**Post date:** [February 15, 2022, 6:06am UTC](https://help.nextcloud.com/t/ocp-files-notpermittedexception-could-not-create-folder/133818/1 "2022-02-15T06:06:16Z")

</div>

Good morning,

Just post installation we see this in the log. So far I can’t see that it’s affecting anything but would like some ideas how to start troubleshooting. The error only occurred once, straight after the installation.

```auto
Error on App Index OCP\Files\NotPermittedException: Could not create folder

0. /var/www/nextcloud/lib/private/Files/AppData/AppData.php - line 156:OC\Files\Node\Folder->newFolder()
1. /var/www/nextcloud/apps/theming/lib/ImageManager.php - line 156:OC\Files\AppData\AppData->newFolder()
2. /var/www/nextcloud/apps/theming/lib/ImageManager.php - line 171:OCA\Theming\ImageManager->getCacheFolder()
3. /var/www/nextcloud/apps/theming/lib/Controller/IconController.php - line 163:OCA\Theming\ImageManager->getCachedImage()
4. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 217:OCA\Theming\Controller\IconController->getTouchIcon()
5. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - line 126:OC\AppFramework\Http\Dispatcher->executeController()
6. /var/www/nextcloud/lib/private/AppFramework/App.php - line 157:OC\AppFramework\Http\Dispatcher->dispatch()
7. /var/www/nextcloud/lib/private/Route/Router.php - line 302:OC\AppFramework\App::main()
8. /var/www/nextcloud/lib/base.php - line 1006:OC\Route\Router->match()
9. /var/www/nextcloud/index.php - line 36:OC::handleRequest()

```

---

<div class="post-metadata">

**Author:** ![punkyard](https://help.nextcloud.com/user_avatar/help.nextcloud.com/punkyard/32/59179_2.png) [@punkyard](https://help.nextcloud.com/u/punkyard)\
**Post date:** [August 25, 2022, 11:18pm UTC](https://help.nextcloud.com/t/ocp-files-notpermittedexception-could-not-create-folder/133818/2 "2022-08-25T23:18:02Z")

</div>

same here

with ubuntu 20.04  
NC 24.0.3 snap install

just installed with snap, and again an error after 10 minutes using nextcloud!

is there a list of regular issues to fix post installation, to have nextcloud functioning without issues?

---

<div class="post-metadata">

**Author:** ![ngvoicu](https://help.nextcloud.com/user_avatar/help.nextcloud.com/ngvoicu/32/45532_2.png) [@ngvoicu](https://help.nextcloud.com/u/ngvoicu)\
**Post date:** [August 30, 2022, 6:03pm UTC](https://help.nextcloud.com/t/ocp-files-notpermittedexception-could-not-create-folder/133818/3 "2022-08-30T18:03:06Z")

</div>

same issue here OCP\Files\NotPermittedException

---

<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 13, 2024, 1:51pm UTC](https://help.nextcloud.com/t/ocp-files-notpermittedexception-could-not-create-folder/133818/4 "2024-12-13T13:51:17Z")

</div>


