This section contains some common problems you might encounter with Uyuni upgrades, and solutions to resolving them.
Sometimes, the Web UI will not load after migration. This is usually caused by browser caching, if the new system has the same hostname and IP address as the old system. This duplication can confuse some browsers.
This issue is resolved by clearing the cache and reloading the page. In most browsers, you can do this quickly by pressing Ctrl+F5.
Check the available disk space before you begin migration.
We recommend locating
/var/lib/pgsql on separate XFS file systems.
When you are setting up a separate file system, edit
/etc/fstab and remove the
Reboot the server to pick up the changes.
If you think your database dump has been corrupted, you can check by using this command with the hostname of the source system:
ssh root@source_hostname "su -s /bin/bash - postgres -c exit"
The command will only produce output if the database has become corrupted.
If the database is corrupted, check the
.bashrc environment file on the source system.
Ensure there is no extra text in the file at the point that the script starts the shell.
If you need to retry setting up the target system, follow these steps:
Stop PostgreSQL and remove
Set the target system hostname to match the source system hostname.
/etc/hostsfile, and correct it if necessary.
/etc/setup_env.shon the target system, and ensure the database name is set:
Reboot the target system.