Re: [fossil-users] error on push
Error: Database error: unable to open database file CREATE TEMP TABLE onremote(rid INTEGER PRIMARY KEY); Check permissions and ownership of fossil repository file. Are your web process allowed to write to this file? -- Dmitry Chestnykh ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] error on push
Dmitry, I checked the permissions. I am not running this from apache, fossil is launched from xinetd, so the fossil process is owned by the same user that owns the fossil repository file. Thanks, //Bill On 01/25/2011 10:09 AM, Dmitry Chestnykh wrote: Error: Database error: unable to open database file CREATE TEMP TABLE onremote(rid INTEGER PRIMARY KEY); Check permissions and ownership of fossil repository file. Are your web process allowed to write to this file? -- Dmitry Chestnykh ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] error on push
On Tue, Jan 25, 2011 at 10:09 AM, Dmitry Chestnykh dmi...@codingrobots.comwrote: Error: Database error: unable to open database file CREATE TEMP TABLE onremote(rid INTEGER PRIMARY KEY); Check permissions and ownership of fossil repository file. Are your web process allowed to write to this file? The TEMP table should be created in /var/tmp. So please check to ensure that the user that fossil is running as has write permission on /var/tmp. -- Dmitry Chestnykh ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- D. Richard Hipp d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
[fossil-users] cannot access baseline manifest
Hello, On a fossil update trunk, I got this output: $ fossil update trunk Autosync: http://blabla@blabla/blabla Bytes Cards Artifacts Deltas Sent: 130 1 0 0 Received:4494 97 0 0 Sent:1540 31 0 0 Received: 16463127 9 21 Total network traffic: 1376 bytes sent, 8637 bytes received fossil: cannot access baseline manifest Running 'update trunk' again, it looked like working. It's linux x86_64, fossil 2011-01-13. Any idea? Do I have to worry? Regards, Lluís. ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] error on push
Richard, That's it (sort of). The /var file system is full. I thought I had verified that all of the file systems had some free space, but overlooked /var. I extended the file system and the push succeeded. Thanks! //Bill On 01/25/2011 10:19 AM, Richard Hipp wrote: On Tue, Jan 25, 2011 at 10:09 AM, Dmitry Chestnykh dmi...@codingrobots.com mailto:dmi...@codingrobots.com wrote: Error: Database error: unable to open database file CREATE TEMP TABLE onremote(rid INTEGER PRIMARY KEY); Check permissions and ownership of fossil repository file. Are your web process allowed to write to this file? The TEMP table should be created in /var/tmp. So please check to ensure that the user that fossil is running as has write permission on /var/tmp. -- Dmitry Chestnykh ___ fossil-users mailing list fossil-users@lists.fossil-scm.org mailto:fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users -- D. Richard Hipp d...@sqlite.org mailto:d...@sqlite.org ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users ___ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users
Re: [fossil-users] fossil on osx with launchd or as a StartupItem
I should add I have not tested tested this much, so I may still have something wrong. Feedback appreciated. S. On Tue, Jan 25, 2011 at 7:15 PM, Stephen De Gabrielle stephen.degabrie...@acm.org wrote: Hi, I've only just work this out, whith some kind help from lynxman at serverfault.com. To run fossil on osx (10.5 or later) as an 'run on demand' Daemon or Agent as an 'on demand' service, where fossil is only launched to respond to requests, you have a couple of options. $ launchctl load ~/Library/LaunchAgents/org.fossil-scm.fossil.plist (attached) The per user method works only if the specified user is logged in, and does not require you to specify the user in the .plist file. $ sudo launchctl load /Library/LaunchDaemons/org.fossil-scm.fossil.plist The LaunchDaemon method runs for any user, but you need to add the user to the plist file. - It has the added advantage that you can specify ports that are only available to root. keyUserName/key stringroot/string -rw-r--r-- 1 root wheel 1379 25 Jan 18:31 org.fossil-scm.fossil.plist (below) ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd; plist version=1.0 dict keyinetdCompatibility/key dict/ keyLabel/key stringorg.fossil-scm.fossil/string keyKeepAlive/key false/ keyRunAtLoad/key false/ keyProgramArguments/key array string/usr/local/fossil/bin/fossil/string stringhttp/string string/Users/spdegabrielle/fossil-local-repository/myclone.fossil/string /array keySockets/key dict keyListeners/key array dict keySockFamily/key stringIPv4/string keySockServiceName/key stringhttp-alt/string keySockType/key stringstream/string /dict dict keySockFamily/key stringIPv6/string keySockServiceName/key stringhttp-alt/string keySockType/key stringstream/string /dict /array /dict keyUserName/key stringroot/string /dict /plist On Thu, Sep 2, 2010 at 8:30 PM, Richard Hipp d...@sqlite.org wrote: On Thu, Sep 2, 2010 at 3:19 PM, Stephen De Gabrielle spdegabrie...@gmail.com wrote: Hi, I was looking at using launchd or startup items to run fossil on my laptop, but I the documentation I have read on fossil-scm.org and developer.apple.com has left me worried that neither are suitable. Is anyone else autostarting fossil on OS X? I once tried this and came up with the plist attached. I seem to recall actually getting it to work, by typing some obscure command prefaced by sudo in order to get launchd to read in the appropriate plist. But I never could get launchd to run fossil by default after a reboot. inetd was so easy. xinetd is less easy, but doable. launchd is unmanageably complicated. How do they call this progress? I think the key here is to launch Fossil in inetd mode (using the fossil http command) and not in server mode (not with fossil server). That's the way I do it on my Linux desktop and it works great there. (On the Fossil website, Fossil is launched as CGI.) Let us know if you get it working and be sure to tell us what you did. -- ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd; plist version=1.0 dict keyDebug/key false/ keyGroupName/key stringdrh/string keyLabel/key stringorg.fossil-scm.fossil/string keyOnDemand/key true/ keyProgram/key string/usr/bin/fossil/string keyProgramArguments/key array string/usr/bin/fossil/string stringhttp/string string/Users/drh/sqlite/string /array keyServiceDescription/key stringSVN Version Control System/string keySockets/key dict keyListeners/key array dict keySockFamily/key stringIPv4/string keySockServiceName/key stringhttp-alt/string keySockType/key stringstream/string /dict dict keySockFamily/key stringIPv6/string keySockServiceName/key stringhttp-alt/string keySockType/key
Re: [fossil-users] fossil on osx with launchd or as a StartupItem
Hi, Apologies for poluting the list, but, Scheduling sync on osx can be done much the same way. ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd; plist version=1.0 dict keyLabel/key stringmyclone-sync.fossil.agent/string keyProgramArguments/key array string/usr/bin/fossil/string stringsync/string string-R/string string/Users/spdegabrielle/fossil-local-repository/myclone.fossil/string /array keyRunAtLoad/key true/ keyStartInterval/key integer86400/integer keyStandardErrorPath/key string/dev/null/string keyStandardOutPath/key string/dev/null/string /dict /plist On Tue, Jan 25, 2011 at 7:16 PM, Stephen De Gabrielle stephen.degabrie...@acm.org wrote: I should add I have not tested tested this much, so I may still have something wrong. Feedback appreciated. S. On Tue, Jan 25, 2011 at 7:15 PM, Stephen De Gabrielle stephen.degabrie...@acm.org wrote: Hi, I've only just work this out, whith some kind help from lynxman at serverfault.com. To run fossil on osx (10.5 or later) as an 'run on demand' Daemon or Agent as an 'on demand' service, where fossil is only launched to respond to requests, you have a couple of options. $ launchctl load ~/Library/LaunchAgents/org.fossil-scm.fossil.plist (attached) The per user method works only if the specified user is logged in, and does not require you to specify the user in the .plist file. $ sudo launchctl load /Library/LaunchDaemons/org.fossil-scm.fossil.plist The LaunchDaemon method runs for any user, but you need to add the user to the plist file. - It has the added advantage that you can specify ports that are only available to root. keyUserName/key stringroot/string -rw-r--r-- 1 root wheel 1379 25 Jan 18:31 org.fossil-scm.fossil.plist (below) ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//Apple//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd; plist version=1.0 dict keyinetdCompatibility/key dict/ keyLabel/key stringorg.fossil-scm.fossil/string keyKeepAlive/key false/ keyRunAtLoad/key false/ keyProgramArguments/key array string/usr/local/fossil/bin/fossil/string stringhttp/string string/Users/spdegabrielle/fossil-local-repository/myclone.fossil/string /array keySockets/key dict keyListeners/key array dict keySockFamily/key stringIPv4/string keySockServiceName/key stringhttp-alt/string keySockType/key stringstream/string /dict dict keySockFamily/key stringIPv6/string keySockServiceName/key stringhttp-alt/string keySockType/key stringstream/string /dict /array /dict keyUserName/key stringroot/string /dict /plist On Thu, Sep 2, 2010 at 8:30 PM, Richard Hipp d...@sqlite.org wrote: On Thu, Sep 2, 2010 at 3:19 PM, Stephen De Gabrielle spdegabrie...@gmail.com wrote: Hi, I was looking at using launchd or startup items to run fossil on my laptop, but I the documentation I have read on fossil-scm.org and developer.apple.com has left me worried that neither are suitable. Is anyone else autostarting fossil on OS X? I once tried this and came up with the plist attached. I seem to recall actually getting it to work, by typing some obscure command prefaced by sudo in order to get launchd to read in the appropriate plist. But I never could get launchd to run fossil by default after a reboot. inetd was so easy. xinetd is less easy, but doable. launchd is unmanageably complicated. How do they call this progress? I think the key here is to launch Fossil in inetd mode (using the fossil http command) and not in server mode (not with fossil server). That's the way I do it on my Linux desktop and it works great there. (On the Fossil website, Fossil is launched as CGI.) Let us know if you get it working and be sure to tell us what you did. -- ?xml version=1.0 encoding=UTF-8? !DOCTYPE plist PUBLIC -//Apple Computer//DTD PLIST 1.0//EN http://www.apple.com/DTDs/PropertyList-1.0.dtd; plist version=1.0 dict keyDebug/key false/ keyGroupName/key stringdrh/string keyLabel/key stringorg.fossil-scm.fossil/string keyOnDemand/key true/ keyProgram/key string/usr/bin/fossil/string keyProgramArguments/key array string/usr/bin/fossil/string