Koozali.org: home of the SME Server

Yum update to beta 1 failed

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Yum update to beta 1 failed
« on: February 19, 2021, 01:35:11 PM »
I have left the machine in the following state incase any further info is needed

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Yum update to beta 1 failed
« Reply #1 on: February 19, 2021, 04:12:24 PM »
Well, a number of Proxmox VM installs with latest iso, raid1 and single disk..yet to see that error and all have been successful unless doing odd things with manual partitioning

So cant help, others may have a clue
--
qui scribit bis legit

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Yum update to beta 1 failed
« Reply #2 on: February 19, 2021, 04:16:31 PM »
When you say Yum update to beta 1, do you mean you have a Alpha 5 install that you are attempting to update to Beta 1 status .. it can be done, a simple yum update doesn't do it..
--
qui scribit bis legit

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Yum update to beta 1 failed
« Reply #3 on: February 19, 2021, 04:33:57 PM »
Yes thats exactly what i was doing.
Sorry then how do you move between versions then if not by doing a yum update?

Offline Jean-Philippe Pialasse

  • *
  • 2,743
  • +11/-0
  • aka Unnilennium
    • http://smeserver.pialasse.com
Re: Yum update to beta 1 failed
« Reply #4 on: February 19, 2021, 07:36:01 PM »
have you tried to enable ipv6 on this vm ?

what returns ipconfig ?

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Yum update to beta 1 failed
« Reply #5 on: February 19, 2021, 09:48:05 PM »
I haven't but can. However my local gateway is a sme9

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Yum update to beta 1 failed
« Reply #6 on: February 19, 2021, 11:39:22 PM »
I haven't but can. However my local gateway is a sme9

Nothing to do with v9.

And the very last line shows something somewhere somehow has enabled or is trying to connect over IPv6.

IO::Socket::INET6 Connect: connection refused at /sbin/e-smith/ldif-fix line 402

IPv6 should not be enabled as it is not currently supported.

So the question is what.

Show
Code: [Select]
ipconfig or
Code: [Select]
ip addr show
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Yum update to beta 1 failed
« Reply #7 on: February 19, 2021, 11:45:03 PM »
Also note that Alpha 5 was testing only, and there is no guaranteed upgrade path to Beta, and hence YMMV.

As per the release notes there were HUGE underlying changes which may break stuff. Hence Alpha status.

Beta should see less breaking changes and enable a backup v9/restore to v10 path, and likely upgrade to RC/Release status.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Yum update to beta 1 failed
« Reply #8 on: February 20, 2021, 01:20:19 PM »
Fair enough
 Should i reboot it as its just at the  screen as posted above?

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Yum update to beta 1 failed
« Reply #9 on: February 20, 2021, 01:32:07 PM »
Need to find out where you are at - a reboot might be messy. Is this just a trst machine?

You have got a backup haven't you?

Have you got ssh shell access?

Please describe fully how you got to this point.

Please also answer questions previously asked
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Yum update to beta 1 failed
« Reply #10 on: February 20, 2021, 02:53:22 PM »
no no its just a test machine. Im just reporting things I find.
Trying to do my bit, im not looking at migrating anything yet!! ;-)

Ive pressed ctrl-c and got this


« Last Edit: February 20, 2021, 02:58:08 PM by jameswilson »

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Yum update to beta 1 failed
« Reply #11 on: February 20, 2021, 02:56:21 PM »
ip details

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Yum update to beta 1 failed
« Reply #12 on: February 20, 2021, 03:02:12 PM »
Please describe fully how you got to this point.

Please also answer questions previously asked
just ran 'yum update' enabled the smecontribs repo

Got the first error as per the screenshot about connection refused. Then it just stayed like that.
Pressed Enter got a new line
pressed ctrl c, got the error as per 2nd screenshot

Havnt done a reboot or reconfigure yet.
As above test machine on proxmox. Was an sme10-alpha

Just trying to help with the testing

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Yum update to beta 1 failed
« Reply #13 on: February 20, 2021, 03:13:57 PM »
ip details

I don't see the details we asked for....

Please go back and write down exactly what you did to get to this point and tell us.

Without that level of detail this is all pretty meaningless.

So, server version, where you were with updates, what other rpms/contribs you had tried to install, what you did to trigger this, the output the address commands above etc.

You titled this as "Yum update to beta 1 failed" but what stage were you at before this? Fully updated, part updated, not updated? What command did you use to update?

All we really have so far is 'the car won't start' !!

And I know that you have been playing because "ldif-fix" is not in a stock install....... so how did it get there?

My guess is you have been trying all sorts of things out - possibly some v9 contribs - and then tried to upgrade, and something broke.

So my gut instinct this is a won't fix because this is not a normal install.

Quote
just ran 'yum update' enabled the smecontribs repo

Ahhhhh. Do you think that is a sensible move? You should never just do 'update' with extra repos enabled.

And I am not sure that is the issue as there is almost nothing in the SME v10 contribs repo that would really do that:

http://mirror.canada.pialasse.com/releases/testing/10.0.beta1/smecontribs/x86_64/RPMS/

So, that isn't the whole story..............

I suspect you enabled other repos when you did update eg smedev???? In which case your VM is toast.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Yum update to beta 1 failed
« Reply #14 on: February 20, 2021, 08:27:36 PM »
Note - Terry has seen this too.

We are looking at it.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Yum update to beta 1 failed
« Reply #15 on: February 20, 2021, 08:39:01 PM »
FWIW

Code: [Select]
yum provides /sbin/e-smith/ldif-fix
e-smith-ldap-5.6.0-9.el7.sme.noarch : e-smith server and gateway - LDAP module
Repo        : smeos
Matched from:
Filename    : /sbin/e-smith/ldif-fix
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Yum update to beta 1 failed
« Reply #16 on: February 20, 2021, 08:43:16 PM »
no no its just a test machine. Im just reporting things I find.
Trying to do my bit, im not looking at migrating anything yet!! ;-)

Ive pressed ctrl-c and got this

Please keep at it, all goes to the knowledgebase

OK, managed to reproduce by doing a straight yum update to a new A5 install - why? :-) just to know :-) if you install an A5 iso and then update it by updating some packages before others you dont get the error, that was how we did it during testing, building on fixes..the error is related to a bug fix to e-smith-ldap.

So if you do a straight yum update now to a Alpha base install, make no sense now by the way, packages are installed and end up with an almost cart before the horse scenario, lesson, Alphas are for testing only and to validate a fix, they are not designed to be updated to the finished product :-) stay with it, you and we have gained some knowledge...

Added: also if the update is done after some other updates and not before them you can also produce the error
« Last Edit: February 20, 2021, 08:45:23 PM by TerryF »
--
qui scribit bis legit

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Yum update to beta 1 failed
« Reply #17 on: February 20, 2021, 08:59:37 PM »
My last words :-)

This is the same as a point in validating bug fixes in Dec 2020 you had to update smeserver-yum, e-smith-base and smeserver-php before any other updates otherwise the alpha crashed when you did a general update
--
qui scribit bis legit

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Yum update to beta 1 failed
« Reply #18 on: February 20, 2021, 10:46:28 PM »
And hence the reason to keep lots of notes when testing. They are vital for diagnosis.

Without them we're left guessing at best.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Yum update to beta 1 failed
« Reply #19 on: February 21, 2021, 01:15:35 AM »
Agreed I want to help
Previous posts put me off because I'm not doing it right for you. I'll try harder. I know your all up against it and I really appreciate what your doing.
I'll look at the vm regarding things I shouldn't of installed. It was a test vm purely for affa. I've used it to update from sme 7 beta 6 when I first arrived here.

To be clear this vm was alpha 5 using the info on the forum to install affa. That was all.
I want to test and help but it appears I'm making things worse, sorry

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Yum update to beta 1 failed
« Reply #20 on: February 21, 2021, 09:39:15 PM »
Agreed I want to help

and you are, bottom line, you are. so hang in there.
--
qui scribit bis legit

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Yum update to beta 1 failed
« Reply #21 on: February 21, 2021, 11:10:24 PM »
Indeed.

You only get better with practice. We've all been there.

Personally I always:

Keep a notepad open to write a list of commands & notes as I go. "Repeatability' is vital.

Setup remote ssh immediately so it is easier to copy & paste from logs etc. Screen shots are a pain as we have to type out the error again.

Help us by doing some of that leg work!!

If we ask for information please give it.

Talk to us on Rocket (you have an account) and we can guide you a bit. We don't bite :lol:
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Yum update to beta 1 failed
« Reply #22 on: February 22, 2021, 12:31:46 AM »
I know you don't, it does look that way though on here. Maybe I should of gone into more detail about test machine etc. Too late now for that.
I get your point about wasting time on non issues, however you also ask for help with testing. I cant do what you guys do but I'd suggest not being too critical when someone like me tries to help, I'm sure there are loads of us like that even I thought I'm no use on this. I may as well not bother.

The test machine is a vm and no issue to kill it, I'm looking to test affa and letsencrypt and move a couple of non essential things over. Imo you can't test properly till it's active. I'm willing to do that. Yes they are 'production' sites but favours and free stuff so downtime isn't an issue. I just want to help get sme10 there. As a side note I started with 7b6 that I had in production. That ran my current business as a start up. I Haven't looked back!

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Yum update to beta 1 failed
« Reply #23 on: February 22, 2021, 12:38:25 AM »
Setup remote ssh immediately so it is easier to copy & paste from logs etc. Screen shots are a pain as we have to type out the error again.

This, over the journey have found this to be the first thing to do after installing, vital, always, keep a copy of the commands needed in a text file on my desktop, apart from being able via server-manager

# db configuration setprop sshd status enabled
# db configuration setprop sshd PermitRootLogin yes
# db configuration setprop sshd acccess private
# db configuration setprop sshd PasswordAuthentication yes
# /sbin/e-smith/signal-event remoteaccess-update
--
qui scribit bis legit

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Yum update to beta 1 failed
« Reply #24 on: February 22, 2021, 12:39:39 AM »
I just read my post back, I do mean it in a posative light, don't read it in a negative one.

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Yum update to beta 1 failed
« Reply #25 on: February 22, 2021, 12:41:46 AM »
This, over the journey have found this to be the first thing to do after installing, vital, always, keep a copy of the commands needed in a text file on my desktop, apart from being able via server-manager

# db configuration setprop sshd status enabled
# db configuration setprop sshd PermitRootLogin yes
# db configuration setprop sshd acccess private
# db configuration setprop sshd PasswordAuthentication yes
# /sbin/e-smith/signal-event remoteaccess-update
Yes I do that but via the https admin page. However they are useful commands going forward

Offline ReetP

  • *
  • 3,722
  • +5/-0
Re: Yum update to beta 1 failed
« Reply #26 on: February 22, 2021, 12:43:05 AM »
I just read my post back, I do mean it in a posative light, don't read it in a negative one.

Hehe.... We know.

Just trying to help you learn so you can help both us and yourself more.
...
1. Read the Manual
2. Read the Wiki
3. Don't ask for support on Unsupported versions of software
4. I have a job, wife, and kids and do this in my spare time. If you want something fixed, please help.

Bugs are easier than you think: http://wiki.contribs.org/Bugzilla_Help

If you love SME and don't want to lose it, join in: http://wiki.contribs.org/Koozali_Foundation

Offline jameswilson

  • ****
  • 739
  • +0/-0
    • Security Warehouse, trade security equipment
Re: Yum update to beta 1 failed
« Reply #27 on: February 22, 2021, 01:05:02 AM »
Cool as long as you know ;-)

Offline elmarconi

  • ***
  • 139
  • +0/-0
Re: Yum update to beta 1 failed
« Reply #28 on: March 19, 2021, 11:03:22 AM »
This, over the journey have found this to be the first thing to do after installing, vital, always, keep a copy of the commands needed in a text file on my desktop, apart from being able via server-manager

# db configuration setprop sshd status enabled
# db configuration setprop sshd PermitRootLogin yes
# db configuration setprop sshd acccess private
# db configuration setprop sshd PasswordAuthentication yes
# /sbin/e-smith/signal-event remoteaccess-update

Note: access with 2 x c

# db configuration setprop sshd access private
...

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: Yum update to beta 1 failed
« Reply #29 on: March 19, 2021, 11:15:39 AM »
Note: access with 2 x c

# db configuration setprop sshd access private

Its the Australian spelling, should have show the New Zealand one.. :-)
--
qui scribit bis legit