[rt-users] RT Extension installation on Centos 6
Hi Centos guys, I got an bug report [1] from a Centos 6 user which tried to install my RT-Extension-BriefHistory [2]. RT::MasonComponentRoot is set to /usr/share/rt4/html and the "make install" transcript of my extension shows: Installing /usr/share/rt4/html/Callbacks/BriefHistory/Ticket/Elements/ShowHistory/SkipTransaction So the extension mason components are installed in RT::MasonComponentRoot which I think is total wrong. As the user says that there is no RT::LocalPluginPath I would think there is something wrong with the RT package in Cenos. Maybe someone who installed RT from the Centos package and use RT extensions can share their knowledge with me. Thanks. Chris [1] https://github.com/cloos/RT-Extension-BriefHistory/issues/1 [2] https://github.com/cloos/RT-Extension-BriefHistory -- RT Training - Boston, September 9-10 http://bestpractical.com/training
[rt-users] Can't add attachments to correspondence or comment from web interface
Just upgraded from 4.0.18 to 4.2.6 - no problems reported during upgrade or database upgrade. When replying to or commenting on an existing ticket from the web interface it is not possible to add an attachment; Browse, select a file and the name shows up next to the Browse button under the text entry window but when I click on "Update Ticket" no file is attached If I click on "Add More Files" rather than "Update Ticket" the text entry box disappears momentarily and when it comes back there is no file attachment listed and "No file selected" next to the Browse button. Creating a new ticket from the web interface with attachments works fine Doing a reply with attachments on my test server, which was upgraded from a copy of the same code base and database, it attaches files just fine. I have not been able to find what is different between the two instances and the logs written to the RT log file are the same for both servers, this is what I get when Browsing for a file and clicking on Add More Files: [10157] [Fri Aug 29 11:16:49 2014] [debug]: Encode::Guess guessed encoding: ascii (/local/rt4/sbin/../lib/RT/I18N.pm:595) [10157] [Fri Aug 29 11:16:49 2014] [debug]: Encode::Guess guessed encoding: ascii (/local/rt4/sbin/../lib/RT/I18N.pm:595) [10157] [Fri Aug 29 11:16:49 2014] [debug]: About to prepare scrips for transaction #484933 (/local/rt4/sbin/../lib/RT/Transaction.pm:187) [10157] [Fri Aug 29 11:16:49 2014] [debug]: Found 10 scrips for TransactionCreate stage with applicable type(s) Correspond for txn #484933 on ticket #23782 (/local/rt4/sbin/../lib/RT/Scrips.pm:495) [10157] [Fri Aug 29 11:16:49 2014] [debug]: Converting 'utf-8' to 'utf-8' for text/plain - [Helpdesk #23782] Test ticket with attachment (/local/rt4/sbin/../lib/RT/I18N.pm:295) [10157] [Fri Aug 29 11:16:49 2014] [debug]: Converting 'utf-8' to 'utf-8' for text/plain - [Helpdesk #23782] Test ticket with attachment (/local/rt4/sbin/../lib/RT/I18N.pm:295) [10157] [Fri Aug 29 11:16:49 2014] [info]: not sending to ---, creator of the transaction, due to NotifyActor setting (/local/rt4/sbin/../lib/RT/Action/SendEmail.pm:840) [10157] [Fri Aug 29 11:16:49 2014] [debug]: Converting 'utf-8' to 'utf-8' for text/plain - [Helpdesk #23782] Test ticket with attachment (/local/rt4/sbin/../lib/RT/I18N.pm:295) [10157] [Fri Aug 29 11:16:49 2014] [debug]: Converting 'utf-8' to 'utf-8' for text/plain - [Helpdesk #23782] Test ticket with attachment (/local/rt4/sbin/../lib/RT/I18N.pm:295) [10157] [Fri Aug 29 11:16:49 2014] [debug]: Skipping Scrip #2 because it isn't applicable (/local/rt4/sbin/../lib/RT/Scrips.pm:353) [10157] [Fri Aug 29 11:16:49 2014] [debug]: Skipping Scrip #13 because it isn't applicable (/local/rt4/sbin/../lib/RT/Scrips.pm:353) [10157] [Fri Aug 29 11:16:49 2014] [warning]: Use of uninitialized value in string eq at (eval 6935) line 2. ((eval 6935):2) [10157] [Fri Aug 29 11:16:49 2014] [debug]: Skipping Scrip #14 because it isn't applicable (/local/rt4/sbin/../lib/RT/Scrips.pm:353) [10157] [Fri Aug 29 11:16:49 2014] [debug]: Skipping Scrip #19 because it didn't Prepare (/local/rt4/sbin/../lib/RT/Scrips.pm:361) Google has not proved to be my friend in finding a solution for this one. I would appreciate any ideas that you have on what the problem could be or where I should look. Regards Andy -- -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* Andrew Batey Computer Officer,Institute of Astronomy, Cambridge Tel. +44 (0) 1223 72 (work) http://www.ast.cam.ac.uk/ -*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-* -- RT Training - Boston, September 9-10 http://bestpractical.com/training
Re: [rt-users] Upgrade RT 3.8.7 to 4.0.1
Hi Kevin, I already understood where i was wrong. Here my answers, Message: 12 > Date: Fri, 22 Aug 2014 09:59:41 -0400 > From: Kevin Falcone > To: rt-users@lists.bestpractical.com > Subject: Re: [rt-users] Upgrade RT 3.8.7 to 4.0.1 > Message-ID: <20140822135941.ge3...@jibsheet.com> > Content-Type: text/plain; charset="us-ascii" > > On Mon, Aug 18, 2014 at 06:02:41PM -0300, Felipe Agnelli Barbosa wrote: > > > > 4. Apply upgrade the schema at the current server and after in the new > server > > $perl /usr/share/request-tracker3.8/etc/upgrade/[1] > upgrade-mysql-schema.pl rtdb > > root password > queries.sql > > $mysql -u root -p rtdb < queries.sql > > Why? > Step 1 of > http://bestpractical.com/docs/rt/4.0/UPGRADING.mysql.html > tells you not to run that > > ok > > 5. Run the upgrade database at the new server > > $rt-setup-database-4 --prompt-for-dba-password --action upgrade > > I assume this has not completed properly > > here, i receive following msg, Processing 3.8.8 Now inserting data. [ [warning]: Couldn't set SortOrder: That is already the current value (/usr/share/request-tracker4/etc/upgrade/3.8.8/content:32) Processing 3.8.9 Now inserting data. [warning]: Use of uninitialized value in string eq at /usr/share/request-tracker4/lib/RT/Template.pm line 656, <> line 1. (/usr/share/request-tracker4/lib/RT/Template.pm:656) [warning]: Use of uninitialized value in string eq at /usr/share/request-tracker4/lib/RT/Template.pm line 656, <> line 1. (/usr/share/request-tracker4/lib/RT/Template.pm:656) [warning]: Use of uninitialized value in string eq at /usr/share/request-tracker4/lib/RT/Template.pm line 656, <> line 1. (/usr/share/request-tracker4/lib/RT/Template.pm:656) Processing 3.9.1 Now inserting data. Processing 3.9.2 Now inserting data. Processing 3.9.3 Now populating database schema. Processing 3.9.5 Now populating database schema. Processing 3.9.6 Now populating database schema. Processing 3.9.7 Now populating database schema. Now inserting data. Processing 3.9.8 Now populating database schema. Now inserting data. Processing 4.0.0rc2 Now populating database schema. Processing 4.0.0rc4 Now populating database schema. Processing 4.0.0rc7 Now inserting data. Processing 4.0.1 Now inserting data. Processing 4.0.3 Now inserting data. Processing 4.0.4 Now inserting data. Processing 4.0.6 Now populating database schema. Now inserting data. Processing 4.0.9 Now inserting data. Processing 4.0.12 Now populating database schema. Processing 4.0.13 Now populating database schema. Processing 4.0.18 Now inserting data. Processing 4.0.19 Now populating database schema. Now inserting data. Done. Whats mean the warning message? and more, after that, when I restarted webserver, i receive too a msg, like that, [warning]: Use of uninitialized value in numeric eq (==) at /usr/share/request-tracker4/lib/RT/ScripAction.pm line 202. (/usr/share/request-tracker4/lib/RT/ScripAction.pm:202) Thank you for your help, > > 6. Start webserver at the new server > > $service apache2 start > > > > Than, i can do login once after changing my password and i can't create > ticket > > neither change the owner they. > > Show the schema of your Users table, although if your ACL table is > also messed up then you've not completed the upgrade. > > Show your database upgrade. > > -kevin > -- next part -- > A non-text attachment was scrubbed... > Name: not available > Type: application/pgp-signature > Size: 221 bytes > Desc: not available > URL: < > http://lists.bestpractical.com/pipermail/rt-users/attachments/20140822/f5c2bd88/attachment-0001.pgp > > > > > -- " A dúvida é o principio da sabedoria " -- RT Training - Boston, September 9-10 http://bestpractical.com/training
Re: [rt-users] Upgrade RT 3.8.7 to 4.0.1
On Fri, Aug 29, 2014 at 01:18:11PM -0300, Felipe Agnelli Barbosa wrote: > Show the schema of your Users table, although if your ACL table is > also messed up then you've not completed the upgrade. You neglected this information run 'show create table Users' and 'show create table ACL' and share it with us. -kevin pgpmDuxwJ_7yw.pgp Description: PGP signature -- RT Training - Boston, September 9-10 http://bestpractical.com/training