Data folder not writable

Hi, I just uploaded elgg.
my path is /home/.../3091667/htdocs/ so I created a directory called /home/.../3091667/elgg/data/
Using my ftp program I changed permission of that directory into 777 (confirmed by the cpanel file explorer) but when I try to procede, I have everytime the same answer:

Your data directory /home/.../3091667/elgg/data/ is not writable.

Why that?
Any idea?

  • I believe your data folder needs to be outside your elgg folder.  Mine is like this:

    home/.../data/

    and

    home/..../public_html/all files and folders

    Hope this helps.

  • Nope...  I'm in the same situation...

    Now I'm trying to reinstal all...

    I've created
    .../htdocs/elgg --> all the files and folders
    .../htdocs/data --> the data folder

    Hope it works

  • More generally, your Elgg data directory should be outside your web accessible folder all together (in this case htdocs).

    Make sure that there is no php open_basedir restriction in place, or if there is, it includes your Elgg data directory.

    (If you don't know what open_basedir is, Google for it.)

  • Another thing is that, sadly, PHP is not allowed to write files under the default SELinux configuration (that comes with some Fedora installs, for example). If you have SELinux enabled, you may need to tinker with it.

     

     

  • hi, i'm trying to install elgg 1.5 and having the same problem. so far, i have not found a thread like this where someone says "bingo, that worked". I'm installing on mosso and am not able to get the /data/ file recognized as writable. permissions are at 777 for "data"

    i have the "data" directory sitting next to the "elgg", so it is not in the elgg files path. however, mosso will not allow access to the data file if it sits outside the web root directory. so both "data" and "elgg" are in the web root.

    is there a way to get this to work without having "data" outside the web root folder. any eureka moments would we welcome!

    thanks.

  • Hi there,

    I start to loose the fun in this, I hope someone can help me.

    I have the same problem like described here with version 1.6

    My installation is finde as long as I put the /data/-folder inside the webroot /httpdocs/

    If I try to put all files of elgg-dir inside the webroot (httpdocs) and the data outside httpdocs i get the error described here. (data folder not writable) if I put /httpdocs/elgg/ and /httpdocs/data/ it works fine.

    Bu I dont want the data forlder in webroot and I dont want an extra elgg-folder in webroot. How can I solve this? Any comments? Please help!

     

    Best Eru

  • all y'all w/ data folder probs.... didya try aliasing the data directory ?

  • @clinton van Axel

    Thank you, you saved my a**

    :-D

    It took me so many days to try. I even searched the site, but always only old topics camu up with no solution... Thanx for the hint!

    Best, Eru

    Best, Eru