Thanks for your suggestions!

Meanwhile I prefer to add a new project, but haven't done it before (and it
was back in 2014 when I installed Trac for the first and only time).

I now was successful to set up a new project/env, but I can't recall
anything regarding autentification... my old project has a htdigest file,
and uses the account manager plugin. I made a (modified) copy of that old
htdigest file to the new env folder and launched tracd via "tracd
--daemonize --port 8081 --auth="proj path,htdigest path,realm,proj path",
but trying to log in I get "no authentification data". What did I miss?
BTW, how to set up acct manager in a new env? And: tracd for my old project
runs without "--auth".

Best
Frank

Am Fr., 23. Juni 2023 um 15:22 Uhr schrieb Mickaël Bucas <[email protected]>:

> Hi Frank
>
> You could use the "trac-admin" command to clean up your Trac instance.
>
> For the an overview of the help :
> trac-admin path/to/trac help
>
> For the wiki part, you can combine "wiki list" and "wiki remove <page>"
> using something like (assuming it's on Linux):
> trac-admin path/to/trac wiki list | cut -d ' ' -f1 | while read wikipage;
> do trac-admin path/to/trac wiki remove $wikipage; done
>
> This will also remove Trac integrated help pages. You should be able to
> reinstall them with:
> trac-admin path/to/trac wiki upgrade
>
> For the tickets it seems there isn't any command to list them. As they are
> identified by numbers, you can just check the highest number and generate a
> list:
> seq HIGHESTNUMBER | while read ticketnum; do trac-admin path/to/trac
> ticket remove $ticketnum; done
>
> If some tickets have already been removed, you will probably have error
> messages.
>
> As usual, before starting these destructive actions, please make a backup
> of your database and Trac instance !
>
> Best regards
>
> Mickaël Bucas
>
> Le ven. 23 juin 2023 à 10:35, Markus Rosjat <[email protected]> a
> écrit :
>
>> Hi Frank,
>>
>> well setting up a "fresh" trac shouldnt be more like taking a project and
>> simply assign a fresh DB to it. then Trac should tell you to update the DB
>> with trac admin and you should be good to go. Beside that you can simply
>> try to empty tables in the database but i don't know if this is a practical
>> way of doing things.
>>
>> Cheers
>>
>> MArkus
>>
>> Am Fr., 23. Juni 2023 um 10:30 Uhr schrieb Frank R. <
>> [email protected]>:
>>
>>> I would like to go to zero with my now updated trac, i.e. remove any
>>> content (wiki and tickets). Is there an easy way to do? btw, no, I don't
>>> want to setup trac from scratch, because I don't want to go through all
>>> customizing steps of the past years.
>>>
>>> Regards
>>> Frank
>>>
>>> --
>>> 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 [email protected].
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/trac-users/CA%2ByhgXCdY2FOsWvj62KCQsrSWsu8%3D0ebfih1Nys6x%3DmPE2z53g%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/trac-users/CA%2ByhgXCdY2FOsWvj62KCQsrSWsu8%3D0ebfih1Nys6x%3DmPE2z53g%40mail.gmail.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>> --
>> 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 [email protected].
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/trac-users/CAJ4osOnwSDadaPFjGab96jM8knaiAwS74-jM4fpzux%3DkQkWwnw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/trac-users/CAJ4osOnwSDadaPFjGab96jM8knaiAwS74-jM4fpzux%3DkQkWwnw%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>>
> --
> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/trac-users/CAG1%3DSYQQkNe_scK9e%3DurL0Nq3C%3DTs8WcsZ%3DQRr4HNMM%2BNP1CMA%40mail.gmail.com
> <https://groups.google.com/d/msgid/trac-users/CAG1%3DSYQQkNe_scK9e%3DurL0Nq3C%3DTs8WcsZ%3DQRr4HNMM%2BNP1CMA%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/CA%2ByhgXAf_up8QN9JHrUtHB809uvMObpp93x1e8SdFEs01c6q0A%40mail.gmail.com.

Reply via email to