Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • 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
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

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

Content

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Upgrade from stable/5 to stable/6

Upgrade from stable/5 to stable/6

Added by Stefan Maton over 8 years ago

Hello everyone,

I’m currently trying to update my OpenProject setup from stable/5 to stable/6. The installation has been done manually on Ubuntu 16.04 - LAMP and works as expected.

I’ve read the manual upgrade guide which actually looks quite simple. But when I execute the following line, I get an error:

git fetch && git checkout stable/6

The error tells me this:

error: pathspec ‘stable/6’ did not match any file(s) known to git.

I’m not an expert in concerns of Ubuntu or Git.

Can anyone tell me, how to switch to stable/6?

Thank you


Replies (4)

RE: Upgrade from stable/5 to stable/6 - Added by Oliver Günther over 8 years ago

Hi Stefan,

what’s the output of git fetch origin and git branch -v ?

On an unrelated note: Is there a reason why you do not switch to the packaged installation ?

Best,
Oliver

RE: Upgrade from stable/5 to stable/6 - Added by Stefan Maton over 8 years ago

Hi,

here’s the output:

openproject@euve251492:/openproject-ce$ git fetch origin
openproject@euve251492:
/openproject-ce$ git branch -v

  • stable/5 25edf70 Merge tag ‘v5.0.20’ into stable/5
    openproject@euve251492:~/openproject-ce$

Actually, there is no specific reason. I started doing this by hand and wanted to get through it. Also, the Ubuntu setup doesn’t seem to have a working web browser…

That said, Synaptic doesn’t fetch the repository information due to weak SHA1 key. See [[https://juliank.wordpress.com/2016/03/14/dropping-sha-1-support-in-apt/]]

RE: Upgrade from stable/5 to stable/6 - Added by Oliver Günther over 8 years ago

Hi Stefan,

strange. Would git checkout origin/stable/6 work? I’m wondering whether your local git config does not assume origin to be the remote that you automatically track branches to.

Thanks for the note regarding SHA1, I’ve seen this on some distros and will forward the note.

Best,
Oliver

RE: Upgrade from stable/5 to stable/6 - Added by Rafael Medina over 8 years ago

I’m affected with this issue. I have the version 5.0.20 installed and also I cannot upgrade to 6.0.x.

I´ve tried the last suggestion but did not work,

git checkout origin/stable/6
error: pathspec ‘origin/stable/6’ did not match any file(s) known to git.

trying to search for branches…

git remote show origin

  • remote origin
    Fetch URL: https://github.com/opf/openproject-ce.git
    Push URL: https://github.com/opf/openproject-ce.git
    HEAD branch: stable/6
    Remote branch:
    stable/5 tracked
    Local branch configured for ‘git pull’:
    stable/5 merges with remote stable/5
    Local ref configured for ‘git push’:
    stable/5 pushes to stable/5 (up to date)

HEAD branch: stable/6 is listed there.

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