NS6 upgrade tool: nethserver-upgrade-txcheck error

@davidep
Installed the upgrade tool from software center, configured bridge and now it is asking me to upgrade the existing Active directory (which is not in my server, am using LDAP). Any how proceeded to the next steps. After sometime got the following error…

Task completed with errors

S80nethserver-upgrade-txcheck #4 (exit status 256)

S70mount-cifs #23 (exit status 256)

Please suggest…

What was the message exactly? It should be one among those listed here: nethserver-upgrade-tool/root/usr/share/nethesis/NethServer/Language/en/NethServer_Module_UpgradeTool.php at master · NethServer/nethserver-upgrade-tool · GitHub

BTW: upgrading to AD is mandatory if you have Samba shared folders with user authentication in ns6.

This seems from the backup-data procedure. You’d check it is configured correctly or disable it temporarily. More information can be found in /var/log/messages.

@davidep,
Now the failure status changed as follows…

S50mysql-dump-tables #21 (exit status 256)

Please attach more information from /var/log/messages to understand the issue

Here goes the last lines of /var/log/messages

Sep 25 16:21:38 mail esmith::event[4624]: 
Sep 25 16:22:26 mail esmith::event[4624]: (1103/1119): xmlsec1-openssl-1.2.20-7.el7_4.x86_6http://mirror.ox.ac.uk/sites/mirror.centos.org/7.6.1810/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Sep 25 16:22:26 mail esmith::event[4624]: Trying other mirror.
Sep 25 16:22:26 mail esmith::event[4624]: To address this issue please refer to the below wiki article 
Sep 25 16:22:26 mail esmith::event[4624]: 
Sep 25 16:22:26 mail esmith::event[4624]: https://wiki.centos.org/yum-errors
Sep 25 16:22:26 mail esmith::event[4624]: 
Sep 25 16:22:26 mail esmith::event[4624]: If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
Sep 25 16:22:26 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: http://mirrorlist.nethserver.org/?release=7&repo=ce-sclo-rh&arch=x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Sep 25 16:22:33 mail esmith::event[4624]: Trying other mirror.
Sep 25 16:22:33 mail esmith::event[4624]: Error: Cannot retrieve repository metadata (repomd.xml) for repository: ug7-centos-sclo-rh. Please verify its path and try again
Sep 25 16:22:33 mail esmith::event[4624]: 4.rpm   |  76 kB     00:00     
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: (1104/1119): xorg-x11-font-utils-7.5-21.el7.x86_64.rpm   | 104 kB     00:00     
Sep 25 16:22:33 mail esmith::event[4624]: (1105/1119): xorg-x11- (99%) 43% [=====       ]  0.0 B/s | 227 kB     --:-- ETA 
Sep 25 16:22:33 mail esmith::event[4624]: (1105/1119): xorg-x11- (99%) 88% [==========- ] 374 kB/s | 459 kB     00:00 ETA 
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: (1105/1119): xorg-x11-fonts-Type1-7.5-9.el7.noarch.rpm   | 521 kB     00:00     
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: (1106/1119): xz-5.2.2-1.el7.x86_64.rpm                   | 229 kB     00:00     
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: (1107/1119): xz-libs-5.2.2-1.el7.x86_64.rpm              | 103 kB     00:00     
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: (1108/1119): xz-lzma-compat-5.2.2-1.el7.x86_64.rpm       |  18 kB     00:00     
Sep 25 16:22:33 mail esmith::event[4624]: (1109/1119): yum-3.4.3 (99%) 19% [==          ]  0.0 B/s | 243 kB     --:-- ETA 
Sep 25 16:22:33 mail esmith::event[4624]: (1109/1119): yum-3.4.3 (99%) 38% [====-       ] 399 kB/s | 490 kB     00:01 ETA 
Sep 25 16:22:33 mail esmith::event[4624]: (1109/1119): yum-3.4.3 (99%) 58% [=======     ] 424 kB/s | 739 kB     00:01 ETA 
Sep 25 16:22:33 mail esmith::event[4624]: (1109/1119): yum-3.4.3 (99%) 78% [=========   ] 448 kB/s | 994 kB     00:00 ETA 
Sep 25 16:22:33 mail esmith::event[4624]: (1109/1119): yum-3.4.3 (99%) 98% [===========-] 471 kB/s | 1.2 MB     00:00 ETA 
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: (1109/1119): yum-3.4.3-161.el7.centos.noarch.rpm         | 1.2 MB     00:01     
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: (1110/1119): yum-cron-3.4.3-161.el7.centos.noarch.rpm    |  64 kB     00:00     
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: (1111/1119): yum-metadata-parser-1.1.4-10.el7.x86_64.rpm |  28 kB     00:00     
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: (1112/1119): yum-plugin-changelog-1.1.31-50.el7.noarch.r |  34 kB     00:00     
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: (1113/1119): yum-plugin-fastestmirror-1.1.31-50.el7.noar |  34 kB     00:00     
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: (1114/1119): yum-utils-1.1.31-50.el7.noarch.rpm          | 121 kB     00:00     
Sep 25 16:22:33 mail esmith::event[4624]: (1115/1119): zeromq-4. (99%) 51% [======      ]  0.0 B/s | 287 kB     --:-- ETA 
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: (1115/1119): zeromq-4.1.4-6.el7.x86_64.rpm               | 556 kB     00:00     
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: (1116/1119): zeromq3-3.2.5-1.el7.x86_64.rpm              | 344 kB     00:00     
Sep 25 16:22:33 mail esmith::event[4624]: (1117/1119): zip-3.0-1 (99%) 35% [====        ]  0.0 B/s |  93 kB     --:-- ETA 
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: (1117/1119): zip-3.0-11.el7.x86_64.rpm                   | 260 kB     00:00     
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: (1118/1119): zlib-1.2.7-18.el7.x86_64.rpm                |  90 kB     00:00     
Sep 25 16:22:33 mail esmith::event[4624]: (1119/1119): zstd-1.4. (99%) 85% [==========  ]  0.0 B/s | 311 kB     --:-- ETA 
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: (1119/1119): zstd-1.4.2-1.el7.x86_64.rpm                 | 365 kB     00:00     
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: rpm transaction  0% [                                                          ]
Sep 25 16:22:33 mail esmith::event[4624]: rpm transaction 26% [===============                                           ]
Sep 25 16:22:33 mail esmith::event[4624]: rpm transaction 100% [=========================================================]
Sep 25 16:22:33 mail esmith::event[4624]: 
Sep 25 16:22:33 mail esmith::event[4624]: rpm install 18% [===========                                                   ]
Sep 25 16:22:33 mail esmith::event[4624]: rpm install 61% [======================================                        ]
Sep 25 16:22:33 mail esmith::event[4624]: rpm install 90% [=======================================================       ]
Sep 25 16:22:33 mail esmith::event[4624]: rpm install 100% [=============================================================]
Sep 25 16:22:33 mail esmith::event[4624]: setting up repos...
Sep 25 16:22:33 mail esmith::event[4624]: No upgrade available for the following repos: ug7-centos-sclo-rh ug7-centos-sclo-sclo
Sep 25 16:22:33 mail esmith::event[4624]: Check that the repo URLs are correct.
Sep 25 16:22:33 mail esmith::event[4624]: getting boot images...
Sep 25 16:22:33 mail esmith::event[4624]: setting up update...
Sep 25 16:22:33 mail esmith::event[4624]: testing upgrade transaction
Sep 25 16:22:33 mail esmith::event[4624]: setting up system for upgrade
Sep 25 16:22:33 mail esmith::event[4624]: Finished. Reboot to start upgrade.
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ distroversion
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ infra
Sep 25 16:22:33 mail esmith::event[4624]: .d..t...... ./
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ CentOS-Base.repo
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ CentOS-Debuginfo.repo
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ CentOS-Media.repo
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ CentOS-Vault.repo
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ CentOS-fasttrack.repo
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ NethForge.repo
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ NethServer.repo
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ redhat-upgrade-ug7-base.repo
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ redhat-upgrade-ug7-epel.repo
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ redhat-upgrade-ug7-extras.repo
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ redhat-upgrade-ug7-instrepo.repo
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ redhat-upgrade-ug7-nethforge.repo
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ redhat-upgrade-ug7-nethserver-base.repo
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ redhat-upgrade-ug7-nethserver-updates.repo
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ redhat-upgrade-ug7-updates.repo
Sep 25 16:22:33 mail esmith::event[4624]: >f+++++++++ ug7repos.repo
Sep 25 16:22:33 mail esmith::event[4624]: Loaded plugins: changelog, fastestmirror, nethserver_events, presto
Sep 25 16:22:33 mail esmith::event[4624]: Setting up Install Process
Sep 25 16:22:33 mail esmith::event[4624]: Determining fastest mirrors
Sep 25 16:22:33 mail esmith::event[4624]:  * ug7-base: mirror.ox.ac.uk
Sep 25 16:22:33 mail esmith::event[4624]:  * ug7-epel: mirror01.idc.hinet.net
Sep 25 16:22:33 mail esmith::event[4624]:  * ug7-extras: mirror.ox.ac.uk
Sep 25 16:22:33 mail esmith::event[4624]:  * ug7-nethforge: markusneuberger.at
Sep 25 16:22:33 mail esmith::event[4624]:  * ug7-nethserver-base: markusneuberger.at
Sep 25 16:22:33 mail esmith::event[4624]:  * ug7-nethserver-updates: markusneuberger.at
Sep 25 16:22:33 mail esmith::event[4624]:  * ug7-updates: mirror.ox.ac.uk
Sep 25 16:22:33 mail esmith::event[4624]: Action: /etc/e-smith/events/nethserver-upgrade-tool-prepare/S30nethserver-upgrade-download SUCCESS [1644.579971]
Sep 25 16:22:34 mail esmith::event[4624]: [NOTICE] Download and prepare NSDC, the local Active Directory accounts provider
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ distroversion
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ infra
Sep 25 16:22:34 mail esmith::event[4624]: .d..t...... ./
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ CentOS-Base.repo
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ CentOS-Debuginfo.repo
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ CentOS-Media.repo
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ CentOS-Vault.repo
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ CentOS-fasttrack.repo
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ NethForge.repo
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ NethServer.repo
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ redhat-upgrade-ug7-base.repo
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ redhat-upgrade-ug7-epel.repo
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ redhat-upgrade-ug7-extras.repo
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ redhat-upgrade-ug7-instrepo.repo
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ redhat-upgrade-ug7-nethforge.repo
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ redhat-upgrade-ug7-nethserver-base.repo
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ redhat-upgrade-ug7-nethserver-updates.repo
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ redhat-upgrade-ug7-updates.repo
Sep 25 16:22:34 mail esmith::event[4624]: >f+++++++++ ug7repos.repo
Sep 25 16:22:34 mail esmith::event[4624]: /var/tmp/nethserver-upgrade-tool /
Sep 25 16:24:41 mail esmith::event[4624]: Loaded plugins: fastestmirror, nethserver_events, presto
Sep 25 16:24:41 mail esmith::event[4624]: Loaded plugins: fastestmirror, nethserver_events, presto
Sep 25 16:24:41 mail esmith::event[4624]: http://centos.mirror.digitalpacific.com.au/7.6.1810/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Sep 25 16:24:41 mail esmith::event[4624]: http://centos.mirror.digitalpacific.com.au/7.6.1810/os/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Sep 25 16:24:41 mail esmith::event[4624]: Trying other mirror.
Sep 25 16:24:41 mail esmith::event[4624]: Trying other mirror.
Sep 25 16:24:41 mail esmith::event[4624]: To address this issue please refer to the below wiki article 
Sep 25 16:24:41 mail esmith::event[4624]: To address this issue please refer to the below wiki article 
Sep 25 16:24:41 mail esmith::event[4624]: 
Sep 25 16:24:41 mail esmith::event[4624]: 
Sep 25 16:24:41 mail esmith::event[4624]: https://wiki.centos.org/yum-errors
Sep 25 16:24:41 mail esmith::event[4624]: https://wiki.centos.org/yum-errors
Sep 25 16:24:41 mail esmith::event[4624]: 
Sep 25 16:24:41 mail esmith::event[4624]: 
Sep 25 16:24:41 mail esmith::event[4624]: If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
Sep 25 16:24:41 mail esmith::event[4624]: If above article doesn't help to resolve this issue please use https://bugs.centos.org/.
Sep 25 16:24:41 mail esmith::event[4624]: 
Sep 25 16:24:41 mail esmith::event[4624]: 
Sep 25 16:24:41 mail esmith::event[4624]: http://linorg.usp.br/CentOS/7.6.1810/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://linorg.usp.br/CentOS/7.6.1810/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Sep 25 16:24:41 mail esmith::event[4624]: http://linorg.usp.br/CentOS/7.6.1810/os/x86_64/repodata/repomd.xml: [Errno 12] Timeout on http://linorg.usp.br/CentOS/7.6.1810/os/x86_64/repodata/repomd.xml: (28, 'Operation too slow. Less than 1 bytes/sec transfered the last 30 seconds')
Sep 25 16:24:41 mail esmith::event[4624]: Trying other mirror.
Sep 25 16:24:41 mail esmith::event[4624]: Trying other mirror.
Sep 25 16:24:41 mail esmith::event[4624]: http://mirrorlist.nethserver.org/?release=7&repo=ce-sclo-rh&arch=x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Sep 25 16:24:41 mail esmith::event[4624]: http://mirrorlist.nethserver.org/?release=7&repo=ce-sclo-rh&arch=x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 404 Not Found"
Sep 25 16:24:41 mail esmith::event[4624]: Trying other mirror.
Sep 25 16:24:41 mail esmith::event[4624]: Trying other mirror.
Sep 25 16:24:41 mail esmith::event[4624]: Cannot retrieve repository metadata (repomd.xml) for repository: ug7-centos-sclo-rh. Please verify its path and try again
Sep 25 16:24:41 mail esmith::event[4624]: Cannot retrieve repository metadata (repomd.xml) for repository: ug7-centos-sclo-rh. Please verify its path and try again
Sep 25 16:24:41 mail esmith::event[4624]: Action: /etc/e-smith/events/nethserver-upgrade-tool-prepare/S40nethserver-upgrade-nsdc FAILED: 1 [127.872918]
Sep 25 16:24:43 mail esmith::event[4624]: [NOTICE] required space 2575976, free space 98048868
Sep 25 16:24:51 mail esmith::event[4624]: [INFO] 1119 packages ready for the upgrade. Reboot to proceed.
Sep 25 16:24:51 mail esmith::event[4624]: Action: /etc/e-smith/events/nethserver-upgrade-tool-prepare/S80nethserver-upgrade-txcheck SUCCESS [9.512818]
Sep 25 16:24:51 mail esmith::event[4624]: Stopping crond: [  OK  ]#015
Sep 25 16:24:51 mail esmith::event[4624]: [INFO] crond is disabled and has been stopped
Sep 25 16:24:51 mail esmith::event[4624]: 
Sep 25 16:24:51 mail esmith::event[4624]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [0.423928]
Sep 25 16:24:51 mail esmith::event[4624]: Event: nethserver-upgrade-tool-prepare FAILED
Sep 25 16:24:56 mail esmith::event[6850]: Event: nethserver-upgrade-tool-reset 
Sep 25 16:24:56 mail esmith::event[6850]: resetting bootloader config
Sep 25 16:24:56 mail esmith::event[6850]: removing boot images
Sep 25 16:24:56 mail esmith::event[6850]: removing downloaded packages
Sep 25 16:24:56 mail esmith::event[6850]: removing miscellaneous files
Sep 25 16:24:57 mail /sbin/e-smith/db[6888]: /var/lib/nethserver/db/configuration: OLD crond=service|status|disabled
Sep 25 16:24:57 mail /sbin/e-smith/db[6888]: /var/lib/nethserver/db/configuration: NEW crond=service|status|enabled
Sep 25 16:24:57 mail esmith::event[6889]: Event: post-backup-data 
Sep 25 16:24:57 mail esmith::event[6889]: Action: /etc/e-smith/events/post-backup-data/S50mysql-delete-dumped-tables SUCCESS [0.006595]
Sep 25 16:24:57 mail esmith::event[6889]: Action: /etc/e-smith/events/post-backup-data/S70cleanup-data-duplicity SUCCESS [0.562828]
Sep 25 16:24:57 mail esmith::event[6889]: Action: /etc/e-smith/events/post-backup-data/S70cleanup-restore-index SUCCESS [0.108868]
Sep 25 16:24:57 mail esmith::event[6889]: Action: /etc/e-smith/events/post-backup-data/S80umount-cifs SUCCESS [0.113952]
Sep 25 16:24:58 mail esmith::event[6889]: Action: /etc/e-smith/events/post-backup-data/S80umount-nfs SUCCESS [0.111107]
Sep 25 16:24:58 mail esmith::event[6889]: Action: /etc/e-smith/events/post-backup-data/S80umount-usb SUCCESS [0.116714]
Sep 25 16:24:58 mail esmith::event[6889]: Event: post-backup-data SUCCESS
Sep 25 16:24:58 mail esmith::event[6850]: Action: /etc/e-smith/events/nethserver-upgrade-tool-reset/S20nethserver-upgrade-cleanup SUCCESS [1.907688]
Sep 25 16:24:58 mail esmith::event[6850]: Starting crond: [  OK  ]#015
Sep 25 16:24:58 mail esmith::event[6850]: [INFO] service crond start
Sep 25 16:24:58 mail esmith::event[6850]: [INFO] crond has been started
Sep 25 16:24:58 mail esmith::event[6850]: 
Sep 25 16:24:58 mail esmith::event[6850]: Action: /etc/e-smith/events/actions/adjust-services SUCCESS [0.331951]
Sep 25 16:24:58 mail esmith::event[6850]: Event: nethserver-upgrade-tool-reset SUCCESS

@davidep
Any news for me please?

During the past days, CentOS moved the 7.6.1810 repositories to vault.centos.org. We fixed our links here Serve 7.6.1810 from vault (#25) · NethServer/mirrorlist@a79fdbb · GitHub

Please try again now!

Did as advised. Asked me to reboot and after reboot now admin gui is not working…
Pls help

Please attach more information from /var/log/messages to understand the issue

What does it mean? Could you elaborate it a bit?

I mean am not getting https://ip:980 is not working… but apache default web page is working
another thing… even i can’t vi any file…
getting a reply that
-bash: vi command not found.
Please help

Sorry, I cannot help without it!