Bug #1794

Mysql: migration fails

Added by Davide Principi over 6 years ago. Updated over 6 years ago.

Status:CLOSEDStart date:
Priority:NormalDue date:
Assignee:-% Done:

100%

Category:nethserver-mysql
Target version:v6.4-beta1
Security class: Resolution:
Affected version:v6.4-alpha2 NEEDINFO:

Description

The mysql migration fails when tries to move the root password file from the backup subtree:

Could not find MySQL password file: /root/nethservice_backup//root/.my.cnf

The file has been previously moved by nethserver-base, during root home directory migration.

Associated revisions

Revision 255d451a
Added by Giacomo Sanchietti over 6 years ago

nethserver-mysql-migrate: check if /root/.my.cnf is alredy migrated. Refs #1794

Revision b65f5808
Added by Giacomo Sanchietti over 6 years ago

nethserver-base-migrate: preserve /root/.my.cnf file. Refs #1794

Revision 460ca665
Added by Giacomo Sanchietti over 6 years ago

nethserver-mysql-migrate: revert to previous commit. Fix for migration is now in nethserver-base. Refs #1794

History

#1 Updated by Giacomo Sanchietti over 6 years ago

  • Assignee set to Giacomo Sanchietti

#2 Updated by Giacomo Sanchietti over 6 years ago

  • Status changed from NEW to MODIFIED

Do not migrate /root/.my.cnf file in nethserver-base.

#3 Updated by Davide Principi over 6 years ago

  • Status changed from MODIFIED to CLOSED
  • % Done changed from 0 to 100

Also available in: Atom PDF