ChiliProject is not maintained anymore. Please be advised that there will be no more updates.

We do not recommend that you setup new ChiliProject instances and we urge all existing users to migrate their data to a maintained system, e.g. Redmine. We will provide a migration script later. In the meantime, you can use the instructions by Christian Daehn.

Setup Server (Task #50)


Added by Eric Davis at 2011-01-12 03:01 pm. Updated at 2011-01-20 01:45 am.


Status:Closed Start date:
Priority:Normal Due date:2011-01-19
Assignee:Eric Davis % Done:

0%

Category:ChiliProject - Organization
Target version:Public Launch
Remote issue URL:

Description

We should need a 1-2GB Linux server to run the site. I prefer Debian/Ubuntu myself.


Related issues

related to Task #56: Transfer data from Heroku to production server Closed 2011-01-12
related to Task #55: Redirect domains to www.chiliproject.org Closed 2011-01-12
related to Task #7: Public web site Closed
blocked by Task #59: Get a SSL certificate Closed 2011-01-13

History

Updated by Eric Davis at 2011-01-12 03:11 pm

  • Target version set to Public Launch

Updated by Muntek Singh at 2011-01-14 09:42 pm

I've setup a potential setup, if you two accept it I will set it up properly in the main container.

ssh root@staging.chiliproject.org

  • Status set to In Progress

Updated by Felix Schäfer at 2011-01-15 06:57 am

Regarding the DB: IIRC most here are more comfortable/accustomed to PostgreSQL rather than MySQL. I don't care which one it is, but if the general XP is more towards managing PostgreSQL rather than MySQL, I'd favor that.

Updated by Holger Just at 2011-01-15 07:04 am

+1. I learned my way around MySQL recently, but still prefer Postgres for its configuration and standard-conforming semantics.

One issue we might face with Postgres is if we want to use one of the LAMP-apps (like wordpress) which still mostly require MySQL. If we stick to MySQL, then I would vote to at least use InnoDB tables.

Updated by Eric Davis at 2011-01-16 01:34 pm

  • RE - SSH login: Worked for me
  • RE - Postgres vs MySQL: I'm stronger with MySQL but I'm moving all of my sites to Postgres. It doesn't matter to me much
  • RE - MySQL because of Wordpress: I strongly recommend that Wordpress be on a different server (I have one). So it shouldn't affect this decision.

Few suggestions:

  • Install htop and emacs23-nox
  • Need iptables
  • Should disable root login and require users to login as themselves and sudo

Once you have the base server setup we will need to coordinate moving the code from here. I'm running a specific commit from Redmine with some security patches and then the theme.

Updated by Eric Davis at 2011-01-16 02:44 pm

I'm going to take this issue now to setup the server with moonshine/puppet.

  • Assignee changed from Muntek Singh to Eric Davis

Updated by Eric Davis at 2011-01-16 03:02 pm

Need a final decision: Postgres or MySQL.

Also, could I remove Ubuntu's version of Ruby in favor of REE?

Updated by Muntek Singh at 2011-01-16 03:52 pm

Eric Davis wrote:

Need a final decision: Postgres or MySQL.

Just go with MySQL, we can always switch (also agreed in IRC)

Also, could I remove Ubuntu's version of Ruby in favor of REE?

Yes, feel free to do as you see fit.

Updated by Eric Davis at 2011-01-16 05:19 pm

The staging server is almost setup but Apache is throwing an error and I'm out of ideas on how to fix it. If someone else wants to take a look at it, it's in /var/log/apache2/error.log as.

Symbolic link not allowed or link target not accessible: /srv/chiliproject/current

I've already gone though a bunch of steps to debug it:

  • turned off ssl
  • make sure FollowSymLinks is enabled
  • make sure the www-data user has permission to cd into the Document Root
  • set the document root to the parent directories and tried to load a static HTML file (worked correctly until it hit the current/ symlink)

Updated by Holger Just at 2011-01-16 05:37 pm

[2:34] <meineerde> edavis10: works now
[2:35] <meineerde> it was because in /etc/apache2/conf.d/security, I disabled symlink-following globally.
[2:35] <meineerde> thus, you needed to enable symlinks in /srv/chiliproject, because else it wouldn't follow the symlink in /srv/chiliproject/current

Updated by Eric Davis at 2011-01-17 03:40 pm

Holger:

Not working. Can you post your changes here so I can make sure they aren't overwritten when I deploy?

Updated by Eric Davis at 2011-01-17 09:51 pm

After fighting the staging server I just went ahead and setup the production server with a clean OS (Ubuntu 10.04 LTS) and moonshine. We need to get the server setup as soon as possible so we can get moving on the other things.

I've imported a copy of this data here, so can everyone try to login and get the server a bit of testing over the next two days? I'd like to complete the move on Wednesday.

https://www.chiliproject.org

P.S. Once the server is setup, I'll show everyone how moonshine works and we can document all the access/authentication. It's important that we don't edit the server outside of moonshine.

  • Due date set to 2011-01-19

Updated by Eric Davis at 2011-01-18 09:38 am

  • Status deleted (In Progress)

Updated by Felix Schäfer at 2011-01-19 02:34 am

Eric Davis wrote:

I've imported a copy of this data here, so can everyone try to login and get the server a bit of testing over the next two days? I'd like to complete the move on Wednesday.

Well, there seems to be a slight encoding issue somewhere on the way: my name's "Felix Sch�fer" on chiliproject.org, see https://www.chiliproject.org/users/7 for example.

  • Status set to In Progress

Updated by Eric Davis at 2011-01-19 05:17 pm

Felix:

(Like we discussed on IRC) I think it was lost in the import/export/download/upload process I had to do, somewhere along the lines the encoding must have been lost.

Updated by Eric Davis at 2011-01-19 05:17 pm

Going to move to the production server now!

Updated by Eric Davis at 2011-01-20 01:45 am

All:

I've completed the server move so we are now using the official domain. All of the data has been transferred and I've turned off the old site for now.

Please start using https://www.chiliproject.org

  • Status changed from In Progress to Closed

Also available in: Atom PDF