After upgrade I am getting this error while upgrade postgress database .
08:37:25 Successfully initialized new postgresql 12 database.
08:37:25 Upgrade database to new version postgresql 12...
check for "/usr/lib/postgresql10/bin" failed: No such file or directory
08:37:25 Upgrading database to version 12 failed!
08:37:25 Trying to restore previous state...
mv: cannot move '/var/lib/pgsql/data' to
'/var/lib/pgsql/data-new-failed/data': File exists
update-alternatives: error: alternative /usr/lib/postgresql10 for postgresql not
registered; not setting
spacewalk:~ # spacewalk-service restart
Shutting down spacewalk services...
Starting spacewalk services...
● uyuni-check-database.service - Uyuni check database
Loaded: loaded (/usr/lib/systemd/system/uyuni-check-database.service; static; vendor
Active: failed (Result: exit-code) since Wed 2020-09-23 09:03:07 EEST; 109ms ago
Process: 4931 ExecStart=/usr/sbin/spacewalk-startup-helper check-database (code=exited,
Main PID: 4931 (code=exited, status=1/FAILURE)
Sep 23 09:03:07 spacewalk systemd: Starting Uyuni check database...
Sep 23 09:03:07 spacewalk spacewalk-startup-helper: psql: error: could not connect
to server: FATAL: role "uyuni" does not exist
Sep 23 09:03:07 spacewalk spacewalk-startup-helper: Database version '' is
not supported for SUSE Manager/Uyuni on openSUSE Leap 15.2. Perform database migration.
Sep 23 09:03:07 spacewalk systemd: uyuni-check-database.service: Main process exited,
Sep 23 09:03:07 spacewalk systemd: Failed to start Uyuni check database.
Sep 23 09:03:07 spacewalk systemd: uyuni-check-database.service: Unit entered failed
Sep 23 09:03:07 spacewalk systemd: uyuni-check-database.service: Failed with result
Service Delivery – Datacenter Services
HCL Technologies Ltd. – UPM Partner for IT Services
From: Julio González Gil <jgonzalez(a)suse.com>
Sent: 22 September 2020 17:37
To: uyuni-announce(a)opensuse.org; uyuni-users(a)opensuse.org; uyuni-devel(a)opensuse.org
Subject: [uyuni-announce] Uyuni 2020.09 is released!
We are happy to announce the immediate availability of Uyuni 2020.09
you will find all the resources
you need to start working with Uyuni 2020.09, including the release notes, documentation,
requirements and setup instructions.
IMPORTANT: Keep in mind Uyuni 2020.07 changed the base OS to openSUSE Leap 15.2, so a
special procedure is needed if you are not upgrading from 2020.07 but from a previous
version! Check the release notes and the documentation for all the details
This is the list of highlights for this release:
* Uyuni Hub XML-RPC API is now supported
* Formula for peripheral server management (Technology Preview)
* Maintenance windows
* Monitoring reverse proxies
* Added new type of "Virtual Host Manager": Nutanix AHV
* Grafana 7.1.5
* New products enabled
Please check the release notes for full details.
We will also have Uyuni Community Hours this Friday 25th at 16.00 CEST to present Uyuni
Remember that Uyuni will follow a rolling release planning, so the next version will
contain bugfixes for this one and any new features. There will be no maintenance of
As always, we hope you will enjoy Uyuni 2020.09 and we invite everyone of you to send us
your feedback  and of course your patches, if you can contribute.
Conference ID: 169 720 66#
Julio González Gil
Release Engineer, SUSE Manager and Uyuni jgonzalez(a)suse.com
Please note. The information contained in this message is confidential and is intended
only for the use of the individual named above and others who have been specially
authorized to receive it. If you are not the intended recipient, you are hereby notified
that any dissemination, distribution or copying of this communication is strictly
prohibited. The attachments have been scanned for viruses prior to leaving our E-mail
system. UPM-Kymmene Corporation shall not be liable for any consequences of any virus
being passed on.