Project

General

Profile

Problem with upgrading

Added by maskalev maskalev almost 2 years ago

I try to upgrade Redmine from 4.0.3 to 5.0.4 using [this guide](https://www.redmine.org/projects/redmine/wiki/redmineupgrade)
But I confused by step 5.2 (Restart the application server (e.g. puma, thin, passenger).

Our server is used Passenger with Nginx.

How I can say Passenger about new Redmine? And how I can say Passenger to forgot old Redmine?

What I tried:
1. `touch tmp/restart.txt` from root dir of new version
2. `passenger-config restart-app`. But it shows only old version.

[root@gitlab redmine-5.0.4]# touch tmp/restart.txt
[root@gitlab redmine-5.0.4]# passenger-config restart-app
Please select the application to restart.
Tip: re-run this command with --help to learn how to automate it.
If the menu doesn't display correctly, press '!'
‣ /opt/redmine/redmine-4.0.3 (production)
Cancel
[root@gitlab redmine-4.0.3]# RAILS_ENV=production ./bin/about
/usr/local/lib/ruby/2.6.0/x86_64-linux/strscan.so: warning: already initialized constant StringScanner::Version
/usr/local/lib/ruby/2.6.0/x86_64-linux/strscan.so: warning: already initialized constant StringScanner::Id
sh: hg: command not found
sh: cvs: command not found
sh: bzr: command not found
Environment:
Redmine version 4.0.3.stable
Ruby version 2.6.2-p47 (2019-03-13) [x86_64-linux]
Rails version 5.2.2.1
Environment production
Database adapter PostgreSQL
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
SCM:
Subversion 1.7.14
Git 1.8.3.1
Filesystem
Redmine plugins:
redmine_agile 1.4.12
redmineup_tags 2.0.8
[root@gitlab redmine-5.0.4]# RAILS_ENV=production ./bin/about
sh: hg: command not found
sh: cvs: command not found
sh: bzr: command not found
Environment:
Redmine version 5.0.4.stable
Ruby version 2.6.2-p47 (2019-03-13) [x86_64-linux]
Rails version 6.1.7
Environment production
Database adapter PostgreSQL
Mailer queue ActiveJob::QueueAdapters::AsyncAdapter
Mailer delivery smtp
Redmine settings:
Redmine theme Purplemine2-master
SCM:
Subversion 1.7.14
Git 1.8.3.1
Filesystem
Redmine plugins:
redmine_agile 1.6.5
redmineup_tags 2.0.13

Replies (1)

RE: Problem with upgrading - Added by maskalev maskalev almost 2 years ago

I have inattentively read nginx.conf file. There is a link to /etc/nginx/conf.d/*.conf, with redmine.conf file with some passenger settings

    (1-1/1)