Resolved...

Rem'd out the procedure in the update script to migrate themes.



On 2010-11-24, at 11:50 AM, Mikola Rose wrote:

Sorry,  overlooked the fact that there was a defaults.pm in the distribution 
files....


So....  now that I run it

powerxjaws1:/opt/otrs otrs$ scripts/DBUpdate-to-3.0.pl
Start migration of the system...

NOTICE: Rebuild Config...
NOTICE: Migrating themes...
DBD::Pg::st execute failed: ERROR:  relation "theme" does not exist at 
/opt/otrs-3.0.2/Kernel/System/DB.pm line 553.
ERROR: OTRS-DBUpdate-to-3.0-10 Perl: 5.8.6 OS: darwin Time: Wed Nov 24 11:49:30 
2010

 Message: ERROR:  relation "theme" does not exist, SQL: 'SELECT theme, valid_id 
FROM theme '

 Traceback (1845):
   Module: Kernel::System::DB::GetTableData (v1.125) Line: 868
   Module: main::MigrateThemes (v1.2) Line: 122
   Module: scripts/DBUpdate-to-3.0.pl (v1.2) Line: 79

DBD::Pg::st fetchrow_array failed: no statement executing at 
/opt/otrs-3.0.2/Kernel/System/DB.pm line 616.
ERROR: reading themes from database. Migration halted.

How do I get around this



On 2010-11-24, at 9:59 AM, Mikola Rose wrote:

Thanks for the reply .

I re copied the files, excluding the Defaults.pm file and then ran the database 
update in step 8 with out errors. But when I got to step 9 and ran 
scripts/DBUpdate-to-3.0.pl I got this crap.  It looks as if it is complaining 
about not having the Defaults.pm

/opt/otrs otrs$ scripts/DBUpdate-to-3.0.pl
Can't locate Kernel/Config/Defaults.pm in @INC (@INC contains: 
/opt/otrs-3.0.2/Kernel/cpan-lib /opt/otrs-3.0.2 
/System/Library/Perl/5.8.6/darwin-thread-multi-2level 
/System/Library/Perl/5.8.6 /Library/Perl/5.8.6/darwin-thread-multi-2level 
/Library/Perl/5.8.6 /Library/Perl 
/Network/Library/Perl/5.8.6/darwin-thread-multi-2level 
/Network/Library/Perl/5.8.6 /Network/Library/Perl 
/System/Library/Perl/Extras/5.8.6/darwin-thread-multi-2level 
/System/Library/Perl/Extras/5.8.6 /Library/Perl/5.8.1 .) at 
/opt/otrs-3.0.2/Kernel/Config.pm line 96.
BEGIN failed--compilation aborted at /opt/otrs-3.0.2/Kernel/Config.pm line 96.
Compilation failed in require at scripts/DBUpdate-to-3.0.pl line 37.
BEGIN failed--compilation aborted at scripts/DBUpdate-to-3.0.pl line 37.

On 2010-11-24, at 2:13 AM, Martin Edenhofer wrote:

Hi Mik,

it looks that you use an old Kernel/Config/Defaults.pm (e. g. from OTRS 2.4.7), 
use it from OTRS 3.0.

Just use Kernel/Config.pm and Kernel/Config/Files/ZZZAuto.pm from your OTRS 2.4 
installation for upgrading.

Greetings,

 -Martin


On 24.11.2010, at 03:10, Mikola Rose wrote:

I am tryign to upgrade OTRS to 3.0.2 and am running 
DBUpdate-to-3.0.postrgres.sql with out issue. When I go to run step 10 in the 
document, DBUpdate-to-3.0.pl<http://DBUpdate-to-3.0.pl/> I get the following 
error:
Can't locate object method "ConfigChecksum" via package "Kernel::Config" at 
/opt/otrs-3.0.2/Kernel/System/SysConfig.pm line 1552.

Any idea?  I read some forums posts already and have confirmed that the 
setPermision script correctly set the web user and group to www
I also restored my files as per the UPGRADING doc before I ran the update 
scripts.

Mik

http://edenhofer.de/

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Reply via email to