[This didn't show up in the archives; I'm assuming a filter ate
it. Apologies if you saw it twice.]

Hello,

I've just started with fossil, so this is probably a simple problem -
but googling for it hasn't turned up anything.

I'm setting up a cgi server inside a firewall. I access it by ssh'ing
into a gateway box, using -L to forward local requests to the proper
host/port. The basic setup seems to be working, in either of two ways:

With cgi-bin/fossil that contains:

#!/usr/local/bin/fossil
directory: /home/mwm/repos

(I know, the docs say add a "not-found", but wanted to see what it
did...).

Or with cgi-bin/reponame that contains:

#!/usr/local/bin/fossil
repository: /home/mwm/repos/reponame.fossil

I can access either one of those from my desktop machine (i.e:
localhost:2525/cgi-bin/fossil/reponame or localhost:2525/cgi-bin/reponame),
log in to the anonymous account, and look at individual commits, files,
etc.

However, if I try and log in using the userid/password from the repo,
I get 

SQLITE_CANTOPEN: cannot open file at line 27596 of [fabcb6b95e]

SQLITE_CANTOPEN: statement aborts at 28: [UPDATE user SET 
cookie='1/6E8AD0C7D6B7CDB96470AE6EF37458A19344AE610099A3D23E', 
ipaddr='202.80.186.24', cexpire=julianday('now')+31557600/86400.0 WHERE uid=1]

Database Error

unable to open database file
UPDATE user SET cookie='1/6E8AD0C7D6B7CDB96470AE6EF37458A19344AE610099A3D23E', 
ipaddr='202.80.186.24',   cexpire=julianday('now')+31557600/86400.0 WHERE uid=1
If you have recently updated your fossil executable, you might need to run 
"fossil all rebuild" to bring the repository schemas up to date.

Well, I recently *installed* fossil, so I don't think the rebuild is a
problem. However, I did try rebuilding the repositories. This didn't
help.

The ultimate goal is to push to the repo.

    thanks,
    <mike
-- 
Mike Meyer <[email protected]>             http://www.mired.org/consulting.html
Independent Network/Unix/Perforce consultant, email for more information.

O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to