The fossil repo and the directory it's in need to be writable by the web server process.
Sent from my phone On Mar 10, 2011 9:02 AM, "Sunil Nimmagadda" <[email protected]> wrote: > I am following quick start guide and did the following to setup fossil > server and accessing it from a different client machine. > > My server setup... > OpenBSD apache(1.3) chrooted to /var/www > Fossil compiled with -static for self-contained executable. > Fossil version -> This is fossil version [34c23c6fd4] 2011-03-10 02:39:51 UTC > > /var/www/users/bob# fossil new foo.fossil > project-id: b20f07ffc2ef5e984a897140cdba4a7f24738dbc > server-id: 1fa3c53148d66df4fd0fd023a0bd14d24aba48d0 > admin-user: root (initial password is "faf36a") > > /var/ww/users/bob# ls -la foo.fossil > -rw-rw-rw-- 1 root daemon 53248 Mar 10 05:34 foo.fossil > > Fossil cgi-script... > #!/usr/local/bin/fossil > repository: /users/bob/foo.fossil > > /var/www/users/bob# fossil ui foo.fossil > Enable check-in, developer previleges for "Nobody" > > client setup... > ~/repo> fossil clone http://server/cgi-bin/fossil.cgi foo.fossil > Bytes Cards Artifacts Deltas > Sent: 53 1 0 0 > Received: 342 4 1 0 > Sent: 680 28 0 0 > Received: 674 2 0 0 > Total network traffic: 645 bytes sent, 0 bytes received > Rebuilding repository meta-data... > 100.0% complete... > project-id: 2424ed10afd0e33e443f1e1ff6a03db57cf6ccaf > server-id: 3b1e2f3fac32ead5037c363ca8a862d734921110 > > ~/foo> fossil open ~/repo/foo.fossil > > ~/foo> fossil add blah.c > ADDED blah.c > > ~/foo> fossil commit > Autosync: http://server/cgi-bin/fossil.cgi > Bytes Cards Artifacts Deltas > Sent: 130 1 0 0 > Received: 78 1 0 0 > Total network traffic: 272 bytes sent, 0 bytes received > /usr/bin/vi "/Users/bob/check2/ci-comment-8DA095CBF89A.txt" > New_Version: 25499957d937adc4b05885dc2629e5e7324e69b6 > Autosync: http://server/cgi-bin/fossil.cgi > Bytes Cards Artifacts Deltas > Sent: 809 7 2 0 > **Error: Database error: unable to open database file** > INSERT INTO rcvfrom(uid, mtime, nonce, ipaddr)VALUES(3, julianday('now'), NULL, 'xxx.248.84.92') > Received: 163 1 0 0 > Total network traffic: 533 bytes sent, 0 bytes received > fossil: Autosync failed > > ~/foo>fossil pull > Server: http://server/cgi-bin/fossil.cgi > Bytes Cards Artifacts Deltas > Sent: 146 2 0 0 > Received: 94 2 0 0 > Total network traffic: 288 bytes sent, 0 bytes received > > Am I doing something wrong here. How come pull is sucessfull while > sync/commit/push fail (Database error: unable to open database file). > > thanks, > Sunil. > > _______________________________________________ > fossil-users mailing list > [email protected] > http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
_______________________________________________ fossil-users mailing list [email protected] http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

