custom mounting

Ask all your questions regarding OC 5.x Please read the Support Forum Rules
Forum rules
ownCloud 5.x reached end of life and is officially unsupported. For details see Wiki page.

Please upgrade your ownCloud.
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

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

RealRancor
ownCloud master
Posts: 16530
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.1
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: custom mounting

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

Hi,

do you have enabled the "External storage support app"?
Report a bug? / Request a feature? / Developers contact/feedback? See: https://forum.owncloud.org/viewtopic.php?f=17&t=23696

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: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 1133 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?

RealRancor
ownCloud master
Posts: 16530
Joined: Sat May 26, 2012 3:00 pm
ownCloud version: 9.0.1
Webserver: nginx
Database: MySQL
OS: Linux
PHP version: 7.0.x

Re: custom mounting

Postby RealRancor » 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.
Report a bug? / Request a feature? / Developers contact/feedback? See: https://forum.owncloud.org/viewtopic.php?f=17&t=23696

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 8:45 pm

bingo! works like a charm.


  • Similar Topics
    Replies
    Views
    Last post

Return to “ownCloud Community Edition 5.x and older”

Who is online

Users browsing this forum: Bing [Bot] and 2 guests