Upload Image From HDD 500GB to SSD 120GB
- 
 @Gilberto-Ferraz I’m not a ubuntu admin but what does sudo apt-get install mariadbgive you?@Developers would the fog 1.5.7 log list if the database was uninstalled for any reason? 
- 
 @george1421 I can’t even install it  I’m using OS ubuntu 18.08.3 LTS. I’m using OS ubuntu 18.08.3 LTS.
- 
 @Gilberto-Ferraz then try sudo apt-get install mysqlI do find it very strange that the database service would be installed by the fog installer. Something unexpected must be going on with ubuntu. 
- 
 @george1421 It is very strange I do not know what happened also does not let install mysql. I try to install version 1.5.7 again? 
 
- 
 @george1421 What OS is this being installed from? I’m fairly sure 18.04 and newer have mariadb available. 
- 
 On Ubuntu 18.04 it’s mariadb-server I think 
- 
 @Tom-Elliott I thought so too, but the update turned out not to work well  I try to install fog 1.5.7 again ?? I try to install fog 1.5.7 again ??
- 
 @Gilberto-Ferraz So if you follow Tom’s lead does sudo apt-get install mariadb-serverwork better.Secondly, I feel I need to apologies since the upgrade should have worked no problem. I have no idea that ubuntu would break. 
- 
 @george1421 said in [Upload Image From HDD 500GB to SSD 120GB] when i try to reinstall fog 1.5.7 again give me this error when installing mariadb-client and mariadb-server package. 
- 
 @Gilberto-Ferraz so again, if you run sudo apt-get install mariadb-server(now that we know the package name) what does apt-get tell you?
- 
 @Gilberto-Ferraz Too bad I have been away for a couple of hours and did not know the Linux OS you have. If I’d known I would have warned you. There is a known issue when upgrading to 1.5.7 on Ubuntu!! If you say yes when the installer asks if it should re-install Apache/PHP it will also try to force a migration from mysql to mariadb and fails. Here are the steps to manually roll back to MySQL that will still have all your FOG information: sudo -i mv /var/lib/mysql /var/lib/mysql-mariadb apt-get remove mariadb-client mariadb-server cp -a /var/lib/mysql-5.7 /var/lib/mysql apt-get install mysql-client mysql-server systemctl start mysqlFor more detailed infos read: 
 https://forums.fogproject.org/topic/13492/fog-1-5-7-update-database-issue
 https://forums.fogproject.org/topic/13703/missing-data-after-fog-1-5-7-upgrade
 https://forums.fogproject.org/topic/13447/lost-database
- 
 Thanks a lot for the help. I’m already weekend. But then I test your solution. I’m glad to hear that the problem was not mine  but ubuntu 18.04 but ubuntu 18.04 You will try to recover the system and install new centos. You will try to recover the system and install new centos.
- 
 @Gilberto-Ferraz said in Upload Image From HDD 500GB to SSD 120GB: will try to recover the system and install new centos. First make sure you get this all back to running on Ubuntu. Don’t try to move to CentOS in a rush. There are more things that can go wrong when moving to a new Linux OS. 


