I've gotten that error before when I was trying to use the wrong version 
of sqlite.  Are you sure you're using sqlite3 on the new box?  see if 
you can get into the db from command line... something like

sqlite3 /path/to/trac.db

Russ

Martin Ravell wrote:
> I'm still trying to track this one down (no pun intended). (Migration from
> one linux box to another with sqlite 3 on the backend).
>
> Does anyone know of any documentation on the configuration aspects of trac?
>
> My trac.ini is included below but I do not see anywhere that relates to
> database setup which would case the error I'm seeing:
>
> DatabaseError: file is encrypted or is not a database
>
>
> Any ideas where else I should be looking?
>
>
> [header_logo]
> src = issuelog.png
> alt = Trac
> height = 73
> link = http://www.learn4nursing.com/
> width = 236
>
> [logging]
> log_file = trac.log
> log_level = DEBUG
> log_type = none
>
> [trac]
> default_charset = iso-8859-15
> templates_dir = /usr/share/trac/templates
> repository_dir = /opt/svn/repo/journal
> htdocs_location = /trac/
> database = sqlite:db/trac.db
>
> [notification]
> smtp_enabled = true
> smtp_replyto = [EMAIL PROTECTED]
> smtp_always_cc = [EMAIL PROTECTED]
> smtp_server = 192.168.0.1
> smtp_from = [EMAIL PROTECTED]
> always_notify_reporter = true
>
> [project]
> url = http://www.learn4nursing.com/
> footer =  Visit the Learn4Nursing eCampus site at <br /><a
> href="http://www.learn4nursing.com/";>http://www.learn4nursing.com/</a>
> name = Journal
> descr = Issue Tracking for the eCampus and Jounral projects
> icon = trac.ico
>
> [mimeviewer]
> enscript_path = enscript
>
> [attachment]
> max_size = 262144
>
> [timeline]
> changeset_show_files = 0
>
> [diff]
> tab_width = 8
>
> [ticket]
> default_version =
> default_severity = normal
> default_component = Journal
> default_priority = normal
> default_milestone =
>
>
> -----Original Message-----
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of [EMAIL PROTECTED]
> Sent: Wednesday, 11 October 2006 8:41 AM
> To: Trac Users
> Subject: [Trac] Re: Box to Box Migration Issues
>
>
> The path (I think this is what you are asking for) is
> /opt/tracdb/journal
>
> There are records in my Apache httpd.conf file like:
>
> <Directory "/usr/share/trac/htdocs">
>   Options Indexes MultiViews
>   AllowOverride None
>   Order allow,deny
>   Allow from all
> </Directory>
>
> <Location "/cgi-bin/trac.cgi">
>   SetEnv TRAC_ENV /opt/tracdb/journal
> </Location>
>
> <Location "/cgi-bin/trac.cgi/login">
>   AuthType Basic
>   AuthName "trac"
>   AuthUserFile /etc/httpd/conf/trac.htpasswd
>   Require valid-user
> </Location>
>
> What other config information is relevant?
>
> Do you need my trac.ini?
>
>
> Regards
> Marty
>
>
>
>
>
>
> >   


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to