(resolved) Owncloud data filepath

Have some feedback, questions, suggestions, or just fancy a chat? Pop it in here.
Post Reply
bbmak
Posts: 24
Joined: Sat Oct 03, 2015 8:25 pm

(resolved) Owncloud data filepath

Post by bbmak »

Hi,
I have installed owncloud in the dietpi, and I try to save some files in the dietpi for testing. However, I see the files save in /var/www/owncloud/data/*
My USB drive path is /mnt/usb_1, which I mount it during the dietpi initial setup.
Do I need to manually change the owncloud configuration in order to save the files in the usb drive?
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Owncloud Not Saving Files in USB drive

Post by Fourdee »

bbmak wrote:Hi,
I have installed owncloud in the dietpi, and I try to save some files in the dietpi for testing. However, I see the files save in /var/www/owncloud/data/*
My USB drive path is /mnt/usb_1, which I mount it during the dietpi initial setup.
Do I need to manually change the owncloud configuration in order to save the files in the usb drive?
A symlink is created during the DietPi installation of Owncloud. This automatically points /var/www/owncloud/data to:
USB Drive install = /mnt/usb_1/owncloud
Non-USB drive install = /owncloud

If you run the following, you should see owncloud data files on your USB drive:

Code: Select all

ls -lha /mnt/usb_1/owncloud
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
bbmak
Posts: 24
Joined: Sat Oct 03, 2015 8:25 pm

Re: Owncloud Not Saving Files in USB drive

Post by bbmak »

thx. got it.
I got mess up on the data folder path during the setup. Now it is fixed.
User avatar
Fourdee
Site Admin
Posts: 2788
Joined: Tue Feb 06, 2007 1:36 pm

Re: Owncloud Not Saving Files in USB drive

Post by Fourdee »

bbmak wrote:thx. got it.
I got mess up on the data folder path during the setup. Now it is fixed.
No worries, great to hear its all sorted :)
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Post Reply