Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

upgrade to 2.5 failled
JWBokx
#1 Posted : Thursday, 16 June 2011 11:59:01 AM(UTC)
Rank: Member

Joined: 7/03/2011(UTC)
Posts: 19
Location: Netherlands

I have tried to upgrade from 2.4.3
It is running SQLServer and .Net 4.0.30319

After the extracting and copy I opened the webpage.
It shows the upgrade wizard, after pressing next,
The following is showed:


There is a problem that is preventing the upgrade. Try again


SqlServer Database

The Upgrade Wizard can only upgrade a database from version 2.3, but the database is at version <unknown>. Upgrade your gallery to 2.3.3750 and try again. If your current version is 2.5.0 or higher, than the Upgrade Wizard is not needed.

web.config

<cachingConfiguration ...> section will be deleted.

galleryserverpro.config

Could not find "c:\inetpub\wwwroot\FotoAlbum\gs\config\galleryserverpro_old.config". The Upgrade Wizard expects your original galleryserverpro.config file to be at this location


Any idea?
JWBokx
#2 Posted : Monday, 20 June 2011 2:19:00 PM(UTC)
Rank: Member

Joined: 7/03/2011(UTC)
Posts: 19
Location: Netherlands

I have tried to revert to the previous version,
but now it seems all data is gone.
All I have now is the default ablum.....
Roger Martin
#3 Posted : Monday, 20 June 2011 2:41:26 PM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

I don't know your backup/restore process so I can't speak to why you aren't able to revert to the previous version.

But given a working earlier version, I can help troubleshoot the upgrade. From a working copy of your original 2.4.3 install, run this SQL against your gallery database:

SELECT SettingValue FROM gs_AppSetting WHERE SettingName = 'DataSchemaVersion'

The Upgrade Wizard is designed to give you the error you saw only when this SQL returns a version earlier than 2.3.3421, so it shouldn't appear if you are running 2.4.3.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
JWBokx
#4 Posted : Tuesday, 21 June 2011 2:34:48 AM(UTC)
Rank: Member

Joined: 7/03/2011(UTC)
Posts: 19
Location: Netherlands

The query returns 2.4.6

The database tables for the images are empty.
I think I'll do a clean install of 2.5, and resync all photos.

uitmaurik
#5 Posted : Tuesday, 21 June 2011 7:31:57 AM(UTC)
Rank: Member

Joined: 13/12/2010(UTC)
Posts: 4
Location: The Netherlands

I have the same problem but where able to copy back the original web site which is still working.

The query returns 2.4.6 for me as I have version 2.4.8 installed (originally started with version 2.4.6 and did upgrades to 2.4.7 and 2.4.8)

I hope there is an easy way to fix this as it takes very long to perform a clean install and re-do all changes / settings.
Roger Martin
#6 Posted : Tuesday, 21 June 2011 9:54:38 AM(UTC)
Roger Martin

Rank: Administration

Joined: 3/08/2007(UTC)
Posts: 3,300
Location: Fort Atkinson, WI

2.4.6 is the right DB schema version for 2.4.6-2.4.8, so that looks right. Can you send me your web.config file from your 2.4.8 gallery? Mask out any DB passwords for your protection. Send it to roger*at*techinfosystems*dot*com.
Roger Martin
Creator and Lead Developer of Gallery Server Pro
uitmaurik
#7 Posted : Friday, 1 July 2011 12:57:36 AM(UTC)
Rank: Member

Joined: 13/12/2010(UTC)
Posts: 4
Location: The Netherlands

My problems where caused by permissions on sql server. I made the account temporarily sysadmin which fixed the problem. I'm not sure how this problem is caused but the most important is that it is fixed now.

P.S. I'm using a local user instead of a sql user to access the database (application pool is running in the local user context).
Rss Feed  Atom Feed
Users browsing this topic
Guest
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.