Bug#525398: gallery2: Upgrade from 1.2.0.8 to 1.3.0 fails. Missing or invalid config.php

2009-04-26 Thread Darryl Luff
Sorry, I copied the versions showing in the web page error message into 
the bug title and didn't notice that they don't agree with the package 
version?


The package was upgraded by aptitude. The aptitude log shows:

[UPGRADE] gallery2 2.2.6-1 - 2.3-1


Darryl Luff




--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#525398: gallery2: Upgrade from 1.2.0.8 to 1.3.0 fails. Missing or invalid config.php

2009-04-24 Thread Darryl Luff
Package: gallery2
Version: 2.3-1
Severity: grave
Justification: renders package unusable

After an 'aptitude upgrade' the next time I accessed gallery2 I was directed to 
/gallery2/upgrade/index.php. At Step 0, the message said:

'Missing or invalid config.php
You tried to run the upgrade process but a valid config.php is missing.'

config.php exists in /etc/gallery2, and there is a symlink to it from 
/usr/share/gallery2/config.php

There is a link to 'Go to the Gallery 2 Installer'. Stepping through the 
installer, at the 'System Checks' screen everything is fine except there are 4 
missing files (all readmes, license and COPYING.lib) and 36 modified files.

Continuing on, I change the data directory to /data/gallery2/g2data.

At 'Database Setup' it detects the existing tables and I opt to reuse them.

At step 7, 'Create Config File', I get an error 'The installed version is older 
than the new version. You should run the upgrader and not the installer'. It 
displays the currently installed version as 1.2.0.8 and the new version as 
1.3.0.
 
If I go back to the upgrader the above cycle repeats.


-- System Information:
Debian Release: squeeze/sid
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages gallery2 depends on:
ii  apache22.2.11-3  Apache HTTP Server metapackage
ii  apache2-mpm-prefork [h 2.2.11-3  Apache HTTP Server - traditional n
ii  debconf [debconf-2.0]  1.5.26Debian configuration management sy
ii  imagemagick7:6.3.7.9.dfsg2-1 image manipulation programs
ii  libapache2-mod-php55.2.6.dfsg.1-3server-side, HTML-embedded scripti
ii  libphp-adodb   5.07-1The ADOdb database abstraction lay
ii  mysql-client-5.0 [mysq 5.0.51a-24MySQL database client binaries
ii  netpbm 2:10.0-12 Graphics conversion tools
ii  php5   5.2.6.dfsg.1-3server-side, HTML-embedded scripti
ii  php5-mysql 5.2.6.dfsg.1-3MySQL module for php5
ii  smarty 2.6.22-1  Template engine for PHP
ii  wwwconfig-common   0.2.1 Debian web auto configuration

Versions of packages gallery2 recommends:
ii  dcraw  8.86-1decode raw digital camera images
ii  ffmpeg 3:0.svn20090303-1 multimedia player, server and enco
ii  jhead  2.87-1manipulate the non-image part of E
ii  libjpeg-progs  6b-14 Programs for manipulating JPEG fil
ii  php5-gd5.2.6.dfsg.1-3GD module for php5
ii  unzip  5.52-12   De-archiver for .zip files
ii  zip2.32-1Archiver for .zip files

Versions of packages gallery2 suggests:
ii  mysql-server  5.0.51a-24 MySQL database server (metapackage
ii  mysql-server-5.0 [mysql-serve 5.0.51a-24 MySQL database server binaries

-- debconf information:
* gallery2/mysql/dbserver: localhost
* gallery2/restart-webserver: true
  gallery2/webserver_type: apache, apache-ssl, apache-perl, apache2
  gallery2/mysql/dbname: gallery2
  gallery2/mysql/configure: true
  gallery2/purge: true
* gallery2/mysql/dbadmin: root



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org