Koozali.org: home of the SME Server

9.1 Upgrade - No Backup File Found

Offline awservs

  • 6
  • +0/-0
9.1 Upgrade - No Backup File Found
« on: May 01, 2017, 07:33:52 PM »
Hi,

I'm trying to upgrade from 8.2 to 9.1.

I tried to do the server back up from CLI to a USB drive but 8.2 told me it couldn't mount the file system (NTFS).  I reformated the drive to Ext3 using EaseUS Partition Manager on a Win10 machine and then it appeared to work fine.

I've installed 9.1 on a new machine but when I attach the USB Drive it scans it and then says No Backup File Found. If I attach the drive to my PC I can see the smeserver.tgz file in the root.

I've even copied the file to another USB formatted to NTFS and tried that on the 9.1 machine.  Again it scans it but then says No backup File Found.

I'm desperate to get this thing running and would appreciate any help or ideas of how to get this backup recognised.

Thanks


Offline awservs

  • 6
  • +0/-0
Re: 9.1 Upgrade - No Backup File Found
« Reply #2 on: May 02, 2017, 12:13:37 AM »
Thanks,

Through that, I found that my server can't recognise the ntfs file system on my usb keys.  The original usb disk that I converted to ext3 had a journalling error.  Once I fixed that I was able to manually mount the drive and follow the instructions you gave me.

I now have another issue post upgrade though.

When I go into the software installer it tells me that updates are available but when I try and list them I get - Could not retrieve [Errno 4] - IOError

If I hit update I get

Loaded plugins: fastestmirror, smeserver
Setting up Update Process
Loading mirror speeds from cached hostfile
 * base: mirrors.coreix.net
 * smeaddons: mirror.chiropratique.org
 * smeextras: mirror.chiropratique.org
 * smeos: mirror.chiropratique.org
 * smeupdates: mirror.chiropratique.org
 * updates: mirrors.coreix.net
No Match for argument: Could
No package Could available.
No Match for argument: [Errno
No package [Errno available.
No Packages marked for Update

Then it asks me to reconfigure whilst telling me updates are available.

Any clues or should I open a new topic.

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: 9.1 Upgrade - No Backup File Found
« Reply #3 on: May 02, 2017, 12:33:15 AM »
Through that, I found that my server can't recognise the ntfs file system on my usb keys.  The original usb disk that I converted to ext3 had a journalling error.  Once I fixed that I was able to manually mount the drive and follow the instructions you gave me.

Did you # signal-event post-upgrade; signal-event reboot after conducting the restore?
--
qui scribit bis legit

Offline awservs

  • 6
  • +0/-0
Re: 9.1 Upgrade - No Backup File Found
« Reply #4 on: May 02, 2017, 12:37:04 AM »
Yes I did.

Offline TerryF

  • grumpy old man
  • *
  • 1,821
  • +6/-0
Re: 9.1 Upgrade - No Backup File Found
« Reply #5 on: May 02, 2017, 01:48:50 AM »
Then it asks me to reconfigure whilst telling me updates are available.
Any clues or should I open a new topic.

Have you tried to do so?
--
qui scribit bis legit

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: 9.1 Upgrade - No Backup File Found
« Reply #6 on: May 02, 2017, 08:22:02 AM »
Can you post the output of
Code: [Select]
db yum_repositories show
?

Offline awservs

  • 6
  • +0/-0
Re: 9.1 Upgrade - No Backup File Found
« Reply #7 on: May 03, 2017, 09:29:42 AM »
Hi, sorry for the delay - here you go.

[root@mailserver ~]# db yum_repositories show
base=repository
    EnableGroups=no
    Exclude=initscripts,libgsf
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os
    Name=CentOS - os
    Visible=yes
    status=enabled
centosplus=repository
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=centosplus
    Name=CentOS - centosplus
    Visible=no
    status=disabled
contrib=repository
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=contrib
    Name=CentOS - contrib
    Visible=no
    status=disabled
extras=repository
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=extras
    Name=CentOS - extras
    Visible=no
    status=disabled
fasttrack=repository
    EnableGroups=no
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=fasttrack
    Name=CentOS - fasttrack
    Visible=no
    status=disabled
smeaddons=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeaddons-9
    Name=SME Server - addons
    Visible=yes
    status=enabled
smecontribs=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://mirrorlist.contribs.org/mirrorlist/smecontribs-9
    Name=SME Server - contribs
    Visible=no
    status=disabled
smedev=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://mirrorlist.contribs.org/mirrorlist/smedev-9
    Name=SME Server - dev
    Visible=no
    status=disabled
smeextras=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeextras-9
    Name=SME Server - extras
    Visible=yes
    status=enabled
smeos=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeos-9
    Name=SME Server - os
    Visible=yes
    status=enabled
smetest=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://mirrorlist.contribs.org/mirrorlist/smetest-9
    Name=SME Server - test
    Visible=no
    status=disabled
smeupdates=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeupdates-9
    Name=SME Server - updates
    Visible=yes
    status=enabled
smeupdates-testing=repository
    EnableGroups=yes
    GPGCheck=yes
    MirrorList=http://mirrorlist.contribs.org/mirrorlist/smeupdates-testing-9
    Name=SME Server - updates testing
    Visible=yes
    status=disabled
updates=repository
    EnableGroups=no
    Exclude=initscripts,libgsf
    GPGCheck=yes
    MirrorList=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=updates
    Name=CentOS - updates
    Visible=yes
    status=enabled
[root@mailserver ~]#

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: 9.1 Upgrade - No Backup File Found
« Reply #8 on: May 03, 2017, 10:48:08 AM »
ok, repositories seem ok..

so, please, login as root and
Code: [Select]
signal-event yum-modify
yum --enablerepo=* clean all
yum update

your error message "Could not retrieve [Errno 4] - IOError" seems not complete..

Offline awservs

  • 6
  • +0/-0
Re: 9.1 Upgrade - No Backup File Found
« Reply #9 on: May 03, 2017, 07:02:09 PM »
Hi I went back in to do what you said but noticed that the problem appeared to have resolved itself and was now listing all the required updates.

I started the update process and it downloaded and installed 613 updates.

However now it appears that the server will not accept any incoming email.  Email can be sent from the clients but no emails are being recieved and that are not bouncing back.

I've looked at qpsmtpd/current and I see lots of this

2017-05-03 17:44:29.321066500 2657 250-xxx.com Hi aws.viper.xxx.net [188.39.xxx.xxx]
2017-05-03 17:44:29.321128500 2657 250-PIPELINING
2017-05-03 17:44:29.321186500 2657 250-8BITMIME
2017-05-03 17:44:29.321250500 2657 250-SIZE 35000000
2017-05-03 17:44:29.321308500 2657 250 STARTTLS
2017-05-03 17:44:29.340181500 2657 in config(loglevel)
2017-05-03 17:44:29.340242500 2657 config(loglevel): hook returned (0,)
2017-05-03 17:44:29.340535500 2657 dispatching MAIL FROM:<xxx@news-yyy.com> SIZE=68194 BODY=8BITMIME
2017-05-03 17:44:29.340894500 2657 DESTROY called by Qpsmtpd::SMTP, /usr/share/perl5/vendor_perl/Qpsmtpd/SMTP.pm, 350
2017-05-03 17:44:29.340985500 2657 full from_parameter: FROM:<xxx@news-yyy.com> SIZE=68194 BODY=8BITMIME
2017-05-03 17:44:29.341432500 2657 from email address : [<xxx@news-yyy.com>]
2017-05-03 17:44:29.342206500 2657 (mail) running plugin: tls
2017-05-03 17:44:29.342384500 2657 Plugin tls, hook mail returned DECLINED,
2017-05-03 17:44:29.342548500 2657 getting mail from <xxx@news-yyy.com>
2017-05-03 17:44:29.342655500 2657 250 <xxx@news-yyy.com>, sender OK - how exciting to get mail from you!
2017-05-03 17:44:29.342913500 2657 in config(loglevel)
2017-05-03 17:44:29.342979500 2657 config(loglevel): hook returned (0,)
2017-05-03 17:44:29.343310500 2657 dispatching RCPT TO:<gerry@zzz.com>
2017-05-03 17:44:29.343766500 2657 to email address : [<gerry@zzz.com>]
2017-05-03 17:44:29.344018500 2657 (rcpt) running plugin: tls
2017-05-03 17:44:29.344179500 2657 Plugin tls, hook rcpt returned DECLINED,
2017-05-03 17:44:29.344327500 2657 450 No plugin decided if relaying is allowed
2017-05-03 17:44:29.344466500 2657 in config(loglevel)
2017-05-03 17:44:29.344529500 2657 config(loglevel): hook returned (0,)
2017-05-03 17:44:29.344878500 2657 dispatching DATA
2017-05-03 17:44:29.345029500 2657 (data) running plugin: tls
2017-05-03 17:44:29.345182500 2657 Plugin tls, hook data returned DECLINED,
2017-05-03 17:44:29.345238500 2657 (data) running plugin: earlytalker
2017-05-03 17:44:29.345387500 2657 Plugin earlytalker, hook data returned DECLINED,
2017-05-03 17:44:29.345613500 2657 503 RCPT first
2017-05-03 17:44:29.496837500 2657 in config(loglevel)
2017-05-03 17:44:29.496888500 2657 config(loglevel): hook returned (0,)
2017-05-03 17:44:29.497230500 2657 dispatching RSET
2017-05-03 17:44:29.497470500 2657 DESTROY called by Qpsmtpd::SMTP, /usr/share/perl5/vendor_perl/Qpsmtpd/SMTP.pm, 612
2017-05-03 17:44:29.497571500 2657 250 OK
2017-05-03 17:44:29.497718500 2657 in config(loglevel)
2017-05-03 17:44:29.497817500 2657 config(loglevel): hook returned (0,)
2017-05-03 17:44:29.498108500 2657 dispatching QUIT
2017-05-03 17:44:29.498283500 2657 in config(me)
2017-05-03 17:44:29.498350500 2657 config(me): hook returned (0,)
2017-05-03 17:44:29.498608500 2657 221 zzz.com closing connection. Have a wonderful day.
2017-05-03 17:44:29.498697500 2657 click, disconnecting
2017-05-03 17:44:29.498888500 2657 (post-connection) running plugin: tls
2017-05-03 17:44:29.499080500 2657 Plugin tls, hook post-connection returned DECLINED,
2017-05-03 17:44:29.500259500 2657 DESTROY called by main, /usr/bin/qpsmtpd-forkserver, 0

Any help appreciated.

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: 9.1 Upgrade - No Backup File Found
« Reply #10 on: May 03, 2017, 07:04:21 PM »
please, take a look here:

https://wiki.contribs.org/SME_Server:9.2

and here:
https://forums.contribs.org/index.php/topic,53034.0.html

you have to upgrade your contribs too or remove your custom templates

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: 9.1 Upgrade - No Backup File Found
« Reply #11 on: May 03, 2017, 07:04:38 PM »
P.S.: 1 issue -> 1 topic, thank you ;-)

Offline awservs

  • 6
  • +0/-0
Re: 9.1 Upgrade - No Backup File Found
« Reply #12 on: May 03, 2017, 08:26:34 PM »
Thanks, Stefano,

It was the smeserver-wbl contrib that was the problem, typical as that was/is the only contrib installed.

I have updated it to the latest version and all appears to be working again.

Thanks again

P.S. In my defence I did ask when I posted my second question in this thread if I should start a new topic but didn't get any response other than answers to my query!  :-)