Excellent guess!

On the other machine I did this:

[--------------------------CODE----------------------------]
root@lamp ~# uname -a
Linux lamp 2.6.32-5-xen-amd64 #1 SMP Mon Feb 25 02:51:39 UTC 2013 x86_64
GNU/Linux

root@lamp ~# cat /etc/issue
Debian GNU/Linux 6.0 \n \l

root@lamp ~# cat /etc/debian_version
6.0.7

root@lamp ~# fossil version
This is fossil version 1.28 [3d49f04587] 2014-01-27 17:33:44 UTC

root@lamp ~# fossil new repo.fsl
project-id: c4065c768ae6a23fbcf2723a91e9ea61c77339df
server-id:  5ba75ad33124d622a800c2e61e378f5b8441141a
admin-user: root (initial password is "f5ee61")

root@lamp ~# fossil server repo.fsl
[----------------------------------------------------------]

And browsing to there I got:

Not Found

then I realize that I'm using fossil, but thru apache as cgi, so the user
is www-data

so....

[--------------------------CODE----------------------------]
root@lamp ~# fossil new /tmp/repo.fsl
project-id: cdba2ccc3dfd16201e6ac6a00c4c1092ce350b80
server-id:  db34178c6e85a35f38f5eb8a7ba3cda8a71266db
admin-user: root (initial password is "051c04")

root@lamp ~# chown www-data:www-data /tmp/repo.fsl

root@lamp ~# su -c "fossil server /tmp/repo.fsl" www-data
[----------------------------------------------------------]

And browsing works flawlessly....

In the end, I will have to wait for 1.29 because I want to version the /etc
dir of the server, to keep changes documented, and only root have full
acces to it :(

Thanks for the help!


On Thu, May 22, 2014 at 9:46 PM, Joe Prostko <[email protected]> wrote:

> On Fri, May 23, 2014 at 1:00 AM, pablo <[email protected]> wrote:
> > Hi to all,
> >
> > What I have to do for FOSSIL SERVER to work on my server?
> >
> > I have installed a linux server on a VmWare Workstation and using the
> 1.28
> > version of fossil.
> > When I try to browse the repository i get a message of "Not Found" no
> matter
> > what path I try to access (/index , /timeline)
>
> My guess is it is because you are running Fossil as root.  This was
> fixed somewhat recently, here:
>
>
> http://fossil-scm.org/index.html/info/5e47d555e4770445328a34f8a46f6487b75192f6
>
> Are you running as root on your other TKL installation?  If you can
> build from source, maybe try a trunk build.  If not, I think you'll
> have to wait for 1.29 to come out, which I suspect will be really
> soon.
>
> - joe
> _______________________________________________
> 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

Reply via email to