Should I chown the new path of my data ?
-
I migrated my data from the default
/home/yellowtent/appsdata/randomVolumeContainerid/datato my new mount point/mnt/nextcloud/data(or should I say Cloudron interface did it for me)but I noticed than the owner of
/home/yellowtent/appsdata/randomVolumeContaineridis 1000:1000 (yellowtent:yellowtent) while the owner of/mnt/nextcloudis 0:0 (root:root)should i chown /mnt/nextcloud or this don't really matter ?
-
so even if I delete both path the old one in /home/yellowtent/appsdata/... and the new /mnt/nextcloud/data than uninstall nextcloud and reinstall it
I always have this error message when I try to move the dataError : Already Exists - ER_DUP_ENTRY: Duplicate entry '/mnt/nextcloud/data' for key 'dataDir'just to be clear I remove both path, but specially
/mnt/nextcloud/dataafter the uninstall
/mnt/nextcloud is a second physical hard drive (not the main) -
may I delete the old empty directory
/home/yellowtent/appsdata/7dd8e169-9efb-485c-9cee-7053e0312360/ ?@JOduMonT said in Should I chown the new path of my data ?:
may I delete the old empty directory
/home/yellowtent/appsdata/7dd8e169-9efb-485c-9cee-7053e0312360/ ?You should not delete this. This directory is used to storing the database dumps when taking app backup.
-
That error looks a lot more like a database constraint error. In this case it appears you already have an app configured on that
dataDir?@girish said in Should I chown the new path of my data ?:
@JOduMonT said in Should I chown the new path of my data ?:
may I delete the old empty directory
/home/yellowtent/appsdata/7dd8e169-9efb-485c-9cee-7053e0312360/ ?You should not delete this. This directory is used to storing the database dumps when taking app backup.
OK good I didn't deleted it
@nebulon said in Should I chown the new path of my data ?:
That error looks a lot more like a database constraint error. In this case it appears you already have an app configured on that dataDir?
yes but than, when I went into my. cloudron the path disappear and when I look a via the console, a new set of data was inside /home/yellowtent/appsdata/7dd8e169-9efb-485c-9cee-7053e0312360/ while my mount point /mnt/nextcloud/data was accessible
between the configuration and the error message I had the reboot the server because of ubuntu security update has cloudron asked me.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login