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 »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • upgrading from 4.2.4 to 4.2.6 under Joomla 2.5.8 - permissions issues?
Pages: [1]

Author Topic: upgrading from 4.2.4 to 4.2.6 under Joomla 2.5.8 - permissions issues?  (Read 709 times)

poorhaus

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
    • Music Nova Scotia
  • CiviCRM version: 4.4.10
  • CMS version: Drupal 7
  • MySQL version: 5.5.27
  • PHP version: 5.3.17
upgrading from 4.2.4 to 4.2.6 under Joomla 2.5.8 - permissions issues?
December 03, 2012, 07:49:24 am
Hi all,

I searched through the forums for issues of this nature and came up empty-handed, my apologies if this is a n00bish move.

I am having a heck of a time upgrading from CiviCRM 4.2.4 to the most recent release, after having successfully installed and operated 4.2.4 . I'm getting failure to find/copy files all over the place. I feel it's relevant that on this web server, Apache gets added to a user group of which my own user is also part, and that's how permissions-related stuff is normally handled. There is a scheduled job that rips through all the web folders on the box every 15 minutes and chowns them to be part of the appropriate group. It looks to me that the issue is that as the install process copies the files from the tmp dir to their homes in the /components and other folders, it writes them without group write permissions, such that when the system tries to do file operations, it's refused because the user ownership (not the group ownership) is different.

I am kind of flying blind in that I don't have root, ssh or even MyAdmin access to the box and thus can't chown files myself.  I can see in Dreamweaver's FTP log that the files are owned by my user (not the apache user) and that they have the correct group ownership. I have tried waiting until the cron job comes through and rewrites the permissions but new errors come up as the system tries to write new files. 

Is there a way to get the installer to write the files with the Group having write access? Alternately, what else might I be screwing up?

Here's the dump (joomla in debug mode); I've verified the existence and readability of the XML file it is claiming not to be able to find. :

500 - **An error has occurred.**
**Installation unexpectedly terminated:**

**Return to Control Panel**

Call stack
#   Function   Location
1   JAdministrator->dispatch()   /var/www/html/musicns/web/administrator/index.php:46
2   JComponentHelper::renderComponent()   /var/www/html/musicns/web/administrator/includes/application.php:153
3   JComponentHelper::executeComponent()   /var/www/html/musicns/web/libraries/joomla/application/component/helper.php:351
4   require_once()   /var/www/html/musicns/web/libraries/joomla/application/component/helper.php:383
5   JController->execute()   /var/www/html/musicns/web/administrator/components/com_installer/installer.php:18
6   InstallerControllerInstall->install()   /var/www/html/musicns/web/libraries/joomla/application/component/controller.php:761
7   InstallerModelInstall->install()   /var/www/html/musicns/web/administrator/components/com_installer/controllers/install.php:29
8   JInstaller->install()   /var/www/html/musicns/web/administrator/components/com_installer/models/install.php:105
9   JInstallerComponent->install()   /var/www/html/musicns/web/libraries/joomla/installer/installer.php:472
10   JInstallerComponent->update()   /var/www/html/musicns/web/libraries/joomla/installer/adapters/component.php:219
11   JInstaller->abort()   /var/www/html/musicns/web/libraries/joomla/installer/adapters/component.php:834
12   JError::raiseError()   /var/www/html/musicns/web/libraries/joomla/installer/installer.php:417
13   JError::raise()   /var/www/html/musicns/web/libraries/joomla/error/error.php:251
**Joomla! Debug Console**
**Errors**

**JInstaller: :Install: Cannot find Joomla XML setup file**
Call stack
#   Function   Location
1   JAdministrator->dispatch()   JROOT/administrator/index.php:46
2   JComponentHelper::renderComponent()   JROOT/administrator/includes/application.php:153
3   JComponentHelper::executeComponent()   JROOT/libraries/joomla/application/component/helper.php:351
4   require_once()   JROOT/libraries/joomla/application/component/helper.php:383
5   JController->execute()   JROOT/administrator/components/com_installer/installer.php:18
6   InstallerControllerInstall->install()   JROOT/libraries/joomla/application/component/controller.php:761
7   InstallerModelInstall->install()   JROOT/administrator/components/com_installer/controllers/install.php:29
8   JInstaller->install()   JROOT/administrator/components/com_installer/models/install.php:105
9   JInstallerComponent->install()   JROOT/libraries/joomla/installer/installer.php:472
10   JInstallerComponent->update()   JROOT/libraries/joomla/installer/adapters/component.php:219
11   JInstaller->findManifest()   JROOT/libraries/joomla/installer/adapters/component.php:677
12   JError::raiseWarning()   JROOT/libraries/joomla/installer/installer.php:1897
13   JError::raise()   JROOT/libraries/joomla/error/error.php:276
**JInstaller: :Install: Cannot find XML setup file**
Call stack
#   Function   Location
1   JAdministrator->dispatch()   JROOT/administrator/index.php:46
2   JComponentHelper::renderComponent()   JROOT/administrator/includes/application.php:153
3   JComponentHelper::executeComponent()   JROOT/libraries/joomla/application/component/helper.php:351
4   require_once()   JROOT/libraries/joomla/application/component/helper.php:383
5   JController->execute()   JROOT/administrator/components/com_installer/installer.php:18
6   InstallerControllerInstall->install()   JROOT/libraries/joomla/application/component/controller.php:761
7   InstallerModelInstall->install()   JROOT/administrator/components/com_installer/controllers/install.php:29
8   JInstaller->install()   JROOT/administrator/components/com_installer/models/install.php:105
9   JInstallerComponent->install()   JROOT/libraries/joomla/installer/installer.php:472
10   JInstallerComponent->update()   JROOT/libraries/joomla/installer/adapters/component.php:219
11   JInstaller->findManifest()   JROOT/libraries/joomla/installer/adapters/component.php:681
12   JError::raiseWarning()   JROOT/libraries/joomla/installer/installer.php:1904
13   JError::raise()   JROOT/libraries/joomla/error/error.php:276
**Copy failed**
Call stack
#   Function   Location
1   JAdministrator->dispatch()   JROOT/administrator/index.php:46
2   JComponentHelper::renderComponent()   JROOT/administrator/includes/application.php:153
3   JComponentHelper::executeComponent()   JROOT/libraries/joomla/application/component/helper.php:351
4   require_once()   JROOT/libraries/joomla/application/component/helper.php:383
5   JController->execute()   JROOT/administrator/components/com_installer/installer.php:18
6   InstallerControllerInstall->install()   JROOT/libraries/joomla/application/component/controller.php:761
7   InstallerModelInstall->install()   JROOT/administrator/components/com_installer/controllers/install.php:29
8   JInstaller->install()   JROOT/administrator/components/com_installer/models/install.php:105
9   JInstallerComponent->install()   JROOT/libraries/joomla/installer/installer.php:472
10   JInstallerComponent->update()   JROOT/libraries/joomla/installer/adapters/component.php:219
11   JInstaller->parseFiles()   JROOT/libraries/joomla/installer/adapters/component.php:831
12   JInstaller->copyFiles()   JROOT/libraries/joomla/installer/installer.php:1299
13   JFile::copy()   JROOT/libraries/joomla/installer/installer.php:1626
14   JError::raiseWarning()   JROOT/libraries/joomla/filesystem/file.php:143
15   JError::raise()   JROOT/libraries/joomla/error/error.php:276
**JInstaller: :Install: Failed to copy file /var/www/html/musicns/web/tmp/com_civicrm/site/civicrm.php to /var/www/html/musicns/web/components/com_civicrm/civicrm.php**
Call stack
#   Function   Location
1   JAdministrator->dispatch()   JROOT/administrator/index.php:46
2   JComponentHelper::renderComponent()   JROOT/administrator/includes/application.php:153
3   JComponentHelper::executeComponent()   JROOT/libraries/joomla/application/component/helper.php:351
4   require_once()   JROOT/libraries/joomla/application/component/helper.php:383
5   JController->execute()   JROOT/administrator/components/com_installer/installer.php:18
6   InstallerControllerInstall->install()   JROOT/libraries/joomla/application/component/controller.php:761
7   InstallerModelInstall->install()   JROOT/administrator/components/com_installer/controllers/install.php:29
8   JInstaller->install()   JROOT/administrator/components/com_installer/models/install.php:105
9   JInstallerComponent->install()   JROOT/libraries/joomla/installer/installer.php:472
10   JInstallerComponent->update()   JROOT/libraries/joomla/installer/adapters/component.php:219
11   JInstaller->parseFiles()   JROOT/libraries/joomla/installer/adapters/component.php:831
12   JInstaller->copyFiles()   JROOT/libraries/joomla/installer/installer.php:1299
13   JError::raiseWarning()   JROOT/libraries/joomla/installer/installer.php:1628
14   JError::raise()   JROOT/libraries/joomla/error/error.php:276
**Installation unexpectedly terminated:**
Call stack
#   Function   Location
1   JAdministrator->dispatch()   JROOT/administrator/index.php:46
2   JComponentHelper::renderComponent()   JROOT/administrator/includes/application.php:153
3   JComponentHelper::executeComponent()   JROOT/libraries/joomla/application/component/helper.php:351
4   require_once()   JROOT/libraries/joomla/application/component/helper.php:383
5   JController->execute()   JROOT/administrator/components/com_installer/installer.php:18
6   InstallerControllerInstall->install()   JROOT/libraries/joomla/application/component/controller.php:761
7   InstallerModelInstall->install()   JROOT/administrator/components/com_installer/controllers/install.php:29
8   JInstaller->install()   JROOT/administrator/components/com_installer/models/install.php:105
9   JInstallerComponent->install()   JROOT/libraries/joomla/installer/installer.php:472
10   JInstallerComponent->update()   JROOT/libraries/joomla/installer/adapters/component.php:219
11   JInstaller->abort()   JROOT/libraries/joomla/installer/adapters/component.php:834
12   JError::raiseError()   JROOT/libraries/joomla/installer/installer.php:417
13   JError::raise()   JROOT/libraries/joomla/error/error.php:251
« Last Edit: December 03, 2012, 07:51:20 am by poorhaus »

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: upgrading from 4.2.4 to 4.2.6 under Joomla 2.5.8 - permissions issues?
December 03, 2012, 09:34:36 am

will be a lot cheaper, smarter and faster to get a better host or a specialized civicrm hosting provider

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

poorhaus

  • I’m new here
  • *
  • Posts: 29
  • Karma: 0
    • Music Nova Scotia
  • CiviCRM version: 4.4.10
  • CMS version: Drupal 7
  • MySQL version: 5.5.27
  • PHP version: 5.3.17
Re: upgrading from 4.2.4 to 4.2.6 under Joomla 2.5.8 - permissions issues?
December 04, 2012, 05:39:01 am
Interesting; I am certainly not beyond switching hosting providers, but I have a fairly good working relationship with this one and I would like to work with them if possible. Is there something glaring/obvious you feel they're doing that I could ask them to change? Is that permissions management scheme screwy?

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Upgrading CiviCRM (Moderator: Deepak Srivastava) »
  • upgrading from 4.2.4 to 4.2.6 under Joomla 2.5.8 - permissions issues?

This forum was archived on 2017-11-26.