Project

General

Profile

After upgrade many pages return "The page you were trying to access doesn't exist or has been removed." error

Added by Seth Dziengeleski over 8 years ago

Redmine Info
Default administrator account changed True
Attachments directory writable True
Plugin assets directory writable (./public/plugin_assets) True
RMagick available (optional) True
ImageMagick convert available (optional) True

Environment:
Redmine version 3.1.0.stable
Ruby version 2.1.4-p265 (2014-10-27) [x86_64-linux]
Rails version 4.2.3
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Git 1.9.1
Filesystem
Redmine plugins:
redmine_dmsf 1.5.3

OS Version info
Distributor ID: Ubuntu
Description: Ubuntu 14.04.3 LTS
Release: 14.04
Codename: trusty

Ruby aware server:
Phusion Passenger version 5.0.16

script/about advises to run bin/about... which returns errors about things not being installed
redmine@ptxmaweb02:~/redmine-3.1.0$ RAILS_ENV=production bin/about
Could not find rake-10.4.2 in any of the sources
Run `bundle install` to install missing gems.

Thinking the above was the problem I ran 'bundle install' and then rerain the bin/about script. Got the same info with different values than redmine reports in the admin info page...
sh: 1: darcs: not found
sh: 1: hg: not found
sh: 1: cvs: not found
sh: 1: bzr: not found
Environment:
Redmine version 3.1.0.stable
Ruby version 2.1.7-p400 (2015-08-18) [x86_64-linux-gnu]
Rails version 4.2.3
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Git 1.9.1
Filesystem
Redmine plugins:
redmine_dmsf 1.5.3

MySql version
mysql Ver 14.14 Distrib 5.5.46, for debian-linux-gnu (x86_64) using readline 6.3

I'm not sure why or how but the Settings page for all projects no longer work and many admin functions like creating a new project also seem to have disappeared. I'm sure I'll need to provide more information, but I'm not quite sure where to look. Please advise on how I could improve this post. I was updating from a very old version of redmine, forced by a server failure. I believe the old version was around 1.0, though that information is to the best of my knowledge lost to the ages.

Thanks in advance for any help.


Replies (3)

RE: After upgrade many pages return "The page you were trying to access doesn't exist or has been removed." error - Added by Pavel Potcheptsov over 8 years ago

Do you have a backup of your database that you have to made before upgrade?

RE: After upgrade many pages return "The page you were trying to access doesn't exist or has been removed." error - Added by Seth Dziengeleski over 8 years ago

Yes I still have that data, though it's been live for a bit so there is new material that would be lost on a restore... still might be worth it to get things working again

RE: After upgrade many pages return "The page you were trying to access doesn't exist or has been removed." error - Added by Pavel Potcheptsov over 8 years ago

I'd suggest to install redmine version which is corresponding to your backup, just to continue work.
Then you need to install fresh new redmine and make sure it works as expected. After that you could duplicate your old database and change database.yml in new installation to point to duplicated old database. Then proceed with database migration and see how it goes.
It's recommended to uninstall all plugins before making database duplication.
If you face troubles during migration or after that, then you could try to perform upgrade through main redmine branches, i.e. if your current redmine version less then 1.x you should upgrade from 0.x to 1.x, then from 1.x to 2.x and finally from 2.x to 3.x.
Yes, it could be painfully.

    (1-3/3)