[SOLVED]problem with SMTPS after upgrade OTRS 2.4.7 to 2.4.9

Moderator: crythias

Post Reply
theodore
Znuny newbie
Posts: 26
Joined: 09 Jun 2010, 12:51
Znuny Version: 3.3.11

[SOLVED]problem with SMTPS after upgrade OTRS 2.4.7 to 2.4.9

Post by theodore »

Hello,

I have upgraded the version of the OTRS from 2.4.7 to 2.4.9 using the following backup and restore procedure

1. took a copy of the database
2. took a copy of my settings (using sys config)
3. uninstall OTRS 2.4.7
4. Install OTRS 2.4.9
5. restore the database (there was no upgrade script was run)
6. installed the extra modules (FAQ)
7. restore the system backup

all seem to work fine except the SMTPS when the system tries to send emails with that module the agents get the following error.

Software error:

Got no SendmailObject! at C:/PROGRA~1/OTRS/OTRS//Kernel/System/Ticket/Event/NotificationEvent.pm line 33.
For help, please send mail to the webmaster (webmaster@somenet.com), giving this error message and the time and date of the error.


When I change the setting to use simple SMTP it works fine

What could I have done wrong in the upgrade?

Is there a better way to upgrade? (the system is a test VM system and I can restore it to previous version)
Last edited by theodore on 05 Nov 2010, 11:29, edited 1 time in total.
OTRS 3.3.11 MariaDB CentOS 7
theodore
Znuny newbie
Posts: 26
Joined: 09 Jun 2010, 12:51
Znuny Version: 3.3.11

Re: problem with SMTPS after upgrade OTRS 2.4.7 to 2.4.9

Post by theodore »

Hello,

I found a solution to the problem...

after running the following command

C:\Program Files\OTRS\StrawberryPerl\perl\bin>perl "C:\Program Files\OTRS\OTRS\bin\otrs.CheckModules"

I got the following results

o CGI............................ok (v3.49)
o Date::Pcalc....................ok (v1.2)
o Date::Format...................ok (v2.24)
o DBI............................ok (v1.613)
o DBD::mysql.....................ok (v4.016)
o Digest::MD5....................ok (v2.40)
o Crypt::PasswdMD5...............ok (v1.3)
o LWP::UserAgent.................ok (v5.835)
o Encode::HanExtra...............ok (v0.23)
o IO::Scalar.....................ok (v2.110)
o IO::Wrap.......................ok (v2.110)
o MIME::Base64...................ok (v3.09)
o Mail::Internet.................ok (v2.04)
o MIME::Tools....................ok (v5.427)
o Net::DNS.......................ok (v0.66)
o Net::POP3......................ok (v2.29)
o Mail::POP3Client...............ok (v2.18 )
o IO::Socket::SSL.............Not installed! (Optional - for POP3 SSL connections)
o Net::IMAP::Simple..............ok (v1.17)
o Net::IMAP::Simple::SSL......Not installed! (Optional - Required for SSL connections.)
o Net::SMTP......................ok (v2.31)
o Authen::SASL................ok (v2.12)
o Net::SMTP::SSL..............Not installed! (Optional - Required for SSL/SMTPS connections.)
o Net::LDAP......................ok (v0.4001)
o GD.............................Not installed! (Optional - for stats)
o GD::Text....................Not installed! (Optional - Required for stats.)
o GD::Graph...................Not installed! (Optional - Required for stats.)
o GD::Graph::lines............Not installed! (Optional - Required for stats.)
o GD::Text::Align.............Not installed! (Optional - Required for stats.)
o PDF::API2......................ok (v0.73)
o Compress::Zlib..............ok (v2.03)
o SOAP::Lite.....................failed!!! Version 0.712 not supported! This version is broken and not useable! Pleas
e use another version.
o XML::Parser....................Not installed! (Optional - Required for faster xml handling.)

Also I got complains about the following dll files that were not able to be located

libeay32_.dll
libgd-2_.dll
libexpat-1_.dll

To solve this I have added the path C:\Program Files\OTRS\StrawberryPerl\c\bin

my computer -> properties -> advanced -> environment variables -> system variables at the end of the path variable put a ; and add the path

After that restart the system
I hope this will help someone
OTRS 3.3.11 MariaDB CentOS 7
jarrod
Znuny newbie
Posts: 2
Joined: 08 Oct 2010, 09:20
Znuny Version: 3.0 Beta 4

Re: [SOLVED]problem with SMTPS after upgrade OTRS 2.4.7 to 2

Post by jarrod »

I was just looking for the upgrade procedure to get from 2.4.7 to 2.4.9. I cannot find a documented procedure Anywhere. All of the installation source files, installers, etc. all talk about 2.3 to 2.4. When I run the latest Windows installer it tells me OTRS is already installed. ha! Knew that, lol. It looks like your procedure worked, but is that really the way to do it? In the absence of any documentation, I'm ready to try my own method as well.

Best regards,

Jarrod
Mike_B
Moderator
Posts: 266
Joined: 12 Jan 2010, 18:16
Znuny Version: CVS HEAD

Re: problem with SMTPS after upgrade OTRS 2.4.7 to 2.4.9

Post by Mike_B »

theodore wrote: To solve this I have added the path C:\Program Files\OTRS\StrawberryPerl\c\bin

my computer -> properties -> advanced -> environment variables -> system variables at the end of the path variable put a ; and add the path

After that restart the system
Exactly! The newest Windows Installers will add it to the path for you, so it's not needed anymore to manually edit the environment variables.

--
Mike
huntingbears.nl - @michielbeijen on Twitter
Post Reply