Hi Ryan,

I deleted cgi-bin and htdocs

I ran the script:

D:\Trac\NBDR>trac-admin D:\Trac\NBDR deploy D:\Trac\NBDR\www

Copying resources from:

  trac.web.chrome.Chrome

    d:\trac\python27\lib\site-packages\trac\htdocs

    d:\trac\NBDR\htdocs

  autocompleteusers.autocompleteusers.AutocompleteUsers

    d:\trac\python27\lib\site-packages\autocompleteusers\htdocs

Creating scripts.

 

D:\Trac\NBDR>

--

It created new scripts:

$ ls /d/Trac/NBDR/www/htdocs/autocomplete/*

/d/Trac/NBDR/www/htdocs/autocomplete/css:

autocomplete.css  indicator.gif

 

/d/Trac/NBDR/www/htdocs/autocomplete/js:

autocomplete.js  autocomplete_perms.js  autocomplete_query.js  
autocomplete_ticket.js  format_item.js

--

I restarted webserver.

It failed to start TRAC with 500.

Then I realized that 'new' cgi-bin miss 2 files:

old: $ls /d/Trac/NBDR/www/cgi-bin/

trac.cgi*  trac.fcgi*  trac.wsgi*  trac_wsgi.py*  trac_wsgi.pyc

new: $ls /d/Trac/NBDR/www/cgi-bin/

trac.cgi*  trac.fcgi*  trac.wsgi* 

Hence I copied those 2 files and was able to start TRAC.

 

trac.ini has these blocks:

[components]

autocompleteusers.* = enabled

 

[autocomplete]

fields = tester, reviewer

multi_fields = users

--

I tried to create a new ticket. I used Cc field to check but it still does 
not autocomplete users

What else could be wrong?

Thanks


On Friday, December 4, 2020 at 4:34:53 PM UTC-5 RjOllos wrote:

> On Fri, Dec 4, 2020 at 10:14 AM Eliya Voldman <evol...@gmail.com> wrote:
>
>> Hi Ryan,
>>
>> I already have www directory under Trac\NBDR :
>>
>> $ ls /d/Trac/NBDR/www/
>>
>> cgi-bin/  chrome/  htdocs/  web.config
>>
>>  
>>
>> Currently webserver alias points to -> D:\Trac\nbdr\www
>>
>> You suggested to deploy to D:\Trac\NBDR\www and point the webserver 
>> Aliases to D:\Trac\NBDR\www
>>
>> I'm affraid it'll cause a conflict because it's already exist.
>>
>> Could I deploy to existing D:\Trac\nbdr\www like this and don't change 
>> Aliases. It sounds to me like deploying to location which already exist. 
>> Won't it break anything?
>>
>> Could I run the following:
>>
>> trac-admin D:\Trac\NBDR deploy D:\Trac\NBDR\www
>>
>
> You should be okay to redeloy to  "Trac/NBDR/www/". I'd do the following:
> * Make a backup copy of the dir.
> * Delete cgi-bin and htdocs
> * Run deploy
>
> cgi-bin and htdocs will be recreated. What's in the chrome directory? It's 
> probably not needed. I'm not sure about web.config. You may want to 
> relocate that file.
>
> Ryan
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/36bb98bd-db15-4d7d-b57a-b8bf6737575cn%40googlegroups.com.

Reply via email to