Bug 500124

Summary: Upgrade of version 2.3 rel 7 breaks existing installation due to new dependencies
Product: [Fedora] Fedora Reporter: Bevis King <brwk>
Component: gallery2Assignee: Gwyn Ciesla <gwync>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: low    
Version: 10CC: gwync
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-11 12:18:35 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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 ***