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.
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
- Status changed from New to Needs feedback
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
- 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.
"url" and "root_url" fields of "repositories" table.
table is mysql' ? I is can't finded.
- Priority changed from Normal to Low
xuchun sang wrote:
table is mysql' ?
Yes.
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 !
- Status changed from Needs feedback to Closed
- Resolution set to Invalid
Please use forum for technical questions.
We cannot support individual environments.
- Status changed from Closed to Reopened
Sorry, I think this is a big bug!!
- 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.
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.
- 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!
- 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.
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。
Resolved :
svn url Form Http:// change file:/// all ok.
tks!
Also available in: Atom
PDF