Forums | Mahara Community
Support
/
LEAP2A/HTML export not working
22 July 2021, 22:52
Mahara 20.04.1
We have complaints that exports had stopped working. We have it set to process in the background. Indeed cron seems to be throwing errors.
Any ideas?
[22-Jul-2021 10:15:01 Europe/London] [INF] 83 (lib/cron.php:55) ---------- cron running Thu, 22 Jul 2021 10:15:01 +0100 ----------
[22-Jul-2021 10:15:01 Europe/London] [INF] 83 (lib/cron.php:114) Running PluginBlocktypeExternalfeed::refresh_feeds
[22-Jul-2021 10:16:46 Europe/London] [INF] 83 (lib/cron.php:136) Skipping: No need to run PluginInteractionForum::interaction_forum_new_post
[22-Jul-2021 10:16:46 Europe/London] [INF] 83 (lib/cron.php:193) Running core cron auth_handle_account_expiries
[22-Jul-2021 10:16:47 Europe/London] [INF] 83 (lib/cron.php:193) Running core cron activity_process_queue
[22-Jul-2021 10:16:47 Europe/London] [INF] 83 (lib/cron.php:193) Running core cron import_process_queue
[22-Jul-2021 10:16:47 Europe/London] [INF] 83 (lib/cron.php:215) Skipping: No need to run user_login_tries_to_zero
[22-Jul-2021 10:16:47 Europe/London] [INF] 83 (lib/cron.php:193) Running core cron check_imap_for_bounces
[22-Jul-2021 10:16:47 Europe/London] [INF] 83 (lib/cron.php:193) Running core cron watchlist_process_notifications
[22-Jul-2021 10:16:47 Europe/London] [INF] 83 (lib/cron.php:193) Running core cron export_process_queue
[22-Jul-2021 10:16:48 Europe/London] [INF] 83 (lib/cron.php:193) Running core cron portfolio_auto_copy
[22-Jul-2021 10:16:48 Europe/London] [INF] 83 (lib/cron.php:235) ---------- cron finished Thu, 22 Jul 2021 10:16:48 +0100 ----------
[22-Jul-2021 10:45:01 Europe/London] [INF] 28 (lib/cron.php:55) ---------- cron running Thu, 22 Jul 2021 10:45:01 +0100 ----------
[22-Jul-2021 10:45:01 Europe/London] [INF] 28 (lib/cron.php:136) Skipping: No need to run PluginInteractionForum::interaction_forum_new_post
[22-Jul-2021 10:45:01 Europe/London] [INF] 28 (lib/cron.php:193) Running core cron activity_process_queue
[22-Jul-2021 10:45:01 Europe/London] [INF] 28 (lib/cron.php:193) Running core cron import_process_queue
[22-Jul-2021 10:45:02 Europe/London] [INF] 28 (lib/cron.php:215) Skipping: No need to run user_login_tries_to_zero
[22-Jul-2021 10:45:02 Europe/London] [INF] 28 (lib/cron.php:193) Running core cron check_imap_for_bounces
[22-Jul-2021 10:45:02 Europe/London] [INF] 28 (lib/cron.php:193) Running core cron watchlist_process_notifications
[22-Jul-2021 10:45:02 Europe/London] [INF] 28 (lib/cron.php:193) Running core cron export_process_queue
[22-Jul-2021 10:45:03 Europe/London] [INF] 28 (lib/cron.php:193) Running core cron portfolio_auto_copy
[22-Jul-2021 10:45:03 Europe/London] [INF] 28 (lib/cron.php:235) ---------- cron finished Thu, 22 Jul 2021 10:45:03 +0100 ----------
[22-Jul-2021 11:15:01 Europe/London] [INF] 86 (lib/cron.php:55) ---------- cron running Thu, 22 Jul 2021 11:15:01 +0100 ----------
[22-Jul-2021 11:15:01 Europe/London] [INF] 86 (lib/cron.php:114) Running PluginBlocktypeExternalfeed::refresh_feeds
[22-Jul-2021 11:17:07 Europe/London] [WAR] 86 (lib/web.php:4615) Curl error: 51: Unable to communicate securely with peer: requested domain name does not match the server's certificate.
[22-Jul-2021 11:17:07 Europe/London] Call stack (most recent first):
[22-Jul-2021 11:17:07 Europe/London] * log_message(string(size 120), integer, true, true) at /var/www/html/mahara/lib/errors.php:89
[22-Jul-2021 11:17:07 Europe/London] * log_warn(string(size 120)) at /var/www/html/mahara/lib/web.php:4615
[22-Jul-2021 11:17:07 Europe/London] * mahara_http_request(array(size 3), false) at /var/www/html/mahara/blocktype/externalfeed/lib.php:437
[22-Jul-2021 11:17:07 Europe/London] * PluginBlocktypeExternalfeed::parse_feed(string(size 69), string(size 1), string(size 0), string(size 8)) at /var/www/html/mahara/blocktype/externalfeed/lib.php:353
[22-Jul-2021 11:17:07 Europe/London] * PluginBlocktypeExternalfeed::refresh_feeds() at /var/www/html/mahara/lib/mahara.php:1819
[22-Jul-2021 11:17:07 Europe/London] * call_static_method(string(size 27), string(size 13)) at /var/www/html/mahara/lib/cron.php:122
[22-Jul-2021 11:17:07 Europe/London]
[22-Jul-2021 11:17:07 Europe/London] [INF] 86 (lib/cron.php:136) Skipping: No need to run PluginInteractionForum::interaction_forum_new_post
[22-Jul-2021 11:17:07 Europe/London] [INF] 86 (lib/cron.php:193) Running core cron activity_process_queue
[22-Jul-2021 11:17:07 Europe/London] [INF] 86 (lib/cron.php:193) Running core cron import_process_queue
[22-Jul-2021 11:17:08 Europe/London] [INF] 86 (lib/cron.php:215) Skipping: No need to run user_login_tries_to_zero
[22-Jul-2021 11:17:08 Europe/London] [INF] 86 (lib/cron.php:193) Running core cron check_imap_for_bounces
[22-Jul-2021 11:17:08 Europe/London] [INF] 86 (lib/cron.php:193) Running core cron watchlist_process_notifications
[22-Jul-2021 11:17:09 Europe/London] [INF] 86 (lib/cron.php:193) Running core cron export_process_queue
[22-Jul-2021 11:17:26 Europe/London] [WAR] 86 (lib/dwoo/dwoo/Dwoo/Template/File.php:159) Template "comment.tpl" could not be found in any of your include path(s)
[22-Jul-2021 11:17:26 Europe/London] Call stack (most recent first):
[22-Jul-2021 11:17:26 Europe/London] * Dwoo\Template\File->getResourceIdentifier() at /var/www/html/mahara/lib/dwoo/dwoo/Dwoo/Template/File.php:76
[22-Jul-2021 11:17:26 Europe/London] * Dwoo\Template\File->__construct(string(size 11), null, null, null, array(size 7)) at /var/www/html/mahara/lib/dwoo/mahara/Dwoo_Template_Mahara.php:90
[22-Jul-2021 11:17:26 Europe/London] * Mahara\Dwoo_Template_Mahara->__construct(string(size 11), null, null, null, array(size 7)) at /var/www/html/mahara/lib/dwoo/mahara/Dwoo_Mahara.php:160
[22-Jul-2021 11:17:26 Europe/London] * Mahara\Dwoo_Mahara->templateFactory(string(size 9), string(size 19)) at /var/www/html/mahara/lib/dwoo/mahara/Dwoo_Mahara.php:129
[22-Jul-2021 11:17:26 Europe/London] * Mahara\Dwoo_Mahara->fetch(string(size 19)) at /var/www/html/mahara/export/html/lib.php:695
[22-Jul-2021 11:17:26 Europe/London] * PluginExportHtml->get_comments_for_modal(object(ArtefactTypeBlogPost), object(View)) at /var/www/html/mahara/export/html/lib.php:892
[22-Jul-2021 11:17:26 Europe/London] * PluginExportHtml->export_artefact_metadata_modals() at /var/www/html/mahara/export/html/lib.php:246
[22-Jul-2021 11:17:26 Europe/London] * PluginExportHtml->export() at /var/www/html/mahara/export/lib.php:1055
[22-Jul-2021 11:17:26 Europe/London] * PluginExportAll->export(false) at /var/www/html/mahara/export/lib.php:738
[22-Jul-2021 11:17:26 Europe/London] * export_process_queue() at /var/www/html/mahara/lib/cron.php:201
[22-Jul-2021 11:17:26 Europe/London]
[22-Jul-2021 11:17:26 Europe/London] [INF] 86 (lib/cron.php:193) Running core cron portfolio_auto_copy
[22-Jul-2021 11:17:26 Europe/London] [INF] 86 (lib/cron.php:235) ---------- cron finished Thu, 22 Jul 2021 11:17:26 +0100 ----------
23 July 2021, 3:34
I've also got a student who isn't able to export her collection. I tried for her and get the same result. It sticks at 'Writing files'. We are on 21.04.1. I will report to our hosting organisation but thought it was worth adding here too.
26 July 2021, 8:14
Hi
From the error report before it looks like the export is failing to find the 'comment.tpl' file for exporting comments.
This file (as seen here https://git.mahara.org/mahara/mahara/-/tree/master/htdocs/theme/raw/plugintype/artefact/comment/blocktype/comment/templates) should exist in the path htdocs/theme/raw/plugintype/artefact/comment/blocktype/comment/templates/
If the file is not there can you try adding it.
If the file does exist there can you let me know what theme you are using?
Cheers
Robert
30 July 2021, 20:21
I can confirm that the file is present and the permissions are ok (the same as everything else)
I've tried it with several different themes and am now back at 'Default'. Changing theme did not make any difference at all.
31 August 2021, 22:16
[DUPLICATE | SOLVED https://mahara.org/interaction/forum/topic.php?id=8913]