Project

General

Profile

Installed and uninstalled redmine_questions

Added by Mehdi Guermazi over 11 years ago

Hi

I isntalled the plugin redmine_questions 0.0.4 with redmine 2.3.0 it was successful... but i got some issues with the plugin when i want to show a specific board it goes with an internal error 500.
So I decided to uninstall it...
I did this command
rake redmine:plugins:migrate NAME=redmine_questions VERSION=0 RAILS_ENV=production
and this
rm -R plungins/redmine_questions
and I restarted the app with this :
touch tmp/restart.txt

But now I can't access the forum anymore... when I check the log file :
Started GET "/projects/strategie-et-organisation/boards" for 197.15.65.76 at Mon May 06 04:27:50 -0700 2013
Processing by BoardsController#index as HTML
Parameters: {"project_id"=>"strategie-et-organisation"}
Current user: admin (id=1)
Rendered plugins/redmine_questions/app/views/questions/_notice.html.erb (1.2ms)
Rendered plugins/redmine_questions/app/views/questions/_tag_cloud.html.erb (38.7ms)
Rendered plugins/redmine_questions/app/views/questions/_forums.html.erb (385.8ms)
Rendered plugins/redmine_questions/app/views/boards/index.html.erb within layouts/base (387.8ms)
Missing template, responding with 404
Rendered common/error.html.erb within layouts/base (0.2ms)
Completed 404 Not Found in 539ms (Views: 17.6ms | ActiveRecord: 321.8ms)

So it's still calling the uninstalled plugin... is there a cache or something?


Replies (4)

RE: Installed and uninstalled redmine_questions - Added by Jean-Baptiste Barth over 11 years ago

If it's a real copy/paste, you have a problem in your "rm" command:

rm -R plungins/redmine_questions

You wrote "plungins" instead of "plugins", so the plugins was probably not removed.

RE: Installed and uninstalled redmine_questions - Added by Mehdi Guermazi over 11 years ago

No it was not a copy paste and the folder is really gone...
I did not do anything and now it's working... it's a cache somewhere... in redmine or in the server I don't know... it's not the first time I do something and it change only 1 day after...
Is there any kind of cache and how can I empty it?

RE: Installed and uninstalled redmine_questions - Added by Jean-Baptiste Barth over 11 years ago

Redmine doesn't use much cache, it only caches fragments of activities and large diffs, but doesn't cache anything in boards if I'm not mistaken. By the way, you say you restarted the application by doing "touch tmp/restart.txt", be sure it has effectively restarted your application :
  • if you're using something like passenger, some tunnings may affect the interval at which passenger looks at this file. On my production settings it looks the file every 3 mins, so when I "touch" I'm not sure the server will be restarted before 3 mins
  • if you're using something more traditional for hosting (like mongrel or fcgi) this step might not be sufficient ; see the doc of your favorite tool

RE: Installed and uninstalled redmine_questions - Added by Mehdi Guermazi over 11 years ago

Ok thank's... I use Passenger but it's not on my own server... it's on Dreamhost so I can't be sure how much time it takes to passenger to verify the file.

Thank you very much

    (1-4/4)