seit ein paar Tagen versuche ich nun verzweifelt, meine Appliance (Version 4.0.8 ) auf eine neue Linux-Kiste zu migrieren.
Ist-Situation:
- OTRS 4.0.8
- Appliance
- PostgreSQL
Soll-Situation:
- OTRS 4.0.8
- CentOS7
- MySQL
Nachdem die "Soll-Situation" läuft, soll natürlich auf 5.x geupdatet werden.
Versuch #1:
- Sicherung der Appliance per /opt/otrs/scripts/backup.pl -d /backup/
- Übertragen der Daten per WinSCP
- Wiederherstellung der Daten per /opt/otrs/scripts/restore.pl -b /backup/2016-04-06_14-44/ -d /opt/otrs/
Ergebnis:
Code: Select all
[root@otrsneu ~]# /opt/otrs/scripts/restore.pl -b /backup/2016-04-06_14-44/ -d /opt/otrs/
Restore /backup/2016-04-06_14-44//Config.tar.gz ...
which: no psql in (/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin)
ERROR: Can't locate psql!
Versuch #2:
- Anpassung der MySQL-Datenbank für Remotezugriff (Firewall temporär aus, per GRANT Rechte erteilt etc.)
- Installation CloneDB auf Appliance
- Konfiguration CloneDB
- Ausführen von /opt/otrs/bin/otrs.CloneDB.pl -r
Ergebnis:
Code: Select all
root@otrsalt:/opt/otrs/bin# ./otrs.CloneDB.pl -r
[2016-04-06 16:12:00] Generating DDL for OTRS.
[2016-04-06 16:12:00] Generating DDL for package FAQ.
[2016-04-06 16:12:00] Generating DDL for package OTRSCloneDB.
[2016-04-06 16:12:00] Creating structures in target database (phase 1/2)...................................................................................................... done.
[2016-04-06 16:12:01] Converting table acl...
[2016-04-06 16:12:01] Finished converting table acl.
[2016-04-06 16:12:01] Converting table acl_sync...
[2016-04-06 16:12:01] Finished converting table acl_sync.
[2016-04-06 16:12:01] Converting table article...
Inserting 1000 of 27217
Inserting 2000 of 27217
....
[2016-04-06 16:12:42] Finished converting table article.
[2016-04-06 16:12:42] Converting table article_attachment...
Getötet
Ich habe keine Ahnung mehr, wie ich die Datenbank sauber migrieren soll.
