Defect #19336
closedSCM url cannot change if repository is not empty
0%
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
Updated by Toshi MARUYAMA almost 10 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
Updated by Toshi MARUYAMA almost 10 years ago
- Status changed from New to Needs feedback
Updated by xuchun sang almost 10 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
Updated by Toshi MARUYAMA almost 10 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.
Updated by xuchun sang almost 10 years ago
"url" and "root_url" fields of "repositories" table.
table is mysql' ? I is can't finded.
Updated by Toshi MARUYAMA almost 10 years ago
- Priority changed from Normal to Low
xuchun sang wrote:
table is mysql' ?
Yes.
Updated by xuchun sang almost 10 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 !
Updated by Toshi MARUYAMA almost 10 years ago
- Status changed from Needs feedback to Closed
- Resolution set to Invalid
Please use forum for technical questions.
We cannot support individual environments.
Updated by xuchun sang almost 10 years ago
- Status changed from Closed to Reopened
Sorry, I think this is a big bug!!
Updated by Toshi MARUYAMA almost 10 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.
Updated by xuchun sang almost 10 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.
Updated by xuchun sang almost 10 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!
Updated by Toshi MARUYAMA almost 10 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.
Updated by xuchun sang almost 10 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。
Updated by xuchun sang almost 10 years ago
Resolved :
svn url Form Http:// change file:/// all ok.
tks!