[solved]Redmine 2.0 SVN Update -> Redmine Information doesnt get updated
Added by Markus Buchner over 12 years ago
Hi,
I am quite new to redmine and ruby but i managed to setup an instance.
We did it via SVN checkout (Redmine Version 2.0.0-stable)
The problem is that under "Administation -> Information" the version was "Redmine 1.3.2.stable (MySQL)"
So we thought its a bug and decided to update to 2.0.3 -> but we still see "Redmine 1.3.2.stable (MySQL)"
If we run in the console "script/about"
Environment: Redmine version 2.0.3.stable.10158 Ruby version 1.8.7 (x86_64-linux) Rails version 3.2.6 Environment production Database adapter MySQL Redmine plugins: no plugin installed
Screenshot of the "Administation -> Information" page: (As you can see also the environment stuff is missing!!)
Then I decided to try a bitnami vm image just for test purposes and everythings fine in there -> Correct version "2.0.3.stable" in "Administation -> Information" page
What is wrong in our installation? Can you please give me a hint?!
Thanks Max
redmine_prod.png (44.7 KB) redmine_prod.png | Prod Information Screen |
Replies (4)
RE: Redmine 2.0 SVN Update -> Redmine Information doesnt get updated (please) - Added by William Roush over 12 years ago
Did you restart the Redmine stack?
This could include restarting the Bitnami stack if you use that for Redmine, or Apache if you use passenger.
RE: Redmine 2.0 SVN Update -> Redmine Information doesnt get updated (please) - Added by Markus Buchner over 12 years ago
I just used Bitnami for test purposes on a local vm - the prod environment is setup without bitnami.
Yes we often restarted apache, and we are using passenger.
Can it be some access rights? Wrong passanger configuration?
I checked the code and the values of this page are fetched from this constants:
<%= Redmine::Info.versioned_name >
<= Redmine::Info.environment %>
Where does redmine get its version number from? db? settings file?
Thanks Max
RE: Redmine 2.0 SVN Update -> Redmine Information doesnt get updated (please) - Added by William Roush over 12 years ago
Markus Buchner wrote:
I just used Bitnami for test purposes on a local vm - the prod environment is setup without bitnami.
Yes we often restarted apache, and we are using passenger.Can it be some access rights? Wrong passanger configuration?
Ah you're running passenger.... did you restart Apache after upgrading?
I checked the code and the values of this page are fetched from this constants:
<%= Redmine::Info.versioned_name >
<= Redmine::Info.environment %>Where does redmine get its version number from? db? settings file?
It's in the source code, hard coded on each version.
https://bitbucket.org/redmine/redmine-all/src/8e5af657163c/lib/redmine/version.rb
RE: Redmine 2.0 SVN Update -> Redmine Information doesnt get updated (please) - Added by Markus Buchner over 12 years ago
Thanks a lot - I checked our code and there is the right version in there!
So i searched for "find -iname version.rb" and found another redmine under /usr/share/redmine/..
But he is always updating under /opt/redmine/redmine2.0/...
Have will have a serious discussion with him
Anyway - Thanks a lot - your hints helped me a lot
Greetings Max