noshutdown-ru / vault

Is a plugin for project management system Redmine. Allows you to store various passwords/keys in one place for the project.
https://noshutdown.ru/en/redmine-plugins-vault
46 stars 29 forks source link

Installation problem #62

Closed Gesss closed 4 years ago

Gesss commented 4 years ago

Hi, I'm having a problem with installation. I get rake error.

Environment: Redmine version 4.0.5.stable Ruby version 2.5.5-p157 (2019-03-15) [x86_64-linux] Rails version 5.2.3

Vault version: 0.4.1

rake aborted! StandardError: An error has occurred, all later migrations canceled:

Directly inheriting from ActiveRecord::Migration is not supported. Please specify the Rails release the migration was written for: class CreateEnumPrices < ActiveRecord::Migration[4.2]

Any ideas?

noshutdown-ru-user commented 4 years ago

Will investigate it.

Gesss commented 4 years ago

@noshutdown-ru-user any news?

noshutdown-ru-user commented 4 years ago

We checked and new installation works fine, we tried it in Vagrant https://github.com/noshutdown-ru/vagrant_redmine

Environment: Redmine version 4.0.5.stable Ruby version 2.7.0-p0 (2019-12-25) [x86_64-linux] Rails version 5.2.3 Environment production Database adapter SQLite Mailer queue ActiveJob::QueueAdapters::AsyncAdapter Mailer delivery smtp SCM: Git 1.8.3.1 Filesystem
Redmine plugins: vault 0.4.1

noshutdown-ru-user commented 4 years ago
# cd /opt/redmine/plugins/vault/
# grep -R CreateEnumPrices ./

we don't have any migrations like this

Gesss commented 4 years ago

Ok. Thank you for helping.

noshutdown-ru-user commented 4 years ago

Ok. Thank you for helping.

But did you found source of issue ?