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)
Hi Stefan,
what’s the output of
git fetch origin
andgit branch -v
?On an unrelated note: Is there a reason why you do not switch to the packaged installation ?
Best,
Oliver
Hi,
here’s the output:
openproject@euve251492:
/openproject-ce$ git fetch origin/openproject-ce$ git branch -vopenproject@euve251492:
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/]]
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
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
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.