Problem loading data

hosting

#1

Hello, I installed owncloud (version 10.0.10) on my device, connected to an external hd, the hd I put in the / mnt folder, I wrote the fstab file in order to recognize the device and changed the location of the folder data (after having moved it) in the file config.php, I gave back the write permissions with the command: chown -R www-data: www-data / mnt / data /
when I go to upload a file, I receive the message: “could not write file contents” how can I do?
this is my log file:

Blockquote{“reqId”:“4iH02chg3HvLElfdB8sT”,“level”:3,“time”:“2018-09-21T19:20:44+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/owncloud/index.php/login",“message”:“User backend OC\User\Database is returning home: /mnt/data/Nemo for user: Nemo which differs from existing value: /var/www/owncloud/data/Nemo”}
{“reqId”:“u3zgXMudIcD0WRQVSQt6”,“level”:3,“time”:“2018-09-21T19:24:39+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/owncloud/index.php/login",“message”:“User backend OC\User\Database is returning home: /mnt/data/Nemo for user: Nemo which differs from existing value: /var/www/owncloud/data/Nemo”}
{“reqId”:“L9P9oGse1sqIpE2In0rh”,“level”:3,“time”:“2018-09-21T21:06:29+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/owncloud/index.php/login",“message”:“User backend OC\User\Database is returning home: /mnt/data/Nemo for user: Nemo which differs from existing value: /var/www/owncloud/data/Nemo”}
{“reqId”:“NVhwAVf0FDeVNffJd2EJ”,“level”:3,“time”:“2018-09-22T06:09:04+00:00”,“remoteAddr”:“192.168.1.130”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/owncloud/index.php/login",“message”:“User backend OC\User\Database is returning home: /mnt/data/Nemo for user: Nemo which differs from existing value: /var/www/owncloud/data/Nemo”}
{“reqId”:“12ocYizYNMu8OvRDiTOv”,“level”:3,“time”:“2018-09-22T06:22:01+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/owncloud/index.php/login",“message”:“User backend OC\User\Database is returning home: /mnt/data/Nemo for user: Nemo which differs from existing value: /var/www/owncloud/data/Nemo”}
{“reqId”:“jxg3d84dOpecLh1SHbw9”,“level”:3,“time”:“2018-09-22T09:38:58+00:00”,“remoteAddr”:“192.168.1.103”,“user”:"–",“app”:“no app in context”,“method”:“POST”,“url”:"/owncloud/index.php/login",“message”:“User backend OC\User\Database is returning home: /mnt/data/Nemo for user: Nemo which differs from existing value: /var/www/owncloud/data/Nemo”}


#2

Nobody can tell me how to do it?


#3

Hi there,

did you study the docs?

https://doc.owncloud.com/server/10.0/admin_manual/maintenance/manually-moving-data-folders.html?highlight=data%20directory


#4

I had no visot that page, thanks :slight_smile: one question … but now it is no longer necessary to give the command:
chown -R www-data: www-data / var / www / owncloud /
at the end of the installation?


#5

it is necessary. The web server user has to install apps and such, right?