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) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Failing to upgrade from 2.0 to 2.1 on Joomla 1.5
Pages: [1]

Author Topic: Failing to upgrade from 2.0 to 2.1 on Joomla 1.5  (Read 2146 times)

sergeich

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
    • USDLC
Failing to upgrade from 2.0 to 2.1 on Joomla 1.5
August 07, 2008, 06:53:32 am
OS: Fresh install of Fedora 9, all updates applied.
------------------------------
PHP Built on:       Linux 2.6.25.11-97.fc9.i686 #1 SMP Mon Jul 21 01:31:09 EDT 2008 i686
Database Version:    5.0.51a-log
Database Collation:    utf8_general_ci
PHP Version:    5.2.6
Web Server:    Apache/2.2.0 (Fedora)
Web Server to PHP interface:    apache2handler
Joomla! Version:    Joomla! 1.5.4 Production/Stable [ Naiki ] 6-July-2008 22:00 GMT
User Agent:    Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.16) Gecko/20080702 Firefox/2.0.0.16
---------------------------------

Ok, I tripple checked that "$civicrmUpgrade = true;"

1) first Error message that I getwith FTP file-access enabled is:

Component Install: Another Component is already using directory: "/..../public_html/components/com_civicrm"

If I delete com_civicrm from both components and administrator/components the installation runs but I'm sure that's not how it's meant to work as it fails to find 

/administrator/components/com_civicrm/civicrm.settings.php file upon completion. Lamely I tried to copy civirm.settings.php from the default folder under installer but no luck

---------------------

2) I blamed permissions/FTP and thus migrated the site to the native Apache driven mode with all possible directories Writable... but only to
see this again:
Component Install: Another Component is already using directory: "/var/www/html/.../components/com_civicrm"Component Install: Another Component is already using directory: "/var/www/html/.../administrator/components/com_civicrm"

Deepak Srivastava

  • Ask me questions
  • ****
  • Posts: 677
  • Karma: 65
Re: Failing to upgrade from 2.0 to 2.1 on Joomla 1.5
August 08, 2008, 03:36:47 am
Quote
see this again:
Component Install: Another Component is already using directory: "/var/www/html/.../components/com_civicrm"Component Install: Another Component is already using directory: "/var/www/html/.../administrator/components/com_civicrm"

This happens when a component is partially/completely installed and you trying to install it again. So you need uninstall that component and/or delete those directories manually and make sure they don't exist before you do a new install.

Quote
1) first Error message that I getwith FTP file-access enabled is:

Component Install: Another Component is already using directory: "/..../public_html/components/com_civicrm"

If I delete com_civicrm from both components and administrator/components the installation runs but I'm sure that's not how it's meant to work as it fails to find /administrator/components/com_civicrm/civicrm.settings.php file upon completion. Lamely I tried to copy civirm.settings.php from the default folder under installer but no luck

Did you see "CiviCRM installed successfully" message after you had removed com_civicrm directory and ran the installer? If yes how did you find out that "it fails to find /administrator/components/com_civicrm/civicrm.settings.php".

Looking at your message it looks like you already had CiviCRM v2.0 on Joomla 1.5 and therefore did not do Joomla migration, which any way shouldn't matter looking at the steps you followed.
Found this reply helpful? Contribute NOW and help us improve CiviCRM with the Make it Happen! initiative.

sergeich

  • I’m new here
  • *
  • Posts: 28
  • Karma: 0
    • USDLC
Re: Failing to upgrade from 2.0 to 2.1 on Joomla 1.5
August 08, 2008, 08:33:09 am
Quote

Did you see "CiviCRM installed successfully" message after you had removed com_civicrm directory and ran the installer? If yes how did you find out that "it fails to find /administrator/components/com_civicrm/civicrm.settings.php".


Once I manually removed those directories (from perfectly functional CiviCRM 2.0 + Joomla 1.5) and launch the Instlla I did the message "CiviCRM installed successfully". However when I went CiviCRM under Components I got an error message about missing civirm.setting.php.

I guess I'll just install it from scratch or even better: wait till Beta release.

mcsmom

  • I post frequently
  • ***
  • Posts: 266
  • Karma: 23
    • Official Joomla! Book
  • CiviCRM version: 4 and 3.4
  • CMS version: Joomla!
Re: Failing to upgrade from 2.0 to 2.1 on Joomla 1.5
August 12, 2008, 05:19:20 am
It's a combination of Civicrm not using the FTP layer and as a result not having the directory be writable. So, the settings file is not written. 

I had to basically make the whole site writable AND disable FTP in order to install.  Should really use JFile.

JFile::write('filename', 'data);

http://api.joomla.org/Joomla-Framework/FileSystem/JFile.html


Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Discussion (deprecated) »
  • Alpha and Beta Release Testing »
  • 2.1 Release Testing »
  • Failing to upgrade from 2.0 to 2.1 on Joomla 1.5

This forum was archived on 2017-11-26.