Re: [fossil-users] Getting a database locked error in fossil sync

2017-08-05 Thread Stephan Beal
On Sat, Aug 5, 2017 at 6:40 AM, Warren Young  wrote:

> I’ve seen such errors when both “fossil server” and “fossil sync” are
> trying to use the same file.
>

Note that the file being locked is the global config file, so it might(?)
be a fossil process unrelated to this repo which is the problem.

-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
___
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] Getting a database locked error in fossil sync

2017-08-04 Thread Warren Young
On Aug 4, 2017, at 6:37 PM, abhijit nandy  wrote:
> 
> However, when I try to run the fossil sync command, I get the following error
> Sync with 

Are you using “fossil server”, and is that the path to the file being served?

I’ve seen such errors when both “fossil server” and “fossil sync” are trying to 
use the same file.

You say you cloned the repository, but you need to be sure you “opened” from 
the clone, not from the file being served, so that checkins go to the local 
clone, which is then synced up to the cloned repository.  This is true even if 
both copies are on the same machine.
___
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] Getting a database locked error in fossil sync

2017-08-04 Thread Richard Hipp
On 8/4/17, abhijit nandy  wrote:
> Hi,
>
> I created a repository and cloned it.
>
> I then created a working copy and added some files. I also added some
> unversioned files.
>
> A fossil check-in goes through fine. And fossil uv ls command shows me the
> unversioned files I've added.
>
> However, when I try to run the fossil sync command, I get the following
> error
> Sync with 
> server sends error: >Database Error>
>>database is locked: {INSERT INTO
> config(name,value,mtime)VALUES(baseurl:http://,1,now())}>
>
> I initially thought this could be a windows / linux or a x32/x64 problem.
> But after trying everywhere I get the same error.
>
> Any suggestions as to what I'm doing wrong here?

No idea.  How is your server set up?  Is it publicly accessible so
that we can try it?
-- 
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