Thank you Ryan

I'll get started

M

On 24/09/2017 7:18 PM, RjOllos wrote:


On Sunday, September 24, 2017 at 1:32:45 AM UTC-7, Mike Dewhirst wrote:

    What is the optimum way to upgrade Trac from a single project
    installation to two completely separate projects?


My opinion is that it's much easier to run everything from a single server: all Trac projects and the SVN projects.

Trac was built to serve multiple projects (environments) from a single server. Rather than configuring TRAC_ENV in your installation you configureĀ TRAC_ENV_PARENT_DIR. If you want different domain names for your projects, I think that can probably be handled in the Apache configuration.

If you want to run the Trac projects in different Python interpreters, that's also possible. It's just a matter of setting up the proper WSGI directives. Take a look at:
https://modwsgi.readthedocs.io/en/develop/user-guides/virtual-environments.html#daemon-mode-single-application

    I'm guessing separate machines but I'd much prefer separate vhosts
    under
    the same Apache (mod-wsgi) on the same machine. That would simplify
    everything for me.

    The svn server is on the original trac server and will also host the
    separate project source. If we have to go to another machine will
    that
    be a problem? I do have a virgin machine upon which to start again.


Trac and SVN need to run on the same server. There are ways around that, like setting up a readonly SVN mirror. It will be much easier if you just run all your Trac and SVN instances on the same server.

    A possible complication is I need to drop Python 2.7 and use 3.5
    exclusively on Ubuntu 16.04 LTS.


Trac does not support any version of Python 3.x. You'll have to run Trac with Python 2.7 for now. Support for 3.x is probably more than a year away still.

    I'd be happy to start again provided I can upload a MySQL dump
    from the
    original Trac. I would probably switch to Postgres if starting again.


The SQLite file is in the project environment so it's simple to move an SQLite project environment to another server.
https://trac.edgewall.org/wiki/TracBackup

TracMigratePlugin is good for converting a database:
http://trac-hacks.org/wiki/TracMigratePlugin

The feature has been added to Trac for the forthcoming Trac 1.4 release.

- Ryan
--
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] <mailto:[email protected]>. To post to this group, send email to [email protected] <mailto:[email protected]>.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

--
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 https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to