gitstack stops working – just get browser login prompt
0
Hello I’ve been playing with gitstack today. All was going well until just now. I imported a new repo, and the whole thing completely stopped working. When I go to localhost/gitstack, I just get the browser login prompt. I don’t mean the gitstack login page, I mean the browser’s login prompt. In other words gitstack died I guess and I’m just seeing some generic apache login challenge.
I have uninstalled and reinstalled three times. It works for a minute or two then the same thing happens. I really want to get this working. Is there some extra logging I can enable to figure out what’s going on?
The apache error.log shows this:
httpd.exe: Could not reliably determine the server’s fully qualified domain name, using fe80::44a6:a3c2:1869:a540 for ServerName [Thu May 17 00:43:46 2012] [warn] mod_wsgi: Compiled for Python/2.7. [Thu May 17 00:43:46 2012] [warn] mod_wsgi: Runtime using Python/2.7.2. [Thu May 17 00:43:46 2012] [notice] Apache/2.2.22 (Win32) mod_ssl/2.2.22 OpenSSL/0.9.8u mod_wsgi/3.3 Python/2.7.2 PHP/5.3.10 configured — resuming normal operations [Thu May 17 00:43:46 2012] [notice] Server built: Mar 19 2012 19:56:33 [Thu May 17 00:43:46 2012] [notice] Parent: Created child process 4192 httpd.exe: Could not reliably determine the server’s fully qualified domain name, using fe80::44a6:a3c2:1869:a540 for ServerName httpd.exe: Could not reliably determine the server’s fully qualified domain name, using fe80::44a6:a3c2:1869:a540 for ServerName [Thu May 17 00:43:46 2012] [notice] Child 4208: Released the start mutex [Thu May 17 00:43:46 2012] [warn] mod_wsgi: Compiled for Python/2.7. [Thu May 17 00:43:46 2012] [warn] mod_wsgi: Runtime using Python/2.7.2. [Thu May 17 00:43:46 2012] [notice] Child 4192: Child process is running [Thu May 17 00:43:47 2012] [notice] Child 4192: Acquired the start mutex. [Thu May 17 00:43:47 2012] [notice] Child 4192: Starting 64 worker threads. [Thu May 17 00:43:47 2012] [notice] Child 4192: Starting thread to listen on port 80. [Thu May 17 00:43:47 2012] [notice] Child 4192: Starting thread to listen on port 80. [Thu May 17 00:43:53 2012] [notice] Child 4208: All worker threads have exited. [Thu May 17 00:43:53 2012] [notice] Child 4208: Child process is exiting [Thu May 17 00:44:35 2012] [error] [client ::1] user admin not found: /gitstack/users/, referer: http://localhost/gitstack/repository/git/permission/ [Thu May 17 00:44:38 2012] [error] [client ::1] user admin not found: /gitstack/users/, referer: http://localhost/gitstack/repository/git/permission/ [Thu May 17 00:44:39 2012] [error] [client ::1] user not found: /gitstack/users/, referer: http://localhost/gitstack/repository/git/permission/
asked May 16, 2012
I have uninstalled and reinstalled three times. It works for a minute or two then the same thing happens. I really want to get this working. Is there some extra logging I can enable to figure out what’s going on?
The apache error.log shows this:
httpd.exe: Could not reliably determine the server’s fully qualified domain name, using fe80::44a6:a3c2:1869:a540 for ServerName [Thu May 17 00:43:46 2012] [warn] mod_wsgi: Compiled for Python/2.7. [Thu May 17 00:43:46 2012] [warn] mod_wsgi: Runtime using Python/2.7.2. [Thu May 17 00:43:46 2012] [notice] Apache/2.2.22 (Win32) mod_ssl/2.2.22 OpenSSL/0.9.8u mod_wsgi/3.3 Python/2.7.2 PHP/5.3.10 configured — resuming normal operations [Thu May 17 00:43:46 2012] [notice] Server built: Mar 19 2012 19:56:33 [Thu May 17 00:43:46 2012] [notice] Parent: Created child process 4192 httpd.exe: Could not reliably determine the server’s fully qualified domain name, using fe80::44a6:a3c2:1869:a540 for ServerName httpd.exe: Could not reliably determine the server’s fully qualified domain name, using fe80::44a6:a3c2:1869:a540 for ServerName [Thu May 17 00:43:46 2012] [notice] Child 4208: Released the start mutex [Thu May 17 00:43:46 2012] [warn] mod_wsgi: Compiled for Python/2.7. [Thu May 17 00:43:46 2012] [warn] mod_wsgi: Runtime using Python/2.7.2. [Thu May 17 00:43:46 2012] [notice] Child 4192: Child process is running [Thu May 17 00:43:47 2012] [notice] Child 4192: Acquired the start mutex. [Thu May 17 00:43:47 2012] [notice] Child 4192: Starting 64 worker threads. [Thu May 17 00:43:47 2012] [notice] Child 4192: Starting thread to listen on port 80. [Thu May 17 00:43:47 2012] [notice] Child 4192: Starting thread to listen on port 80. [Thu May 17 00:43:53 2012] [notice] Child 4208: All worker threads have exited. [Thu May 17 00:43:53 2012] [notice] Child 4208: Child process is exiting [Thu May 17 00:44:35 2012] [error] [client ::1] user admin not found: /gitstack/users/, referer: http://localhost/gitstack/repository/git/permission/ [Thu May 17 00:44:38 2012] [error] [client ::1] user admin not found: /gitstack/users/, referer: http://localhost/gitstack/repository/git/permission/ [Thu May 17 00:44:39 2012] [error] [client ::1] user not found: /gitstack/users/, referer: http://localhost/gitstack/repository/git/permission/
9 Answers
0
Did you try to import a normal repo or a bare repo ?
Do you have this issue https://github.com/smart-mobile-software/gitstack/issues/73 ?
Try to fully uninstall GitStack :
1. Run the uninstaller
2. Delete the GitStack folder
Let me know of the exact steps to reproduce the issue.
Do you have this issue https://github.com/smart-mobile-software/gitstack/issues/73 ?
Try to fully uninstall GitStack :
1. Run the uninstaller
2. Delete the GitStack folder
Let me know of the exact steps to reproduce the issue.
0
I zipped up my C:\GitStack directory and uploaded it to http://www.timestone.com.au/bin/private/GitStack.zip.
I removed the git and python and php directories to make it smaller. I assume this isn't needed.
This GitStack just gives me the browser login prompt when I go to http://localhost/gitstack.
I removed the git and python and php directories to make it smaller. I assume this isn't needed.
This GitStack just gives me the browser login prompt when I go to http://localhost/gitstack.
0
I figured it out!
The problem was the apache/conf/gitstack/repositories/git.conf file. The first LocationMatch is missing a trailing "$" in the regex: '<LocationMatch "^/git(\.git)?">'.
In my case the repository name I used was 'git'. So navigating to localhost/gitstack matched the above regex and it thought the request was coming from git.exe.
So consider this a bug report. Importing a repository whose name starts with "git" will cause /gitstack to become inaccessible to admin. The fix is to add the trailing "$" to the first LocationMatch regex.
The problem was the apache/conf/gitstack/repositories/git.conf file. The first LocationMatch is missing a trailing "$" in the regex: '<LocationMatch "^/git(\.git)?">'.
In my case the repository name I used was 'git'. So navigating to localhost/gitstack matched the above regex and it thought the request was coming from git.exe.
So consider this a bug report. Importing a repository whose name starts with "git" will cause /gitstack to become inaccessible to admin. The fix is to add the trailing "$" to the first LocationMatch regex.
0
0
I have create an issue in the issue tracker :
https://github.com/smart-mobile-software/gitstack/issues/89
0
Yep the correct regex would be <LocationMatch "^/git(\.git)?$">. I note the other two LocationMatches are already correct (end with a $).
p.s. What's up with this Q&A software? It mangles the formatting.
p.s. What's up with this Q&A software? It mangles the formatting.
0
Hi,
We have tried today, we were to able to reproduce the issue by creating a repository with "git" for the name.
What did you enter exactly ?
We have tried today, we were to able to reproduce the issue by creating a repository with "git" for the name.
What did you enter exactly ?
0
Do you mean "we were NOT able" ??
0
Sorry, I meant that we were not able to reproduce the issue.
Your Answer
Please login to post questions.