Hm, don't have any further suggestions just off the top of my head. Marius, any bright ideas?
--
Best regards / vennlig hilsen
On Friday, September 21, 2012 at 9:49 PM, Luis Tiago C Eterovick wrote:
> The hooks dir seems fine and gitorious_user is set to git:
>
>
http://pastie.org/4775055
>
> Although i have one proc running as root. Is that problem? No idea how to fix that...
>
> 2012/9/21 Thomas Kjeldahl Nilsson <
tho...@gitorious.com (mailto:
tho...@gitorious.com)>
> > Things to check: could it be an issue with permissions on your gitorious files? What's the current permissions on the data/hooks/pre-receive file (and other files in same directory?) Verify that they are owned by the gitorous user (usually the user with username 'git'). Also, please check that they are still executable.
> >
> > Here's an example of how the permissions look in a correctly configured Gitorious instance:
> >
https://dl.dropbox.com/u/1858732/data-hooks-dir.png
> >
> > Generally, the whole gitorous directory structure should be owned by the same user that owns all the processes etc, the same user defined as gitorious_user in config/gitorious.yml.
> >
> > cheers,
> > Thomas
> >
> >
> >
> >
> > On 09/21/2012 08:54 PM, Luis Tiago C Eterovick wrote:
> > > Hey i had to configure Gitorious on a third machine. I got the same problem with the URLs missing, but i fixed it deleting all.js and copying it again. The clear script didnt work.
> > >
> > > Now i have this problem when cloning/pushing projects (works only using git url, but not http, which is accessing
git.gitorious.metasysdevel.com.br (
http://git.gitorious.metasysdevel.com.br) instead of just
gitorious.metasysdevel.com.br (
http://gitorious.metasysdevel.com.br), nor ssh, which gives me fatal error):
> > >
> > > $ git clone git://
gitorious.metasysdevel.com.br/autolog-2-0/autolog-2-0.git (
http://gitorious.metasysdevel.com.br/autolog-2-0/autolog-2-0.git)
> > > Cloning into 'autolog-2-0'...
> > > remote: Counting objects: 68, done.
> > > remote: Compressing objects: 100% (46/46), done.
> > > remote: Total 68 (delta 15), reused 0 (delta 0)
> > > Receiving objects: 100% (68/68), 12.70 KiB, done.
> > > Resolving deltas: 100% (15/15), done.
> > >
> > >
> > > $ git clone
https://git.gitorious.metasysdevel.com.br/autolog-2-0/autolog-2-0.git
> > > Cloning into 'autolog-2-0'...
> > > error: Couldn't resolve host '
git.gitorious.metasysdevel.com.br (
http://git.gitorious.metasysdevel.com.br)' while accessing
https://git.gitorious.metasysdevel.com.br/autolog-2-0/autolog-2-0.git/info/refs
> > > fatal: HTTP request failed
> > >
> > > $ git clone g...@gitorious.metasysdevel.com.br:autolog-2-0/autolog-2-0.git (mailto:
g...@gitorious.metasysdevel.com.br:autolog-2-0/autolog-2-0.git)
> > > Cloning into 'autolog-2-0'...
> > >
> > > == Gitorious: ==========================================================
> > > Fatal error, please contact support
> > > ========================================================================
> > >
> > > fatal: The remote end hung up unexpectedly
> > >
> > > Logs gave me this for this last case:
> > >
> > > ==> gitorious_auth.log <==
> > > I, [2012-09-21 16:15:22#2590] INFO -- : Connection from "192.168.0.3 34894 22" (git): git-upload-pack 'autolog-2-0/autolog-2-0.git'
> > > I, [2012-09-21 16:15:22#2590] INFO -- : Accepted "git" for "git-upload-pack '/work/repo/git/repositories/autolog-2-0/autolog-2-0.git'"
> > > F, [2012-09-21 16:15:22#2590] FATAL -- : The pre-receive hook is not executable
> > >
> > >
> > > Can i get some help please?
> > >
> > > 2012/8/31 Luis Tiago C Eterovick <
lu...@syst.com.br (mailto:
lu...@syst.com.br)>
> > > > Well... the clones and pushes are working now!!
> > > >
> > > > Just the URLs aren't appearing on the project pages. This is a source code from one of the pages:
http://pastie.org/4640444
> > > > I'm not really into this css thing, but there are many references to the URLs on the code...
> > > >
> > > >
> > > > 2012/8/31 Thomas Kjeldahl Nilsson <
tho...@gitorious.com (mailto:
tho...@gitorious.com)>
> > > > > Hello again Luis,
> > > > >
> > > > > every gitorious instance has a single url, configured in gitorious_host, which it expects clients to use for login etc (as a security measure).
> > > > >
> > > > > In other words, for the single installation you can use a single DNSed domain to reach that installation. So set gitorious_host to be the actual url your users will see/use (
gitorious.metasys.com.br (
http://gitorious.metasys.com.br/) ?)
> > > > >
> > > > > Finally, you can generally leave gitorious_client_host as "localhost", as it's only used internally by the Gitorious installation.
> > > > >
> > > > > -t
> > > > >
> > > > > (BTW this won't help you right now, but I feel I should mention that we're currently working on a much easier-installed "community edition" distribution of Gitorious. There's quite a bit of accidental complexity in the current installation process. We're going to improve that shortly.)
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On 08/31/2012 04:41 PM, Luis Tiago C Eterovick wrote:
> > > > > > There was a typo in the path! Diagnostics are all true now!
> > > > > >
> > > > > > About the URL problem (and we can't push also), could it be a network missconfig?
> > > > > >
> > > > > >
http://pastie.org/4636598
> > > > > >
> > > > > > Both
gitorious.metasys.com.br (
http://gitorious.metasys.com.br) and
gitorious.metasysdevel.com.br (
http://gitorious.metasysdevel.com.br) open the gitorious webpage, but on
gitorious.metasysdevel.com.br (
http://gitorious.metasysdevel.com.br) i cant even login, even tho i see the projects.
> > > > > >
> > > > > > Any idea if i should configure gitorious_client_host and gitorious_host on gitorious.yml to
gitorious.metasys.com.br (
http://gitorious.metasys.com.br/) or
gitorious.metasysdevel.com.br (
http://gitorious.metasysdevel.com.br/)?
> > > > > >
> > > > > > 2012/8/31 Thomas Kjeldahl Nilsson <
tho...@gitorious.com (mailto:
tho...@gitorious.com)>:
> > > > > > > Could you doublecheck that the full/absolute path of these two:
> > > > > > >
> > > > > > >
> > > > > > > drwxr-xr-x 2 git git 4096 2010-07-01 16:16 tarballs
> > > > > > > drwxr-xr-x 2 git git 4096 2010-07-01 16:16 tarball-work
> > > > > > >
> > > > > > > match what you find in the /config/gitorious.yml -> archive_cache_dir &
> > > > > > > archive_work dir settings.
> > > > > > >
> > > > > > > That's the only suggestion I have right now...
> > > > > > >
> > > > > > > -t
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On 08/31/2012 03:56 PM, Luis Tiago C Eterovick wrote:
> > > > > > > >
> > > > > > > > Hey!
> > > > > > > > My mounted dirs seem to have the right permissions:
> > > > > > > >
> > > > > > > > # ls -la /work/repo/git/
> > > > > > > > total 20
> > > > > > > > drwxr-xr-x 5 git git 4096 2010-08-10 11:02 .
> > > > > > > > drwxr-xr-x 3 root root 4096 2012-08-28 08:04 ..
> > > > > > > > drwxr-xr-x 145 git git 4096 2012-06-13 18:28 repositories
> > > > > > > > drwxr-xr-x 2 git git 4096 2010-07-01 16:16 tarballs
> > > > > > > > drwxr-xr-x 2 git git 4096 2010-07-01 16:16 tarball-work
> > > > > > > >
> > > > > > > > About the URLs, i tried that and restarted ultrasphinx and git-daemon
> > > > > > > > but nothing changed.
> > > > > > > > Is there any information that i could give you to help diagnose these
> > > > > > > > problems?
> > > > > > > >
> > > > > > > > Thanks
> > > > > > > >
> > > > > > > > 2012/8/31 Thomas Kjeldahl Nilsson <
tho...@gitorious.com (mailto:
tho...@gitorious.com)>:
> > > > > > > > >
> > > > > > > > > Hi again,
> > > > > > > > >
> > > > > > > > > - The tarballs-* directory diagnostic checks that the tarball dirs are
> > > > > > > > > both
> > > > > > > > > existing and owned by the gitorious user. So perhaps it's just a
> > > > > > > > > permissions
> > > > > > > > > issue?
> > > > > > > > >
> > > > > > > > > - The missing URLs may be due to some issue with your generated
> > > > > > > > > javascript
> > > > > > > > > assets. Try this to clear/regenerate them:
> > > > > > > > > sudo bundle exec rake assets:clear
> > > > > > > > >
> > > > > > > > > cheers,
> > > > > > > > > Thomas
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On 08/30/2012 08:41 PM, luist wrote:
> > > > > > > > >
> > > > > > > > > This part worked!
> > > > > > > > >
> > > > > > > > > This is my current diagnostic:
http://pastie.org/4617883
> > > > > > > > > What could be causing these 2 failures?
> > > > > > > > >
> > > > > > > > > My gitorious is installed on a VM, but the repositories, tarball-work and
> > > > > > > > > tarballs are mounted from another machine, defined in fstab. They seem to
> > > > > > > > > be
> > > > > > > > > mounted correctly.
> > > > > > > > >
> > > > > > > > > Another problem is that gitorious won't show the URLs for any project,
> > > > > > > > > like
> > > > > > > > > the picture attached. Why could that be?
> > > > > > > > >
> > > > > > > > > Thanks in advance!
> > > > > > > > >
> > > > > > > > > Em quarta-feira, 29 de agosto de 2012 10h20min35s UTC-3, Thomas Kjeldahl
> > > > > > > > > > > > > > (in /var/www/
git.metasys.com.br/gitorious (
http://git.metasys.com.br/gitorious))
> > > > > > > > > > > > > > > > > To post to this group, send email to
gito...@googlegroups.com (mailto:
gito...@googlegroups.com)
> > > > > > > > > > > > > > > > > To unsubscribe from this group, send email to
> > > > > > > > > > > > > > > > >
gitorious+...@googlegroups.com (mailto:
gitorious%2B...@googlegroups.com)