Edgewall Software

Changes between Version 29 and Version 30 of TracAdmin


Ignore:
Timestamp:
May 5, 2008, 1:34:17 PM (16 years ago)
Author:
Christian Boos
Comment:

fix misleading troubleshooting note

Legend:

Unmodified
Added
Removed
Modified
  • TracAdmin

    v29 v30  
    4545See TracIni#GlobalConfiguration.
    4646
    47 The latest version of Trac initenv also has an extra argument `<templatepath>`, which points to the `templates` folder. If you are using the one-liner '`trac-admin /path/to/trac/ initenv <projectname> <db> <repostype> <repospath>`' in the above and getting an error that reads ''''`Wrong number of arguments to initenv: 4`'''', then this is most likely because of the the missing `<templatepath>`. The correct command arguments are:
    48 {{{
    49 trac-admin /path/to/trac initenv <projectname> <db> <repostype> <repospath> <templatepath>
    50 }}}
     47Note that in version 0.11 of Trac, `initenv` lost an extra last argument `<templatepath>`, which was used in previous versions to point to the `templates` folder. If you are using the one-liner '`trac-admin /path/to/trac/ initenv <projectname> <db> <repostype> <repospath>`' in the above and getting an error that reads ''''`Wrong number of arguments to initenv: 4`'''', then this is because you're using a `trac-admin` script from an '''older''' version of Trac.
    5148
    5249----