Re: [gitorious] Re: Gitorious 3 installation
Hi Team Gitorious, I noticed that getgitorious.com has updated version since I last installed Gitorious 2.3.2 may I ask when we can be expecting to see Gitorious 3 on getgitorious.com Kind Regards, Jaco -- -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com --- You received this message because you are subscribed to the Google Groups Gitorious group. To unsubscribe from this group and stop receiving emails from it, send an email to gitorious+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Re: [gitorious] Re: Gitorious 3 installation
Jaco Theron writes: Hi Marius, Can you maybe advise me on what configuration I need to change in order for this command below to perform the production and not development? [gitorious@mars gitorious]$ bundle exec rake db:schema:load Jaco, Sorry for falling behind on the mailing list over the last couple of days :-/ One thing that is *really, really important* and will *save you a lot of time* is to use the binary stubs that ship with Gitorious, inside the bin/ folder of your Gitorious root. These scripts will: - set up the correct RAILS_ENV - make sure you're running with the correct permissions. If you're running the commands with another user than is defined in gitorious.yml it will exit with failure, unless you're running as root, in which case it will change to that user - the scripts can be run regardless what your current directory is Now, to answer your question: $GITORIOUS_ROOT/bin/rake db:schema:load should do the trick. Cheers, - Marius -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
Hi Marius, Thank you for the advice. I fixed it by adding RAILS_ENV=production to the command at that time. Regards, Jaco T On Wednesday, January 16, 2013 3:18:37 PM UTC+2, Marius Mårnes Mathiesen wrote: Jaco Theron writes: Hi Marius, Can you maybe advise me on what configuration I need to change in order for this command below to perform the production and not development? [gitorious@mars gitorious]$ bundle exec rake db:schema:load Jaco, Sorry for falling behind on the mailing list over the last couple of days :-/ One thing that is *really, really important* and will *save you a lot of time* is to use the binary stubs that ship with Gitorious, inside the bin/ folder of your Gitorious root. These scripts will: - set up the correct RAILS_ENV - make sure you're running with the correct permissions. If you're running the commands with another user than is defined in gitorious.yml it will exit with failure, unless you're running as root, in which case it will change to that user - the scripts can be run regardless what your current directory is Now, to answer your question: $GITORIOUS_ROOT/bin/rake db:schema:load should do the trick. Cheers, - Marius -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
Strange. And you´ve explicitly set the gitorious host to something else in gitorious.yml? Christian, any ideas? cheers, Thomas On Wednesday, January 16, 2013 at 3:29 PM, Jaco Theron wrote: Hi Thomas, I cannot find any place where a config might still point to gitorious.local Thank you in advance, Jaco T On Wednesday, January 16, 2013 3:30:28 PM UTC+2, Jaco Theron wrote: Hi Marius, Thank you for the advice. I fixed it by adding RAILS_ENV=production to the command at that time. Regards, Jaco T On Wednesday, January 16, 2013 3:18:37 PM UTC+2, Marius Mårnes Mathiesen wrote: Jaco Theron writes: Hi Marius, Can you maybe advise me on what configuration I need to change in order for this command below to perform the production and not development? [gitorious@mars gitorious]$ bundle exec rake db:schema:load Jaco, Sorry for falling behind on the mailing list over the last couple of days :-/ One thing that is *really, really important* and will *save you a lot of time* is to use the binary stubs that ship with Gitorious, inside the bin/ folder of your Gitorious root. These scripts will: - set up the correct RAILS_ENV - make sure you're running with the correct permissions. If you're running the commands with another user than is defined in gitorious.yml it will exit with failure, unless you're running as root, in which case it will change to that user - the scripts can be run regardless what your current directory is Now, to answer your question: $GITORIOUS_ROOT/bin/rake db:schema:load should do the trick. Cheers, - Marius -- To post to this group, send email to gitorious@googlegroups.com (mailto:gitorious@googlegroups.com) To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com (mailto:gitorious+unsubscr...@googlegroups.com) -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
Hi, I am nearing the end with setting up gitorious 3 production environment I believe :-D. I need some assistance with some more setup details for Gitorious using nginx, I have started and get to this page: Welcome to nginx! If you see this page, the nginx web server is successfully installed and working. Further configuration is required. For online documentation and support please refer to nginx.org. Commercial support is available at nginx.com. *Thank you for using nginx.* *Q:* What and where do I set these settings mentioned? *Also here is my /etc/nginx/conf.d/000-gitorious:* upstream rails { server localhost:3000; } server { root /projects/gitorious/gitorious/public; try_files \$uri/index.html @app; location @app { proxy_pass http://rails; proxy_set_header Host \$http_host; proxy_redirect off; } listen 80; # Handle tarball downloads # Gitorious will send a X-Accel-Redirect header like # X-Accel-Redirect: /tarballs/project-repo-sha.tar.gz # Which should be streamed from $GITORIOUS_ROOT/tarball-cache/project-repo-sha.tar.gz location /tarballs/ { internal; alias /projects/gitorious/tarballs/; } # Handle git-over-http requests # Gitorious will send a X-Accel-Redirect header like # X-Accel-Redirect: /git-http/project/repository.git/info/refs # Which should map to $GITORIOUS_ROOT/repositories/project/repository.git/info/refs location /git-http/ { internal; alias /projects/gitorious/repositories/; } } Thank you in advance, Jaco T Hi Jaco, You should also be sure to install the epel-release RPM: https://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/epel-release.html If there are any security updates for sphinx in the future, the epel-release package will ensure that you can easily keep sphinx up to date when you run yum update. - Ken -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
Hi, Ok when I try the browser http://{IP}:3000 then I get to the gitorious 3 server. I will continue the installation :-) and hopefully be done soon. Regards, Jaco T On Tuesday, January 15, 2013 10:05:06 AM UTC+2, Jaco Theron wrote: Hi, I am nearing the end with setting up gitorious 3 production environment I believe :-D. I need some assistance with some more setup details for Gitorious using nginx, I have started and get to this page: Welcome to nginx! If you see this page, the nginx web server is successfully installed and working. Further configuration is required. For online documentation and support please refer to nginx.org. Commercial support is available at nginx.com. *Thank you for using nginx.* *Q:* What and where do I set these settings mentioned? *Also here is my /etc/nginx/conf.d/000-gitorious:* upstream rails { server localhost:3000; } server { root /projects/gitorious/gitorious/public; try_files \$uri/index.html @app; location @app { proxy_pass http://rails; proxy_set_header Host \$http_host; proxy_redirect off; } listen 80; # Handle tarball downloads # Gitorious will send a X-Accel-Redirect header like # X-Accel-Redirect: /tarballs/project-repo-sha.tar.gz # Which should be streamed from $GITORIOUS_ROOT/tarball-cache/project-repo-sha.tar.gz location /tarballs/ { internal; alias /projects/gitorious/tarballs/; } # Handle git-over-http requests # Gitorious will send a X-Accel-Redirect header like # X-Accel-Redirect: /git-http/project/repository.git/info/refs # Which should map to $GITORIOUS_ROOT/repositories/project/repository.git/info/refs location /git-http/ { internal; alias /projects/gitorious/repositories/; } } Thank you in advance, Jaco T Hi Jaco, You should also be sure to install the epel-release RPM: https://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/epel-release.html If there are any security updates for sphinx in the future, the epel-release package will ensure that you can easily keep sphinx up to date when you run yum update. - Ken -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
Hi Team, https://lh6.googleusercontent.com/-czrqvyvAioQ/UPUVklyWHII/A-E/gwdwEFWph-Q/s1600/ssh.PNG *Q:* What do I need to check in order for the SSH key checker to work? Thank you in advance, Jaco T On Tuesday, January 15, 2013 10:22:34 AM UTC+2, Jaco Theron wrote: Hi, Ok when I try the browser http://{IP}:3000 then I get to the gitorious 3 server. I will continue the installation :-) and hopefully be done soon. Regards, Jaco T On Tuesday, January 15, 2013 10:05:06 AM UTC+2, Jaco Theron wrote: Hi, I am nearing the end with setting up gitorious 3 production environment I believe :-D. I need some assistance with some more setup details for Gitorious using nginx, I have started and get to this page: Welcome to nginx! If you see this page, the nginx web server is successfully installed and working. Further configuration is required. For online documentation and support please refer to nginx.org. Commercial support is available at nginx.com. *Thank you for using nginx.* *Q:* What and where do I set these settings mentioned? *Also here is my /etc/nginx/conf.d/000-gitorious:* upstream rails { server localhost:3000; } server { root /projects/gitorious/gitorious/public; try_files \$uri/index.html @app; location @app { proxy_pass http://rails; proxy_set_header Host \$http_host; proxy_redirect off; } listen 80; # Handle tarball downloads # Gitorious will send a X-Accel-Redirect header like # X-Accel-Redirect: /tarballs/project-repo-sha.tar.gz # Which should be streamed from $GITORIOUS_ROOT/tarball-cache/project-repo-sha.tar.gz location /tarballs/ { internal; alias /projects/gitorious/tarballs/; } # Handle git-over-http requests # Gitorious will send a X-Accel-Redirect header like # X-Accel-Redirect: /git-http/project/repository.git/info/refs # Which should map to $GITORIOUS_ROOT/repositories/project/repository.git/info/refs location /git-http/ { internal; alias /projects/gitorious/repositories/; } } Thank you in advance, Jaco T Hi Jaco, You should also be sure to install the epel-release RPM: https://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/epel-release.html If there are any security updates for sphinx in the future, the epel-release package will ensure that you can easily keep sphinx up to date when you run yum update. - Ken -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
Hi Jaco, The creation/init of new ssh keys is an asynchronous operations, which means it depends on the resque queue running. Have you set that up yet? regards, Thomas On Tuesday, January 15, 2013 at 9:39 AM, Jaco Theron wrote: Hi Team, Q: What do I need to check in order for the SSH key checker to work? Thank you in advance, Jaco T On Tuesday, January 15, 2013 10:22:34 AM UTC+2, Jaco Theron wrote: Hi, Ok when I try the browser http://{IP}:3000 then I get to the gitorious 3 server. I will continue the installation :-) and hopefully be done soon. Regards, Jaco T On Tuesday, January 15, 2013 10:05:06 AM UTC+2, Jaco Theron wrote: Hi, I am nearing the end with setting up gitorious 3 production environment I believe :-D. I need some assistance with some more setup details for Gitorious using nginx, I have started and get to this page: Welcome to nginx! If you see this page, the nginx web server is successfully installed and working. Further configuration is required. For online documentation and support please refer to nginx.org (http://nginx.org/). Commercial support is available at nginx.com (http://nginx.com/). Thank you for using nginx. Q: What and where do I set these settings mentioned? Also here is my /etc/nginx/conf.d/000-gitorious: upstream rails { server localhost:3000; } server { root /projects/gitorious/gitorious/public; try_files \$uri/index.html @app; location @app { proxy_pass http://rails; proxy_set_header Host \$http_host; proxy_redirect off; } listen 80; # Handle tarball downloads # Gitorious will send a X-Accel-Redirect header like # X-Accel-Redirect: /tarballs/project-repo-sha.tar.gz # Which should be streamed from $GITORIOUS_ROOT/tarball-cache/project-repo-sha.tar.gz location /tarballs/ { internal; alias /projects/gitorious/tarballs/; } # Handle git-over-http requests # Gitorious will send a X-Accel-Redirect header like # X-Accel-Redirect: /git-http/project/repository.git/info/refs # Which should map to $GITORIOUS_ROOT/repositories/project/repository.git/info/refs location /git-http/ { internal; alias /projects/gitorious/repositories/; } } Thank you in advance, Jaco T Hi Jaco, You should also be sure to install the epel-release RPM: https://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/epel-release.html If there are any security updates for sphinx in the future, the epel-release package will ensure that you can easily keep sphinx up to date when you run yum update. - Ken -- To post to this group, send email to gitorious@googlegroups.com (mailto:gitorious@googlegroups.com) To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com (mailto:gitorious+unsubscr...@googlegroups.com) -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
Hi Thomas, I did execute: sudo rails server -e production And QUEUE=* bundle exec rake resque:work And sudo git daemon --listen=127.0.0.1 --port=9418 --export-all --base-path=/projects/gitorious/repositories --verbose --reuseaddr /projects/gitorious/repositories They all seem to run but the SSH key checker queue does not seem to work still. Hope you can give some advice in what to edit or check still. Thank you in advance, Jaco T On Tuesday, January 15, 2013 11:12:58 AM UTC+2, Thomas Kjeldahl Nilsson wrote: Hi Jaco, The creation/init of new ssh keys is an asynchronous operations, which means it depends on the resque queue running. Have you set that up yet? regards, Thomas On Tuesday, January 15, 2013 at 9:39 AM, Jaco Theron wrote: Hi Team, https://lh6.googleusercontent.com/-czrqvyvAioQ/UPUVklyWHII/A-E/gwdwEFWph-Q/s1600/ssh.PNG *Q:* What do I need to check in order for the SSH key checker to work? Thank you in advance, Jaco T On Tuesday, January 15, 2013 10:22:34 AM UTC+2, Jaco Theron wrote: Hi, Ok when I try the browser http://{IP}:3000 then I get to the gitorious 3 server. I will continue the installation :-) and hopefully be done soon. Regards, Jaco T On Tuesday, January 15, 2013 10:05:06 AM UTC+2, Jaco Theron wrote: Hi, I am nearing the end with setting up gitorious 3 production environment I believe :-D. I need some assistance with some more setup details for Gitorious using nginx, I have started and get to this page: Welcome to nginx! If you see this page, the nginx web server is successfully installed and working. Further configuration is required. For online documentation and support please refer to nginx.org. Commercial support is available at nginx.com. *Thank you for using nginx.* *Q:* What and where do I set these settings mentioned? *Also here is my /etc/nginx/conf.d/000-gitorious:* upstream rails { server localhost:3000; } server { root /projects/gitorious/gitorious/public; try_files \$uri/index.html @app; location @app { proxy_pass http://rails; proxy_set_header Host \$http_host; proxy_redirect off; } listen 80; # Handle tarball downloads # Gitorious will send a X-Accel-Redirect header like # X-Accel-Redirect: /tarballs/project-repo-sha.tar.gz # Which should be streamed from $GITORIOUS_ROOT/tarball-cache/project-repo-sha.tar.gz location /tarballs/ { internal; alias /projects/gitorious/tarballs/; } # Handle git-over-http requests # Gitorious will send a X-Accel-Redirect header like # X-Accel-Redirect: /git-http/project/repository.git/info/refs # Which should map to $GITORIOUS_ROOT/repositories/project/repository.git/info/refs location /git-http/ { internal; alias /projects/gitorious/repositories/; } } Thank you in advance, Jaco T Hi Jaco, You should also be sure to install the epel-release RPM: https://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/epel-release.html If there are any security updates for sphinx in the future, the epel-release package will ensure that you can easily keep sphinx up to date when you run yum update. - Ken -- To post to this group, send email to gito...@googlegroups.comjavascript: To unsubscribe from this group, send email to gitorious+...@googlegroups.com javascript: -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
Hi Jaco, if Resque (the ruby queue gem, which uses Redis to persist the queue) is running you should be able to check the state of its queues through a localhost web interface it provides. https://github.com/defunkt/resque#section_The_Front_End I would check if something is on the queue (ie. not being pulled off correctly). If nothing is there, the other option that the ssh key operation didn't put something on the queue correctly - in which case I'd remove and re-add the ssh key in the web interface, while tailing the log to see if anything out of the ordinary happens in the background when you add the key. -- Best regards, Thomas Kjeldahl Nilsson, Partner Programmer, Gitorious AS http://gitorious.com On Tuesday, January 15, 2013 at 10:24 AM, Jaco Theron wrote: Hi Thomas, I did execute: sudo rails server -e production And QUEUE=* bundle exec rake resque:work And sudo git daemon --listen=127.0.0.1 --port=9418 --export-all --base-path=/projects/gitorious/repositories --verbose --reuseaddr /projects/gitorious/repositories They all seem to run but the SSH key checker queue does not seem to work still. Hope you can give some advice in what to edit or check still. Thank you in advance, Jaco T On Tuesday, January 15, 2013 11:12:58 AM UTC+2, Thomas Kjeldahl Nilsson wrote: Hi Jaco, The creation/init of new ssh keys is an asynchronous operations, which means it depends on the resque queue running. Have you set that up yet? regards, Thomas On Tuesday, January 15, 2013 at 9:39 AM, Jaco Theron wrote: Hi Team, Q: What do I need to check in order for the SSH key checker to work? Thank you in advance, Jaco T On Tuesday, January 15, 2013 10:22:34 AM UTC+2, Jaco Theron wrote: Hi, Ok when I try the browser http://{IP}:3000 then I get to the gitorious 3 server. I will continue the installation :-) and hopefully be done soon. Regards, Jaco T On Tuesday, January 15, 2013 10:05:06 AM UTC+2, Jaco Theron wrote: Hi, I am nearing the end with setting up gitorious 3 production environment I believe :-D. I need some assistance with some more setup details for Gitorious using nginx, I have started and get to this page: Welcome to nginx! If you see this page, the nginx web server is successfully installed and working. Further configuration is required. For online documentation and support please refer to nginx.org (http://nginx.org/). Commercial support is available at nginx.com (http://nginx.com/). Thank you for using nginx. Q: What and where do I set these settings mentioned? Also here is my /etc/nginx/conf.d/000-gitorious: upstream rails { server localhost:3000; } server { root /projects/gitorious/gitorious/public; try_files \$uri/index.html @app; location @app { proxy_pass http://rails; proxy_set_header Host \$http_host; proxy_redirect off; } listen 80; # Handle tarball downloads # Gitorious will send a X-Accel-Redirect header like # X-Accel-Redirect: /tarballs/project-repo-sha.tar.gz # Which should be streamed from $GITORIOUS_ROOT/tarball-cache/project-repo-sha.tar.gz location /tarballs/ { internal; alias /projects/gitorious/tarballs/; } # Handle git-over-http requests # Gitorious will send a X-Accel-Redirect header like # X-Accel-Redirect: /git-http/project/repository.git/info/refs # Which should map to $GITORIOUS_ROOT/repositories/project/repository.git/info/refs location /git-http/ { internal; alias /projects/gitorious/repositories/; } } Thank you in advance, Jaco T Hi Jaco, You should also be sure to install the epel-release RPM: https://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/epel-release.html If there are any security updates for sphinx in the future, the epel-release package will ensure that you can easily keep sphinx up to date when you run yum update. - Ken -- To post to this group, send email to gito...@googlegroups.com (javascript:) To unsubscribe from this group, send email to gitorious+...@googlegroups.com (javascript:) -- To post to this group, send email to gitorious@googlegroups.com (mailto:gitorious@googlegroups.com) To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com (mailto:gitorious+unsubscr...@googlegroups.com) -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to
Re: [gitorious] Re: Gitorious 3 installation
Hi, It seems that command QUEUE=* bundle exec rake resque:work starts the development for resque, and I am running on the production settings for gitorious. Please help me find where I need to change a configuration in order for the command to know that it will be production. *See image added. * https://lh4.googleusercontent.com/-pzBK2bIwqf8/UPUy0CJyTxI/A-U/3xfRWYmNtO4/s1600/dev.PNG Thank you, Jaco T On Tuesday, January 15, 2013 12:37:20 PM UTC+2, Jaco Theron wrote: Hi, Ok I ran this command: resque-web It returned: [Tue Jan 15 12:31:22 +0200 2013] Starting 'resque-web'... [Tue Jan 15 12:31:22 +0200 2013] trying port 5678... So I tried the link: http://{IP}:5678/overview and get: 0 of 1 Workers Working And on the Workers page it says that the one worker's Processing status is waiting for a job... mydomain.com:23624http://192.168.10.44:5678/workers/mars.wizzit-int.com:23624:* * Waiting for a job... Thank you in advance, Jaco T Show originalhttps://groups.google.com/group/gitorious/msg/cb8eb0555a31f8bf?dmode=sourceoutput=gplainnoredirect -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
Hi Marius, *I installed sphinx RPM like this:* wget ftp://mirror.as24220.net/pub/epel/6/x86_64/sphinx-0.9.9-1.el6.x86_64.rpm rpm -Uvh sphinx-0.9.9-1.el6.x86_64.rpm *Then it installs sphinx and I just check to make sure with:* yum -y install sphinx *And it reply:* Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: www.ftp.saix.net * extras: www.ftp.saix.net * updates: www.ftp.saix.net Setting up Install Process * Nothing to do* This means that it is installed successfully I assume. I am continuing the installation. Thanks, Jaco T On Friday, January 11, 2013 2:20:53 PM UTC+2, Jaco Theron wrote: Awesome Thanks Marius I will do this :-) Jaco T On Friday, January 11, 2013 1:31:35 PM UTC+2, Marius Mårnes Mathiesen wrote: Jaco Theron writes: Encountered a problem with installing sphinx. (CentOS 6) sudo yum install -y sphinx The above command does not find sphinx. Instead I have used the source of sphinx: wget http://sphinxsearch.com/files/sphinx-2.0.6-release.tar.gz tar xvfz sphinx-2.0.6-release.tar.gz cd sphinx-2.0.6-release ./configure make make install cd .. Q: Is this approach acceptable? I would highly recommend using a packaged version on your computer, that way you'll receive updates and dependencies can be resolved by your package manager. You will need to enable the EPEL repository on your server, this is a Yum repository maintained by the Fedora project, which contains a lot of packages not included in CentOS and its upstream by default. This page has the instructions: http://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F You'll have to download and install an RPM (find the link from the above link), it will add the repository to /etc/yum.repos.d/ on your server. After that you can run yum install sphinx And you're all set. Cheers, - Marius -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
Hi, I am trying to execute a rake, but the rake fails due to some database development issue, note that I want to install the gitorious 3 server to the database gitorious_production and that I am attempting to do a production gitorious 3 Error I got: [gitorious@mars gitorious]$ bundle exec rake db:schema:load Rails Error: Unable to access log file. Please ensure that /projects/gitorious/gitorious/log/development.log exists and is chmod 0666. The log level has been raised to WARN and the output directed to STDERR until the problem is fixed. Invalid subdomain name localhost. Session cookies will not work! See http://gitorious.org/gitorious/pages/ErrorMessages for further explanation rake aborted! Access denied for user 'gitorious'@'localhost' to database 'gitorious_development' - I want it to use *gitorious_production* /projects/gitorious/gitorious/config/environment.rb:5 /projects/gitorious/gitorious/lib/tasks/resque.rake:4 /projects/gitorious/gitorious/Rakefile:8 (See full trace by running task with --trace) *Note - I did not add the schema, gitorious_development, because I want to have my gitorious 3 server running on a production environment. *Q:* Can I set this up somehow to use gitorious_production and not the development? Thank you in advance, Jaco T On Monday, January 14, 2013 12:24:42 PM UTC+2, Jaco Theron wrote: Hi Marius, *I installed sphinx RPM like this:* wget ftp://mirror.as24220.net/pub/epel/6/x86_64/sphinx-0.9.9-1.el6.x86_64.rpm rpm -Uvh sphinx-0.9.9-1.el6.x86_64.rpm *Then it installs sphinx and I just check to make sure with:* yum -y install sphinx *And it reply:* Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: www.ftp.saix.net * extras: www.ftp.saix.net * updates: www.ftp.saix.net Setting up Install Process * Nothing to do* This means that it is installed successfully I assume. I am continuing the installation. Thanks, Jaco T On Friday, January 11, 2013 2:20:53 PM UTC+2, Jaco Theron wrote: Awesome Thanks Marius I will do this :-) Jaco T On Friday, January 11, 2013 1:31:35 PM UTC+2, Marius Mårnes Mathiesen wrote: Jaco Theron writes: Encountered a problem with installing sphinx. (CentOS 6) sudo yum install -y sphinx The above command does not find sphinx. Instead I have used the source of sphinx: wget http://sphinxsearch.com/files/sphinx-2.0.6-release.tar.gz tar xvfz sphinx-2.0.6-release.tar.gz cd sphinx-2.0.6-release ./configure make make install cd .. Q: Is this approach acceptable? I would highly recommend using a packaged version on your computer, that way you'll receive updates and dependencies can be resolved by your package manager. You will need to enable the EPEL repository on your server, this is a Yum repository maintained by the Fedora project, which contains a lot of packages not included in CentOS and its upstream by default. This page has the instructions: http://fedoraproject.org/wiki/EPEL#How_can_I_use_these_extra_packages.3F You'll have to download and install an RPM (find the link from the above link), it will add the repository to /etc/yum.repos.d/ on your server. After that you can run yum install sphinx And you're all set. Cheers, - Marius -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
Jaco Theron writes: Hi Marius, *I installed sphinx RPM like this:* wget ftp://mirror.as24220.net/pub/epel/6/x86_64/sphinx-0.9.9-1.el6.x86_64.rpm rpm -Uvh sphinx-0.9.9-1.el6.x86_64.rpm *Then it installs sphinx and I just check to make sure with:* yum -y install sphinx *And it reply:* Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: www.ftp.saix.net * extras: www.ftp.saix.net * updates: www.ftp.saix.net Setting up Install Process * Nothing to do* This means that it is installed successfully I assume. That looks just about right. The show yum command will prove it: yum info sphinx Cheers, - Marius -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
Hi Marius, Yes sphinx was installed when I check it with the show: yum info sphinx Installed Packages Name: sphinx Arch: x86_64 Version : 0.9.9 Release : 1.el6 Size: 6.1 M Repo: installed Summary : Free open-source SQL full-text search engine URL : http://sphinxsearch.com License : GPLv2+ Description : Sphinx.. Thank you for the reply Jaco T, On Monday, January 14, 2013 2:28:59 PM UTC+2, Marius Mårnes Mathiesen wrote: Jaco Theron writes: Hi Marius, *I installed sphinx RPM like this:* wget ftp://mirror.as24220.net/pub/epel/6/x86_64/sphinx-0.9.9-1.el6.x86_64.rpm rpm -Uvh sphinx-0.9.9-1.el6.x86_64.rpm *Then it installs sphinx and I just check to make sure with:* yum -y install sphinx *And it reply:* Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: www.ftp.saix.net * extras: www.ftp.saix.net * updates: www.ftp.saix.net Setting up Install Process * Nothing to do* This means that it is installed successfully I assume. That looks just about right. The show yum command will prove it: yum info sphinx Cheers, - Marius -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
Hi Marius, Can you maybe advise me on what configuration I need to change in order for this command below to perform the production and not development? [gitorious@mars gitorious]$ bundle exec rake db:schema:load Thank you in advance, Jaco T -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
On Mon, Jan 14, 2013 at 3:24 AM, Jaco Theron jacothero...@gmail.com wrote: Hi Marius, I installed sphinx RPM like this: wget ftp://mirror.as24220.net/pub/epel/6/x86_64/sphinx-0.9.9-1.el6.x86_64.rpm rpm -Uvh sphinx-0.9.9-1.el6.x86_64.rpm Hi Jaco, You should also be sure to install the epel-release RPM: https://dl.fedoraproject.org/pub/epel/6/x86_64/repoview/epel-release.html If there are any security updates for sphinx in the future, the epel-release package will ensure that you can easily keep sphinx up to date when you run yum update. - Ken -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
[gitorious] Re: Gitorious 3 installation
I am trying to clone next branch but I get the master instead. git clone git://gitorious.org/gitorious/mainline.git gitorious The solution to this is: git clone git://gitorious.org/gitorious/mainline.git -b next gitorious Q: Is this is a temporary solution as the master will soon be the Gitorious 3 repo? Thanks in advance Jaco T On Thursday, January 10, 2013 3:15:11 PM UTC+2, Jaco Theron wrote: Hi, I will be starting a local installation of Gitorious 3 :D -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
Correct: Gitorious 3 hasn't been officially released yet, which means it's only available in the next branch where develop and test upcoming releases. The master branch on the other hand only contains releases + the occasional hotfix and security patch. In other words, Gitorious 3 will soon be available in master as well. :) cheers, Thomas On Thu, Jan 10, 2013 at 2:57 PM, Jaco Theron jacothero...@gmail.com wrote: I am trying to clone next branch but I get the master instead. git clone git://gitorious.org/gitorious/mainline.git gitorious The solution to this is: git clone git://gitorious.org/gitorious/mainline.git -b next gitorious Q: Is this is a temporary solution as the master will soon be the Gitorious 3 repo? Thanks in advance Jaco T On Thursday, January 10, 2013 3:15:11 PM UTC+2, Jaco Theron wrote: Hi, I will be starting a local installation of Gitorious 3 :D -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
Encountered a problem with installing sphinx. (CentOS 6) sudo yum install -y sphinx The above command does not find sphinx. Instead I have used the source of sphinx: wget http://sphinxsearch.com/files/sphinx-2.0.6-release.tar.gz tar xvfz sphinx-2.0.6-release.tar.gz cd sphinx-2.0.6-release ./configure make make install cd .. Q: Is this approach acceptable? On Thursday, January 10, 2013 4:08:12 PM UTC+2, Thomas Kjeldahl Nilsson wrote: Correct: Gitorious 3 hasn't been officially released yet, which means it's only available in the next branch where develop and test upcoming releases. The master branch on the other hand only contains releases + the occasional hotfix and security patch. In other words, Gitorious 3 will soon be available in master as well. :) cheers, Thomas On Thu, Jan 10, 2013 at 2:57 PM, Jaco Theron jacoth...@gmail.comjavascript: wrote: I am trying to clone next branch but I get the master instead. git clone git://gitorious.org/gitorious/mainline.git gitorious The solution to this is: git clone git://gitorious.org/gitorious/mainline.git -b next gitorious Q: Is this is a temporary solution as the master will soon be the Gitorious 3 repo? Thanks in advance Jaco T On Thursday, January 10, 2013 3:15:11 PM UTC+2, Jaco Theron wrote: Hi, I will be starting a local installation of Gitorious 3 :D -- To post to this group, send email to gito...@googlegroups.comjavascript: To unsubscribe from this group, send email to gitorious+...@googlegroups.com javascript: -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
Encountered a problem with installing sphinx. (CentOS 6) sudo yum -y install sphinx The above command does not find sphinx. Instead I have used the source of sphinx: wget http://sphinxsearch.com/files/sphinx-2.0.6-release.tar.gz tar xvfz sphinx-2.0.6-release.tar.gz cd sphinx-2.0.6-release ./configure make make install cd .. Q: Is this approach acceptable? Thanks in advance Jaco T On Thursday, January 10, 2013 4:08:12 PM UTC+2, Thomas Kjeldahl Nilsson wrote: Correct: Gitorious 3 hasn't been officially released yet, which means it's only available in the next branch where develop and test upcoming releases. The master branch on the other hand only contains releases + the occasional hotfix and security patch. In other words, Gitorious 3 will soon be available in master as well. :) cheers, Thomas On Thu, Jan 10, 2013 at 2:57 PM, Jaco Theron jacoth...@gmail.comjavascript: wrote: I am trying to clone next branch but I get the master instead. git clone git://gitorious.org/gitorious/mainline.git gitorious The solution to this is: git clone git://gitorious.org/gitorious/mainline.git -b next gitorious Q: Is this is a temporary solution as the master will soon be the Gitorious 3 repo? Thanks in advance Jaco T On Thursday, January 10, 2013 3:15:11 PM UTC+2, Jaco Theron wrote: Hi, I will be starting a local installation of Gitorious 3 :D -- To post to this group, send email to gito...@googlegroups.comjavascript: To unsubscribe from this group, send email to gitorious+...@googlegroups.com javascript: -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com
Re: [gitorious] Re: Gitorious 3 installation
On Thu, Jan 10, 2013 at 11:34 AM, Jaco Theron jacothero...@gmail.com wrote: Encountered a problem with installing sphinx. (CentOS 6) sudo yum -y install sphinx The above command does not find sphinx. Does the sphinx package in EPEL work for you? - Ken -- To post to this group, send email to gitorious@googlegroups.com To unsubscribe from this group, send email to gitorious+unsubscr...@googlegroups.com