Issue with Redmine update via SVN
Hello, existing installation 4.0.5, trying to update via SVN to latest 4.1.0.
Backup performed, Apache stopped.
In Redmine directory:
svn co https://svn.redmine.org/redmine/branches/4.1-stable ./ svn update bundle update
Then: migration, cleanup, Apache start.
But in Environment: Redmine version shows: 4.0.5.stable.19404.
What is wrong with update procedure?
RE: Issue with Redmine update via SVN - Added by Ivan Cenov 3 months ago
Did you stopped Redmine at the beginning and started it after executing commands?
Nevertheless, you did not execute full procedure.
First, you may want to checkout/update from tags not from branches: tags/4.1.0
Then following command
bundle install --without development testwill install newer versions of the needed gems, rails. After that execute
bundle exec rake generate_secret_token bundle exec rake db:migrate RAILS_ENV=production bundle exec rake redmine:plugins:migrate RAILS_ENV=production bundle exec rake tmp:cache:clear RAILS_ENV=productionand at last [re]start Redmine.
RE: Issue with Redmine update via SVN - Added by Jo Xay 3 months ago
Thank you Ivan for replying, but issue is still open.
I've stopped/start Apache during updating.
"Svn info" see in image attached.
sh: 1: hg: not found sh: 1: cvs: not found sh: 1: bzr: not found Environment: Redmine version 4.0.5.stable.19405 Ruby version 2.6.6-p117 (2019-11-09) [x86_64-linux] Rails version 5.2.3 Environment production Database adapter Mysql2 Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp SCM: Subversion 1.10.4 Git 2.20.1 Filesystem Redmine plugins: redmine_smile_togglesidebar 1.0.6
svninfo.jpg (48.5 KB)