Project

General

Profile

Issue Importer Plugin

Added by Doug Maurer about 11 years ago

Absolute newbie here ...
Environment:
Redmine version 2.3.3.stable
Ruby version 1.9.3-p448 (2013-06-27) [i386-mingw32]
Rails version 3.2.13
Environment development
Database adapter SQLServer
Redmine plugins:
redmine_importer 1.0

gem list:
actionmailer (3.2.13)
actionpack (3.2.13)
activemodel (3.2.16, 3.2.13)
activerecord (3.2.16, 3.2.13)
activerecord-sqlserver-adapter (3.2.12)
activeresource (3.2.13)
activesupport (3.2.16, 3.2.13)
arel (3.0.3)
bigdecimal (1.1.0)
builder (3.0.4, 3.0.0)
bundle (0.0.1)
bundler (1.3.5)
capybara (2.0.3)
childprocess (0.3.9)
coderay (1.0.9)
erubis (2.7.0)
fastercsv (1.5.5)
ffi (1.9.3 x86-mingw32)
hike (1.2.3)
i18n (0.6.9, 0.6.1)
io-console (0.3)
journey (1.0.4)
jquery-rails (2.0.3)
json (1.8.1, 1.5.5)
mail (2.5.4)
metaclass (0.0.1)
mime-types (1.25.1)
minitest (2.5.1)
mocha (0.13.3)
multi_json (1.8.2)
net-ldap (0.3.1)
nokogiri (1.5.10 x86-mingw32)
polyglot (0.3.3)
rack (1.4.5)
rack-cache (1.2)
rack-openid (1.4.1)
rack-ssl (1.3.3)
rack-test (0.6.2)
rails (3.2.13)
railties (3.2.13)
rake (10.1.0, 0.9.2.2)
rdoc (3.12.2, 3.9.5)
ruby-openid (2.3.0)
rubyzip (0.9.9)
selenium-webdriver (2.35.1)
shoulda (3.3.2)
shoulda-context (1.0.2)
shoulda-matchers (1.4.1)
sprockets (2.2.2)
thor (0.18.1)
tilt (1.4.1)
tiny_tds (0.5.1 x86-mingw32)
treetop (1.4.15)
tzinfo (0.3.38)
websocket (1.0.7)
xpath (1.0.0)
yard (0.8.7.3)

I have been asked by my outside developers to setup a local Redmine install and import their issues into my setup. I have the issue importer plugin showing up in the install. I have checked the box in the project modules. When I navigate to the project now, I get "page cannot be found". I think the db:migrate did not run or something.

The only thing I know about ruby and rails is what I have been trying to find in the past 4 hours I have spent trying to get this working.

Can someone please help me get this working so I can import the issue list from my developers? Worst case, can I get redmine back to normal and I will type them in manually.

Thanks!


Replies (33)

RE: Issue Importer Plugin - Added by Jérôme BATAILLE about 11 years ago

you have to run the plugin migrations :

rake redmine:plugins:migrate

RE: Issue Importer Plugin - Added by Doug Maurer about 11 years ago

This is what I get when running the command.

error.png (8.56 KB) error.png

RE: Issue Importer Plugin - Added by Jérôme BATAILLE about 11 years ago

You have to do it at the root of you Redmine

If you want to do it with your production environment :
type before :
export RAILS_ENV=production

RE: Issue Importer Plugin - Added by Doug Maurer about 11 years ago

I run the command and get this as the result.

Then I go to the project and activate the "importer" module and then instantly I get the 404 error for the project page - see second image.

RE: Issue Importer Plugin - Added by Jérôme BATAILLE about 11 years ago

Do you have the Import permission for the module Importer

RE: Issue Importer Plugin - Added by Doug Maurer about 11 years ago

Good point ... my login is listed as an admin but I still went and set the permissions for all user types (manager, developer, etc.) to allow Importer. Still getting 404 error. Should I try on a new project and test that way?

RE: Issue Importer Plugin - Added by Doug Maurer about 11 years ago

I just tried creating a new project and checked Importer and got the 404.

RE: Issue Importer Plugin - Added by Jérôme BATAILLE about 11 years ago

As an admin you should have access to the import.

Can you give the URL leading to 404, perhaps it's not linked to the plugin.
Put it outside /plugins, and restart Rails to check.

RE: Issue Importer Plugin - Added by Doug Maurer about 11 years ago

At this point I might just re-type the issues ... is there a different plugin or different method you recommend?

I know nothing about ruby, rails, etc. so all this stuff is beyond my skill set.

RE: Issue Importer Plugin - Added by Jérôme BATAILLE about 11 years ago

Last chance, extract of the log file the traces generated by the request

File located in logs/production.log

From : Started GET ...
To : Completed 404 ...

RE: Issue Importer Plugin - Added by Doug Maurer about 11 years ago

Ok .. looking ... my redmine Info is showing development mode ... how do I change to production?

So, look in the development log for the errors?

RE: Issue Importer Plugin - Added by Jérôme BATAILLE about 11 years ago

Do you use passenger ?

And yes development.log.
So restart the migrations of the plugins in a new console :
echo $RAILS_ENV should display :

RAILS_ENV=

RE: Issue Importer Plugin - Added by Doug Maurer about 11 years ago

What is passenger?

echo just gives "$RAILS_ENV"

RE: Issue Importer Plugin - Added by Jérôme BATAILLE about 11 years ago

Doug Maurer wrote:

What is passenger?

An applicative proxy for rails

How your apache / nginx is configured ?

echo just gives "$RAILS_ENV"

ok migrations will operate on dev envt.

you have to redo de plugins migrations

RE: Issue Importer Plugin - Added by Doug Maurer about 11 years ago

This is running on Windows 2008 R2 ... used the WPI installer for this whole install.

Can I change mode to Production and get everything running that way?

RE: Issue Importer Plugin - Added by Jérôme BATAILLE about 11 years ago

Doug Maurer wrote:

This is running on Windows 2008 R2 ... used the WPI installer for this whole install.

Okay I don't know how to change the with your web server.

Can I change mode to Production and get everything running that way?

Yes if you know how :-)

Question : in which console do you type your commands ?

RE: Issue Importer Plugin - Added by Doug Maurer about 11 years ago

I went start/programs/ruby/ ... "start command prompt with ruby" and typed the command

I probably could have typed in the issues by now considering the couple of days I have been playing with this.

RE: Issue Importer Plugin - Added by Jérôme BATAILLE about 11 years ago

Doug Maurer wrote:

I went start/programs/ruby/ ... "start command prompt with ruby" and typed the command

Okay this must be a linux like command prompt
So what displays typing : export ?

if it's not a recognized command I have no explanation.

if yes you can retry :

rake redmine:plugins:migrate

I probably could have typed in the issues by now considering the couple of days I have been playing with this.

perhaps, but anyways, you had to try it :-)

RE: Issue Importer Plugin - Added by Doug Maurer about 11 years ago

not recognized.

trying rake:redmine:plugins rails_env=development now ...

RE: Issue Importer Plugin - Added by Doug Maurer about 11 years ago

Didn't work ... I'm just going to re-type them.

How do I remove this plugin now?

Thank you so much for your patience and help!

RE: Issue Importer Plugin - Added by Jérôme BATAILLE about 11 years ago

Doug Maurer wrote:

Didn't work ... I'm just going to re-type them.

rake:redmine:plugins:migrate rails_env=development

How do I remove this plugin now?

move redmine_importer outside plugins/

(by the way, the directory must be named redmine_importer exactly)

Thank you so much for your patience and help!

You're welcome

RE: Issue Importer Plugin - Added by Doug Maurer about 11 years ago

The folder is named redmine_importer-master

Is that the problem?

RE: Issue Importer Plugin - Added by Doug Maurer about 11 years ago

I don't want to give up yet ... can you walk me through removing it completely and then installing it one more time?

(1-25/33)