The Basics
- Nextcloud Server version (e.g., 29.x.x):
- 30.0.4
- Operating system and version (e.g., Ubuntu 24.04):
- Debian 12
- Web server and version (e.g, Apache 2.4.25):
- Apache2
- Reverse proxy and version _(e.g. nginx 1.27.2)
- Nginx
- PHP version (e.g, 8.3):
- 8.2
- Is this the first time you’ve seen this error? (Yes / No):
- Yes
- When did this problem seem to first start?
- After NC 30 was upgraded.
- Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
- Bare metal
- Are you using CloudfIare, mod_security, or similar? (Yes / No)
- No
Summary of the issue you are facing:
Pre-existing users have the notes folder, but new ones (not guest!) do not have.
Steps to replicate it (hint: details matter!):
- Create a new user
- Go to notes
- Create new note
Log entries
Nextcloud
NotPermittedException Could not create path "/<username>/files/Notes/New note.md"
Controller failed with OCP\Files\NotPermittedException
Full stacktrace
[notes] Error: Controller failed with OCP\Files\NotPermittedException
POST /index.php/apps/notes/notes
from 192.168.0.33 by newuser at Jan 14, 2025, 9:26:09 AM
1. /var/www/nextcloud/apps/notes/lib/Service/NotesService.php - Line 128
OC\Files\Node\Folder->newFile()
2. /var/www/nextcloud/apps/notes/lib/Controller/NotesController.php - Line 161
OCA\Notes\Service\NotesService->create(
"*** sensitive parameters replaced ***"
)
3. /var/www/nextcloud/apps/notes/lib/Service/Util.php - Line 26
OCA\Notes\Controller\NotesController->OCA\Notes\Controller\{closure}(
"*** sensitive parameters replaced ***"
)
4. /var/www/nextcloud/apps/notes/lib/Controller/Helper.php - Line 140
OCA\Notes\Service\Util::retryIfLocked()
5. /var/www/nextcloud/apps/notes/lib/Controller/NotesController.php - Line 160
OCA\Notes\Controller\Helper->handleErrorResponse()
6. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - Line 208
OCA\Notes\Controller\NotesController->create(
"*** sensitive parameters replaced ***"
)
7. /var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php - Line 114
OC\AppFramework\Http\Dispatcher->executeController()
8. /var/www/nextcloud/lib/private/AppFramework/App.php - Line 161
OC\AppFramework\Http\Dispatcher->dispatch()
9. /var/www/nextcloud/lib/private/Route/Router.php - Line 302
OC\AppFramework\App::main()
10. /var/www/nextcloud/lib/base.php - Line 1003
OC\Route\Router->match()
11. /var/www/nextcloud/index.php - Line 24
OC::handleRequest()
Web Browser
Nothing relevant.
Web server / Reverse Proxy
Nothing relevant.
Configuration
Not relevant.
Apps
- Notes app version: 4.11.0