Changes between Version 14 and Version 15 of TracEnvironment
- Timestamp:
- 22/06/2017 14:04:03 (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracEnvironment
v14 v15 23 23 - The user under which the web server runs will require file system write permission to the environment directory and all the files inside. Please remember to set the appropriate permissions. The same applies to the source code repository, although the user under which Trac runs will only require write access to a Subversion repository created with the BDB file system; for other repository types, check the corresponding plugin's documentation. 24 24 25 - `initenv` does not create a version control repository for the specified path. If you wish to specify a default repository using optional thearguments to `initenv` you must create the repository first, otherwise you will see a message when initializing the environment: //Warning: couldn't index the default repository//.25 - `initenv` does not create a version control repository for the specified path. If you wish to specify a default repository using the optional arguments to `initenv` you must create the repository first, otherwise you will see a message when initializing the environment: //Warning: couldn't index the default repository//. 26 26 27 27 - Non-ascii environment paths are not supported. 28 28 29 - TracPlugins located in a [TracIni#inherit-plugins_dir-option shared plugins folder] that is defined in an [TracIni#GlobalConfiguration inherited configuration] are not loaded during creation, and hence, if they need to create extra tables for example, you'll need to [TracUpgrade#UpgradetheTracEnvironment upgrade the environment]. Alternatively you can avoid the need to upgrade the environment by specifying a configuration file at the time the environment is created,using the `--config` option. See TracAdmin#FullCommandReference for more information.29 - TracPlugins located in a [TracIni#inherit-plugins_dir-option shared plugins directory] that is defined in an [TracIni#GlobalConfiguration inherited configuration] are not enabled by default, in contrast to plugins in the environment `plugins` directory. Hence, if they need to create extra tables, for example, the tables will not be created during environment creation and you'll need to [TracUpgrade#UpgradetheTracEnvironment upgrade the environment]. Alternatively you can avoid the need to upgrade the environment by explicitly enabling the plugin in the inherited configuration, or in a configuration file using the `--config` option. See TracAdmin#FullCommandReference for more information. 30 30 31 31 {{{#!div style="border: 1pt dotted; margin: 1em;" … … 40 40 You will need to specify a database connection string at the time the environment is created. The default is SQLite, which is sufficient for most projects. The SQLite database file is stored in the environment directory, and can easily be [wiki:TracBackup backed up] together with the rest of the environment. 41 41 42 Note that if the username or password of the connection string (if applicable) contains the `:`, `/` or `@` characters, they need to be URL encoded. 42 Note that if the username or password of the connection string (if applicable) contains the `:`, `/` or `@` characters, they need to be [http://meyerweb.com/eric/tools/dencoder/ URL encoded]. 43 {{{#!sh 44 $ python -c "import urllib; print urllib.quote('password@:/123', '')" 45 password%40%3A%2F123 46 }}} 43 47 44 48 === SQLite Connection String