Websvn

Questions regarding Subversion Server may go here
Forum rules
Please note the disclaimer before modifying your Synology Product.

Websvn

Postby bjovesom » Mon Oct 13, 2008 5:02 pm

Hi.

Have anyone got websvn up and running on 207+? I have some problems doing so... :(
bjovesom
Trainee
Trainee
 
Posts: 12
Joined: Mon Oct 13, 2008 5:00 pm

Re: Websvn

Postby menrone » Sat Nov 01, 2008 7:01 pm

I'm also having problems installing websvn on my 107+.

After configuring $config->parentPath I still get the message that this parameter is not defined. I also get another message "Error running this command: svn --config-dir /tmp --version , sh: svn: not found" but svn is in the path.

What kind of problems are you dealing with?
menrone
Trainee
Trainee
 
Posts: 10
Joined: Sat Nov 01, 2008 6:24 pm

WebSVN

Postby menrone » Sun Nov 02, 2008 1:59 pm

Hello,

I've got SVN installed and running using the manual http://www.synology.com/wiki/index.php/ ... Subversion (thanks for this). From my Window clients I can connect and browse the repositories using TortoiseSVN.

Now I'm trying to get WebSVN 2.0 up-and-running, and according to the manual it should be easy, but unfortenately I've got no luck.
I changed the parameter parentPath and also added an addRepository entry but I always get the message:

Error running this command: svn --config-dir /tmp --version
sh: svn: not found


The SVN is installed and available : the dir /opt/bin where SVN resides is part of the PATH setting, I can start svn from every location. Also debugging the PHP code shows errors when starting the command.

Can someone help me with this?

Thanks
menrone
Trainee
Trainee
 
Posts: 10
Joined: Sat Nov 01, 2008 6:24 pm

Re: Websvn

Postby bjovesom » Sun Nov 02, 2008 8:00 pm

Ia meting the same problems as you are. I haven't looked into this problem for a while now, I was hoping someone had a solution for it.. :)

Let me know if you figure out something!
bjovesom
Trainee
Trainee
 
Posts: 12
Joined: Mon Oct 13, 2008 5:00 pm

Re: Websvn

Postby menrone » Mon Nov 03, 2008 8:40 pm

Hello bjovesom,

I found the problem:

in the php.ini file you should add the directory, where svn executables resides, to the open_basedir setting.
In my case it was :

open_basedir = /volume1/web:...:/var/services/blog:/opt/bin:
menrone
Trainee
Trainee
 
Posts: 10
Joined: Sat Nov 01, 2008 6:24 pm

Re: Websvn

Postby bjovesom » Tue Nov 04, 2008 7:16 pm

Hi

I add the path to svn installation in the php.ini (same as you have) and i see it is set using phpinfo(). BUT, I still have the same error. Did you do anything more to the configuration?
bjovesom
Trainee
Trainee
 
Posts: 12
Joined: Mon Oct 13, 2008 5:00 pm

Re: Websvn

Postby menrone » Tue Nov 04, 2008 10:43 pm

No not that I know. Maybe you should take a look at the other PHP settings (Safe mode on??)
menrone
Trainee
Trainee
 
Posts: 10
Joined: Sat Nov 01, 2008 6:24 pm

Re: Websvn

Postby HarryPotter » Wed Nov 05, 2008 12:08 am

== Topic moved to Subversion Server ==
*Please do not Private Message me for support questions; leave it on the forum so all members can learn. Thanks!*

DS712+ / DSM 4.2 3211 / 2 x HD204UI (RAID0) / LMS 7.7.2-007
DS110+ / DSM 4.2 3211 / HD154UI
DS408 / DSM 4.0 2228 / 3 x ST31000340AS (RAID0) + 1 x HDS721010KLA330
DS207+ / DSM 3.1.1636 / ST31000340AS + WD5000KS
DS-106x / DSM 4.0 2228 (from DS108j) /

2 Squeezebox 3 + Boom
Rapsody N35

APC Smart UPS SUA750i
User avatar
HarryPotter
Honorary Moderator
Honorary Moderator
 
Posts: 12347
Joined: Mon Oct 23, 2006 12:48 pm
Location: Switzerland

Re: Websvn

Postby bjovesom » Wed Nov 05, 2008 9:00 pm

No, safemode is off... :(
bjovesom
Trainee
Trainee
 
Posts: 12
Joined: Mon Oct 13, 2008 5:00 pm

Re: Websvn

Postby bjovesom » Wed Nov 05, 2008 9:45 pm

Never mind. It was a configuration error in websvn. It reported the same exception ac before so I thought the fix you found didn't work. Anyway, many thanks to you... :D
bjovesom
Trainee
Trainee
 
Posts: 12
Joined: Mon Oct 13, 2008 5:00 pm

Re: Websvn

Postby menrone » Sun Nov 09, 2008 11:55 am

Hai bjovesom :D,

i thought everything was fine but no :( . The RSS feeds works fine but when the contents must be shown nothing seems to works. There is no error message but the files are not created by svn. When I execute the svn command (created by Websvn) on the CLI it works perfect but when this executed from within websvn all commands of svn seem to fake a correct process.

Do you or anyone have a idea what's going wrong?

Thanks
menrone
Trainee
Trainee
 
Posts: 10
Joined: Sat Nov 01, 2008 6:24 pm

No error and no results

Postby menrone » Sun Nov 09, 2008 12:03 pm

Hello,

I've installed subversion (SVN) en Websvn (php-based) om my DS-107+. I thought everything was fine but no :( . The RSS feeds works fine but when contents must be shown nothing seems to works. When I execute the svn command (created by Websvn) on the CLI it works perfect but when this command is executed from within websvn (i.e. php) all commands of svn seem to fake (??) a correct process. I added the svn folder to the open_basedir property of the php.ini but didn't work.

Dooes anyone have a idea what's going wrong?

Thanks
menrone
Trainee
Trainee
 
Posts: 10
Joined: Sat Nov 01, 2008 6:24 pm

Re: Websvn

Postby bjovesom » Sun Nov 09, 2008 2:33 pm

menrone wrote:Hai bjovesom :D,

i thought everything was fine but no :( . The RSS feeds works fine but when the contents must be shown nothing seems to works. There is no error message but the files are not created by svn. When I execute the svn command (created by Websvn) on the CLI it works perfect but when this executed from within websvn all commands of svn seem to fake a correct process.

Do you or anyone have a idea what's going wrong?

Thanks


Hi

I had the same problem, and the solution is a bit odd (to me). In php.ini, remove "/usr/syno/bin" from the property "safe_mode_execdir". Safe mode is not on in my php.ini, but this solves the problem. I don't know if you have already done it, but you have to install diff-tool to allow websvn to diff versions.

Hope this helps..
bjovesom
Trainee
Trainee
 
Posts: 12
Joined: Mon Oct 13, 2008 5:00 pm

Re: Websvn

Postby menrone » Sun Nov 09, 2008 2:54 pm

Many thanks for your advises but changing save_mode_exec_dir didn't solved the problem. And I had diff-tools already installed. I think I'm going to start again from scratch but without authorization. Maybe this is the problems, who knows.

Greetings
menrone
Trainee
Trainee
 
Posts: 10
Joined: Sat Nov 01, 2008 6:24 pm

Re: Websvn

Postby bjovesom » Sun Nov 09, 2008 3:56 pm

Did you restart apache after changing php.ini?
bjovesom
Trainee
Trainee
 
Posts: 12
Joined: Mon Oct 13, 2008 5:00 pm

Next

Return to Subversion Server

Who is online

Users browsing this forum: No registered users and 0 guests