custom mounting

Ask all your questions regarding OC 5.x Please read the Support Forum Rules
Forum rules
Version 5 is not supported anymore! Only security issues are fixed. Please upgrade your ownCloud.
Before you post; make sure you are using at least PHP Version 5.3.x - Also read Support Forum - Read this before posting

custom mounting

Postby mvdvliet » Tue Nov 19, 2013 4:00 pm

hello,

I installed OC on my synology NAS and everything went very smooth, it is running fine I think.
Now I want to custom mount the users to their "home" folder.
Plus make my "music" folder available to all users (2 actually, so very simple basic home setup :) ).

I have been reading the info I could find.

http://doc.owncloud.org/server/5.0/admi ... onfig.html
http://doc.owncloud.org/server/5.0/admi ... g_gui.html
http://blog.gapinthecloud.com/2012/06/1 ... -owncloud/

And I have been playing with the data/mount.json file for a little while now, but I see no difference at all.

So what I did is the following:

In this folder: /volume1/web/owncloud/data
I creacted a file: mount.json

The content of this file currently:
Code: Select all
{"user":{
    "all":{
        "\/$user\/files\/volume1/music":{
            "class":"\\OC\\Files\\Storage\\Local",
            "options":{ ... }
            }
        }
    "marcel":{
        "\/marcel\/files\/volume1/homes/marcel":{
            "class":"\\OC\\Files\\Storage\\Local",
            "options":{ ... }
            }
        }
    }
}

Everytime I changed something in the file, I restarted apache.

In some of the documentation they are mentioning "settings"; I cannot really find that anywhere.
Are there other admin / settings / configuration pages available.
I tried diskstation\owncloud\settings but not sure if that should give me something (Access forbidden).
Is settings the "Admin" page under the admin dropdown on the right side?

I actually prefer to use the webUI forms but I cannot find that anywhere.
Is it maybe a feature that is not available in the community edition; only commercial package?

Thanks,
Marcel
mvdvliet
Newbie
 
Posts: 4
Joined: Tue Nov 19, 2013 3:38 pm
ownCloud version: 5.0.12
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.3.27

Re: custom mounting

Postby Rancor » Tue Nov 19, 2013 4:16 pm

Hi,

do you have enabled the "External storage support app"?
*inactive*
Rancor
OwnCloud master
 
Posts: 8397
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 7.0.1
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 5.5.x

Re: custom mounting

Postby mvdvliet » Tue Nov 19, 2013 6:19 pm

most of the time, the answer to your biggest problems are the most easy :D

ok let me enable that one and continue my struggle for pleasure ...

thanks!
mvdvliet
Newbie
 
Posts: 4
Joined: Tue Nov 19, 2013 3:38 pm
ownCloud version: 5.0.12
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.3.27

Re: custom mounting

Postby mvdvliet » Tue Nov 19, 2013 6:49 pm

I enabled the app and now I do see indeed the webUI for configuring the custom mounts.
that is at least some progress.

so I configured it like this:

owncloud.png
owncloud.png (13.94 KiB) Viewed 728 times


still now if I login as marcel I don't see either my personal home folder files or my music.
is the syntax correct?
mvdvliet
Newbie
 
Posts: 4
Joined: Tue Nov 19, 2013 3:38 pm
ownCloud version: 5.0.12
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.3.27

Re: custom mounting

Postby Rancor » Tue Nov 19, 2013 8:07 pm

Hi,

if the syntax is correct you should get an green box instead of the red box. Try to replace the "\" in the Path to "/".

While configuring this have a look at your data/owncloud.log if you're getting any errors.
*inactive*
Rancor
OwnCloud master
 
Posts: 8397
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 7.0.1
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 5.5.x

Re: custom mounting

Postby mvdvliet » Tue Nov 19, 2013 8:45 pm

bingo! works like a charm.
mvdvliet
Newbie
 
Posts: 4
Joined: Tue Nov 19, 2013 3:38 pm
ownCloud version: 5.0.12
Webserver: Apache
Database: MySQL
OS: Linux
PHP version: 5.3.27


Return to ownCloud Community Edition 5.x

Who is online

Users browsing this forum: No registered users and 3 guests