TurnKey Linux Virtual Appliance Library

Trac: invalid index.html,,

basstaiji's picture

I just downloaded the VM of the Trac appliance (version 14.1) and installed it on our vsphere. This worked fine. The server is running and I can access webmin.

However every HTTP or HTTPS call to the IP address returned an internal server error.

I could track this error down to /var/www/index.html

This file contained two additional lines after the closing html tag, which rendered it invalid and led to an error message "TemplateSyntaxError: junk after document element: line".

After I manually deleted those additional lines, trac started to work...

Jeremy Davis's picture

Thanks for the bug report.

Thanks for the bug report. Although IIRC Trac should be installed to /var/www/trac, so did you mean /var/www/trac/index.html instead?

Regardless, I've just added the issue it to our tracker and we'll investigate it and patch it for our next (v14.2) release. I was hoping to get that done by the end of the year, but I'm quickly running out of year...!

Jeremy Davis's picture

Sorry for very slow response on your bug report.

It seems weird, but we were unable to reproduce your issue.

So I'm not really sure what we can do moving forward. If you have any more info please feel free to add to it. Otherwise we'll just have to leave this one for now...

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)