problem selecting a repository kind

Added by thomas bo over 9 years ago

Dear list,

yesterday I realized, that I can not set a repo type anymore.
what I got under admin > configuration -> archive -> activated ...
is the plain html :
---------------8<------------------------

<label class="block"><input id="settings_enabled_scm_" name="settings[enabled_scm][]" type="checkbox" value="Subversion" />Subversion</label><label class="block"><input id="settings_enabled_scm_" name="settings[enabled_scm][]" type="checkbox" value="Darcs" />Darcs</label><label class="block"><input id="settings_enabled_scm_" name="settings[enabled_scm][]" type="checkbox" value="Mercurial" />Mercurial</label><label class="block"><input id="settings_enabled_scm_" name="settings[enabled_scm][]" type="checkbox" value="Cvs" />Cvs</label><label class="block"><input id="settings_enabled_scm_" name="settings[enabled_scm][]" type="checkbox" value="Bazaar" />Bazaar</label><label class="block"><input id="settings_enabled_scm_" name="settings[enabled_scm][]" type="checkbox" value="Git" />Git</label><label class="block"><input id="settings_enabled_scm_" name="settings[enabled_scm][]" type="checkbox" value="Filesystem" />Filesystem</label>
---------------8<-------------------------

Can anyone help me?

regards
Th.

Replies (7)

RE: problem selecting a repository kind - Added by thomas bo over 9 years ago

thomas bo wrote:

Dear list,

yesterday I realized, that I can not set a repo type anymore.
what I got under admin > configuration -> archive -> activated ...
is the plain html :
---------------8<------------------------

<label class="block"><input id="settings_enabled_scm_" name="settings[enabled_scm][]" type="checkbox" value="Subversion" />Subversion</label><label class="block"><input id="settings_enabled_scm_" name="settings[enabled_scm][]" type="checkbox" value="Darcs" />Darcs</label><label class="block"><input id="settings_enabled_scm_" name="settings[enabled_scm][]" type="checkbox" value="Mercurial" />Mercurial</label><label class="block"><input id="settings_enabled_scm_" name="settings[enabled_scm][]" type="checkbox" value="Cvs" />Cvs</label><label class="block"><input id="settings_enabled_scm_" name="settings[enabled_scm][]" type="checkbox" value="Bazaar" />Bazaar</label><label class="block"><input id="settings_enabled_scm_" name="settings[enabled_scm][]" type="checkbox" value="Git" />Git</label><label class="block"><input id="settings_enabled_scm_" name="settings[enabled_scm][]" type="checkbox" value="Filesystem" />Filesystem</label>
---------------8<-------------------------

Can anyone help me?

regards
Th.

Maybe this was the case since I installed redmine on the server but
now I don't have entries in the selectbox where I could set the repo type
before

Thanks in advance
Th.

RE: problem selecting a repository kind - Added by Felix Schäfer over 9 years ago

You probably have wrong versions of rails and rack installed, make sure redmine runs on rails 2.3.5 and rack 1.0.1.

RE: problem selecting a repository kind - Added by thomas bo over 9 years ago

Felix Schäfer wrote:

You probably have wrong versions of rails and rack installed, make sure redmine runs on rails 2.3.5 and rack 1.0.1.

Thanx for fast reply!
I (now) have installed the rack 1.0.1
and upgraded rails to 3.0.0 (I run gem update)
it's just the same; I already can not choose the repo type).

Do I have to run further processes concerning
redmine after update (I simply executed ruby script/server webrick -d -e production)?

Or do I have to use strictly 2.3.5 ?

Sorry for probably stupid questions, I'm not familiar with ror ...

Best regards
Th.

RE: problem selecting a repository kind - Added by Felix Schäfer over 9 years ago

thomas bo wrote:

Or do I have to use strictly 2.3.5 ?

Yes, see RedmineInstall.

RE: problem selecting a repository kind - Added by thomas bo over 9 years ago

Felix Schäfer wrote:

thomas bo wrote:

Or do I have to use strictly 2.3.5 ?

Yes, see RedmineInstall.

Ok;
I have now installed the correct versions of Rack an Rails
and I still got what you see in the attached screen shot:

It is not possible to select the repo type ...

What can I do?

selRepo.png (18 KB)

RE: problem selecting a repository kind - Added by Felix Schäfer over 9 years ago

Enable the SCMs you want to use in the global settings (under administration), see RedmineSettings.

RE: problem selecting a repository kind - Added by thomas bo over 9 years ago

Felix Schäfer wrote:

Enable the SCMs you want to use in the global settings (under administration), see RedmineSettings.

yes, this was my origin problem...

finally I got it after applying the patch suggested
in http://www.redmine.org/issues/5608

the main problem was (I guess) a wrong rails version;
which I was "infected" using zypper up ...

What I have further overseen is the fact, that one can have several
versions of e.g. rails on the system.

Now everything is fine
Thank you very much
Th.

(1-7/7)