Re: 1st checkout of my life => network connection closed unexpectedly

2011-11-11 Thread olivier SAINT-EVE

hi

what works:

**
$ *svn info svn://.dnsdojo.org/SMS*
Path: SMS
URL: svn://lolveley.dnsdojo.org/SMS
Repository Root: svn://lolveley.dnsdojo.org/SMS
Repository UUID: c843e045-19bf-4154-b245-a271156466b3
Revision: 0
Node Kind: directory
Last Changed Rev: 0
Last Changed Date: 2011-11-10 22:56:40 +0100 (Jeu, 10 nov 2011)
**

what works less:
**
$ *svn ls svn://.dnsdojo.org/SMS*
... and nothing is displayed, but on the other side there is no error 
message

**

and finally something that works
**
$ *svn co svn://.dnsdojo.org/SMS*
Checked out revision 0.
**

STOP!
It works now, I maybe forgot to add the file in the repo.

thanks ryan and geoff,

olivier







Re: 1st checkout of my life => network connection closed unexpectedly

2011-11-11 Thread Ryan Schmidt

On Nov 11, 2011, at 07:10, olivier SAINT-EVE wrote:

> I obtained a partial success : after having detected a typing error in a conf 
> directory  file (it is not passwd but the other, I don't remember its name), 
> I succeeded in accessing locally;

So "svn co $URL" from the other computer in the house now works? And "telnet 
synology-nas-ip 3690" now shows different information (the svnserve handshake)? 
Good.


> but what interest me is to join my repo from outside my house;

That should just be a matter of setting up port forwarding correctly on your 
router and opening port 3690 in the firewalls.


> the iphone client I installed runs, it does the checkout without problem, but 
> the file (a java file) I put in my project is not downloaded...
> 
> I didn(t forgotten to do a commit.
> in my project I have my java file and a ".svn" directory or file.
> 
> the iphone client asks me the parameter "revision", it suggests "HEAD"; I 
> tried it and "0" (zero) but if the checkout is a success, no file is present 
> in the code viewer, ie in the project.

If you "svn ls $URL" does it show the file?

If you "svn info $URL" what revision does it show? If 0, there's nothing in the 
repository; you've never successfully committed to it.


...where $URL is svn://synology-nas-ip/ or svn://synology-nas-ip/svn_eclipse or 
svn://synology-nas-ip/svn_eclipse/SMS or whatever your repository address is.




Re: 1st checkout of my life => network connection closed unexpectedly

2011-11-11 Thread olivier SAINT-EVE

hi

I obtained a partial success : after having detected a typing error in a 
conf directory  file (it is not passwd but the other, I don't remember 
its name), I succeeded in accessing locally; but what interest me is to 
join my repo from outside my house; the iphone client I installed runs, 
it does the checkout without problem, but the file (a java file) I put 
in my project is not downloaded...


 I didn(t forgotten to do a commit.
in my project I have my java file and a ".svn" directory or file.

the iphone client asks me the parameter "revision", it suggests "HEAD"; 
I tried it and "0" (zero) but if the checkout is a success, no file is 
present in the code viewer, ie in the project.


a little bit help would helps me a lot ;-)


Re: 1st checkout of my life => network connection closed unexpectedly

2011-11-11 Thread olivier SAINT-EVE
well, I have the error message again(I launched the command from a SSH 
access to the NAS via putty)





Re: 1st checkout of my life => network connection closed unexpectedly

2011-11-10 Thread Geoff Hoffman
On Thu, Nov 10, 2011 at 11:56 PM, lolveley  wrote:

> hello,
>
> here is the result of telnet :
>
> 
> [olivier@centos ~]$ telnet 192.168.1.66 3690
> Trying 192.168.1.66...
> Connected to 192.168.1.66.
> Escape character is '^]'.
> Connection closed by foreign host.
> 
>
> I can't figure out if it's a good message or not.
>
> for svnserve I didn't found the log file.Must I activate it?how?
>
> thanks
>
>
That is a typical message from telnet; I only used svn:// protocol once or
twice so I'm not much help there... To make sure, did you create a
repository (svn_eclipse?) and loaded something into it (SMS)?

Can you ssh onto the NAS and run

#> svn ls svn://localhost/svn_eclipse/**SMS

? It should give you some output about the contents of SMS.


Re: 1st checkout of my life => network connection closed unexpectedly

2011-11-10 Thread lolveley
hello,

here is the result of telnet :


[olivier@centos ~]$ telnet 192.168.1.66 3690
Trying 192.168.1.66...
Connected to 192.168.1.66.
Escape character is '^]'.
Connection closed by foreign host.


I can't figure out if it's a good message or not.

for svnserve I didn't found the log file.Must I activate it?how?

thanks




Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net


Re: 1st checkout of my life => network connection closed unexpectedly

2011-11-10 Thread Ryan Schmidt

On Nov 10, 2011, at 22:13, olivier SAINT-EVE wrote:

> indeed it can't talk to himself (with the command "svn co 
> svn://localhost/svn_eclipse/SMS test3", from the NAS and where test3 doesn't 
> exist.
> I obtain the same error message.
> 
> maybe the rights are incorrects?

I don't know; could be.

What does the telnet test say?

Does the svnserve error log say anything interesting?




Re: 1st checkout of my life => network connection closed unexpectedly

2011-11-10 Thread olivier SAINT-EVE

hello ryan

good idea!
indeed it can't talk to himself (with the command "svn co 
svn://localhost/svn_eclipse/SMS test3", from the NAS and where test3 
doesn't exist.

I obtain the same error message.

maybe the rights are incorrects?




Re: 1st checkout of my life => network connection closed unexpectedly

2011-11-10 Thread Ryan Schmidt

On Nov 10, 2011, at 20:40, olivier SAINT-EVE wrote:

> the local IP is 192.168.1.66, and the internet one is xxx.dyndns.org (where 
> xxx is my name).
> I tried with the local IP and I obtain the same result.
> 
> so we can try to make it work first : I agree with you.
> 
> and I thank you for your quick answer.
> 
> 
> olivier
> 
> ps:
> I already have open the port 3960 in my box (TCP+UDP)
> 
> is it the port 3960 or 3690?

The port is 3690. Geoff made a typo in his reply.

Can you verify that the svnserve process is actually running on the synology 
nas?

Assuming you have shell access to the synology nas, can you ssh to it and run 
the svn co command there -- can it talk to itself?

What if you "telnet [synology-nas-ip] 3690" -- what response do you get?




Re: 1st checkout of my life => network connection closed unexpectedly

2011-11-10 Thread olivier SAINT-EVE

hi

the local IP is 192.168.1.66, and the internet one is xxx.dyndns.org 
(where xxx is my name).

I tried with the local IP and I obtain the same result.

so we can try to make it work first : I agree with you.

and I thank you for your quick answer.


olivier

ps:
I already have open the port 3960 in my box (TCP+UDP)

is it the port 3960 or 3690?


Re: 1st checkout of my life => network connection closed unexpectedly

2011-11-10 Thread Geoff Hoffman
> svn://:3690/svn_eclipse

What is the IP of the NAS on your LAN? it has to work at svn://
192.168.1.105/ first, before you can get to it from the net via your DynDNS
url.

Once you verified that you can connect from a PC on your LAN... check your
internet device eg cable/DSL router (login as admin @ 192.168.1.1)?

You may need to create a 'Service' for 'SVN'=>3960-3960, often under
'Gaming'.

(example IPs)


1st checkout of my life => network connection closed unexpectedly

2011-11-10 Thread olivier SAINT-EVE

hello,

I recently bought a synology NAS (DS110J).
 I would like to use subversion, so I installed SVN on the NAS, 
following this tutorial:

[URL="http://forum.synology.com/wiki/index.php/Step-by-step_guide_to_installing_Subversion#Test_the_operation_of_Subversion_on_your_Diskstation"]http://forum.synology.com/wiki/index.php/Step-by-step_guide_to_installing_Subversion#Test_the_operation_of_Subversion_on_your_Diskstation[/URL].

I opened the port 3690 in TCP and UDP in my livebox, and in the NAS 
(incoming & outgoing connections), but the result is always the same 
when trying to achieve the checkout step of the tutorial : "SVN : 
network connection closed unexpectedly"



the line I enter is that one :  svn co svn://dyndns>:3690/svn_eclipse/home/olivier/Documents/svn_SMS



later, I deactivated the NAS firewall, and also those of my linux 
desktop computer.

same result.

can you help me?

olivier

PS : I tried to use a SVN iPhone client , but with the same error.
is my checkout command true(the directory of my SMS project in the NAS 
is : /volume1/svn_eclipse/SMS)