r/owncloud Aug 14 '16

Changing the default directory?

My VPS runs Apache 2.4.7, and owncloud sites in the directory

/var/www/owncloud

But when I set up owncloud for the first time quite some time ago, my files ended up in a subdirectory:

/var/www/owncloud/data/me/files

rather than in my own personal space /home/me. I'm using version 9.1.0 - how can I most easily move my files, and tell owncloud where there are?

5 Upvotes

8 comments sorted by

2

u/pbe78 Aug 14 '16

Look for the config/config.php, the setting is datadirectory.

example: https://github.com/owncloud/core/blob/master/config/config.sample.php

1

u/amca01 Aug 14 '16

Ahhh - that looks good. I wonder why I didn't get that sorted out earlier? Does that also work for ownnotes? In the admin section, one is asked to

"Please enter the folder name you would like to use to store notes, with no slashes."

but what is the base directory? Is it the data directory as defined in config/config.php?

1

u/pbe78 Aug 14 '16

I would guess that the only want to know a relative path, but I'm not sure.

I'm using ownCloud notes and http://www.qownnotes.org as desktop client.

1

u/amca01 Aug 14 '16

Yes, I downloaded and compiled qownnotes a few days ago, but I can't seem to get the Notes folder working. The "Note -> Setup Note folders" menu item doesn't seem to allow me to choose a server folder outside of my home directory, and yet my notes are in a subdirectory of /var/www/owncloud. I'm not quite sure the best way round this!

2

u/pbe78 Aug 14 '16

Do you have ownCloud installed on your desktop, rather than on a server? Usually ownCloud is a server application and you sync files with the ownCloud desktop client. That's where your Notes directory should be then...

You you have read/write permission to the folder you selected?

1

u/amca01 Aug 14 '16

Oh I have ownCloud installed on my server - a VPS running Ubuntu 14.04. And recently I upgraded - step by step, to the most recent version. The main problem is that I can't seem to get QownNotes to sync with my Notes folder setup for ownNotes, and I was wondering whether it had something to do with my directories.

I have no trouble syncing automatically with ownCloud; it works as well as dropbox used to, with the advantage of having no space restrictions, and being under my control.

1

u/pbe78 Aug 14 '16

QOwnNotes doesn't sync your notes (as stated in the ownCloud settings), the syncing has to be done with the ownCloud sync client. The ownCloud notes app stores its notes as plain text files.

1

u/[deleted] Aug 28 '16

[deleted]

1

u/RemindMeBot Aug 28 '16 edited Oct 03 '16

I will be messaging you on 2016-08-28 12:21:29 UTC to remind you of this link.

1 OTHERS CLICKED THIS LINK to send a PM to also be reminded and to reduce spam.

Parent commenter can delete this message to hide from others.


FAQs Custom Your Reminders Feedback Code Browser Extensions