Re: [rt-users] Problem with HTML tags appearing in correspondence

2013-12-23 Thread Michael Polenske
Good morning,

 

thanks Bart for your test - I've done the same this morning, and I can
confirm that the problem is gone on a fresh installation of RT-4.2.1.

 

I wonder if this is _really_ coming from your customization. We only
have installed two extensions (mandatory on transition and command by
mail), but in general we use a more or less default installation. I
guess it is an issue by updating from 4.2.0 to 4.2.1 - but this is only
my suspicion, without deeper knowledge.

 

@RT: I've done backup before new installation - do you want the archive
for some tests ?

 

Cheers - Michael

 

 

BTW: merry christmas everyone on this list and a happy new year J

 

 

 

From: rt-users-boun...@lists.bestpractical.com
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Bart
Sent: Donnerstag, 19. Dezember 2013 09:54
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Problem with HTML tags appearing in
correspondence

 

Hi,

I've done some additional testing in my testing environment and I seem
to have fixed everything by doing a semi fresh installation.

This means that I've movede the /opt/rt4 directory to a back-up location
and from there did a ./configure  make install for RT 4.2.1 (I skipped
the DB step since I've already applied the 4.2.1 changes)

After installation I reinstalled all extensions that I use, put back my
original RT_SiteConfig.pm, reapplied all other customizations under
/opt/rt4/local/ and after that I've started everything back up again.

Once all of that was done my testing environment was working perfectly
again! Or I should say, version 4.2.1 works and the weird HTML stuff is
fixed.

I'm guessing that one of my customizations was the cause, but doing
this reinstallation also fixed some other issues we were seeing. I'll
make a separate post about this or even file a bug report for the left
over problems that we are still seeing with the simplified recepient
list.

Anyways, for me this was the fix and we're planning a moment for doing
this fix in production pretty soon.

 

 

 

2013/12/17 Michael Polenske michael.polen...@skm-skyline.de

642 1 Good morning,

we also have this problem, that since 4.2.1 we have html tags in some
(not in all, but I have no idea why sometimes and sometimes not ..)
replies.


So, I opened a ticket in testqueue:
-cut
-
Subject: 1
MIME-Version: 1.0
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
Message-ID: rt-4.2.1-2146-1387269743-1411.0-...@test.skm-skyline.de
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
Content-Length: 19

222
-cut
-

And then I do a reply via webinterface, now we have html tags in reply

-cut
-
MIME-Version: 1.0
In-Reply-To: rt-4.2.1-2146-1387269743-1411.0-...@test.skm-skyline.de
X-Mailer: MIME-tools 5.504 (Entity 5.504)
Content-Disposition: inline
X-RT-Interface: Web
References: rt-4.2.1-2146-1387269743-1411.0-...@test.skm-skyline.de
 rt-ticket-...@test.skm-skyline.de
Content-Type: text/plain; charset=utf-8
Message-ID: rt-4.2.1-4704-1387269993-1445.642-...@test.skm-skyline.de
Content-Transfer-Encoding: binary
X-RT-Original-Encoding: utf-8
RT-Send-CC:
Content-Length: 150

On Tue Dec 17 09:42:23 2013, mpolenske wrote:br /
gt; 222br /
br /
--nbsp;br /
Viele Gruuml;szlig;ebr /
Michael Polenske
-cut
-

From my point of view the headers seem to be identical ... Attached a
screenshot how it look like in webinterface


Cheers - Michael







-Original Message-
From: rt-users-boun...@lists.bestpractical.com
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Kevin
Falcone
Sent: Freitag, 13. Dezember 2013 17:10
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] Problem with HTML tags appearing in
correspondence

Having attempted to Reply using the Rich Text Editor on a clean RT
4.2.1 install, I cannot replicate this at all.

Since you see literal HTML tags being recorded in ticket history, this
points to something broken in your use of the RichText editor.

Can one of the reporters please provide show a test correspondence with
the problem with Show Full Headers, and then with Download with headers
for each of the pieces.

Thanks

-kevin

On Thu, Dec 12, 2013 at 06:45:10AM +0800, Lai Zit Seng wrote:
I seem to be experiencing the same problem as mentioned in:

[4]http://requesttracker.8502.n7.nabble.com/RT-4-2-1-Weird-issue-with-HT
ML-comments-correspondense-RT-always-registers-plain-text-with-HTML-tags
-td56005.html
I don't have custom templates. The HTML tags are only appearing
when replying through the
web interface. Disabling the Rich Text Editor 

[rt-users] Centos 6,5 upgrade

2013-12-23 Thread ali mobli
Hi

I recently upgraded my Centos 6.4 to 6.5 and am currently running RT 4.0.13.
After this upgrade My subjects in the emails are corrupt. We use Icelandic
Char so I have default UTF-8 both in the ssl.conf and http.conf and
RT_SiteConfig.pm.
After the upgrade of the OS this is happening.
Any Idea why that is?



[rt-users] Request tracker and Lighttpd

2013-12-23 Thread Ivan Osipov

Hello all.
I'm trying to set up Request Tracker 4.2.1 and Lighttpd 
(1.4.28-2ubuntu4) on Ubuntu 12.04 LTS with all updates.

RT has been installed from sources.
When I try get http://rt.domain.tld/ I see error-message 500 - Internal 
Server Error. In web-server error log:

---
2013-12-23 19:34:50: (log.c.166) server started
2013-12-23 19:34:59: (mod_fastcgi.c.2568) unexpected end-of-file 
(perhaps the fastcgi process died): pid: 21743 socket: 
unix:/var/run/lighttpd/rt4.socket-3
2013-12-23 19:34:59: (mod_fastcgi.c.3356) response not received, request 
sent: 1173 on socket: unix:/var/run/lighttpd/rt4.socket-3 for ?, closing 
connection
2013-12-23 19:37:05: (mod_fastcgi.c.1734) connect failed: Connection 
refused on unix:/var/run/lighttpd/rt4.socket-3
2013-12-23 19:37:05: (mod_fastcgi.c.3027) backend died; we'll disable it 
for 1 seconds and send the request to another backend instead: 
reconnects: 0 load: 1
2013-12-23 19:37:07: (mod_fastcgi.c.2568) unexpected end-of-file 
(perhaps the fastcgi process died): pid: 21936 socket: 
unix:/var/run/lighttpd/rt4.socket-3
2013-12-23 19:37:07: (mod_fastcgi.c.3356) response not received, request 
sent: 1144 on socket: unix:/var/run/lighttpd/rt4.socket-3 for ?, closing 
connection

---
Also I tried remove directory /opt/rt4/var/mason_data/ but it did not help.
BTW, RT via stand-alone web-server works correctly.
Lighttpd and RT configs attached.

--
Best regards,
Ivan Osipov

server.modules = (
mod_access,
mod_alias,
mod_compress,
mod_redirect,
#   mod_rewrite,
)

server.document-root= /var/www
server.upload-dirs  = ( /var/cache/lighttpd/uploads )
server.errorlog = /var/log/lighttpd/error.log
server.pid-file = /var/run/lighttpd.pid
server.username = www-data
server.groupname= www-data

index-file.names= ( index.php, index.html,
index.htm, default.htm,
index.lighttpd.html )

url.access-deny = ( ~, .inc )

static-file.exclude-extensions = ( .php, .pl, .fcgi )

## Use ipv6 if available
#include_shell /usr/share/lighttpd/use-ipv6.pl

dir-listing.encoding= utf-8
server.dir-listing  = enable

compress.cache-dir  = /var/cache/lighttpd/compress/
compress.filetype   = ( application/x-javascript, text/css, 
text/html, text/plain )

include_shell /usr/share/lighttpd/create-mime.assign.pl
include_shell /usr/share/lighttpd/include-conf-enabled.pl

include rt.domain.tld
server.modules += (mod_fastcgi)

$HTTP[host] == rt.domain.tld {
server.document-root = /opt/rt4/share/html
#index.file-names = ( index.html ) 

fastcgi.server = ( / =
 ((
bin-path  = /opt/rt4/sbin/rt-server.fcgi,
socket= /var/run/lighttpd/rt4.socket,
check-local   = disable,
fix-root-scriptname = enable
  )),
  )
}# Any configuration directives you include  here will override 
# RT's default configuration file, RT_Config.pm
#
# To include a directive here, just copy the equivalent statement
# from RT_Config.pm and change the value. We've included a single
# sample value below.
#
# This file is actually a perl module, so you can include valid
# perl code, as well.
#
# The converse is also true, if this file isn't valid perl, you're
# going to run into trouble. To check your SiteConfig file, use
# this command:
#
#   perl -c /path/to/your/etc/RT_SiteConfig.pm
#
# You must restart your webserver after making changes to this file.


# You must install Plugins on your own, this is only an example
# of the correct syntax to use when activating them.
# Plugin( RT::Extension::QuickDelete );
# Plugin( RT::Extension::CommandByMail );

Set( $CommentAddress, 'support-comm...@domain.tld' );
Set( $CorrespondAddress, 'supp...@domain.tld' );
Set( $DatabaseHost, 'localhost' );
Set( $DatabaseName, 'basename' );
Set( $DatabasePassword, 'pwd' );
Set( $DatabasePort, '' );
Set( $DatabaseRequireSSL, '' );
Set( $DatabaseType, 'mysql' );
Set( $DatabaseUser, 'username' );
Set( $Organization, 'rt.domain.tld' );
Set( $OwnerEmail, 'i...@domain.tld' );
Set( $SendmailPath, '/usr/sbin/sendmail' );
Set( $WebDomain, 'rt.domain.tld' );
Set( $WebPort, '81' );
Set($Timezone, 'Europe/Moscow');
Set( $rtname, 'my_rtname' );
1;


Re: [rt-users] Centos 6,5 upgrade

2013-12-23 Thread Alex Vandiver
On Mon, 2013-12-23 at 15:23 +, ali mobli wrote:
 I recently upgraded my Centos 6.4 to 6.5 and am currently running RT 4.0.13.
 After this upgrade My subjects in the emails are corrupt. We use Icelandic
 Char so I have default UTF-8 both in the ssl.conf and http.conf and
 RT_SiteConfig.pm.
 After the upgrade of the OS this is happening.

Likely due to too recent a version of the Encode module.  RT 4.0.18
inclues a fix.
 - Alex



Re: [rt-users] Request tracker and Lighttpd

2013-12-23 Thread Ivan Osipov
When I try start RT via Apache 2 with mod_fastcgi 
(http://www.bestpractical.com/docs/rt/4.2/web_deployment.html#mod_fastcgi) 
in Apache error-log:


---
[Mon Dec 23 21:24:54 2013] [warn] FastCGI: server 
/opt/rt4/sbin/rt-server.fcgi has failed to remain running for 30 
seconds given 3 attempts, its restart interval has been backed off to 
600 seconds
[Mon Dec 23 21:24:54 2013] [warn] FastCGI: server 
/opt/rt4/sbin/rt-server.fcgi has failed to remain running for 30 
seconds given 3 attempts, its restart interval has been backed off to 
600 seconds
[23549] [Mon Dec 23 17:24:54 2013] [critical]: Something went wrong 
while trying to run RT's standalone web server:
Can't locate FCGI/ProcManager.pm in @INC (@INC contains: 
/opt/rt4/sbin/../local/lib /opt/rt4/sbin/../lib /etc/perl 
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 
/usr/local/lib/site_perl .) at 
/usr/local/share/perl/5.14.2/Plack/Util.pm line 23. 
(/opt/rt4/sbin/../lib/RT.pm:391)

Something went wrong while trying to run RT's standalone web server:
Can't locate FCGI/ProcManager.pm in @INC (@INC contains: 
/opt/rt4/sbin/../local/lib /opt/rt4/sbin/../lib /etc/perl 
/usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2 /usr/lib/perl5 
/usr/share/perl5 /usr/lib/perl/5.14 /usr/share/perl/5.14 
/usr/local/lib/site_perl .) at 
/usr/local/share/perl/5.14.2/Plack/Util.pm line 23.
[Mon Dec 23 21:24:54 2013] [warn] FastCGI: server 
/opt/rt4/sbin/rt-server.fcgi (pid 23549) terminated by calling exit 
with status '2'

---

23.12.2013 20:05, Ivan Osipov пишет:

Hello all.
I'm trying to set up Request Tracker 4.2.1 and Lighttpd 
(1.4.28-2ubuntu4) on Ubuntu 12.04 LTS with all updates.

RT has been installed from sources.
When I try get http://rt.domain.tld/ I see error-message 500 - 
Internal Server Error. In web-server error log:

---
2013-12-23 19:34:50: (log.c.166) server started
2013-12-23 19:34:59: (mod_fastcgi.c.2568) unexpected end-of-file 
(perhaps the fastcgi process died): pid: 21743 socket: 
unix:/var/run/lighttpd/rt4.socket-3
2013-12-23 19:34:59: (mod_fastcgi.c.3356) response not received, 
request sent: 1173 on socket: unix:/var/run/lighttpd/rt4.socket-3 for 
?, closing connection
2013-12-23 19:37:05: (mod_fastcgi.c.1734) connect failed: Connection 
refused on unix:/var/run/lighttpd/rt4.socket-3
2013-12-23 19:37:05: (mod_fastcgi.c.3027) backend died; we'll disable 
it for 1 seconds and send the request to another backend instead: 
reconnects: 0 load: 1
2013-12-23 19:37:07: (mod_fastcgi.c.2568) unexpected end-of-file 
(perhaps the fastcgi process died): pid: 21936 socket: 
unix:/var/run/lighttpd/rt4.socket-3
2013-12-23 19:37:07: (mod_fastcgi.c.3356) response not received, 
request sent: 1144 on socket: unix:/var/run/lighttpd/rt4.socket-3 for 
?, closing connection

---
Also I tried remove directory /opt/rt4/var/mason_data/ but it did not 
help.

BTW, RT via stand-alone web-server works correctly.
Lighttpd and RT configs attached.



--
С уважением,
Иван Осипов



Re: [rt-users] Request tracker and Lighttpd

2013-12-23 Thread Alex Vandiver
On Mon, 2013-12-23 at 21:47 +0400, Ivan Osipov wrote:
 When I try start RT via Apache 2 with mod_fastcgi 
 (http://www.bestpractical.com/docs/rt/4.2/web_deployment.html#mod_fastcgi) 
 in Apache error-log:
 [snip]

Sounds like you didn't configure with --with-web-handler=fastcgi, so
'make testdeps' didn't check the dependencies that that deployment adds.
 - Alex