Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 53973

Summary: gallery-1.4.3_p2 cannot login after upgrade
Product: Gentoo Linux Reporter: Steve Romanow <slestak989>
Component: Current packagesAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Status: RESOLVED FIXED    
Severity: normal CC: ckdake
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Steve Romanow 2004-06-15 06:40:30 UTC
I emerged app-misc/gallery-1.4.3_p2 today, on an upgrade install.

Ran the ./secure.sh script as instructed.  Cannot login to gallery as admin or user.

I have webapp-config installe don this server, but I was not using the gallery.eclass ebuild.

gallery index page does come up, album browse works, just login appears to fail.  no error message on popup login window.  If i enter a known bad login/pass, it does report error.

verified on footer of index page, it is running current version, wanted to make sure it wasnt a meld of old/new version.

Reproducible: Didn't try
Steps to Reproduce:
1.
2.
3.




Portage 2.0.50-r8 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.5
-mm6)
=================================================================
System uname: 2.6.5-mm6 i686 Pentium II (Deschutes)
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium2 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/
config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=pentium2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="ftp://mirrors.tds.net/gentoo http://212.219.247.13/sites/www.ibi
blio.org/gentoo/ http://212.219.247.11/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://192.168.1.8/gentoo-portage"
USE="alsa apache2 apm berkdb crypt curl encode foomaticdb gd gdbm gif gpm imap i
mlib jpeg libg++ libwww mad mikmod moznocompose moznoirc moznomail mpeg mysql nc
urses nls nptl oggvorbis oss pam pdflib perl png python readline slang spell ssl
 svga tcpd truetype x86 xml2 xmms xv zlib"
Comment 1 David Grant 2004-06-15 15:24:03 UTC
You need to run, configure.sh, so that it re-creates the config.php file.  I don't know why this is required, it's just a guess.  The upgrade instructions on Gallery's home page say this is the first thing to do when upgrading, even if the new is installed directly over top of the old.
Comment 2 Steve Romanow 2004-06-16 13:20:30 UTC
it worked, thx.  might be a good idea to upfate einfo in ebuild because it says to upgrade, just run secure.sh.  

einfo
einfo "For new installations point your browser to "
einfo "http://localhost/gallery/setup/"
einfo "and follow the instructions."
einfo "--------------------------------------------"
einfo "For upgrades, just run"
einfo "# cd ${destdir}"
einfo "# sh ./secure.sh"
einfo
Comment 3 rob holland (RETIRED) gentoo-dev 2004-07-15 12:54:54 UTC
I've updated the einfo. Thanks for the report and suggestion :)