Recent Posts by ant284

Subscribe to Recent Posts by ant284 13 post(s) found

19 May, 2009 06:55 PM
Avatar ant284 13 posts

Topic: Brightbox Help / apache2 issue

Hi,

I m having trouble with apache2, and I would like just to re-install it.
but the command
sudo apt-get remove apache2
sudo apt-get install apache2

they do not seem to work, are there any restriction with brigthbox

 
09 Apr, 2009 05:17 PM
Avatar ant284 13 posts

Topic: Brightbox Help / mongrelS

Pls ignore, I don’t know what I need but it works
I mean i fixed everything and have two different mongrel working in parallel WOOHOO

 
09 Apr, 2009 02:45 PM
Avatar ant284 13 posts

Topic: Brightbox Help / mongrelS

hi,

I’m setting up different mongrel, I followed the previous thread but I have some interesting addition questions
my first enquiry is with
sudo monit status.
I have a site that is currently running on port 9200
and the folder is boxdm09
when I checked the status i get the following
========
Process ‘mongrel_boxdm09_9200’
status Execution failed
monitoring status monitored
data collected Thu Apr 9 14:36:23 2009

Process ‘mongrel_boxdm09_9201’
status Execution failed
monitoring status monitored
data collected Thu Apr 9 14:36:23 2009
==========

but when I got to the site, it seems that my ruby on rails works just fine.

now I’m setting up a new application to run on port 9300
I did the brightbox -i ……. etc.
modified the
config/deploy.rb
to say
set :mongrel_port, 9300

then run the cap files etc…
on the server mynewapp log folder I see the following
development.log mongrel.9300.log mongrel.9301.log all chmod 0666 all files are empty

now when in current folder I run these two command
first (NOTE that i have restarted apache2!!!!!)
ruby script/server -p 9300 , I can access my new app
but if I do
ruby script/server -p 9300 -d

It does not start the mongrel as a deamon and I do not see anything in the log files!
and I do not know what I’m doing wrong basically
I’m almost there I’m sure because if i remove the -d it works …

any suggestions plz?

 
25 Mar, 2009 05:20 PM
Avatar ant284 13 posts

Topic: Brightbox Help / deployment problems

Hi,

you can view the cap deploy:initial here
http://pastie.org/426756

thank you
Anthony

 
25 Mar, 2009 03:56 PM
Avatar ant284 13 posts

Topic: Brightbox Help / deployment problems

that is what I thought, initially I think maybe the problems comes from my computer
when on my command prompt(Windows vista) says
C:\Ruby\myApp > __
then i type
deploy:initial
I think the path of C:\Ruby\myApp changes someone I will investigate this more
I managed to deploy everything, but it was all manual and was frustration, but thanks for the help I will try to notify you asap if I find a bug … But I can’t read any Errors with Capistrano on the command prompt maybe there is a log somewhere?

 
25 Mar, 2009 02:52 PM
Avatar ant284 13 posts

Topic: Brightbox Help / deployment problems

hi,

so does cap deploy:initial transfer all the files from my home computer director to brightbox directory?? or should I put my app to svn then export it…
also what is this /current/public ??? I never seen beeing created

 
24 Mar, 2009 04:11 PM
Avatar ant284 13 posts

Topic: Brightbox Help / deployment problems

Hi

thank you, i managed to see, but the second post below, is I did not use SVN at all
i followed the step and I don’t see anything… although it says on the set by step guide
I will get a mail but since the account does not belong to me, just doing it for someone.. I don’t get any email and I also do not see any directories
/home/rails/myNewapp/current/…

 
24 Mar, 2009 02:13 PM
Avatar ant284 13 posts

Topic: Brightbox Help / deployment problems

Hi,

maybe someone can clarify this I re-did my steps
I did the following
I have a new app here (Simple scaffolding)
C:\Ruby\myNewApp (that folder contains everything app,config,db,lib,public etc..)

on my Windows command prompt I do

C:> brightbox -i MYACCOUNT-001.vm.brightbox.net -a mongrel -n myNewApp C:\Ruby\myNewApp

then

c:> cd C:\Ruby\myNewApp

c:\Ruby\myNewApp > cap deploy:initial (then something happens)

Are those the correct step, because I still can’t find anything any folder, except i see on my server
/home/myNewApp/ 1 yml file and release and shared folder
I’m using the steps from
http://wiki.brightbox.co.uk/docs:gemv2:howto

any help would be really nice!

 
24 Mar, 2009 09:38 AM
Avatar ant284 13 posts

Topic: Brightbox Help / deployment problems

I posted about subversion but then i saw a good link from your wiki and did the step but I still don’t understand why it is not working
here is what i have do
-on my server i have 2 folders “default – subversion”

-on my computer i have
C:\ruby\Allapp\antsapp\trunk (containing all the rails folder i.e app,lib config ect)

-then i upload the Allapp to my subversion on brigthbox

-on my computer
I do cd C:\Ruby\Allapp\antsapp\trunk\

- I type “brightbox -i MYACCOUT-001.vm.brightbox.net . -a mongrel”

- Finally I type cap deploy:initial

at then end i see on my server three folder
MYACCOUNT folder , default folder, subversion folder

but MYAccount folder does not contain my app, just 2/3 folder plus a yml config folder

I don’t know where I go wrong

thanks for the help so far!

 
23 Mar, 2009 06:10 PM
Avatar ant284 13 posts

Topic: Brightbox Help / subversion problem

Reply thanks for the help
although I can’t seem to find my folder, it is not the problem..
my other enquiry …
is I did all the steps require
to cap deploy:initial I put my password and then i see a folder in my rails folder but no app
is it normal? what are the next step to put all my rail project on the web?

 
23 Mar, 2009 05:38 PM
Avatar ant284 13 posts

Topic: Brightbox Help / subversion problem

Ok thanks I will try everything again…
Also for the line
brightbox -i MYACCOUNT.vm.brightbox.net .
In which folder should I run the command
and also what is the unix line to manipulate the file

thanks again

 
23 Mar, 2009 05:20 PM
Avatar ant284 13 posts

Topic: Brightbox Help / subversion problem

well
here is the step i did.
I create just now a new subversions
in /home/rails i did
mkdir antsub
svnadmin create ~/antsub

then i did this
set :local_repository, "svn+ssh://rails@MYMACHINE.vm.brightbox.net/home/rails/antsub/temp"
set :repository, “file:///home/rails/antsub/temp”
set :scm, :antsub

then with aptana studio i
put my app in
svn /antsub/temp/New Folder

and still can not see anything… I also have problem installing or configuring Capistrano

 
23 Mar, 2009 04:25 PM
Avatar ant284 13 posts

Topic: Brightbox Help / subversion problem

Hi,

I just got brightbox, and playing with subversion and I’m using aptana to commit my project
now when I go on ssh and go to /home/rails/subversion I can’t seem to find me application.
is It normal or not?
I’m going to the svn which is
ssh+svb//rails@MYACCOUNT-001.vm.brightbox.net/home/rails/subversion/MYAPP

because I’m trying to use cap etc… to deploy the site but (no offence) but I don’t find the wiki very useful

thanks for any help