Open link in a new tab

Content

Expand project menu

Upgrade from stable/5 to stable/6

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

Message actions

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

Message actions

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/]]

Message actions

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

Message actions

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

HEAD branch: stable/6 is listed there.