Friday, April 13, 2012

Re: Django unable to write to an NFS share

Let me reformulate that, I started again from scratch and the www-data user can actually create and edit files in the NFS share. Now what happens is that the app simply says connecting while trying to upload a file and it stays like that in the browser for as long as I don't stop it. I cannot see any error in the logs. I have my user-media set to the NFS share in my django settings. I have no idea what is going on!

On Friday, April 13, 2012 11:22:48 AM UTC+2, Bastian wrote:
Hi,

I have a working Django project and I am trying to add a second server. In the process I am making an NFS share on one server. The Apache instances on this server (the NFS host) can write (mostly images) to this directory but the other server (the NFS client) seems unable. Actually from this second server I changed the permissions of the share to 777 just to make sure and still root can write but www-data can only create file, it is denied the right to write them. Very strange situation that I don't understand. Searching this group and Google led me to few information. There is this lock issue thing that I'm not sure to understand if it has been fixed. Any clue is welcome. I'm using Debian Squeeze, Django 1.3 and this is the options I use in the export: rw,sync,no_root_squash,no_subtree_check,insecure

Thanks,
Bastian

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/fjsQImbSvAYJ.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate