Edgewall Software
Modify

Opened 12 years ago

Closed 12 years ago

#10572 closed defect (invalid)

tracd can not start with --single-env option

Reported by: Cerem Cem ASLAN <ceremcem@…> Owned by:
Priority: normal Milestone:
Component: web frontend/tracd Version: 0.12-stable
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Hi,

Today I wanted to start a tracd instance with only one repository, which I supposed to get http addresses without project_dir part in the url (http://server/project_dir/wiki for example).

So, I started tracd with following arguments:

tracd -h 127.0.0.1 -p 10000 -s /home/user/project

and got the error:

tracd: error: the —single-env option cannot be used with more than one enviroment

So I started trac with the following arguments:

tracd -h 127.0.0.1 -p 10000 -s /home/user/project

I started as expected with the url http://localhost:10000/project

Where am I making a mistake?

Attachments (0)

Change History (1)

comment:1 by Cerem Cem ASLAN <ceremcem@…>, 12 years ago

Resolution: invalid
Status: newclosed

Sorry about that, my mistake:

I have a init script which starts the tracd daemon exactly in that way:

...
DAEMON_ARGS="--hostname=$SERVER_ADDRESS \
	--port $SERVER_PORT \
	# --protocol=fcgi 	
	--pidfile=$PIDFILE \
	#--basic-auth=*,/path/to/blabla,Trac \
	#--basic-auth=*,/path/to/different-blabla,Trac \
	-s /home/user/project/"
...

The commented out lines were still included in $DAEMON_ARGS variable, so tracd had confused… When I removed that comment lines, all went OK.

Really sorry about that.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The ticket will remain with no owner.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from (none) to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.