{"thread":{"id":"22049","subject":"Help on CGIT","startedAt":"2009-12-29T12:18:38Z","lastAt":"2009-12-29T20:54:18Z","messageCount":10,"participants":["Jorge Bastos","Luciano Rocha","Lars Hjemli","Felipe Contreras"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"130450","messageId":"31576a6d119e2edd66bd8bcc3281e9ad@192.168.1.222","threadId":"22049","inReplyTo":null,"subject":"Help on CGIT","fromName":"Jorge Bastos","fromEmail":"mysql.jorge@decimal.pt","sentAt":"2009-12-29T12:18:38Z","receivedAt":"2009-12-29T12:18:38Z","isPatch":false,"sender":{"key":"mysql.jorge@decimal.pt","avatar":null},"body":"Howdy people, \n\nSince i cannot find any CGIT web interface mailing list on their webpage,\ni'm asking here. \n\nI have CGIT working at 50%. \n\nThe 1st page show's correctly, but when i click the project name, it\nbecames unconfigured and wierd, and apache complains about this: \n\n[Tue Dec 29 12:12:25 2009] [error] [client 192.168.1.3] [cgit] Unable to\nlock slot /var/cache/cgit/53200000.lock: No such file or directory (2)\n\nMy apache configuration for CGIT is: \n\n AllowOverride None\n Options ExecCGI\n Order allow,deny\n Allow from all\n\n DirectoryIndex cgit.cgi\n\n AddHandler cgi-script cgi pl\n\nAm i missing something else? I've asked google but there's not much info\non\nthe web about it. \n\nThanks,\nJorge,\n"},{"id":"130452","messageId":"20091229123127.GA6154@bit.office.eurotux.com","threadId":"22049","inReplyTo":"31576a6d119e2edd66bd8bcc3281e9ad@192.168.1.222","subject":"Re: Help on CGIT","fromName":"Luciano Rocha","fromEmail":"luciano@eurotux.com","sentAt":"2009-12-29T12:31:27Z","receivedAt":"2009-12-29T12:31:27Z","isPatch":false,"sender":{"key":"luciano@eurotux.com","avatar":null},"body":"On Tue, Dec 29, 2009 at 12:18:38PM +0000, Jorge Bastos wrote:\n> Howdy people, \n> \n> Since i cannot find any CGIT web interface mailing list on their webpage,\n> i'm asking here. \n> \n> I have CGIT working at 50%. \n> \n> The 1st page show's correctly, but when i click the project name, it\n> becames unconfigured and wierd, and apache complains about this: \n> \n> [Tue Dec 29 12:12:25 2009] [error] [client 192.168.1.3] [cgit] Unable to\n> lock slot /var/cache/cgit/53200000.lock: No such file or directory (2)\n\nDoes the directory /var/cache/cgit/ exist?\n\n-- \nLuciano Rocha <luciano@eurotux.com>\nEurotux Informática, S.A. <http://www.eurotux.com/>\n"},{"id":"130451","messageId":"9cf5f850c0c5ea8054e9bebc810ea6d3@192.168.1.222","threadId":"22049","inReplyTo":"20091229123127.GA6154@bit.office.eurotux.com","subject":"Re: Help on CGIT","fromName":"Jorge Bastos","fromEmail":"mysql.jorge@decimal.pt","sentAt":"2009-12-29T12:38:15Z","receivedAt":"2009-12-29T12:38:15Z","isPatch":false,"sender":{"key":"mysql.jorge@decimal.pt","avatar":null},"body":"Hi Luciano,\n\n>> [Tue Dec 29 12:12:25 2009] [error] [client 192.168.1.3] [cgit] Unable\nto\n>> lock slot /var/cache/cgit/53200000.lock: No such file or directory (2)\n> \n> Does the directory /var/cache/cgit/ exist?\n\nYap, with 777.\nBut the parent dirs don't, they have 755 the debian default, and both /var\n& /var/log owner by root.\nI also tryed to make /var & /var/log/ be owner by apache's user (www-data)\nbut nothing, and also tried make them 777 aswell, the same.\nThis lock dir can't be configureable?\n"},{"id":"130455","messageId":"20091229140842.GB6154@bit.office.eurotux.com","threadId":"22049","inReplyTo":"9cf5f850c0c5ea8054e9bebc810ea6d3@192.168.1.222","subject":"Re: Help on CGIT","fromName":"Luciano Rocha","fromEmail":"luciano@eurotux.com","sentAt":"2009-12-29T14:08:42Z","receivedAt":"2009-12-29T14:08:42Z","isPatch":false,"sender":{"key":"luciano@eurotux.com","avatar":null},"body":"On Tue, Dec 29, 2009 at 12:38:15PM +0000, Jorge Bastos wrote:\n> Hi Luciano,\n> \n> >> [Tue Dec 29 12:12:25 2009] [error] [client 192.168.1.3] [cgit] Unable\n> to\n> >> lock slot /var/cache/cgit/53200000.lock: No such file or directory (2)\n> > \n> > Does the directory /var/cache/cgit/ exist?\n> \n> Yap, with 777.\n> But the parent dirs don't, they have 755 the debian default, and both /var\n> & /var/log owner by root.\n\nThat's what they're supposed to be.\n\n> I also tryed to make /var & /var/log/ be owner by apache's user (www-data)\n> but nothing, and also tried make them 777 aswell, the same.\n> This lock dir can't be configureable?\n\nProbably, don't know much about cgit. One thing, are you using selinux?\nWhat does sestatus show?\n\n-- \nLuciano Rocha <luciano@eurotux.com>\nEurotux Informática, S.A. <http://www.eurotux.com/>\n"},{"id":"130457","messageId":"ab6fafb1c8d1117674cf4b7ffd1df811@192.168.1.222","threadId":"22049","inReplyTo":"20091229140842.GB6154@bit.office.eurotux.com","subject":"Re: Help on CGIT","fromName":"Jorge Bastos","fromEmail":"mysql.jorge@decimal.pt","sentAt":"2009-12-29T14:44:39Z","receivedAt":"2009-12-29T14:44:39Z","isPatch":false,"sender":{"key":"mysql.jorge@decimal.pt","avatar":null},"body":"On Tue, 29 Dec 2009 14:08:42 +0000, Luciano Rocha <luciano@eurotux.com>\n>> Yap, with 777.\n>> But the parent dirs don't, they have 755 the debian default, and both\n>> /var\n>> & /var/log owner by root.\n> \n> That's what they're supposed to be.\n> \n>> I also tryed to make /var & /var/log/ be owner by apache's user\n>> (www-data)\n>> but nothing, and also tried make them 777 aswell, the same.\n>> This lock dir can't be configureable?\n> \n> Probably, don't know much about cgit. One thing, are you using selinux?\n> What does sestatus show?\n\nno SELinux compiled or active on kernel.\ndon't even have setools installed on the system.\nI'm out of ideas :(\nThe info on the web about CGIT is rare... don't find an answer for this.\n"},{"id":"130458","messageId":"8c5c35580912290657y70bbfda1rfe03e389e90f8977@mail.gmail.com","threadId":"22049","inReplyTo":"31576a6d119e2edd66bd8bcc3281e9ad@192.168.1.222","subject":"Re: Help on CGIT","fromName":"Lars Hjemli","fromEmail":"hjemli@gmail.com","sentAt":"2009-12-29T14:57:29Z","receivedAt":"2009-12-29T14:57:29Z","isPatch":false,"sender":{"key":"hjemli@gmail.com","avatar":null},"body":"On Tue, Dec 29, 2009 at 13:18, Jorge Bastos <mysql.jorge@decimal.pt> wrote:\n> I have CGIT working at 50%.\n>\n> The 1st page show's correctly, but when i click the project name, it\n> becames unconfigured and wierd, and apache complains about this:\n>\n> [Tue Dec 29 12:12:25 2009] [error] [client 192.168.1.3] [cgit] Unable to\n> lock slot /var/cache/cgit/53200000.lock: No such file or directory (2)\n\nFirst, check if cgit works correctly with caching disabled (set\ncache-size=0 in /etc/cgitrc).\n\n\n> My apache configuration for CGIT is:\n>\n>  AllowOverride None\n>  Options ExecCGI\n>  Order allow,deny\n>  Allow from all\n>\n>  DirectoryIndex cgit.cgi\n>\n>  AddHandler cgi-script cgi pl\n>\n\nWhat's the contents of /etc/cgitrc? Which cgit-version are you running?\n\n-- \nlarsh\n"},{"id":"130459","messageId":"94a0d4530912290658m70075ad1u95e3692c01fb44b7@mail.gmail.com","threadId":"22049","inReplyTo":"31576a6d119e2edd66bd8bcc3281e9ad@192.168.1.222","subject":"Re: Help on CGIT","fromName":"Felipe Contreras","fromEmail":"felipe.contreras@gmail.com","sentAt":"2009-12-29T14:58:36Z","receivedAt":"2009-12-29T14:58:36Z","isPatch":false,"sender":{"key":"felipe.contreras@gmail.com","avatar":"https://avatars.githubusercontent.com/u/8358?v=4"},"body":"On Tue, Dec 29, 2009 at 2:18 PM, Jorge Bastos <mysql.jorge@decimal.pt> wrote:\n> Am i missing something else? I've asked google but there's not much info\n> on the web about it.\n\nThis is what I do:\nScriptAlias /cgit /var/www/cgit-files/cgit.cgi\n\nYou need a new cgit to use that properly, I use 0.8.3.\n\n-- \nFelipe Contreras\n"},{"id":"130463","messageId":"11086b46ef152d6e2aadb1c5f655fe72@192.168.1.222","threadId":"22049","inReplyTo":"94a0d4530912290658m70075ad1u95e3692c01fb44b7@mail.gmail.com","subject":"Re: Help on CGIT","fromName":"Jorge Bastos","fromEmail":"mysql.jorge@decimal.pt","sentAt":"2009-12-29T15:21:03Z","receivedAt":"2009-12-29T15:21:03Z","isPatch":false,"sender":{"key":"mysql.jorge@decimal.pt","avatar":null},"body":"> This is what I do:\n> ScriptAlias /cgit /var/www/cgit-files/cgit.cgi\n> \n> You need a new cgit to use that properly, I use 0.8.3.\n\nI tried that way, no luck, apache always show on the errors that cannot\ncreate the lock slot and it show all unconfigured on the page.\n"},{"id":"130464","messageId":"5b4ce0d0c1dd830782397602a71bb4f6@192.168.1.222","threadId":"22049","inReplyTo":"94a0d4530912290658m70075ad1u95e3692c01fb44b7@mail.gmail.com","subject":"Re: Help on CGIT","fromName":"Jorge Bastos","fromEmail":"mysql.jorge@decimal.pt","sentAt":"2009-12-29T15:29:49Z","receivedAt":"2009-12-29T15:29:49Z","isPatch":false,"sender":{"key":"mysql.jorge@decimal.pt","avatar":null},"body":"> This is what I do:\n> ScriptAlias /cgit /var/www/cgit-files/cgit.cgi\n> \n> You need a new cgit to use that properly, I use 0.8.3.\n\nForgot to say, i'm running the last git version so i believe i'm updated\nfor that.\n"},{"id":"130477","messageId":"fccf5e49dc956e4330d4e670e734862a@192.168.1.222","threadId":"22049","inReplyTo":"5b4ce0d0c1dd830782397602a71bb4f6@192.168.1.222","subject":"Re: Help on CGIT","fromName":"Jorge Bastos","fromEmail":"mysql.jorge@decimal.pt","sentAt":"2009-12-29T20:54:18Z","receivedAt":"2009-12-29T20:54:18Z","isPatch":false,"sender":{"key":"mysql.jorge@decimal.pt","avatar":null},"body":"Guys!\n\nI changed on /etc/cgitrc:\n\ncss=cgit.css\nlogo=cgit.png\n\nto:\n\ncss=/cgit/cgit.css\nlogo=/cgit/cgit.png\n\nForcing the path for the files to be from the root did the trick!\nThanks you all this the help!\n"}]}