Currently i am using redmine 1.1 and now i need to update it to redmine 2.2. I have already added lot of projects and its issues in redmine 1.1 version. I have installed the redmine 2.2 in other port and use the redmine 1.1 database with the necessary changes that we need in the redmine 2.2 for maintain all my projects, issues, users in the database. But when i connect to redmine 2.2 and try to login it shows an internal error. Do anybody know how can i update redmine 1.1 to redmine 2.2 with the data that exists in the 1.1 redmine database? Please let me know whether its possible.
Normally, except for plugins, you should not have problems to migrate.
Backup your DB, then do a
$ RAILS_ENV=production rake db:migrate
Have a look at the official procedure. It's worth reading...
The main problem when migrating is usually the plugins which are not compatible.
Related
Posted on the Redmine forum, but after a few days didn't get a response. I thought someone here might know.
I am trying to export PDF's with images. I have tried using the copy/paste and upload when creating an issue and specifying the file name; all seem to fail exporting the picture. Tried different formats jpg and png, with same results. I have read several forum postings from several years ago, when rmagick would be installed to help solve the issue. From Redmine install page I read that the rmagick is not necessary for 4.1.0.
I am really new to running the redmine world. Running redmine on a Windows box.
How can I allow the images to be exported to PDF for an issue?
Could someone point me in the right direction?
Environment:
Redmine version 4.1.0.stable
Ruby version 2.6.5-p114 (2019-10-01) [x64-mingw32]
Rails version 5.2.4.1
Environment production
Database adapter Mysql2
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Git 1.9.4
Filesystem
Redmine plugins:
redmine_issue_templates 1.0.1
It appears that Redmine 4.1 introudced new way and new checkmark in order to have Images visible in PDF
Notice the ImageMagick optional requirement:
If you check in Redmine log, it would probably dump this message:
Imagemagick's convert binary is not available...
On the underlying Linux system, Ghostscript is also required for above to work.
Has anyone been successful in being able to run the Django-wiki app on Django 3.0.1/2 project?. On their docs page, it says that v0.5 supports Django 3.0, but when I try to install it via pip, it downgrades my Django version from 3.0.1 -> 2.2.9. In their requirements file, I see this:
Django>=2.2,<3.0
If someone is able to get it working, it'd be great if they can point me to some instructions.
I'm currently on a task to upgrade from Redmine 3.0.3 to Redmine 4.0.3.
I have followed these steps from http://www.redmine.org/projects/redmine/wiki/redmineupgrade but the current system is running a version of Ruby that is not supported by Redmine 4.0.3. I have also tried to make a new server using Turnkey Redmine and then copied over the database and configuration file, but with no luck.
Has anyone done this before and if so is there an how-to guide somewhere?
This appears to be more of a general 'How to deploy a Rails application' question, not really Redmine specific.
In short, Chruby or the aforementioned Rvm are the answer to all your Ruby version problems. After installing a current version of Ruby, you will have to somehow configure your Ruby server (Unicorn or mod_rails or whatever you're using) to run with that version of Ruby. How to do that really depends on what you are running and, again, is not Redmine specific but specific to that server.
I am trying to upgrade my Redmine 3.0.7 that was installed from the oneclick install to the newest stable version, 3.2.0. However, when I try to run svn update, it says it is updated, but doesn't show as updated in the info on the site. I tried to follow the information here:
You can checkout the latest stable source with one of the following commands:
Subversion
svn co https://svn.redmine.org/redmine/branches/3.2-stable redmine-3.2
It will create a directory named redmine-3.2 and you'll be able to update your Redmine copy using svn update in this directory.
The information from the info page on the admin section of my redmine:
Environment:
Redmine version 3.0.7.stable.15164
Ruby version 2.0.0-p643 (2015-02-25) [x86_64-linux]
Rails version 4.2.3
Environment production
Database adapter Mysql2
SCM:
Subversion 1.8.8
Filesystem
Redmine plugins:
no plugin installed
But it didn't work. Any help would be much appreciated.
In order to upgrade to a newer version of Redmine, specifically 3.2, you will need to switch to the 3.2-stable SVN branch and then perform the upgrade.
First off, I would recommend taking a snapshot of your Droplet so that you have a working state that you can restore in case anything goes wrong with the upgrade. If you can't power off your Droplet to take a snapshot, you can back up the files and settings manually. All uploaded files should be stored in /srv/redmine/files. The database can be backed up by running the following command:
mysqldump -u root redmine | gzip > ~/redmine_db_backup.sql.gz
Then, switch to the newer SVN branch:
cd /srv/redmine
svn switch ^/branches/3.2-stable
Make sure all the requires gems are installed and up-to-date:
bundle update
Next, you'll want to upgrade the database as well so that any changes in the database structure are applied to your existing database:
bundle exec rake db:migrate RAILS_ENV=production
bundle exec rake redmine:plugins:migrate RAILS_ENV=production
Finally, clear the cache and restart Passenger. This will log out all users.
bundle exec rake tmp:cache:clear tmp:sessions:clear RAILS_ENV=production
touch tmp/restart.txt
You might also want to check out the Admin -> Roles & permissions page for any new permissions.
Let me know if you have any issues. I've just tested it on a Droplet and everything went fine - so I'm hoping that everything will go smoothly for you as well.
I'm using Bitnami redmine 1.3.1 (upgraded it to 1.3.2) and due to some reason, Mongrels keep dying after few hours.
Her'e another thread mentioning a similar issue
http://bitnami.org/forums/forums/redmine/topics/mongrels-dying-after-few-hours
Due to this, though redmine service is running - I cannot load redmine login page.
Is anyone else facing a similar issue?
BitNami Redmine uses Apache with Passenger by default on OS X and Linux. On Windows, the default configuration is Apache with two Thin servers.
Check the plugins that you installed on top of your Redmine application, some of them are only compatible with specific Redmine versions.