-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error creating file from template with external storage #8010
Comments
BTW: I get those error messages in the nextcloud log while trying to create a new file with the nextcloud app: {
"reqId": "GRRc90r7BMQq9Um4Ip1q",
"level": 3,
"time": "2021-02-18T13:42:46+01:00",
"remoteAddr": "**SECRET**",
"user": "szaimen",
"app": "files",
"method": "POST",
"url": "/ocs/v2.php/apps/files/api/v1/directEditing/create?format=json",
"message": {
"Exception": "OCP\\Files\\NotPermittedException",
"Message": "No create permission for path",
"Code": 0,
"Trace": [
{
"file": "/var/www/nextcloud/lib/private/DirectEditing/Manager.php",
"line": 133,
"function": "newFile",
"class": "OC\\Files\\Node\\Folder",
"type": "->"
},
{
"file": "/var/www/nextcloud/apps/files/lib/Controller/DirectEditingController.php",
"line": 85,
"function": "create",
"class": "OC\\DirectEditing\\Manager",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 169,
"function": "create",
"class": "OCA\\Files\\Controller\\DirectEditingController",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php",
"line": 100,
"function": "executeController",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/AppFramework/App.php",
"line": 152,
"function": "dispatch",
"class": "OC\\AppFramework\\Http\\Dispatcher",
"type": "->"
},
{
"file": "/var/www/nextcloud/lib/private/Route/Router.php",
"line": 309,
"function": "main",
"class": "OC\\AppFramework\\App",
"type": "::"
},
{
"file": "/var/www/nextcloud/ocs/v1.php",
"line": 88,
"function": "match",
"class": "OC\\Route\\Router",
"type": "->"
},
{
"file": "/var/www/nextcloud/ocs/v2.php",
"line": 24,
"args": [
"/var/www/nextcloud/ocs/v1.php"
],
"function": "require_once"
}
],
"File": "/var/www/nextcloud/lib/private/Files/Node/Folder.php",
"Line": 200,
"CustomMessage": "Exception when creating a new file through direct editing"
},
"userAgent": "Mozilla/5.0 (Android) Nextcloud-android/8005",
"version": "20.0.7.1",
"id": "602e6e924d47b"
} |
@nextcloud/server-triage do you have an idea? |
Maybe cc @juliushaertl, too? |
Related nextcloud/server#25787 |
Is that only an issue with external storages? Can you share the config you are using for the mount? |
to reproduce:
|
This bug report did not receive an update in the last 4 weeks. Please take a look again and update the issue with new details, otherwise the issue will be automatically closed in 2 weeks. Thank you! |
Anyone up for testing nextcloud/server#26396 which should fix the issue? |
I am not able to create a new file from template when being in a folder that is mounted via the external storage app:
To reproduce:
(But I need to say that this issue is present since a while now and not new in this PR. I just thought it could make sense to show it since this PR addresses this part of the app)
cc @tobiasKaminsky
Originally posted by @szaimen in #8005 (comment)
The text was updated successfully, but these errors were encountered: