Project

General

Profile

Actions

Defect #19336

closed

SCM url cannot change if repository is not empty

Added by xuchun sang over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
SCM
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

svn url error target

Redmine 2.6.0 Feign death,Redmine can't enter.

Environment:
Redmine version 2.6.0.stable
Ruby version 2.0.0-p481 (2014-05-08) [i386-mingw32]
Rails version 3.2.19
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Git 1.9.0
Filesystem
Redmine plugins:
projects_treeview 0.0.3-78

Actions #1

Updated by Toshi MARUYAMA over 9 years ago

  • Category set to SCM

Please describe more details.
URL character restriction is design.
source:tags/2.6.2/app/models/repository.rb#L44

Actions #2

Updated by Toshi MARUYAMA over 9 years ago

  • Status changed from New to Needs feedback
Actions #3

Updated by xuchun sang over 9 years ago

I changed the original server, SVN address points to the old server,click Repository web page feign death。

After a period of time

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /redmine/projects/XXXXXX/repository.

Reason: Error reading from remote server

----------------------------------------
And then refresh the page can not login

restart all server,Restart all the services restored

Actions #4

Updated by Toshi MARUYAMA over 9 years ago

  • Priority changed from High to Normal

Because Redmine does not allow to change URL on non empty repository,
you need to change URL on database by hand.

"url" and "root_url" fields of "repositories" table.

Actions #5

Updated by xuchun sang over 9 years ago

"url" and "root_url" fields of "repositories" table.

table is mysql' ? I is can't finded.

Actions #6

Updated by Toshi MARUYAMA over 9 years ago

  • Priority changed from Normal to Low

xuchun sang wrote:

table is mysql' ?

Yes.

Actions #7

Updated by xuchun sang over 9 years ago

I can modify url root_url.

right url is no issue.

but if project member input error url,The above error will Exist。

so issue is no resolved。

tks !

Actions #8

Updated by Toshi MARUYAMA over 9 years ago

  • Status changed from Needs feedback to Closed
  • Resolution set to Invalid

Please use forum for technical questions.
We cannot support individual environments.

Actions #9

Updated by xuchun sang over 9 years ago

  • Status changed from Closed to Reopened

Sorry, I think this is a big bug!!

Actions #10

Updated by Toshi MARUYAMA over 9 years ago

  • Subject changed from svn url error, Redmine 2.6.0 Feign death to SCM url cannot change if repository is not empty
  • Status changed from Reopened to Closed
  • Resolution changed from Invalid to Wont fix

"SCM url cannot change if repository is not empty" is design.
Redmine does not store Subversion UUID.
There is a few benefit in spite of many works.

Actions #11

Updated by xuchun sang over 9 years ago

Toshi MARUYAMA wrote:

"SCM url cannot change if repository is not empty" is design.
Redmine does not store Subversion UUID.
There is a few benefit in spite of many works.

error svn url can set forbidden or limit modify。

Svn url error,redmine need show message to users,Allow the user to disable error repository。

but My issue :Redmine dead.

Actions #12

Updated by xuchun sang over 9 years ago

  • Status changed from Closed to Reopened

Dear Sir:

You understand the error, SVN URL error cause the server to crash,

I have to restart the service to enter the redmine, so this is bug. 

Please re evaluate this problem. Tks!
Actions #13

Updated by Toshi MARUYAMA over 9 years ago

  • Status changed from Reopened to Closed

Again, we cannot support individual environments.
I don't know why you changed Subversion URL.
If you changed Subversion URL, you need to change all subversion client which checked out old repository.
In this case, you should use DNS.

Actions #14

Updated by xuchun sang over 9 years ago

production.log

Output was:
 <?xml version="1.0" encoding="UTF-8"?>
<lists>
<list
   path="http://192.168.88.76:8443/svn/XXXX">

  Rendered common/error.html.erb within layouts/base (0.0ms)
Completed 500 Internal Server Error in 781015.4ms

When we add the SVN repository, we inevitably input error condition, when the input error, after storage, the server will stop, everyone can not login redmine。

admin add svn repository is normal work,The server stop is not allowed。

Actions #15

Updated by xuchun sang over 9 years ago

Resolved :

svn url Form Http:// change file:/// all ok.

tks!

Actions

Also available in: Atom PDF