Hey Nextcloud,
I want to change the nextcloud root-directory to my external storage.
I try to export the config of the external_storage with:
sudo -u www-data php occ files_external:export > list.txt
After that I manipulate the list.txt
sudo nano list.txt
Finally I imported the list back to nextcloud with:
sudo -u www-data php occ files_external:import list
The result was good, after the login theexternal_storage directory was my root-directory.
The Problem is… when i visit the adminpage, my manipulated config were overwritten.
Sry for my bad english.
Greets
Pisoko
[
{
“mount_id”: 1,
“mount_point”: “/EXTERNAL”,
“storage”: “\OCA\Files_External\Lib\Storage\OwnCloud”,
“authentication_type”: “password::logincredentials”,
“configuration”: {
“host”: “**.de",
“root”: “”,
“secure”: true,
“user”: “alber”,
“password”: "”
},
“options”: {
“encrypt”: true,
“previews”: true,
“enable_sharing”: false,
“filesystem_check_changes”: 1,
“encoding_compatibility”: false
},
“applicable_users”: [
“alber”
],
“applicable_groups”: []
}
]
to
[
{
“mount_id”: 1,
“mount_point”: “/”,
“storage”: “\OCA\Files_External\Lib\Storage\OwnCloud”,
“authentication_type”: “password::logincredentials”,
“configuration”: {
“host”: “**.de",
“root”: “”,
“secure”: true,
“user”: “alber”,
“password”: "”
},
“options”: {
“encrypt”: true,
“previews”: true,
“enable_sharing”: false,
“filesystem_check_changes”: 1,
“encoding_compatibility”: false
},
“applicable_users”: [
“alber”
],
“applicable_groups”: []
}
]