dhanasingh / redmine_wktime

ERPmine is an open source free ERP for Service Industries. It runs within Redmine
https://erpmine.org/
Other
120 stars 78 forks source link

migration error #252

Closed surebrec closed 2 years ago

surebrec commented 2 years ago

i am using Bitnami virtual machine with Redmine installed. I download and unzip wktime plugin (https://erpmine.org/attachments/download/75/redmine_wktime.zip), move it to plugins folder. install gem rufus scheduler. and i cant apply migration:

rake aborted!
No Rakefile found
Environment:
  Redmine version                4.1.1.stable
  Ruby version                   2.5.8-p224 (2020-03-31) [x86_64-linux]
  Rails version                  5.2.4.2
  Environment                    production
  Database adapter               Mysql
ERPMine 4.2
amutha1997 commented 2 years ago

Can you send details from the log file?

surebrec commented 2 years ago

Can you send details from the log file?

i don't know where the log file is located. i create a small online doc with my steps: https://docs.google.com/document/d/130VwcK7Qu6A6hNlad8kDBMjcSiymOGeEx7HyHtK8Bnc/edit?usp=sharing

I really appreciate your help

amutha1997 commented 2 years ago

Run the db migration script from the root redmine folder. rake redmine:plugins:migrate NAME=redmine_wktime RAILS_ENV=production

log file location - redmine/ log/production.log

surebrec commented 2 years ago

image

here is the log: production.log

shreyarajwade commented 2 years ago

@surebrec you need to run 'bundle config unset deployment' and then run 'bundle install' again. That should help fix this. Hope this helps.