Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Invalid data directory or directory is not writeable. #858

Closed
awadid opened this issue Mar 5, 2016 · 11 comments
Closed

Invalid data directory or directory is not writeable. #858

awadid opened this issue Mar 5, 2016 · 11 comments

Comments

@awadid
Copy link

awadid commented Mar 5, 2016

please can somone help ? whenever i try to install the website it shows me this "Invalid data directory or directory is not writeable." iam using http://cpanel.ihostfull.com/ i try to make root it to 755 but nothing change

@greenlanegreb
Copy link

Hi, I second this, just been sitting there racking my brains for ages. Database is definitely accessible and database writeable, I have tried removing the trailing slash in the data directory, trying a differently named directory without an underscore and I have ensured that there are no symbols in my password.

@greenlanegreb
Copy link

I have found this https://www.opensource-socialnetwork.org/discussion/view/191 just going to look into what the goodness it actually means :)

@lianglee
Copy link
Member

lianglee commented Mar 6, 2016

Please see: https://www.opensource-socialnetwork.org/wiki/view/706/how-to-install-open-source-social-network
Create a data folder
OSSN needs a special folder to store uploaded files including profile icons and photos. You will need to create this directory.
For security reasons, this folder MUST be stored outside of your document root. If you created it under /www/ or /public_html/, you’re
doing it wrong. Once this folder has been created, you’ll need to make sure the web server OSSN is running on has permission to write to and create directories in it.

@lianglee lianglee closed this as completed Mar 6, 2016
@akramheros2016
Copy link

I didnt find the solution

@anonys
Copy link

anonys commented Nov 26, 2017

Just create a data folder and call it ossn_data. give it writeable permission

@Rebelee32
Copy link

I

Just create a data folder and call it ossn_data. give it writeable permission

I did exactly as said. but still get the same message. I have a host tech guy to verify this.
I'm stuck and need a solution..

@lianglee
Copy link
Member

lianglee commented Feb 1, 2020

@Rebelee32 then its problem with your hosting, you should contact your hosting guy! for more information post your problem to opensource-socialnetwork.org/community

@Rebelee32
Copy link

Rebelee32 commented Feb 1, 2020 via email

@lianglee
Copy link
Member

lianglee commented Feb 1, 2020

@Rebelee32 they should help you. Please use opensource-socialnetwork.org/community for more detailed discussion on this.

@Rebelee32
Copy link

Rebelee32 commented Feb 1, 2020 via email

@Rebelee32
Copy link

Rebelee32 commented Feb 1, 2020

I solved the problem. the Zipped file of OSSN Unzipped into its own link.
You have to move the unzipped folder to Public_Html and change the code on the install page
to show a data folder in your domain instead of the installations wrong link.

Notice how I edited the link to reflect the domain Dir..
It works!

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants