Opened 6 years ago

Closed 6 years ago

#6912 closed Feature/Enhancement Request (fixed)

trac 1.0 installation on rose running squeeze

Reported by: https://id.mayfirst.org/solidarius Owned by: https://id.mayfirst.org/ross
Priority: High Component: Tech
Keywords: trac 1.0 install Cc:
Sensitive: no

Description

As for the development of Solidarius, we want to use Chili project as trac system, so we want to know if you could install some dependences we nned to do so.

Basically, we need to get ruby installed and a chiliproject user with permision over certain folder (but I think this can be done by ourselves at the control panel). Some apeche configurations are also needed.

We can schedule an appoinment to do this together if you want, we would like that very much.

Cheers.

Here's a link to the installation guide and a list of the required commands.

https://www.chiliproject.org/projects/chiliproject/wiki/Installation_on_Debian_Squeeze

mkdir -p /srv/www/chiliproject adduser --system --home /srv/www/chiliproject --group --shell /bin/sh --disabled-login chiliproject

aptitude update aptitude install ruby rubygems aptitude install build-essential curl libssl-dev zlib1g-dev libreadline5-dev libxml2-dev git

curl -L get.rvm.io | bash -s stable

rvm install 1.8.7 rvm use 1.8.7 rvm --default 1.8.7

aptitude install mysql-server #rose has mysql-server already so this one is not needed

aptitude install libmysql-ruby

aptitude install libmysqlclient-dev

gem install bundler

aptitude install apache2-mpm-prefork # already installed aptitude install libapache2-mod-passenger

a2enmod passenger /etc/init.d/apache reload

Change History (9)

comment:1 follow-up: Changed 6 years ago by https://id.mayfirst.org/ross

  • Keywords chili ruby-packages added
  • Owner set to https://id.mayfirst.org/ross
  • Status changed from new to assigned

Hi solidarius,

I'm not sure we can run passenger from our shared server configurations. I'm going to ask jamie to follow up on this to figure out what/how we might be able to get chili up and running for you.

~/ross

comment:2 in reply to: ↑ 1 Changed 6 years ago by https://id.mayfirst.org/solidarius

Replying to https://id.mayfirst.org/ross:

Hi solidarius,

I'm not sure we can run passenger from our shared server configurations. I'm going to ask jamie to follow up on this to figure out what/how we might be able to get chili up and running for you.

~/ross

hi ross, thanks. The reason we chose chili insted of redmine was we like better the way development is going on on this fork, but we first choose redmine over trac 'couse our experience was that trac had some issues with the git integration. But if you guys have this solved already (that's what erq said), trac is ok for us too.

So, it would be good to have chili but trac is ok, so if it means less effort and time we are fine for that.

comment:3 Changed 6 years ago by https://id.mayfirst.org/ross

Cool...yes trac 1.0 has built in git integration. You will, however, need to install it manually as it's not currently packaged in debian. However, that's not too difficult. I used this blog post to accomplish installing Trac 1.0 (not .12). http://blog.mornati.net/2011/09/06/install-trac-0-12-in-shared-host/

Try it out and see if you can get it working. Report back if you have any problems.

~/ross

comment:4 Changed 6 years ago by https://id.mayfirst.org/kosa

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:5 Changed 6 years ago by https://id.mayfirst.org/kosa

  • Keywords trac 1.0 install added; chili ruby-packages removed
  • Priority changed from Medium to High
  • Resolution fixed deleted
  • Status changed from closed to assigned

I thought I was succesfully installed trac 1.0 following the provided instructions, but taking a deeper look I found out it was trac 0.11 the one I installed, so we still need help on this one.

This ticket is related with https://support.mayfirst.org/ticket/6988 but the steps followed there did not work to install trac 1.0 'couse even if during the installation process we use trac 1.0 (which is installed on

/home/members/solidarius/sites/solidarius.com.br/users/solidarius/lib/python2.6/site-packages

the running version is still 0.11

Thanks in advance.

comment:6 Changed 6 years ago by https://id.mayfirst.org/mahood

This turns out to be an issue with the way trac-admin is used as trac 0.11.7 is installed on the rose.mayfirst.org server, but the way trac 1.0 was installed in this situation from the easy install method requires to ask for the version number in /lib/python.2.6 where 1.0 was installed.

It seems there is a configuration problem here with getting trac 1.0 to be seen as a webserver. All the instructions from the link ross provided point to the install being successful but an issue with the way the htaccess or really I am guess something needs to be configured so when one visits (http://solidariuesdev.mayfirst.org) that it will load the trac install.

This is where I think where the installation is stuck.

comment:7 Changed 6 years ago by https://id.mayfirst.org/kosa

  • Summary changed from Chili project installation request. to trac 1.0 installation on rose running squeeze

comment:8 Changed 6 years ago by https://id.mayfirst.org/ross

  • Resolution set to fixed
  • Status changed from assigned to feedback

I just successfully created a hosting order for solidarius to test at trac install on rose. Following the instructions here:

https://support.mayfirst.org/wiki/faq/setup-trac

I was able to successfully install a trac 1.0 installation. Kosa, to get server access, you'll need to go to the control panel and change the password for the solidtrac user:

https://members.mayfirst.org/cp/index.php?area=hosting_order&service_id=1&hosting_order_id=1001713&action=edit&item_id=88176

And then have fun playing with trac!!! It seems a little bit slow, but other than that should work fine.

~/ross

comment:9 Changed 6 years ago by https://id.mayfirst.org/davux

  • Status changed from feedback to closed

Thanks Ross! FYI, I was able to make the site faster by having /chrome/common and /chrome/site resources served by Apache directly instead of going through Trac:

Alias /chrome/common /home/members/solidarius/sites/code.solidarius.com.br/cgi-bin/trac/htdocs/common
Alias /chrome/site /home/members/solidarius/sites/code.solidarius.com.br/cgi-bin/trac/htdocs/site

<Directory "/home/members/solidarius/sites/code.solidarius.com.br/cgi-bin/trac/htdocs">
  Order allow,deny
  Allow from all
</Directory>

Please login to add comments to this ticket.

Note: See TracTickets for help on using tickets.