You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Perry Glikman <Pe...@ecitele.com> on 2009/03/02 06:46:29 UTC

Migration of SVN repository

Hi,
I am new to SVN and would appreciate any ideas you might have concerning the following scenario.
We need to migrate SVN repository from one site to the other. We tried a simple copy but we got error messages detailed in here http://svn.collab.net/repos/svn/trunk/notes/repos_upgrade_HOWTO - so we decided to follow the 'upgrade' procedure and migrated a dump file.
The problem now is that after this upgrade, when trying to view the repository via Internet Explorer we are prompted to give user name and password and after that we get "The page cannot be displayed" message (HTTP 500 Internal server error).
P.S - this did not happen in the copied repository.

P  Let's think about the environment...and think before we print
Thanks,
Perry

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1254771

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Migration of SVN repository

Posted by "Mihamina Rakotomandimby (R12y)" <mi...@lab.vectoris.fr>.
Ryan Schmidt wrote:
> How is Apache set up on the new server? Can you show us the snippet  
> from your httpd.conf? Where is the new repository on disk? What  
> version of Subversion is being used? What OS is on the server?

+ the .htaccess files is any AllowOverride enabled....

-- 
                              Chef de projet chez Vectoris
                                  Phone: +261 33 11 207 36
System: xUbuntu 8.10 with almost all from package install
    http://www.google.com/search?q=mihamina+rakotomandimby

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1255074

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Migration of SVN repository

Posted by Perry Glikman <Pe...@ecitele.com>.
Thanks Ryan, it worked!

P  Let's think about the environment...and think before we print
Thanks,
Perry

-----Original Message-----
From: Ryan Schmidt [mailto:subversion-2009a@ryandesign.com] 
Sent: Monday, March 02, 2009 12:25 PM
To: Perry Glikman
Cc: Subversion Users
Subject: Re: Migration of SVN repository

A dump file is independent of the repository type. You can dump a BDB  
repository and load it into a new FSFS repository for example. Any  
new repository you "svnadmin create" with Subversion 1.2 or later is  
FSFS by default. So you either created the new repository with  
Subversion 1.1 or earlier, or you specifically asked for it to be a  
BDB repository by typing "svnadmin create --fs-type bdb"

P.S: Use Reply All so your reply goes to the list too, not just to me.

On Mar 2, 2009, at 02:36, Perry Glikman wrote:

> I've installed the SVN server of Collabnet and saw in their README  
> file:
> "CollabNet Subversion does not support BDB. CollabNet recommends  
> FSFS over BDB
> for ease of maintenance and supportability."
>
> So I guess the repository dump file is appropriate only for SVN  
> servers that
> support BDB. Is there a way to override this without re-installing  
> the SVN server
> over BDB?
>
> P  Let's think about the environment...and think before we print
> Thanks,
> Perry
>
> -----Original Message-----
> From: Perry Glikman
> Sent: Monday, March 02, 2009 10:14 AM
> To: 'Ryan Schmidt'
> Subject: RE: Migration of SVN repository
>
> Hi Ryan,
> Thanks for the quick response!
> Below you can find snippet from http.conf and other configuration  
> files but I must say that
> on the same server we have other repositories that work fine so I  
> don't believe
> it is Apache problem.
>
> Anyhow here is the Apache error log:
>  (20014)Internal error: Unknown FS type 'bdb'
>  Could not fetch resource information.  [500, #0]
>  Could not open the requested SVN filesystem  [500, #160033]
>  Could not open the requested SVN filesystem  [500, #160033]
>
> And here is a snippet from httpd.conf:
> ServerRoot "/"
> LoadModule python_module      opt/CollabNet_Subversion/modules/ 
> mod_python.so
> LoadModule dav_svn_module     opt/CollabNet_Subversion/modules/ 
> mod_dav_svn.so
> LoadModule authz_svn_module   opt/CollabNet_Subversion/modules/ 
> mod_authz_svn.so
> <IfModule !mpm_netware_module>
> <IfModule !mpm_winnt_module>
> User daemon
> Group daemon
> </IfModule>
> </IfModule>
> ServerName perryg-linux.ecitele.com:80
> Listen 80
> <IfModule ssl_module>
> SSLRandomSeed startup builtin
> SSLRandomSeed connect builtin
> </IfModule>
>
> User csvn
> Group csvn
> <Location /svn>
>   DAV svn
>   SVNParentPath /var/svn/repositories
>   SVNPathAuthz off
>   Require valid-user
>   AuthType Basic
>   AuthName "Subversion repository"
>   AuthUserFile //etc/opt/CollabNet_Subversion/conf/svn_auth_file
> </Location>
>
>
>
> P  Let's think about the environment...and think before we print
> Thanks,
> Perry
>
> -----Original Message-----
> From: Ryan Schmidt [mailto:subversion-2009a@ryandesign.com]
> Sent: Monday, March 02, 2009 9:22 AM
> To: Perry Glikman
> Cc: users@subversion.tigris.org
> Subject: Re: Migration of SVN repository
>
>
> On Mar 2, 2009, at 00:46, Perry Glikman wrote:
>
>> I am new to SVN and would appreciate any ideas you might have
>> concerning the following scenario.
>> We need to migrate SVN repository from one site to the other. We
>> tried a simple copy but we got error messages detailed in here
>> http://svn.collab.net/repos/svn/trunk/notes/repos_upgrade_HOWTO -
>> so we decided to follow the 'upgrade' procedure and migrated a dump
>> file.
>> The problem now is that after this upgrade, when trying to view the
>> repository via Internet Explorer we are prompted to give user name
>> and password and after that we get "The page cannot be displayed"
>> message (HTTP 500 Internal server error).
>> P.S - this did not happen in the copied repository.
>
> How is Apache set up on the new server? Can you show us the snippet
> from your httpd.conf? Where is the new repository on disk? What
> version of Subversion is being used? What OS is on the server?
>
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1256166

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


Re: Migration of SVN repository

Posted by Ryan Schmidt <su...@ryandesign.com>.
A dump file is independent of the repository type. You can dump a BDB  
repository and load it into a new FSFS repository for example. Any  
new repository you "svnadmin create" with Subversion 1.2 or later is  
FSFS by default. So you either created the new repository with  
Subversion 1.1 or earlier, or you specifically asked for it to be a  
BDB repository by typing "svnadmin create --fs-type bdb"

P.S: Use Reply All so your reply goes to the list too, not just to me.

On Mar 2, 2009, at 02:36, Perry Glikman wrote:

> I've installed the SVN server of Collabnet and saw in their README  
> file:
> "CollabNet Subversion does not support BDB. CollabNet recommends  
> FSFS over BDB
> for ease of maintenance and supportability."
>
> So I guess the repository dump file is appropriate only for SVN  
> servers that
> support BDB. Is there a way to override this without re-installing  
> the SVN server
> over BDB?
>
> P  Let's think about the environment...and think before we print
> Thanks,
> Perry
>
> -----Original Message-----
> From: Perry Glikman
> Sent: Monday, March 02, 2009 10:14 AM
> To: 'Ryan Schmidt'
> Subject: RE: Migration of SVN repository
>
> Hi Ryan,
> Thanks for the quick response!
> Below you can find snippet from http.conf and other configuration  
> files but I must say that
> on the same server we have other repositories that work fine so I  
> don't believe
> it is Apache problem.
>
> Anyhow here is the Apache error log:
>  (20014)Internal error: Unknown FS type 'bdb'
>  Could not fetch resource information.  [500, #0]
>  Could not open the requested SVN filesystem  [500, #160033]
>  Could not open the requested SVN filesystem  [500, #160033]
>
> And here is a snippet from httpd.conf:
> ServerRoot "/"
> LoadModule python_module      opt/CollabNet_Subversion/modules/ 
> mod_python.so
> LoadModule dav_svn_module     opt/CollabNet_Subversion/modules/ 
> mod_dav_svn.so
> LoadModule authz_svn_module   opt/CollabNet_Subversion/modules/ 
> mod_authz_svn.so
> <IfModule !mpm_netware_module>
> <IfModule !mpm_winnt_module>
> User daemon
> Group daemon
> </IfModule>
> </IfModule>
> ServerName perryg-linux.ecitele.com:80
> Listen 80
> <IfModule ssl_module>
> SSLRandomSeed startup builtin
> SSLRandomSeed connect builtin
> </IfModule>
>
> User csvn
> Group csvn
> <Location /svn>
>   DAV svn
>   SVNParentPath /var/svn/repositories
>   SVNPathAuthz off
>   Require valid-user
>   AuthType Basic
>   AuthName "Subversion repository"
>   AuthUserFile //etc/opt/CollabNet_Subversion/conf/svn_auth_file
> </Location>
>
>
>
> P  Let's think about the environment...and think before we print
> Thanks,
> Perry
>
> -----Original Message-----
> From: Ryan Schmidt [mailto:subversion-2009a@ryandesign.com]
> Sent: Monday, March 02, 2009 9:22 AM
> To: Perry Glikman
> Cc: users@subversion.tigris.org
> Subject: Re: Migration of SVN repository
>
>
> On Mar 2, 2009, at 00:46, Perry Glikman wrote:
>
>> I am new to SVN and would appreciate any ideas you might have
>> concerning the following scenario.
>> We need to migrate SVN repository from one site to the other. We
>> tried a simple copy but we got error messages detailed in here
>> http://svn.collab.net/repos/svn/trunk/notes/repos_upgrade_HOWTO -
>> so we decided to follow the 'upgrade' procedure and migrated a dump
>> file.
>> The problem now is that after this upgrade, when trying to view the
>> repository via Internet Explorer we are prompted to give user name
>> and password and after that we get "The page cannot be displayed"
>> message (HTTP 500 Internal server error).
>> P.S - this did not happen in the copied repository.
>
> How is Apache set up on the new server? Can you show us the snippet
> from your httpd.conf? Where is the new repository on disk? What
> version of Subversion is being used? What OS is on the server?
>
>
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1255671

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Migration of SVN repository

Posted by Ryan Schmidt <su...@ryandesign.com>.
On Mar 2, 2009, at 00:46, Perry Glikman wrote:

> I am new to SVN and would appreciate any ideas you might have  
> concerning the following scenario.
> We need to migrate SVN repository from one site to the other. We  
> tried a simple copy but we got error messages detailed in here  
> http://svn.collab.net/repos/svn/trunk/notes/repos_upgrade_HOWTO -  
> so we decided to follow the 'upgrade' procedure and migrated a dump  
> file.
> The problem now is that after this upgrade, when trying to view the  
> repository via Internet Explorer we are prompted to give user name  
> and password and after that we get "The page cannot be displayed"  
> message (HTTP 500 Internal server error).
> P.S – this did not happen in the copied repository.

How is Apache set up on the new server? Can you show us the snippet  
from your httpd.conf? Where is the new repository on disk? What  
version of Subversion is being used? What OS is on the server?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1254888

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].