openphoto/frontend — Issue #533: DB Upgrade not being triggered
Author: jordanbrock
Created: 2012-03-03 09:13:12+00:00
State: open

Howdy,

I'm using the master branch, and it seems my versions have got slightly out of whack.

My /src/userdata/configs/{hostname}.ini file reports that I'm using version 1.3.2.

The admin table in my database has the version pegged at 1.3.1

When I try and upload a file I get the following error inside /var/log/apache/error.log

```apache
{severity:warn, description:"Uncaught exception (/var/www/photos.jordanbrock.com/src/libraries/external/epi/EpiException.php:13): Query error: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'filenameOriginal' in 'field list' - INSERT INTO `photo` (appId,host,views,status,permission,license,hash,size,filenameOriginal,width,height,dateTaken,dateTakenDay,dateTakenMonth,dateTakenYear,dateUploaded,dateUploadedDay,dateUploadedMonth,dateUploadedYear,pathOriginal,pathBase,tags,title,description,latitude,longitude,id,owner,exif) VALUES (:appId,:host,:views,:status,:permission,:license,:hash,:size,:filenameOriginal,:width,:height,:dateTaken,:dateTakenDay,:dateTakenMonth,:dateTakenYear,:dateUploaded,:dateUploadedDay,:dateUploadedMonth,:dateUploadedYear,:pathOriginal,:pathBase,:tags,:title,:description,:latitude,:longitude,:id,:owner,:exif)", additional:}, referer: http://photos.jordanbrock.com/photos/upload

All of which seems to be referencing a column being put in place by 1.4.0, filenameOriginal.

Is there any way I can force an upgrade? Or do I need to do it manually?