CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • auto install error: Is the files folder writeable- UPDated w. Ver.#'s
Pages: [1]

Author Topic: auto install error: Is the files folder writeable- UPDated w. Ver.#'s  (Read 1816 times)

patll

  • Guest
auto install error: Is the files folder writeable- UPDated w. Ver.#'s
June 21, 2008, 03:24:07 pm
A new install of drupal v.6.2
immediate install attempt of civicrm v.20.4 with php5
I have one error during the auto install process:
towards the bottom:
"Is the files folder writeable" The web server user myserver needs to write be able to write to this file:
/home/myserver/public_html/mysubdomain/drupal/files

I'm a newbie, so files in essence is "everything below drupal" as there isn't a folder named "files" as I didn't think there was, but ya never know.
So I chmod all of the individual files, but that didn't work, now I have to go thru ea. dir and 777 them. And then I, thru cute ftp started chmod 777 everything, but that is laborious and stupid and probably not safe.

Is there an install file permissions map that shows what various permissions are for the various folders?
AND-Any ideas on how to solve this one? There is no "Is the files folder writeable" error listed on google or here. Yes it is misspelled in the app, not me.
I allso have telnet access
« Last Edit: June 21, 2008, 05:55:28 pm by patll »

emilyf

  • Ask me questions
  • ****
  • Posts: 696
  • Karma: 54
  • CiviCRM version: 2.x - 4.x
  • CMS version: Drupal 5, 6, 7
Re: auto install error: Is the files folder writeable- UPDated w. Ver.#'s
June 23, 2008, 07:26:04 am
First off, this is really a Drupal error not a CiviCRM error.

Second, if you had a brand new version of D6, I would start over, because you really don't want to change permissions on all the files in Drupal. If you don't want to start over, then set all the permissions back to how they were before you started.
If you don't set everything back, then you are making your drupal install very vulnerable!

Next:
So in reality, when you install Drupal, it tries to create a folder called "files" in its root. Which, on your install, would be here:
/home/myserver/public_html/mysubdomain/drupal/

However, when you installed Drupal, it couldn't create that, which means you just need to create it for drupal. So you would go to /home/myserver/public_html/mysubdomain/drupal/ and create a folder called 'files'. Then just do this:

chmod 777 files/

Now you have created a directory called 'files' in your drupal root that is writeable by the webserver. Now recheck your requirements on CiviCRM and it should be good to go.

Hope that helps!

patll

  • Guest
Re: auto install error: Is the files folder writeable- UPDated w. Ver.#'s
June 25, 2008, 10:16:32 am
Quote from: emilyf on June 23, 2008, 07:26:04 am
First off, this is really a Drupal error not a CiviCRM error.

Second, if you had a brand new version of D6, I would start over, because you really don't want to change permissions on all the files in Drupal. If you don't want to start over, then set all the permissions back to how they were before you started.
If you don't set everything back, then you are making your drupal install very vulnerable!

Next:
So in reality, when you install Drupal, it tries to create a folder called "files" in its root. Which, on your install, would be here:
/home/myserver/public_html/mysubdomain/drupal/

However, when you installed Drupal, it couldn't create that, which means you just need to create it for drupal. So you would go to /home/myserver/public_html/mysubdomain/drupal/ and create a folder called 'files'. Then just do this:

chmod 777 files/

Now you have created a directory called 'files' in your drupal root that is writeable by the webserver. Now recheck your requirements on CiviCRM and it should be good to go.

Hope that helps!

Thanks that did it except that I missed it, the obvious, that CiviCrm 2.0 won't install in Drupal 6.X. You've sated in other posts, after searching, that D6.x should be supported in Civicrm 2.1 later in the fall.

Thanks though, you did nail it.
« Last Edit: June 25, 2008, 10:18:29 am by patll »

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • auto install error: Is the files folder writeable- UPDated w. Ver.#'s

This forum was archived on 2017-11-26.