Default Configuration RT

Hi Guys,

I’d like to know if it is possible to install the default configuration on
Request -TRacker. The reason I’m asking this is because I made a change on
the system and a lots of things stopped working and I want to install the
default config again and restart doing my changes.

Thanks

View this message in context: http://requesttracker.8502.n7.nabble.com/Default-Configuration-RT-tp59108.html

Does anyone know how to get the default config back to the RT system ?

Renato Gentil

does anyone know how to reset the default configs ?

View this message in context: http://requesttracker.8502.n7.nabble.com/Default-Configuration-RT-tp59108p59145.html

You could drop the database and set it up again, or also completely
uninstall and reinstall RT.

Hi Renato,

What exactly did you try, and what happened? Going into MySQL, dropping
the database (or all of its tables) and running the sbin/rt-setup-database
script would restore all of your templates and scrips. Specifically, you
would probably do this if your MySQL user has the permissions to drop the
database:

$ cd <RT_ROOT_DIRECTORY>
$ sbin/rt-setup-database --action drop,create,schema,acl,coredata,insert
–dba <RT_DB_USERNAME> --prompt-for-dba-password

You can pass “–help” to the rt-setup-database script for further details.
Remove “drop,create,” from the above line if you’d like to manually remove
all of the tables first (using mysql).

Please let us know how you go (using “Reply All”).On 10 December 2014 at 23:02, Renato Gentil renatorodrigo_87@hotmail.com wrote:

Hi Alex,

I tried it but didn’t work for me. Basically I’m trying to restore the
default templates and scripts because I have deleted some of them and now
some of our features have been gone with them.

Can you help me with that ?

thanks,

Renato Gentil


From: alex@peters.net
Date: Wed, 10 Dec 2014 01:12:06 +0000
Subject: Re: [rt-users] Default Configuration RT
To: renatorodrigo_87@hotmail.com; rt-users@lists.bestpractical.com

You could drop the database and set it up again, or also completely
uninstall and reinstall RT.

Alex,
I’m trying to drop but I’m getting the error attached.I’m using the following command:
mysqladmin -u root -p XXXX drop
but then I got the error attached and I also tried:
mysqladmin -u root -p droppassword: XXXX
another error attached.
Thanks,

Renato GentilDate: Wed, 10 Dec 2014 23:20:30 +1100
Subject: Re: [rt-users] Default Configuration RT
From: alex@peters.net
To: renatorodrigo_87@hotmail.com; rt-users@lists.bestpractical.com

Hi Renato,
What exactly did you try, and what happened? Going into MySQL, dropping the database (or all of its tables) and running the sbin/rt-setup-database script would restore all of your templates and scrips. Specifically, you would probably do this if your MySQL user has the permissions to drop the database:
$ cd <RT_ROOT_DIRECTORY>$ sbin/rt-setup-database --action drop,create,schema,acl,coredata,insert --dba <RT_DB_USERNAME> --prompt-for-dba-password
You can pass “–help” to the rt-setup-database script for further details. Remove “drop,create,” from the above line if you’d like to manually remove all of the tables first (using mysql).
Please let us know how you go (using “Reply All”).

That’s the correct utility for dropping a MySQL database, but not the
correct command line arguments. A quick Google search for “mysql drop
database” should help you achieve this:

http://www.wikihow.com/Delete-a-MySQL-DatabaseOn 10 December 2014 at 23:36, Renato Gentil renatorodrigo_87@hotmail.com wrote:

Alex,

I’m trying to drop but I’m getting the error attached.
I’m using the following command:

mysqladmin -u root -p XXXX drop

but then I got the error attached and I also tried:

mysqladmin -u root -p drop
password: XXXX

another error attached.

Thanks,

Renato Gentil


Date: Wed, 10 Dec 2014 23:20:30 +1100
Subject: Re: [rt-users] Default Configuration RT
From: alex@peters.net
To: renatorodrigo_87@hotmail.com; rt-users@lists.bestpractical.com

Hi Renato,

What exactly did you try, and what happened? Going into MySQL, dropping
the database (or all of its tables) and running the sbin/rt-setup-database
script would restore all of your templates and scrips. Specifically, you
would probably do this if your MySQL user has the permissions to drop the
database:

$ cd <RT_ROOT_DIRECTORY>
$ sbin/rt-setup-database --action drop,create,schema,acl,coredata,insert
–dba <RT_DB_USERNAME> --prompt-for-dba-password

You can pass “–help” to the rt-setup-database script for further
details. Remove “drop,create,” from the above line if you’d like to
manually remove all of the tables first (using mysql).

Please let us know how you go (using “Reply All”).

On 10 December 2014 at 23:02, Renato Gentil renatorodrigo_87@hotmail.com wrote:

Hi Alex,

I tried it but didn’t work for me. Basically I’m trying to restore the
default templates and scripts because I have deleted some of them and now
some of our features have been gone with them.

Can you help me with that ?

thanks,

Renato Gentil


From: alex@peters.net
Date: Wed, 10 Dec 2014 01:12:06 +0000
Subject: Re: [rt-users] Default Configuration RT
To: renatorodrigo_87@hotmail.com; rt-users@lists.bestpractical.com

You could drop the database and set it up again, or also completely
uninstall and reinstall RT.