Project

General

Profile

Actions

Defect #32852

closed

Upgrading from Redmine v4.0.5 to v4.1.0 gives 2 errors

Added by hanamiche s almost 5 years ago. Updated 10 months ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Invalid
Affected version:

Description

Upgrading from Redmine v4.0.5 to v4.1.0 gives NoMethodError and Sprockets::Railtie::ManifestNeededError errors
I wrote the steps I took, the environment.

procedure

# svn sw ^/branches/4.1-stable

# bundle exec rake db:migrate RAILS_ENV=production
rake aborted!
NoMethodError: undefined method `assets' for #<Rails::Application::Configuration:0x000055a03c7ecb88>
Did you mean?  asset_host

I removed the comment out of require "sprockets/railtieā€ in config/application.rb.
# bundle exec rake db:migrate RAILS_ENV=production
rake aborted!
Sprockets::Railtie::ManifestNeededError: Expected to find a manifest file in `app/assets/config/manifest.js`
But did not, please create this file and use it to link any assets that need
to be rendered by your app:

Example:
  //= link_tree ../images
  //= link_directory ../javascripts .js
  //= link_directory ../stylesheets .css
and restart your server

I created the file as per the example and ran it again.
Processing succeeded, Redmine 4.1.0 started successfully.

environment

# uname -a
Linux yomi-sv01.localdomain 3.10.0-1062.1.2.el7.x86_64 #1 SMP Mon Sep 30 14:19:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

# mysql --version
mysql  Ver 14.14 Distrib 5.7.29, for Linux (x86_64) using  EditLine wrapper

# ruby bin/about
Environment:
  Redmine version                4.1.0.stable.19426
  Ruby version                   2.6.2-p47 (2019-03-13) [x86_64-linux]
  Rails version                  5.2.4.1
  Environment                    production
  Database adapter               Mysql2
  Mailer queue                   ActiveJob::QueueAdapters::AsyncAdapter
  Mailer delivery                smtp

I always use Redmine. Thank you!


Related issues

Related to Redmine - Defect #32223: Disable sprockets to avoid Sprockets::Railtie::ManifestNeededError raised by sprockets 4.0.0ClosedGo MAEDA

Actions
Actions

Also available in: Atom PDF