On May 14, 2015, at 10:48 PM, Ryan Ollos <[email protected]> wrote:
>
> On Thu, May 14, 2015 at 4:13 PM, Josh Santangelo <[email protected]
> <mailto:[email protected]>> wrote:
> I have Trac 1.0.1 installed via the MSI Installer (control panel says "Python
> 2.7 Trac-1.0.1").
>
> I see there's a 1.0.5 version available now. If I just run that MSI
> installer, will it do an upgrade? Or is there more to it?
>
> Yeah, I think that is essentially it. Note you'll also need to extract static
> resources and you should stop the web server before the upgrade (if running a
> web server rather than Trac standalone). Detailed steps can be found here,
> and I highly suggest to give them a read:
> http://trac.edgewall.org/wiki/TracUpgrade#Instructions
> <http://trac.edgewall.org/wiki/TracUpgrade#Instructions>
>
> 1.0.6 was due to be released a few days ago. I will at least get it out by
> the weekend so you may want to wait until Monday to upgrade.
I ran the 1.0.6 MSI, but it seemed to break LDAP authentication. When I browse
to trac I see:
Traceback (most recent call last):
File "C:\Python27\lib\site-packages\trac\web\api.py", line 559, in send_error
data, 'text/html')
File "C:\Python27\lib\site-packages\trac\web\chrome.py", line 1063, in
render_template
template = self.load_template(filename, method=method)
File "C:\Python27\lib\site-packages\trac\web\chrome.py", line 1017, in
load_template
self.get_all_templates_dirs(), auto_reload=self.auto_reload,
File "C:\Python27\lib\site-packages\trac\web\chrome.py", line 725, in
get_all_templates_dirs
for provider in self.template_providers:
File "C:\Python27\lib\site-packages\trac\core.py", line 78, in extensions
components = [component.compmgr[cls] for cls in classes]
File "C:\Python27\lib\site-packages\trac\core.py", line 204, in __getitem__
component = cls(self)
File "C:\Python27\lib\site-packages\trac\core.py", line 140, in __call__
self.__init__()
File "build\bdist.win32\egg\acct_mgr\web_ui.py", line 75, in __init__
self._write_check(log=True)
File "build\bdist.win32\egg\acct_mgr\web_ui.py", line 79, in _write_check
writable = self.acctmgr.get_all_supporting_stores('set_password')
File "build\bdist.win32\egg\acct_mgr\api.py", line 348, in
get_all_supporting_stores
for store in self.password_stores:
File "C:\Python27\lib\site-packages\trac\config.py", line 777, in __get__
option=tag.tt("[%s] %s" % (self.section, self.name))))
ConfigurationError: Cannot find implementation(s) of the
<tt>IPasswordStore</tt> interface named <tt>LdapAuthStore</tt>. Please check
that the Component is enabled or update the option <tt>[account-manager]
password_store</tt> in trac.ini.
I backed up my Python directory before the install, and restoring it seems to
have restored things back to working.
--
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.