*Please ask Brian to install/update any apps/scripts on the CCG UBuntu server*Stacks updates are downloaded to /home/bsimison/downloads. Stacks installs into /usr/local/bin Stacks overwrites all configuration files and scripts so some need to be edited after each update. The 'stacks_export_notify.pl' script needs to be configured after each update. Lines 43-48 need to be edited as follows:
my $exe_path = "/usr/local/bin/" . "export_sql.pl"; my $output_path = "/usr/local/share/stacks/" . "php/export/"; my $url = "http://10.5.10.18/stacks/export/"; my $local_host = "localhost"; my $smtp_host = "mail.calacademy.org"; my $from = "bsimison\@calacademy.org";Line 56 should be edited as:
my $email = "bsimison\@calacademy.org";I have created a backup file 'stacks_export_notify.pl.bak' with the proper configuration. Use this file as a reference. Do not rename this file because any updates added to the 'stacks_export_notify.pl' script will be lost. Also, note that the line #s may change from one version to the next.