There is an bug in <metarep_home_dir>/.htaccess which leads to following 404 error:
Error: The requested address '/tmp/jcvi_metagenomics_report_timestamp_hclust_plot.pdf' was not found on this server.
This is my <metarep_home_dir>/.htaccess file's content:
#Exclude METAREP_TMP_DIR tempt dir, pdf files and txt files from redirection
RewriteRule ^(tmp|.*\.pdf|.*\.txt) - [L]
RewriteRule ^$ app/webroot/ [L]
RewriteRule (.*) app/webroot/$1 [L]
Without the added line, users always get 404 error when trying to generate plots, unless they put temp folder inside <metarep_home_dir>/app/webroot
Thanks for pointing this out. We get around this by creating a symbolic link tmp under the app/webroot that points to our METAREP_TMP directory
I have added this to WIKI installation instructions.