In fact:
ossndata is in /home/myusername/web/mysite.com/ossndata
ossndata permission is 777
ossndata ownergroup is www-datawww-data
mysite.com ownergroup is myusernamemyusername
ossn files is in /home/admin/web/swife.icu/publichtml
publichtml ownergroup is myusernamemyusername
I have tried to use (usuccessfull):
/home/myusername/web/mysite.com/ossndata/
/home/myusername/mysite.com/ossndata/
/home/myusername/ossndata/
/home/web/mysite.com/ossndata/
/home/web/ossndata/
/home/ossndata/
/home/mysite.com/ossndata/
/myusername/web/mysite.com/ossndata/
/myusername/mysite.com/ossndata/
/myusername/web/ossndata/
/myusername/ossndata/
/web/mysite.com/ossndata/
/web/ossndata/
/mysite.com/ossndata/
I have checked
https://www.opensource-socialnetwork.org/discussion/view/805/invalid-data-directory-or-directory-is-not-writeable
https://www.opensource-socialnetwork.org/discussion/view/1646/invalid-data-directory-or-directory-is-not-writable-error
https://www.opensource-socialnetwork.org/discussion/view/470/invalid-data-directory-or-directory-is-not-writeable
https://github.com/opensource-socialnetwork/opensource-socialnetwork/issues/858
https://forum.infinityfree.net/t/help-install-open-source-social-network/13889
https://forum.infinityfree.net/t/invalid-data-directory-or-directory-is-not-writeable/17857
https://blog.msarhan.com/2019/02/open-source-social-network-invalid-data.html
https://answers.yahoo.com/question/index?qid=20190704155835AApfL1v&guccounter=1&guce_referrer=aHR0cHM6Ly93d3cuZ29vZ2xlLmNvbS8&guce_referrer_sig=AQAAAJeASEfMy-sajL8xD082BQFhsebilZIFEag-LtZnuYq9J96d0IhbpUOy6HPjKfP_KtcvDPpKyvgscO8tt1fQEnFmCJPJcBFhkly-Gk_cnuxnvt19ZlC7ADMTmFGYSQwsB7dmTDwFuv49XpqlXD3Izf6YO2WaT8FfMGXWmFKJGx7L
in any case, the script returns an error: "Invalid data directory or directory is not writeable."
Anybody know, what path is correct for this super-usable setup?
thanks in advance
Thanks for your feedback, Fox.
In case you're not planning to share your server with other sites, I recommend to remove the openbasedir restriction completely, because it has a negative impact on the php performance in general.
Hi Arsalan Shah!
Thanks for your advice, it really helps. So, for all Vesta Users: You need to check file
/home/youruser/conf/web/yoursite.com.apache2.conf. In this file, check the string
phpadminvalue openbasedir /home/youruser/web/yoursite.com/publichtml:/home/your_user/tmp
Substring after ":" will be your writable data directory (in my case it is "/home/admin/tmp"). I think to create a subdirectory will be a good idea, but I didn't check it.
Also sorry for my English. It, not my native language.
Thanks and regards,
Fox
Make sense now because in vestacp you can not use data folder outside public html due to their openbase_dir
restriction, you may remove that restriction by searching their community or asking them directly.
Blockquote
~Z~ Man
Further tell us are you using cpanel? send us screenshot of your cpanel.
Hi Arsalan Shah, ~Z~ Man.
I have VPS (ubuntu 16-64) managed Vesta CP
Further tell us are you using cpanel? send us screenshot of your cpanel.
To find out what's going wrong you may run the verifyperms.php utility included with the System Info component. See
https://www.opensource-socialnetwork.org/component/view/1963/system-info
Due to the many requests in the past for additonal features and components we have decided to develope a premium version. Features like Hashtags, Videos, Polls, Events, Stories, Link Preview, etc included in it.
$199 (Life Time)