Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
trac noob question - deleting/removing an existing trac environment
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
garr...@heavy-iron.com  
View profile  
 More options Mar 26 2012, 7:20 pm
From: garr...@heavy-iron.com
Date: Mon, 26 Mar 2012 16:20:31 -0700 (PDT)
Local: Mon, Mar 26 2012 7:20 pm
Subject: trac noob question - deleting/removing an existing trac environment
Say I have a landing page which lists 3 separate trac environments for
3 projects.  Say one got dropped before it even started.

Is getting rid of the link/environment as easy as just physically
removing the environment and it's db?

just delete /var/lib/trac/what_I_want_to_delete?

I am unsure if there is some trac foo I would have to do somewhere
else...

Thanks for any help I can get.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aaron Laws  
View profile  
 More options Mar 27 2012, 10:00 am
From: Aaron Laws <Aaron.L...@procure.com>
Date: Tue, 27 Mar 2012 14:00:13 +0000
Local: Tues, Mar 27 2012 10:00 am
Subject: RE: [Trac] trac noob question - deleting/removing an existing trac environment

> -----Original Message-----
> From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com]
> On Behalf Of garr...@heavy-iron.com
> Sent: Monday, March 26, 2012 7:21 PM
> To: Trac Users
> Subject: [Trac] trac noob question - deleting/removing an existing trac
> environment

> Is getting rid of the link/environment as easy as just physically
> removing the environment and it's db?

I'm a newbie as well.  I run trac using the standalone server, tracd, and have never done anything else, so my knowledge comes from that experience.  You have to change the way trac is spawned. http://trac.edgewall.org/wiki/TracStandalone documents my experience well.  The syntax synopsis is at #Reference:
Tracd [options] [projenv1 [projenv2 ...]]
(I added some flair to it.)  There's also a -e option that will serve every project in a directory.  If you're using -e, then simply deleting the project directory (and a restart) is sufficient.  If you're explicitly enumerating the project environments, you'll need to remove the project environment from the command line of trac.

If you're running behind a web server, sorry for wasting your time.  :)

Welcome, and enjoy trac!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Cooke, Mark  
View profile  
 More options Mar 27 2012, 10:06 am
From: "Cooke, Mark" <mark.co...@siemens.com>
Date: Tue, 27 Mar 2012 15:06:42 +0100
Local: Tues, Mar 27 2012 10:06 am
Subject: RE: [Trac] trac noob question - deleting/removing an existing trac environment

"It Depends"

Which backend are you using?  As a self confessed "noob" then I assume you probably went with the default SQLite database.  As this is stored in a subdirectory of the environment (e.g. /var/lib/trac/what_I_want_to_delete/db) then, yes, you remove the "project" by deleting the folder...  If you used a different database backend, then removing the folder will not remove the data from the database, you will need to use your admin tools for that (e.g. pg-admin for PostgreSQL).

I also assume that you are using the "parent path" option of listing all folders under one root as projects.  If not, you will (as Aaron) says, also need to update the command / configuration used to host your tracs.

Regards,

~ mark c


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »