migrate to new server using backup and restore?

Hi folks,

To migrate to a new server (Debian 8) I have tried to import
a backup (made on djigzo 2.4.0-3) into djigzo 2.10.0-3. Error
message:

Restore failed. Message: WebServiceCheckedException: IOException: /usr/share/djigzo/scripts/scripts.d/backup.sh: line 339: service: command not found

AFAICS this is about restarting the database. As a workaround
I had to create a temporary symlink:

ln -s /usr/sbin/service /usr/bin

Now I am a little bit concerned about other tools not
searched in /usr/sbin.

Hope this helps. Regards
Harri

I have added /usr/sbin to the PATH of the backup.sh script:

PATH='/bin:/usr/bin:/sbin:/usr/sbin'

This will be included when a new version is released.

It looks like all other scripts are working correctly on Debian Jessie

Kind regards,

Martijn Brinkers

ยทยทยท

On 09/04/2015 04:50 PM, Harald Dunkel wrote:

Hi folks,

To migrate to a new server (Debian 8) I have tried to import a backup
(made on djigzo 2.4.0-3) into djigzo 2.10.0-3. Error message:

Restore failed. Message: WebServiceCheckedException: IOException:
/usr/share/djigzo/scripts/scripts.d/backup.sh: line 339: service:
command not found

AFAICS this is about restarting the database. As a workaround I had
to create a temporary symlink:

ln -s /usr/sbin/service /usr/bin

Now I am a little bit concerned about other tools not searched in
/usr/sbin.

--
CipherMail email encryption

Open source email encryption gateway with support for S/MIME, OpenPGP
and PDF messaging.

Twitter: http://twitter.com/CipherMail

--
CipherMail email encryption

Open source email encryption gateway with support for S/MIME, OpenPGP
and PDF messaging.

Twitter: http://twitter.com/CipherMail