[Dxspider-support] Update went wrong

Dirk Koopman djk at tobit.co.uk
Mon Dec 13 16:13:40 GMT 2021


The "correct" way to update is to:

cd /spider
git reset --hard
git pull

That's it.

You are correct that you have reset it back to master branch. But try this:

git checkout mojo
git reset --hard
git pull


On 13/12/2021 15:44, Erwin Fiten via Dxspider-support wrote:
> Hi,
>
> I was running ver. V1.57 build 345
> Today my VM rebooted, so i took the chance to update to the latest 
> version with the commands :
> *
> *
> *git clone git://scm.dxcluster.org/scm/spider 
> <http://scm.dxcluster.org/scm/spider> spider.new
> cp -a spider.new/.git /spider
> rm -rf spider.new
> cd /spider
> git reset --hard*
> *
> *
> Somehow this went wrong because when I restarted the cluster I found 
> it running (with loads of errors) on version: V1.55 build 229
>
> When I check the branch, I get this :
>
> *sysop at debian:/spider/perl$ git branch
> * master
>   mojo*
>
> So I'm on the 'old' branch again, I think ?
> How do I change back to Mojo & update?
>
> *sysop at debian:/spider/perl$ git branch mojo
> fatal: A branch named 'mojo' already exists.*
>
> This is not an option...
>
> Erwin, ON8AR
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.tobit.co.uk/pipermail/dxspider-support/attachments/20211213/139168ac/attachment-0001.htm>


More information about the Dxspider-support mailing list