hi,

I have been working on a trac-managed project for several months. Now
it's deployment time, and since corporate policies don't allow for remote
access, I have to bring the trac server info to my laptop.

I have done a hotcopy, tarred and bzip2'ed, and done the reverse
procedure on my laptop. When I try to point to the trac server, I get the
error on the subject displayed in the available projects page.

Available Projects
* 8293: Error
(file is encrypted or is not a database)
* project foo

("project foo" was created on the new server using
trac-admin initenv)

I start tracd like this :
tracd -d --auth *,/home/svn/trac/pw.txt,tecsidel \
  --env-parent-dir /home/svn/trac --port 3691

It is strange, I had done that (hotcopy and copy) before and it used
to work. Could it be that paths on the old and new server are
different? I tried recreating the same directory structure but
it did not work. Original dir was /home/svn/trac, new is /home/marc/trac.
Even if I create the new directory in /home/svn/trac it does not
work. Even more strange. If I take the same hotcopy tarfile and I
extract it on the old server, it works.

The original server uses trac 0.10.3. The new server uses
trac 0.10.4. Both have been installed using apt-get with kubuntu.

I have googled "file is encrypted or is not a database" and found and
read this link, but it has not been useful to me :
http://trac.edgewall.org/ticket/2585.

I have tried trac-admin upgrade as is suggested by the previous
link with the following negative result :

marc[trac]$ trac-admin 8293 upgrade
Command failed: file is encrypted or is not a database

If I create a project on the new server, I can browse it
easily. It would appear on the available projects page.

Conclusions :

* the hotcopy tarfile is good (can be extracted on old server)
* tracd works on both servers (new projects can be browsed)
* it is not a firewall problem (can access trac from another pc)
* are there any compatibility problems between trac 0.10.3 and 0.10.4?
* anything related to pysql? how can i check?


Thanks in advance.

/marc

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

Reply via email to