On 3/15/18, Kevin Walzer <k...@codebykevin.com> wrote:
> Hello all,
>
> I'm having trouble migrating several Fossil repos from a server based in
> my office to a Linux-based CPanel web hosting platform. I am not able to
> clone, sync, or display the Fossil repo on the web. And I'm not quite
> following why.
>
> My repo directly includes the fossil binary, an .htaccess file, a
> fossil.cgi script, and the repos in a subdirectory. All permissions are
> set for 755. fossil.cgi looks something like this:
>
> #!/home/usernsame/public_html/codebykevin.com/fossil/fossil

I don't think this is your problem, but it seems good to move the
Fossil binary outside of your web hierarchy.  Perhaps put it in
/home/username/bin.

I don't see anything else wrong with your setup, and I don't know why
it is not working.

Have you tried added individual cgi file for each repository using the
"repository:" line instead of "directory:"?

Is your webserver running inside of a chroot jail?  Add a cgi script
that says this:

#!/bin/sh
echo 'content-type: text/plain'
echo ''
pwd
env | sort

Then run that script from your browser to see if it offers any clues.

>
> directory: /fossil/repos
> notfound: /fossil/repos/projectlist.html
>
> fossil appears to be firing because whenever I navigate to the site over
> the Internet, it returns the "notfound" directory, even when I try one
> of my specific repos, cf: http://codebykevin.com/fossil/fossil.cgi/filemorph
>
> And I see this in the command line also:
>
>   fossil clone
> https://www.codebykevin.com/fossil/fossil.cgi/portauthority
> portauthority.fossil
> redirect with status 302 to
> https://www.codebykevin.com/fossil/repos/projectlist.html
> server says: 404 Not Found
> Clone done, sent: 582  received: 948  ip: 107.180.34.197
> server returned an error - clone aborted
>
> Because Fossil seems to be firing, I am not seeing any error messages of
> any kind. So I'm at a loss as to why the repos aren't found when they
> have all been uploaded to the server and fossil should be able to find
> them. This setup worked just fine on my home server.
>
> Is there a configuration of some kind that I'm missing, perhaps? Do I
> need to ssh to the server to do something with Fossil?
>
> Thanks,
>
> Kevin
>
> --
> Kevin Walzer
> Code by Kevin/Mobile Code by Kevin
> http://www.codebykevin.com
> http://www.wtmobilesoftware.com
>
> _______________________________________________
> 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

Reply via email to