Upgrade Issues

Moderator: crythias

Locked
stonkers
Znuny newbie
Posts: 33
Joined: 18 Mar 2011, 16:41
Znuny Version: 2.4.8

Upgrade Issues

Post by stonkers »

OK, having a few issues after upgrading to 3:

1) When I log in to the customer web interface, I get an error: Cannot read property 'style' of null with some references to som javascript files
>I tried to fix this by changing the charset (#14 in install doc), but that doesn't fix it
2) When trying to run step 14 in the install doc:

I have:

Code: Select all

$Self->{'Frontend::Themes'} = {
  'LMCO' => '1',
  'Lite' => '1',
  'Standard' => '1'
};
So I try to fix it by going to SysConfig / Core::Web / Frontend::Themes and pushing the reset arrow, but that says: Can't write ConfigItem!

Backend ERROR: OTRS-CGI-10 Perl: 5.8.8 OS: linux Time: Fri Mar 18 14:11:14 2011

Message: Can't write ConfigItem!
Traceback (16448):
Module: Kernel::Modules::AdminSysConfig::Run (v1.112) Line: 174
Module: Kernel::System::Web::InterfaceAgent::Run (v1.58.2.1) Line: 853
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 45
Module: (eval) (v1.89) Line: 204
Module: ModPerl::RegistryCooker::run (v1.89) Line: 204
Module: ModPerl::RegistryCooker::default_handler (v1.89) Line: 170
Module: ModPerl::Registry::handler (v1.99) Line: 31
From root of otrs, it's owned by apache:apache and perms are set to 755. Any help?

Thanks,
Eric
stonkers
Znuny newbie
Posts: 33
Joined: 18 Mar 2011, 16:41
Znuny Version: 2.4.8

Re: Upgrade Issues

Post by stonkers »

Anybody? Anything? Debug techniques, anything...
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Upgrade Issues

Post by crythias »

This doesn't appear to be a problem with OTRS, though screen shots might help...
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Upgrade Issues

Post by jojo »

please run the SetPermissions script as described in the INSTALL file
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
stonkers
Znuny newbie
Posts: 33
Joined: 18 Mar 2011, 16:41
Znuny Version: 2.4.8

Re: Upgrade Issues

Post by stonkers »

I did run all steps Jojo. It was slightly confusing which user to run each step as. I'm running all steps other than the one that says specifically to run as apache as the root user. Please let me know if I need to change this because, at this point, I've already backed out my upgrade and am running it again.

Thanks,
Eric
stonkers
Znuny newbie
Posts: 33
Joined: 18 Mar 2011, 16:41
Znuny Version: 2.4.8

Re: Upgrade Issues

Post by stonkers »

Also, should there be a step between step 5 and 6 to restart the service before proceeding? The output of the rpm says to do it, but I followed the doc instead. I'm going to do the same this time, but please let me know if I'm incorrect. Thanks again!
stonkers
Znuny newbie
Posts: 33
Joined: 18 Mar 2011, 16:41
Znuny Version: 2.4.8

Re: Upgrade Issues

Post by stonkers »

OK, I'm at the step where it says to set permissions and it says "If tarball was used". I used the rpm. I'm going to run it anyway this time since you told me to...
stonkers
Znuny newbie
Posts: 33
Joined: 18 Mar 2011, 16:41
Znuny Version: 2.4.8

Re: Upgrade Issues

Post by stonkers »

I think I've figured out what happened. When I went to su to the ois user, it didn't work because the ois user didn't have a proper shell. So I did a >chsh ois and set it to /bin/bash. I'm going to fall the rest of the way back again and start over. Would have been nice if it had actually told me that my su failed...
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Upgrade Issues

Post by jojo »

what is a ois user? OTRS should have a user otrs... And if your su is working or not will be shown normally in your shell (if configured to show actual username)
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
stonkers
Znuny newbie
Posts: 33
Joined: 18 Mar 2011, 16:41
Znuny Version: 2.4.8

Re: Upgrade Issues

Post by stonkers »

Sorry, meant otrs user. su didn't work because the user had an invalid shell (seems like it was set to /bin/none or something like that). I didn't set up this machine originally, the person who did no longer works here...
Locked