Top Menu

Jump to content
    Global modules

    Global modules

    • Home
    • Projects
    • Activity
    • Work packages
    • Gantt charts
    • Calendars
    • Team planners
    • Boards
    • News
    Home
    Home
Help
    Getting started
    • Introduction video
  • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support
  • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation

User menu

Sign in
Forgot your password?

or sign in with your existing account

OpenProject ID Google

Side Menu

Collapse project menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

Expand project menu
Support Installation & Updates
  1. OpenProject Community
  2. OpenProject
  3. Forums
  4. Support Installation & Updates
  5. [solved] Trying to update -> failes

[solved] Trying to update -> failes

Added by Bernd Müller about 11 years ago

Hi!

I tried to update OP to the latest version but when I do a git pull I get following:

openproject@server:~/openproject$ git pull
Updating 10c476b..12c3bfd
error: Your local changes to the following files would be overwritten by merge:
    Gemfile.lock
Please, commit your changes or stash them before you can merge.
Aborting

What should I do?

Cheers.


Replies (2)

RE: Trying to update -> failes - Added by Christian Ratz about 11 years ago

Hello Bernd,

this happens when you have plugins installed. I posted the solution in this thread

Best
Ratzi

RE: Trying to update -> failes - Added by Bernd Müller about 11 years ago

Thanks!

After executing these commands:

git checkout Gemfile.lock
git pull
bundle install 
RAILS_ENV=production bundle exec rake db:migrate
RAILS_ENV=production bundle exec rake assets:precompile

OP got updated.

Cheers

  • (1 - 2/2)
Loading...