Enhancement #2789

Faxweb: implement migration

Added by Giacomo Sanchietti about 7 years ago. Updated almost 7 years ago.

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

100%

Category:nethserver-faxweb2
Target version:v6.5
Resolution: NEEDINFO:No

Description

The Faxweb packages (nethserver-faxweb) doesn't handle migration.

The only thing needed is an update on fax database to fix all file path:

mysql faxdb -e "update faxweb_fax set path = replace(path, '/home/e-smith/', '/var/lib/nethserver/');" 

Associated revisions

Revision c3794da0
Added by Giacomo Sanchietti almost 7 years ago

Migration: migrate MySQL records. Refs #2789

Revision 19543d67
Added by Giacomo Sanchietti almost 7 years ago

createlinks: fix migration script name. Refs #2789

Revision 3750ec4f
Added by Giacomo Sanchietti almost 7 years ago

createlinks: delay migration action. Refs #2789

History

#1 Updated by Giacomo Sanchietti about 7 years ago

  • Status changed from NEW to TRIAGED
  • Target version set to v6.5
  • % Done changed from 0 to 20

#2 Updated by Giacomo Sanchietti almost 7 years ago

  • Status changed from TRIAGED to ON_DEV
  • Assignee set to Giacomo Sanchietti
  • % Done changed from 20 to 30

#3 Updated by Giacomo Sanchietti almost 7 years ago

  • Status changed from ON_DEV to MODIFIED
  • % Done changed from 30 to 60

#4 Updated by Giacomo Sanchietti almost 7 years ago

  • Status changed from MODIFIED to ON_QA
  • Assignee deleted (Giacomo Sanchietti)
  • % Done changed from 60 to 70
Package in nethserver-testing:
  • nethserver-faxweb2-1.0.5-4.0gitf9b6be17.ns6.noarch.rpm
  • nethserver-faxweb2-1.0.5-6.0git3750ec4f.ns6.noarch.rpm
Test case
  • Import an old database
  • Execute the migration
  • Check all paths inside the database point to a real file

#5 Updated by Davide Principi almost 7 years ago

  • Assignee set to Davide Principi

#6 Updated by Davide Principi almost 7 years ago

  • Status changed from ON_QA to VERIFIED
  • Assignee deleted (Davide Principi)
  • % Done changed from 70 to 90

#7 Updated by Davide Principi almost 7 years ago

  • Status changed from VERIFIED to CLOSED
  • % Done changed from 90 to 100

In nethserver-updates:
nethserver-faxweb2-1.1.0-1.ns6.noarch.rpm

Also available in: Atom PDF