stefan-franz
Basic Pleskian
Hello, i tried to make on putty: (V-Server on Strato, Ubunto 18.04, Plesk Newest Update:
But i don't have write access - how can i switch temporarily on/on?
root@h2937523:/var/www/vhosts/stefan-franz.de/nextcloud# sudo -u www-data php occ db:add-missing-indices
Cannot write into "config" directory!
This can usually be fixed by giving the webserver write access to the config directory.
The Reason for it is in my Nextcloud:
The database is missing some indexes. Due to the fact that adding indexes on big tables could take some time they were not added automatically. By running "occ db:add-missing-indices" those missing indexes could be added manually while the instance keeps running. Once the indexes are added queries to those tables are usually much faster.
But i don't have write access - how can i switch temporarily on/on?
root@h2937523:/var/www/vhosts/stefan-franz.de/nextcloud# sudo -u www-data php occ db:add-missing-indices
Cannot write into "config" directory!
This can usually be fixed by giving the webserver write access to the config directory.
The Reason for it is in my Nextcloud:
The database is missing some indexes. Due to the fact that adding indexes on big tables could take some time they were not added automatically. By running "occ db:add-missing-indices" those missing indexes could be added manually while the instance keeps running. Once the indexes are added queries to those tables are usually much faster.
- Missing index "fs_id_storage_size" in table "oc_filecache".
- Missing index "fs_storage_path_prefix" in table "oc_filecache".
- Missing index "properties_pathonly_index" in table "oc_properties".
- Missing index "job_lastcheck_reserved" in table "oc_jobs".