Recent Posts by Christian Batchelor

Subscribe to Recent Posts by Christian Batchelor 6 post(s) found

25 Oct, 2011 10:25 AM
Avatar Christian Ba... 6 posts

Topic: Brightbox Help / Problems Deploying Rails 3.1.1

I had not installed Passenger properly, followed

http://blog.phusion.nl/2010/09/21/phusion-passe…

and I’m now seeing a

‘We are sorry screen’…

Debugging it now

 
25 Oct, 2011 08:56 AM
Avatar Christian Ba... 6 posts

Topic: Brightbox Help / Problems Deploying Rails 3.1.1

Hi, I’m trying to upgrade a site from Rails 2.3.x to the very latest stack, Ruby 1.9.2, Rails 3.1.1 with PostgreSQL 9.1.
The site is SSL only, so I have copied the certificated from the old server (I know they will be seen as dodgy, since we haven;t repointed the domain yet)

If I try to access the site, wildylaw-004.vm.brightbox.net, I get a 500 error.

- I can see myself accessing in the Apache log.
- Nothing in the rails production log.
- I can successful run ‘rails c production’ and ‘rails s -e production’ in the current directory on the server.
- My assets compile successfully.

Any ideas what may be wrong?

rails@wildylaw-004:~/wam$ rvm -v

rvm 1.8.0 by Wayne E. Seguin (wayneeseguin@gmail.com) [https://rvm.beginrescueend.com/]

rails@wildylaw-004:~/wam$ ruby -v
ruby 1.8.7 (2011-02-18 patchlevel 334) [i486-linux], MBARI 0×8770, Ruby Enterprise Edition 2011.03
rails@wildylaw-004:~/wam$
rails@wildylaw-004:~/wam$ gem list

  • LOCAL GEMS *

abstract (1.0.0)
actionmailer (3.1.1, 3.0.10, 3.0.7, 2.3.8, 2.3.5)
actionpack (3.1.1, 3.0.10, 3.0.7, 2.3.8, 2.3.5)
activemodel (3.1.1, 3.0.10, 3.0.7)
activerecord (3.1.1, 3.0.10, 3.0.7, 2.3.8, 2.3.5)
activeresource (3.1.1, 3.0.10, 3.0.7, 2.3.8, 2.3.5)
activesupport (3.1.1, 3.0.10, 3.0.7, 2.3.8, 2.3.5)
archive-tar-minitar (0.5.2)
arel (2.2.1, 2.0.10, 2.0.9)
brightbox-server-tools (2.3.8, 2.3.6)
builder (3.0.0, 2.1.2)
bundler (1.0.21, 1.0.18, 1.0.12)
cgi_multipart_eof_fix (2.5.0)
columnize (0.3.4)
daemon_controller (0.2.6)
daemons (1.1.4, 1.1.3, 1.1.0, 1.0.10)
erubis (2.7.0, 2.6.6)
fastthread (1.0.7)
gem_plugin (0.2.3)
hike (1.2.1)
i18n (0.6.0, 0.5.0)
json (1.6.1)
linecache (0.46)
mail (2.3.0, 2.2.19)
mime-types (1.17.1, 1.16)
mongrel (1.1.5)
mongrel_cluster (1.0.5)
multi_json (1.0.3)
mysql (2.8.1)
passenger (3.0.9)
pg (0.11.0)
polyglot (0.3.2, 0.3.1)
rack (1.3.5, 1.3.2, 1.2.2, 1.2.1, 1.1.0, 1.0.1)
rack-cache (1.1)
rack-mount (0.8.3, 0.8.2, 0.6.14)
rack-ssl (1.3.2)
rack-test (0.6.1, 0.5.7)
rails (3.1.1, 3.0.10, 3.0.7, 2.3.8, 2.3.5)
railties (3.1.1, 3.0.10, 3.0.7)
rake (0.9.2.2, 0.9.2, 0.8.7)
rbx-require-relative (0.0.5)
rdoc (3.11, 3.9.3)
rmagick (2.13.1)
ruby-debug (0.10.4)
ruby-debug-base (0.10.4)
ruby_core_source (0.1.5)
sprockets (2.0.3)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10, 1.4.9)
tzinfo (0.3.30, 0.3.29, 0.3.27)
vim-ruby (2007.05.07)
rails@wildylaw-004:~/wam$ rvm 1.9.2
rails@wildylaw-004:~/wam$ gem list

  • LOCAL GEMS *

rake (0.9.2 ruby)

rails@wildylaw-004:~/wam$ cd /etc/apache2
rails@wildylaw-004:/etc/apache2$ cd mods-enabled/
rails@wildylaw-004:/etc/apache2/mods-enabled$ ls la
total 16
drwxr-xr-x 2 root root 4096 2011-10-24 16:16 .
drwxr-xr-x 9 root root 4096 2011-10-24 15:37 ..
lrwxrwxrwx 1 root root 28 2011-08-25 15:43 alias.conf → ../mods-available/alias.conf
lrwxrwxrwx 1 root root 28 2011-08-25 15:43 alias.load → ../mods-available/alias.load
lrwxrwxrwx 1 root root 33 2011-08-25 15:43 auth_basic.load → ../mods-available/auth_basic.load
lrwxrwxrwx 1 root root 33 2011-08-25 15:43 authn_file.load → ../mods-available/authn_file.load
lrwxrwxrwx 1 root root 36 2011-08-25 15:43 authz_default.load → ../mods-available/authz_default.load
lrwxrwxrwx 1 root root 38 2011-08-25 15:43 authz_groupfile.load → ../mods-available/authz_groupfile.load
lrwxrwxrwx 1 root root 33 2011-08-25 15:43 authz_host.load → ../mods-available/authz_host.load
lrwxrwxrwx 1 root root 33 2011-08-25 15:43 authz_user.load → ../mods-available/authz_user.load
lrwxrwxrwx 1 root root 32 2011-08-25 15:43 autoindex.conf → ../mods-available/autoindex.conf
lrwxrwxrwx 1 root root 32 2011-08-25 15:43 autoindex.load → ../mods-available/autoindex.load
lrwxrwxrwx 1 root root 27 2011-08-25 15:43 cgid.conf → ../mods-available/cgid.conf
lrwxrwxrwx 1 root root 27 2011-08-25 15:43 cgid.load → ../mods-available/cgid.load
lrwxrwxrwx 1 root root 30 2011-08-25 15:43 deflate.conf → ../mods-available/deflate.conf
lrwxrwxrwx 1 root root 30 2011-08-25 15:43 deflate.load → ../mods-available/deflate.load
lrwxrwxrwx 1 root root 26 2011-08-25 15:43 dir.conf → ../mods-available/dir.conf
lrwxrwxrwx 1 root root 26 2011-08-25 15:43 dir.load → ../mods-available/dir.load
lrwxrwxrwx 1 root root 26 2011-08-25 15:43 env.load → ../mods-available/env.load
lrwxrwxrwx 1 root root 30 2011-10-24 10:44 headers.load → ../mods-available/headers.load
lrwxrwxrwx 1 root root 27 2011-08-25 15:43 info.conf → ../mods-available/info.conf
lrwxrwxrwx 1 root root 27 2011-08-25 15:43 info.load → ../mods-available/info.load
lrwxrwxrwx 1 root root 27 2011-08-25 15:43 mime.conf → ../mods-available/mime.conf
lrwxrwxrwx 1 root root 27 2011-08-25 15:43 mime.load → ../mods-available/mime.load
lrwxrwxrwx 1 root root 34 2011-08-25 15:43 negotiation.conf → ../mods-available/negotiation.conf
lrwxrwxrwx 1 root root 34 2011-08-25 15:43 negotiation.load → ../mods-available/negotiation.load
lrwxrwxrwx 1 root root 32 2011-10-24 16:16 passenger.conf → ../mods-available/passenger.conf
lrwxrwxrwx 1 root root 32 2011-10-24 16:16 passenger.load → ../mods-available/passenger.load
lrwxrwxrwx 1 root root 37 2011-08-25 15:43 proxy_balancer.load → ../mods-available/proxy_balancer.load
lrwxrwxrwx 1 root root 28 2011-08-25 15:43 proxy.conf → ../mods-available/proxy.conf
lrwxrwxrwx 1 root root 33 2011-10-24 10:44 proxy_http.load → ../mods-available/proxy_http.load
lrwxrwxrwx 1 root root 28 2011-08-25 15:43 proxy.load → ../mods-available/proxy.load
lrwxrwxrwx 1 root root 33 2011-08-25 15:43 reqtimeout.conf → ../mods-available/reqtimeout.conf
lrwxrwxrwx 1 root root 33 2011-08-25 15:43 reqtimeout.load → ../mods-available/reqtimeout.load
lrwxrwxrwx 1 root root 30 2011-10-24 10:44 rewrite.load → ../mods-available/rewrite.load
lrwxrwxrwx 1 root root 31 2011-08-25 15:43 setenvif.conf → ../mods-available/setenvif.conf
lrwxrwxrwx 1 root root 31 2011-08-25 15:43 setenvif.load → ../mods-available/setenvif.load
-rw-r
-r— 2 root root 2412 2010-04-13 13:24 ssl.conf
rw-r-r— 2 root root 58 2010-04-13 13:24 ssl.load
lrwxrwxrwx 1 root root 29 2011-08-25 15:43 status.conf → ../mods-available/status.conf
lrwxrwxrwx 1 root root 29 2011-08-25 15:43 status.load → ../mods-available/status.load

 
09 Dec, 2008 06:46 PM
Avatar Christian Ba... 6 posts

Topic: Brightbox Help / Emailing News Letter via Brightbox

Hi, my client is currently sending out a daily news letter to 2,000 subscribers every day. In the new year the want to increase this to about 11,000.

I’m due to build a rails-based interface for doing this, but it will not be ready for production in time. If install postfix and set up the SPF records (or whatever they were called), can I temporarily have an in-house app use my brightbox to send emails?

 
03 Dec, 2008 07:52 PM
Avatar Christian Ba... 6 posts

Topic: Brightbox Help / multiple sites on one brightbox

Great, I will do that then.
C.

 
02 Dec, 2008 06:03 PM
Avatar Christian Ba... 6 posts

Topic: Brightbox Help / multiple sites on one brightbox

Hi,

how do we access multiple sites on a brightbox before switching over the DNS from the old hosting provider?
The first site is accessible on

myusername-001.vm.brightbox.net

What about further sites?

 
10 Nov, 2008 02:50 PM
Avatar Christian Ba... 6 posts

Topic: Brightbox Help / Multiple IPs for one Brightbox?

Dear Brightbox team,

Having a forum is a great idea!

After successfully hosting several of my clients at Brightbox, I’m considering moving the hosting of my own web sites to Brightbox. This would involve putting 5-6 lowish traffic web sites on a single Brightbox. The problem is that some of them need SSL. Now, I have heard that to set up Apache 2 with SSL (+ buy a SSL certificate), I will need an unique IP for each site?

Is that the case? And can I get more than one IP for a Brightbox?