Bug 500124 - Upgrade of version 2.3 rel 7 breaks existing installation due to new dependencies
Summary: Upgrade of version 2.3 rel 7 breaks existing installation due to new dependen...
Keywords:
Status: CLOSED DUPLICATE of bug 498334
Alias: None
Product: Fedora
Classification: Fedora
Component: gallery2
Version: 10
Hardware: All
OS: Linux
low
urgent
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-11 10:04 UTC by Bevis King
Modified: 2009-05-11 12:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-05-11 12:18:35 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Bevis King 2009-05-11 10:04:57 UTC
Description of problem:
When you install the latest upgrade of gallery2 - 2.3 release 7 - it breaks existing installations due to the absence of /usr/share/gallery2/lib/smarty/Smarty.class.php .

The error after the upgrade has been performed is:
[Mon May 11 10:58:33 2009] [error] [client 131.227.95.112] PHP Fatal error:  Gal
leryCoreApi::require_once() [<a href='function.require'>function.require</a>]: F
ailed opening required '/usr/share/gallery2/modules/core/classes/../../../lib/sm
arty/Smarty.class.php' (include_path='.:/usr/share/pear:/usr/share/php') in /usr
/share/gallery2/modules/core/classes/GalleryCoreApi.class on line 2827

Version-Release number of selected component (if applicable):
gallery2-2.3-7.fc10.noarch

How reproducible:
Done once, installation now unserviceable.

Steps to Reproduce:
1.  yum upgrade gallery2
  
Actual results:
Upgrade rpms get installed, upgrade procedure run as directed, gallery2 no longer works.

Expected results:
Upgrade takes place and new version works normally.

Additional info:

Comment 1 Bevis King 2009-05-11 10:11:20 UTC
OK - here's a fix:

1. Make gallery 2.3 depend upon php-Smarty

2. Add a symlink in /usr/share/gallery2/lib as follows:

      ln -s /usr/share/php/Smarty/ smarty

That seems to have restored access to the gallery2 installation.

Regards, Bevis.

Comment 2 Gwyn Ciesla 2009-05-11 12:18:35 UTC

*** This bug has been marked as a duplicate of bug 498334 ***


Note You need to log in before you can comment on or make changes to this bug.