[Dxspider-support] Wrong version after updating
Dirk Koopman
djk at tobit.co.uk
Wed Sep 9 11:56:34 CEST 2020
Erwin
I suspect that your git repository has got screwed up. What are you
running on? If it is an RPi then you may be looking at a worn out disk.
Someone else had this problem (or something very similar) a couple of
months back I suggested replacing the .git tree in /spider with the one
from a new git clone into /tmp. But first just try:
git checkout -f mojo
Dirk
On 09/09/2020 10:24, Erwin Fiten via Dxspider-support wrote:
> OK, this already looks promising, the MOJO branch was still not active
> (strange because it worked before :) )
> So this is what I have now? how can I update, if possible, without
> loosing my settings ?
>
> This is the output :
>
> $ git branch
> * master
> mojo
> $ git checkout mojo
> error: The following untracked working tree files would be overwritten
> by checkout:
> cmd/accept/rbn.pl <http://rbn.pl>
> cmd/clear/rbn.pl <http://rbn.pl>
> cmd/dmesg.pl <http://dmesg.pl>
> cmd/nospawn.pl <http://nospawn.pl>
> cmd/reject/rbn.pl <http://rbn.pl>
> cmd/set/rbn.pl <http://rbn.pl>
> cmd/set/wantrbn.pl <http://wantrbn.pl>
> cmd/show/debug_ring.pl <http://debug_ring.pl>
> cmd/stat/route.pl <http://route.pl>
> cmd/unset/wantrbn.pl <http://wantrbn.pl>
> dxspider.service
> dxweb/d_x_web.conf
> dxweb/dxweb
> dxweb/lib/DXWeb.pm
> dxweb/lib/DXWeb/Controller/Example.pm
> dxweb/public/index.html
> dxweb/script/dxweb
> dxweb/t/basic.t
> dxweb/templates/example/welcome.html.ep
> dxweb/templates/layouts/default.html.ep
> perl/DXSubprocess.pm
> perl/RBN.pm
> perl/SysVar.pm
> perl/Web.pm
> perl/call.pl <http://call.pl>
> perl/convert-users-v3-to-v3j.pl
> <http://convert-users-v3-to-v3j.pl>
> perl/create_dxqsl.pl <http://create_dxqsl.pl>
> perl/mojonode.pl <http://mojonode.pl>
> perl/public/css/bootstrap-theme.css
> perl/public/css/bootstrap-theme.css.map
> perl/public/css/bootstrap-theme.min.css
> perl/public/css/bootstrap.css
> perl/public/css/bootstrap.css.map
> perl/public/css/bootstrap.min.css
> perl/public/fonts/glyphicons-halflings-regular.eot
> perl/public/fonts/glyphicons-halflings-regular.svg
> perl/public/fonts/glyphicons-halflings-regular.ttf
> perl/public/fonts/glyphicons-halflings-regular.woff
> perl/public/js/bootstrap.js
> perl/public/js/bootstrap.min.js
> perl/rbn.pl <http://rbn.pl>
> Please move or remove them before you switch branches.
> Aborting
>
> I don't think I will overwrite anything with this ? How can I proceed ?
>
> Erwin
>
> Op wo 9 sep. 2020 om 11:07 schreef Dirk Koopman via Dxspider-support
> <dxspider-support at tobit.co.uk <mailto:dxspider-support at tobit.co.uk>>:
>
> Try:
>
> git branch
>
> you should see:
>
> djk at dirk6:/spider$ git branch
> master
> * mojo
>
> If the '*' is next to anything other than mojo, then try:
>
> git checkout mojo
>
> 73 Dirk G1TLH
>
> PS and no, I don't know what's happening.
>
> On 09/09/2020 09:55, Erwin Fiten via Dxspider-support wrote:
>> That's the strange thing, previously it was..
>> But I did the procedure again.
>>
>> $ mkdir /spider/local_data
>> *mkdir: cannot create directory ‘/spider/local_data’: File exists*
>>
>> $ git reset --hard
>> HEAD is now at 94bbcdee6 new RBN.mojo, update UPGRADE.mojo and
>> CTY-3011
>> $ git pull --all
>> Fetching origin
>> *Already up to date.*
>> $ git checkout --track -b mojo origin/mojo
>> *fatal: A branch named 'mojo' already exists.*
>>
>> $ sudo ln -s /spider/perl/console.pl <http://console.pl>
>> /usr/local/bin/dx
>> *ln: failed to create symbolic link '/usr/local/bin/dx': File exists*
>> $ sudo ln -s /spider/perl/*dbg /usr/local/bin
>> *ln: failed to create symbolic link '/usr/local/bin/grepdbg':
>> File exists
>> ln: failed to create symbolic link '/usr/local/bin/watchdbg':
>> File exists*
>>
>> So this all looks like it was already OK, not ?
>>
>> but when I start the cluster again, and login, i still get :
>>
>> running DXSpider V1.55 build 0.216
>>
>> FYI : nolcluster.on8ar.eu:7300 <http://nolcluster.on8ar.eu:7300>
>>
>> So I'm not sure what I did wrong ?
>>
>>
>>
>>
>>
>> Op wo 9 sep. 2020 om 10:33 schreef Ian Maude via Dxspider-support
>> <dxspider-support at tobit.co.uk <mailto:dxspider-support at tobit.co.uk>>:
>>
>> You do not appear to be on the mojo branch. Follow
>> UPGRADE.mojo to get there.
>>
>> 73 Ian
>>
>> On Wed, 9 Sep 2020 at 09:22, Erwin Fiten via Dxspider-support
>> <dxspider-support at tobit.co.uk
>> <mailto:dxspider-support at tobit.co.uk>> wrote:
>> >
>> > A month ago I installed dxspider from scratch.
>> > If I can remember, it was 1.57 build 315 then.
>> >
>> > Now, I was checking to update, and followed the
>> instructions on http://www.dxcluster.org/download/
>> >
>> > So what do I do :
>> > as root : /etc/init.d/dxspider stop
>> >
>> > login as the sysop user.
>> > 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
>> >
>> > This results in the following message :
>> >
>> > HEAD is now at 94bbcdee6 new RBN.mojo, update UPGRADE.mojo
>> and CTY-3011
>> >
>> > exit sysop user
>> > as root : /etc/init.d/dxspider start
>> >
>> >
>> > Now, the welcome message tells me :
>> >
>> > running DXSpider V1.55 build 0.216
>> >
>> > What do I do wrong? or what's the correct procedure to update?
>> > I'm running debian 10, and DXspider is connecting to MariaDB
>> >
>> >
>> > Erwin (ON8AR) sysop ON0NOL
>> >
>> >
>> >
>> > _______________________________________________
>> > Dxspider-support mailing list
>> > Dxspider-support at tobit.co.uk
>> <mailto:Dxspider-support at tobit.co.uk>
>> > https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>>
>> _______________________________________________
>> Dxspider-support mailing list
>> Dxspider-support at tobit.co.uk
>> <mailto:Dxspider-support at tobit.co.uk>
>> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>>
>>
>> _______________________________________________
>> Dxspider-support mailing list
>> Dxspider-support at tobit.co.uk <mailto:Dxspider-support at tobit.co.uk>
>> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
> _______________________________________________
> Dxspider-support mailing list
> Dxspider-support at tobit.co.uk <mailto:Dxspider-support at tobit.co.uk>
> https://mailman.tobit.co.uk/mailman/listinfo/dxspider-support
>
>
> _______________________________________________
> 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/20200909/4c79043f/attachment-0001.htm>
More information about the Dxspider-support
mailing list