[freeside-devel] Erorr running freeside-upgrade on 4.x and 5.x

Fernando M. Kiernan fkiernan at id.net.ar
Thu Feb 4 06:18:00 PST 2016


Hello!!

> -----Original Message-----
> From: freeside-devel [mailto:freeside-devel-bounces at freeside.biz] On
> Behalf Of Ivan Kohler
> Sent: Wednesday, February 03, 2016 9:51 PM
> To: Freeside development mailing list <freeside-devel at freeside.biz>
> Subject: Re: [freeside-devel] Erorr running freeside-upgrade on 4.x and
5.x
> 
> On Wed, Feb 03, 2016 at 11:07:27AM -0300, Fernando M. Kiernan wrote:
> > Hi, after the last payby changes, running freeside-upgrade on 4.x and
> > 5.x generates this error:
> 
> I see these DROP INDEX errors running freeside-upgrade, but only on master
> (5.x), not on 4.x.

You are right!! Sorry for that.

> 
> Now fixed, use DBIx::DBSchema 0.46.

Another error araised after upgrading DBSchema...

Creating service contact class.
DBD::Pg::st execute failed: ERROR:  column "payby" does not exist
LINE 1: ...5bd48 CURSOR FOR SELECT * FROM cust_main  WHERE ( payby IS N...
                                                             ^ [for
Statement "DECLARE cursor0e85bd48 CURSOR FOR SELECT * FROM cust_main  WHERE
( payby IS NOT NULL AND payby != '' )  "] at
/usr/local/share/perl/5.20.2/FS/Cursor.pm line 98.
ERROR:  column "payby" does not exist
LINE 1: ...5bd48 CURSOR FOR SELECT * FROM cust_main  WHERE ( payby IS N...
                                                             ^ at
/usr/local/share/perl/5.20.2/FS/Cursor.pm line 98.
DBD::Pg::db do failed: ERROR:  current transaction is aborted, commands
ignored until end of transaction block at
/usr/local/share/perl/5.20.2/FS/Cursor.pm line 156.
        (in cleanup) ERROR:  current transaction is aborted, commands
ignored until end of transaction block at
/usr/local/share/perl/5.20.2/FS/Cursor.pm line 156.
Issuing rollback() due to DESTROY without explicit disconnect() of
DBD::Pg::db handle dbname=freeside at
/usr/local/share/perl/5.20.2/FS/Cursor.pm line 98.

Regards
Fernando
> 
> Thanks for testing things out.
> 
> --
> _ivan
> _______________________________________________
> freeside-devel mailing list
> freeside-devel at freeside.biz
> http://freeside.biz/cgi-bin/mailman/listinfo/freeside-devel



More information about the freeside-devel mailing list