debian - Redmine 2.1.2(从2.0.4迁移): Migration OK but crashes after login

标签 debian redmine

我刚刚按照他们的迁移教程从 Redmine 2.0.4 迁移到 Redmine 2.1.2(在 Debian 上,使用 Passenger)。 看起来效果很好。 但是当我在浏览器中启动它时,我有redmine的身份验证门户,并且当我使用我的任何帐户登录时它会崩溃。 我检查了我的数据库,所有帐户信息仍然存在。 当我检查我的 redmine 日志、生产时,这就是我得到的:

Connecting to database specified by database.yml 
OpenIdAuthentication.store is nil. Using in-memory store.
[...]
NoMethodError (undefined method 'session_lifetime?' for #<Class:0x7[...]
app/controllers/application_controller.rb:61 in 'session_expired?'
app/controllers/application_controller.rb:50:in 'session_expiration'

谢谢

最佳答案

我终于解决了我的问题:在迁移过程中,我用旧的设置替换了settings.yml,这是一个错误。我把它替换成原来的,效果很好

关于debian - Redmine 2.1.2(从2.0.4迁移): Migration OK but crashes after login,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13146059/

相关文章:

ruby - Debian 上的 ruby​​gems 有什么用?这是不同的和奇怪的

linux - Debian 9 wifi 不工作

ubuntu - 从本地 repo 中删除 deb-packages 并配置 apt

linux - bash 脚本 : find and replace multiword string

ruby-on-rails - 在任何来源中都找不到 rake-10.4.2 (Bundler::GemNotFound)

ruby-on-rails - 为什么 config.cache_classes = false 不工作?

memory-management - 有什么方法可以在Redmine中快速(拖放)重新排序任务?

javascript - 在 Redmine 插件中包含 jquery

linux - 通过 SSH 连接时我的密码是什么?