Bug#452128: Is there a need to run the upgrade script?
On Friday 25 April 2008 08:20:06 am Jan Wagner wrote: > Hi Shawn, > > On Friday 25 April 2008 16:04, Shawn Willden wrote: > > zsh 11 % ls -la /var/lib/gallery2/ > > total 1 > > drwxr-xr-x 3 root root 80 2007-04-01 22:06 . > > drwxr-xr-x 47 root root 1208 2008-04-12 02:17 .. > > drwxrwxrwx 3 www-data www-data 72 2006-09-09 16:24 g2data.bak > > looks like you messed up your system somehow. Okay. I've never messed with the files in that directory (or any, really), but my G2 installation is fairly old, has been upgraded repeatedly, and was created as an import from a G1 gallery, and I did have to restore from backup after the upgrade failure... so who knows where along the line something might have moved some stuff to a backup, then failed, or whatever. Anyway, any suggestions on how I can get to a clean state? Without, of course, losing all of my data? Thanks, Shawn. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#452128: Is there a need to run the upgrade script?
Hi Shawn, On Friday 25 April 2008 16:04, Shawn Willden wrote: > zsh 11 % ls -la /var/lib/gallery2/ > total 1 > drwxr-xr-x 3 root root 80 2007-04-01 22:06 . > drwxr-xr-x 47 root root 1208 2008-04-12 02:17 .. > drwxrwxrwx 3 www-data www-data 72 2006-09-09 16:24 g2data.bak looks like you messed up your system somehow. # ls -la /var/lib/gallery2/ total 12 drwxr-xr-x 3 root root 4096 Apr 23 2007 . drwxr-xr-x 28 root root 4096 Jan 28 21:55 .. drwxr-xr-x 8 www-data www-data 4096 Apr 23 2007 g2data With kind regards, Jan. -- Never write mail to <[EMAIL PROTECTED]>, you have been warned! -BEGIN GEEK CODE BLOCK- Version: 3.1 GIT d-- s+: a- C+++ UL P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++ --END GEEK CODE BLOCK-- pgptOGDeoXYvj.pgp Description: PGP signature
Bug#452128: Is there a need to run the upgrade script?
Sorry for the delay. I somehow missed your e-mail. On Saturday 19 April 2008 04:00:41 am Jan Wagner wrote: > You are confusing me with your /var/lib/gallery2/g2data*. What > does "ls -la /var/lib/gallery2/" say? zsh 11 % ls -la /var/lib/gallery2/ total 1 drwxr-xr-x 3 root root 80 2007-04-01 22:06 . drwxr-xr-x 47 root root 1208 2008-04-12 02:17 .. drwxrwxrwx 3 www-data www-data 72 2006-09-09 16:24 g2data.bak Thanks, Shawn. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#452128: Is there a need to run the upgrade script?
On Friday 18 April 2008 22:43, Shawn Willden wrote: > drwxr-xr-x 2 www-data www-data 4096 Nov 7 04:42 /var/lib/gallery2/g2data > > I notice that this directory is empty, though. My actual data is > in /usr/share/gallery2/g2data. ls -ald on this directory gives > > drwxr-xr-x 8 www-data www-data 4096 Sep 9 2006 g2data You are confusing me with your /var/lib/gallery2/g2data*. What does "ls -la /var/lib/gallery2/" say? Anyways ... I guess the problem is related to your datalocation and the permissions. Gallery2 probably thinks your data is in g2data3847sj, but this is just a symlink to g2data, isn't it? With kind regards, Jan. -- Never write mail to <[EMAIL PROTECTED]>, you have been warned! -BEGIN GEEK CODE BLOCK- Version: 3.1 GIT d-- s+: a- C+++ UL P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++ --END GEEK CODE BLOCK-- pgpjLD5gfO21T.pgp Description: PGP signature
Bug#452128: Is there a need to run the upgrade script?
On Friday 18 April 2008 01:33:03 pm Jan Wagner wrote: > can you please provide a "ls -dla /var/lib/gallery2/g2data/"? Here it looks > like: Sure. Mine is: drwxr-xr-x 2 www-data www-data 4096 Nov 7 04:42 /var/lib/gallery2/g2data I notice that this directory is empty, though. My actual data is in /usr/share/gallery2/g2data. ls -ald on this directory gives drwxr-xr-x 8 www-data www-data 4096 Sep 9 2006 g2data Hope this helps. Shawn -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#452128: Is there a need to run the upgrade script?
Hi Shawn, On Monday 17 March 2008 17:18, Shawn Willden wrote: > On Monday 17 March 2008 10:01:57 am Michael Schultheiss wrote: > > Shawn Willden wrote: > > I just tested this on 2008-03-14 and was not forced to run the web-based > > upgrader when moving from the original etch package to the security > > update. > > > > What versions of gallery2 are you upgrading from? > > That's difficult to tell. Apt thinks I have 2.1.2-2.0.etch.1, but that's > the version I upgraded to which failed. I restored the files for the > previous version from backup, but I only restored the gallery2 files, not > my whole system, so I'm now running an older version than what apt thinks > is installed. > > Is there a file somewhere I can look at to find out what version I have? can you please provide a "ls -dla /var/lib/gallery2/g2data/"? Here it looks like: # ls -dla /var/lib/gallery2/g2data/ drwxr-xr-x 8 www-data www-data 4096 Apr 23 2007 /var/lib/gallery2/g2data/ Thanks and with kind regards, Jan. -- Never write mail to <[EMAIL PROTECTED]>, you have been warned! -BEGIN GEEK CODE BLOCK- Version: 3.1 GIT d-- s+: a- C+++ UL P+ L+++ E- W+++ N+++ o++ K++ w--- O M V- PS PE Y++ PGP++ t-- 5 X R tv- b+ DI- D++ G++ e++ h-- r+++ y+++ --END GEEK CODE BLOCK-- pgpKuJ7MlvsZ2.pgp Description: PGP signature
Bug#452128: Is there a need to run the upgrade script?
On Monday 17 March 2008 10:01:57 am Michael Schultheiss wrote: > Shawn Willden wrote: > I just tested this on 2008-03-14 and was not forced to run the web-based > upgrader when moving from the original etch package to the security > update. > > What versions of gallery2 are you upgrading from? That's difficult to tell. Apt thinks I have 2.1.2-2.0.etch.1, but that's the version I upgraded to which failed. I restored the files for the previous version from backup, but I only restored the gallery2 files, not my whole system, so I'm now running an older version than what apt thinks is installed. Is there a file somewhere I can look at to find out what version I have? Shawn. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#452128: Is there a need to run the upgrade script?
On Monday 17 March 2008 08:25:23 am Thijs Kinkhorst wrote: > tags 452128 etch moreinfo > Hi Shawn, > > > After upgrading this morning (to obtain the security fixes), my > > gallery installation cannot perform the web-based portion of the > > upgrade process. When it gets to step 2 "System Checks", it > > fails saying: > > Is there any need to run the web based upgrade process at all after the > security upgrade? That upgrade only changes some code segments, not > something that I would say you need to run the upgrade script for... > > Does it work if you don't run the script? After doing the dpkg upgrade, gallery2 automatically requires the web-based upgrade to be run. How would I bypass it? Shawn. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#452128: Is there a need to run the upgrade script?
Shawn Willden wrote: > On Monday 17 March 2008 08:25:23 am Thijs Kinkhorst wrote: > > tags 452128 etch moreinfo > > Hi Shawn, > > > > > After upgrading this morning (to obtain the security fixes), my > > > gallery installation cannot perform the web-based portion of the > > > upgrade process. When it gets to step 2 "System Checks", it > > > fails saying: > > > > Is there any need to run the web based upgrade process at all after the > > security upgrade? That upgrade only changes some code segments, not > > something that I would say you need to run the upgrade script for... > > > > Does it work if you don't run the script? > > After doing the dpkg upgrade, gallery2 automatically requires the web-based > upgrade to be run. How would I bypass it? I just tested this on 2008-03-14 and was not forced to run the web-based upgrader when moving from the original etch package to the security update. What versions of gallery2 are you upgrading from? -- Michael Schultheiss E-mail: [EMAIL PROTECTED] -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#452128: Is there a need to run the upgrade script?
tags 452128 etch moreinfo thanks Hi Shawn, > After upgrading this morning (to obtain the security fixes), my > gallery installation cannot perform the web-based portion of the > upgrade process. When it gets to step 2 "System Checks", it > fails saying: Is there any need to run the web based upgrade process at all after the security upgrade? That upgrade only changes some code segments, not something that I would say you need to run the upgrade script for... Does it work if you don't run the script? Thijs pgpkFOuSFPm9D.pgp Description: PGP signature