Redmine with Remotely hosted Subversion

Added by Krunal Jariwala about 7 years ago

Referring to this page...http://www.redmine.org/projects/redmine/wiki/RedmineRepositories

What it means by this:

Note 1 : the appropriate binaries must be installed on the same host as Redmine.

For example, if you want to access Subversion repositories in Redmine, you'll have to install the svn binaries on the Redmine host.


I want to host Redmine on Remote Server and Subversion on another server. Can I still use Subversion integration with RedMine? And what happens when the server hosting Redmine is down for some reason? Will the users still able to access it ( I don't mean they are able to refresh it)?

Please advise.

Replies (10)

RE: Redmine with Remotely hosted Subversion - Added by Ivan Cenov about 7 years ago

You may have Redmine on one server and Subversion on another server. You have to install Subversion client side binaries (svn.exe etc.) on Redmine's server and server side on another server.

If Redmine server goes down but SVN server is still up, the users may access the SVN repositories using the Subversion clients installed on their own PC's.

RE: Redmine with Remotely hosted Subversion - Added by Krunal Jariwala about 7 years ago

Okay, can you help me how to install Subversion client side binaries only?

And what if SVN server goes down, Does Redmine still able show code commits if SVN is down, or what?

RE: Redmine with Remotely hosted Subversion - Added by Ivan Cenov about 7 years ago

See http://www.collab.net/downloads/subversion. If you are running Windows, Subversion 1.7.6 (Windows 32-bit) or Subversion 1.7.6 (Windows 64-bit) would be appropriate for you. I remember that there were client-only downloads at this place but cannot see them now. So, try above and see if there is an option to install client only. If there is not such option, you probably have to install client&server and just not use server afterwards.

If SVN server goes down .... I am not sure ... but I know that Redmine keeps copy of SVN revisions (log messages and changesets) so it will show logs. However, it will not perform 'diffs' and 'view files' because it have to interrogate the SVN server.

RE: Redmine with Remotely hosted Subversion - Added by Krunal Jariwala about 7 years ago

Hey thanks for this help.

Do you know how to replicate local subversion repository to a remote subversion repository? This might be good to keep both copy synchronize if I need to install subversion server on remote host as well.

RE: Redmine with Remotely hosted Subversion - Added by Ivan Cenov about 7 years ago

Replication, yes it is possible in several ways. I particularly use svnsync. This is client side program. Just do:
  1. Setup somewhere SVN server and go there.
  2. Create a repository that will be a replication (synchronization) repository.
  3. Execute 'svnsync init destination_url source_url' # this links both repos
  4. Then regularly execute 'svnsync sync destination_url' # par example using Windows scheduler and this will bring newly created revisions into the synchronization URL. This is cheap operation because it is incremental.

Keep sync repos away from user access because they should not be changed with regular commits.

RE: Redmine with Remotely hosted Subversion - Added by Krunal Jariwala about 7 years ago

thanks, this is great.

One more question...

--- the appropriate binaries must be installed on the same host as Redmine.

Does this applies to the Git as well, suppose if we decide to use Git instead of Subversion? Because Git already provide distributed repositories... what do you suggest?

RE: Redmine with Remotely hosted Subversion - Added by Ivan Cenov about 7 years ago

I don't have experience with git.... I don't know if there is something like client and server separately in git.

P.S. People say that git is much better than SVN though.

RE: Redmine with Remotely hosted Subversion - Added by Steffen B. almost 7 years ago

i think this way with a replication (synchronization) repository is a workaround and not realy good. Redmine should access a remote SVN normaly without a manual created local Repository

RE: Redmine with Remotely hosted Subversion - Added by Ivan Cenov almost 7 years ago

Steffen B. wrote:

i think this way with a replication (synchronization) repository is a workaround and not realy good. Redmine should access a remote SVN normaly without a manual created local Repository

Redmine is absolutely capable to access remote SVN repositories.

RE: Redmine with Remotely hosted Subversion - Added by Steffen B. almost 7 years ago

@Ivan: how ??? local svns works fine, external SVNs are a waste of time for research ... see here please: http://www.redmine.org/issues/11318

(1-10/10)