Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: webapp and NFS file path

  1. #1
    Join Date
    Jun 2008
    Location
    netherlands
    Posts
    671

    Default webapp and NFS file path

    I have a working opensuse 12.3 NFS server with opensuse 12.3 working clients.
    The networkfolder is /exports/renderfarm and this folder is connected by every nfs-client (Yast) to /home/user/nfs

    How can I tell the webapp brender where the webapp brender clients can find /exports/renderfarm or nfs
    If I fill in network files paths /exports/renderfarm in the webapp brender under new project then clients cannot find the files
    and when typing network files path /nfs then the webapp cannot find the right nfs folder because its looking in root.

    I hope I'm clear enough or I'd love to hear it


    greetings
    Anton

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,834

    Default Re: webapp and NFS file path

    When you are specifying this directory on a client, you should of course allways point to /home/usr/nfs. The path on the server (/export/renderfarm) is unknown to anybody on the client. And, as every path, you can point to it either relative to your working directory at that moment in time (thus when user user is in his home directory, he can us nfs), ot absolute, which will work allways and which is /home/user/nfs. The absolute path can also be typed by user user as $HOME/nfs, or ~/nfs.
    Henk van Velden

  3. #3
    Join Date
    Jun 2008
    Location
    netherlands
    Posts
    671

    Default Re: webapp and NFS file path

    Thanks tried $HOME/nfs and ~/nfs but webapp server can not find the path to the files.

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    29,834

    Default Re: webapp and NFS file path

    It depends of course who is the owner of that webapp server process (I do not know anything about it). When that is not run by user user (why do you use such a confusing name?), the environment of that webapp has the wrong or no value for the HOME variable. Why do you not use the sinple absolute path /home/user/nfs? That is allways corrrect.
    Henk van Velden

  5. #5

    Default Re: webapp and NFS file path

    anton wrote:
    > Thanks tried $HOME/nfs and ~/nfs but webapp server can not find the
    > path to the files.


    If you want the server and clients to use the same address, you might be
    able to make a symlink on the server.

  6. #6
    Join Date
    Jun 2008
    Location
    netherlands
    Posts
    671

    Default Re: webapp and NFS file path

    The webapp is brender brender - friendly render farm
    Sorry but when I type home/user/nfs I meant for user the username who is logged in on that client workstation.
    Of course not everbody has the same name.

    When I type in the console from the webserver : cd ~/nfs it shows the files under /exports/renderfarm.
    Also on every client workstation

    But the webapp brender in my case http://localhost/brender can still not find the folder when typing in ~/nfs for in and output folder to search

  7. #7
    Join Date
    Jun 2008
    Location
    netherlands
    Posts
    671

    Default Re: webapp and NFS file path

    Probably because the owner /srv/www/htdocs/brender is root ?

  8. #8

    Default Re: webapp and NFS file path

    anton wrote:
    > The webapp is brender 'brender - friendly render farm'
    > (http://www.brender-farm.org/)
    > Sorry but when I type home/user/nfs I meant for user the username who
    > is logged in on that client workstation.
    > Of course not everbody has the same name.
    >
    > When I type in the console from the webserver : cd ~/nfs it shows the
    > files under /exports/renderfarm.
    > Also on every client workstation
    >
    > But the webapp brender in my case http://localhost/brender can still not
    > find the folder when typing in ~/nfs for in and output folder to search


    I think you need to ask the brender people how their application makes
    use of whatever input you are providing. Or turn on or add some
    debugging to the application.

  9. #9
    Join Date
    Sep 2012
    Location
    Maryland, US
    Posts
    623

    Default Re: webapp and NFS file path

    Quote Originally Posted by anton View Post
    Probably because the owner /srv/www/htdocs/brender is root ?
    Yes that is correct.
    Kernel: 4.12.14-lp150.12.7-default x86_64 bits:
    64 Desktop: Gnome 3.26.2
    Distro: openSUSE Leap 15.0

  10. #10
    Join Date
    Jun 2008
    Location
    netherlands
    Posts
    671

    Default Re: webapp and NFS file path

    User /srv/www/htdocs/brender is now anton
    Group : users.

    But still not possible to use ~nfs or $HOME/nfs as project file path

    I will ask the brender maker for an answer.
    Got no ideas anymore.

Page 1 of 2 12 LastLast

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •