On 2012-08-26 18:32, Gautier DI FOLCO wrote:
Hi all,
I'm new to fossil and I have followed this post
(http://blog.appamatto.com/2011/11/13/multiple-fossil-repositories-setup.html
[1]) to setup a fossil on my home server (an OpenBSD 5.1 i386).
I have the following nginx.conf :
user _nginx;
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name localhost;
location / {
proxy_pass http://127.0.0.1:8080/ [2];
proxy_redirect off;
proxy_set_header
Host $host;
proxy_set_header X-Real-IP
$remote_addr;
proxy_set_header X-Forwarded-For
$proxy_add_x_forwarded_for;
}
}
}
I launch fossil with this command line : fossil serve
/home/fossil/repositories.
Then I tried the following command :
~ $ FOSSIL CLONE
TEST.FOSSIL
Bytes Cards
Artifacts Deltas
Sent: 53
1 0 0
Received: 6601193 245
121 0
Sent: 70
2 0 0
Received: 5596705 251
123 0
Sent: 55
4 0 0
Received: 6868686 19
8 0
Sent: 55
1 0 0
Received: 8166176 5
1 0
Sent: 55
1 0 0
Received: 15695969 179
88 0
Sent: 55
1 0 0
Received: 5093090 97
47 0
Sent: 55
1 0 0
Received: 5011321 117
57 0
Sent: 55
1 0 0
Received: 5002566 283
140 0
Sent: 55
1 0 0
Received: 5022130 1826
913 0
Sent: 56
1 0 0
Received: 5017688 641
320 0
Sent: 56
1 0 0
Received: 3972895 1137
568 0
Total network traffic: 2664 bytes sent, 72051060 bytes received
Rebuilding repository meta-data...
100.0% complete...
project-id: cee0eea7fb387d0bb2c07430f999aafc56fc9c9a
server-id: 5abbb01562d3b7d9861433e1cbe3739217c17ac5
admin-user: black (password is "872461")
~ $ mkdir
test
~ $ cd
test
test $
ls
test $ fossil open ../test.fossil
..... a very long list
test $ mv _real.sh real.sh
test $ fossil mv _real.sh real.sh
RENAME _real.sh real.sh
TEST $ FOSSIL COMMIT -M "TEST
PUSH"
Autosync: http://192.168.0.42/cours-3if [3]
Bytes Cards
Artifacts Deltas
Sent: 130
1 0 0
Received: 78 2
0 0
Total network traffic: 290 bytes sent, 307 bytes received
New_Version: d58c3a5521a658a8a393a466d779d3d4adab1d50
Autosync: http://192.168.0.42/cours-3if [4]
Bytes Cards
Artifacts Deltas
Sent: 603
4 0 1
Error: not authorized to write
Received: 111 1
0 0
Total network traffic: 525 bytes sent, 335 bytes received
fossil: Autosync failed
TEST $ FOSSIL PUSH
Bytes Cards
Artifacts Deltas
Sent: 222
3 0 0
Received: 23532 501
0 0
Total network traffic: 400 bytes sent, 12763 bytes received
The strangest thing is that I can see my commit on my local
repository
but not on my remote repository while it makes me no error and I have
the grade 'Setup' (s) on the remote repository.
I'm new, so I may have missed something, but what?
For your help,
In advance,
Thanks.
PS : I have compiled the d7736649cd check-in on both sides.
Links:
------
[1]
http://blog.appamatto.com/2011/11/13/multiple-fossil-repositories-setup.html
[2] http://127.0.0.1:8080/
[3] http://192.168.0.42/cours-3if
[4] http://192.168.0.42/cours-3if
Has the user _nginx on the server write permissions to the repo?
--
Rene
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users