<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Moodle Plugins directory: Cohort external database: Comments</title>
    <link>https://moodle.org</link>
    <description>This plugin creates site-level cohorts using a connection to an external database. (similar to enrol_database plugin but instead of creating enrolments it creates site-level cohorts.)</description>
    <generator>Moodle</generator>
    <language>en</language>
    <copyright>(c) 2026 Moodle - Open-source learning platform | Moodle.org</copyright>
    <image>
      <url>https://moodle.org/theme/image.php/moodleorg/core/1776241734/i/rsssitelogo</url>
      <title>moodle</title>
      <link>https://moodle.org</link>
      <width>140</width>
      <height>35</height>
    </image>
    <item>
      <title>Thursday, 7 August 2025, 6:24 AM - Dan Marsden</title>
      <link>https://moodle.org/plugins/tool_cohortdatabase#comment-87978</link>
      <pubDate>Wed, 06 Aug 2025 22:24:54 GMT</pubDate>
      <description>by Dan Marsden. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;@Al - this uses our updated workflows code which will auto-publish to the plugins db when the version.php version is bumped if tests are passing. If this plugin works for you in Moodle 5 feel free to submit a PR that bumps the supported version and the version numbers in teh version.php and if tests pass the plugins db will get updated automatically.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/tool_cohortdatabase#comment-87978</guid>
    </item>
    <item>
      <title>Thursday, 7 August 2025, 4:45 AM - Al Metcalfe</title>
      <link>https://moodle.org/plugins/tool_cohortdatabase#comment-87970</link>
      <pubDate>Wed, 06 Aug 2025 20:45:08 GMT</pubDate>
      <description>by Al Metcalfe. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi&lt;br&gt;
I hope you are well, it's been ages.  Cohort ED appears to work on Moodle 5. Could you update the supported extension on your end to Moodle 5 so that it installs automatically each week when we update our Moodle instance?  It saves us so much time.  Cheers.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/tool_cohortdatabase#comment-87970</guid>
    </item>
    <item>
      <title>Monday, 19 May 2025, 5:53 AM - Al Metcalfe</title>
      <link>https://moodle.org/plugins/tool_cohortdatabase#comment-87330</link>
      <pubDate>Sun, 18 May 2025 21:53:05 GMT</pubDate>
      <description>by Al Metcalfe. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi Dan, sorry to nag, love your plugin, if you could just set the supported version of moodle to 4.5, it would save so much time on update, cheers mate.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/tool_cohortdatabase#comment-87330</guid>
    </item>
    <item>
      <title>Monday, 5 May 2025, 7:10 AM - Al Metcalfe</title>
      <link>https://moodle.org/plugins/tool_cohortdatabase#comment-87214</link>
      <pubDate>Sun, 04 May 2025 23:10:36 GMT</pubDate>
      <description>by Al Metcalfe. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi Dan&lt;br&gt;
Please can you change your supported version to moodle 4.5 or 5 so that when we install moodle each week, it auto installs, this would save a lot of time.  Thank you.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/tool_cohortdatabase#comment-87214</guid>
    </item>
    <item>
      <title>Sunday, 23 February 2025, 12:07 AM - Ricardo Caiado</title>
      <link>https://moodle.org/plugins/tool_cohortdatabase#comment-86445</link>
      <pubDate>Sat, 22 Feb 2025 16:07:48 GMT</pubDate>
      <description>by Ricardo Caiado. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Is there any moodle 4.5+ update?&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/tool_cohortdatabase#comment-86445</guid>
    </item>
    <item>
      <title>Friday, 17 March 2023, 4:08 AM - Dan Marsden</title>
      <link>https://moodle.org/plugins/tool_cohortdatabase#comment-79212</link>
      <pubDate>Thu, 16 Mar 2023 20:08:56 GMT</pubDate>
      <description>by Dan Marsden. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;@Simon - nice catch - looks like a sensible change, feel free to submit a pull request so I can merge that into the main branch - thanks!&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/tool_cohortdatabase#comment-79212</guid>
    </item>
    <item>
      <title>Thursday, 16 March 2023, 11:07 PM - Simon Lewis</title>
      <link>https://moodle.org/plugins/tool_cohortdatabase#comment-79208</link>
      <pubDate>Thu, 16 Mar 2023 15:07:16 GMT</pubDate>
      <description>by Simon Lewis. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi Dan, &lt;br&gt;
Thanks for a great plugin! We use it a lot.&lt;br&gt;
&lt;br&gt;
I've found an issue with PHP 8.0. When running the scheduled task we get the error:&lt;br&gt;
odbc_free_result(): supplied resource is not a valid ODBC result resource&lt;br&gt;
I had the same error with one of our custom plugins, that also uses ODBC, so I managed to fix it I think.&lt;br&gt;
In classes/sync.php I've added $rs-&amp;gt;Close(); to line 113, 267, 366. And that seems to fix the task. &lt;br&gt;
I'll look out for how you do it in an updated version, as you might well do it a different, better way (or there may be issues with how I've done it), but thought I'd report it here nonetheless.&lt;br&gt;
&lt;br&gt;
thanks a lot,&lt;br&gt;
Simon&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/tool_cohortdatabase#comment-79208</guid>
    </item>
    <item>
      <title>Wednesday, 31 August 2022, 6:54 AM - Dan Marsden</title>
      <link>https://moodle.org/plugins/tool_cohortdatabase#comment-76871</link>
      <pubDate>Tue, 30 Aug 2022 22:54:55 GMT</pubDate>
      <description>by Dan Marsden. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;@Koen - I finally got round to adding our github action config to the repo and it's triggered an auto-deploy to the plugins db now - thanks! &lt;img class=&quot;icon emoticon&quot; alt=&quot;smile&quot; title=&quot;smile&quot; src=&quot;https://moodle.org/theme/image.php/moodleorg/core/1776241734/s/smiley&quot;&gt;&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/tool_cohortdatabase#comment-76871</guid>
    </item>
    <item>
      <title>Tuesday, 30 August 2022, 2:44 PM - koen roggemans</title>
      <link>https://moodle.org/plugins/tool_cohortdatabase#comment-76853</link>
      <pubDate>Tue, 30 Aug 2022 06:44:21 GMT</pubDate>
      <description>by koen roggemans. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hi Dan, Is it possible to push the latest and greatest version of this plugin to the &lt;a title=&quot;Auto-link&quot; href=&quot;https://moodle.org/plugins&quot; target=&quot;_blank&quot; rel=&quot;noreferrer&quot;&gt;Moodle plugins&lt;/a&gt; database. The new cleanup function looks very cool. Thanks!&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/tool_cohortdatabase#comment-76853</guid>
    </item>
    <item>
      <title>Tuesday, 17 May 2022, 11:55 PM - Otaku Dude</title>
      <link>https://moodle.org/plugins/tool_cohortdatabase#comment-75504</link>
      <pubDate>Tue, 17 May 2022 15:55:04 GMT</pubDate>
      <description>by Otaku Dude. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Thank you @Dan, that seems to have produced something more useful - Missing extension for mssql. I will pass that on to our IT dept.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/tool_cohortdatabase#comment-75504</guid>
    </item>
    <item>
      <title>Tuesday, 17 May 2022, 5:15 AM - Dan Marsden</title>
      <link>https://moodle.org/plugins/tool_cohortdatabase#comment-75483</link>
      <pubDate>Mon, 16 May 2022 21:15:42 GMT</pubDate>
      <description>by Dan Marsden. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Also @Nigel, hit the &quot;Debug ADOdb connection to external database&quot; checkbox on the cohortdatabase settings page too, along with the showcrondebugging setting you might get some other useful output.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/tool_cohortdatabase#comment-75483</guid>
    </item>
    <item>
      <title>Tuesday, 17 May 2022, 5:05 AM - Dan Marsden</title>
      <link>https://moodle.org/plugins/tool_cohortdatabase#comment-75482</link>
      <pubDate>Mon, 16 May 2022 21:05:08 GMT</pubDate>
      <description>by Dan Marsden. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;@Nigel, that simply means that the adodb library in Moodle can't connect to your external db server - lots of different things that could cause this, (wrong password, firewall issue, missing drivers on the web server etc) but turn debugging on in your cron and it might give you more output.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/tool_cohortdatabase#comment-75482</guid>
    </item>
    <item>
      <title>Monday, 16 May 2022, 11:01 PM - Otaku Dude</title>
      <link>https://moodle.org/plugins/tool_cohortdatabase#comment-75480</link>
      <pubDate>Mon, 16 May 2022 15:01:59 GMT</pubDate>
      <description>by Otaku Dude. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Thank you @Dan, I appreciate your time on this. The only error we see is in task_log table is:&lt;br&gt;
 Starting cohort synchronisation...&lt;br&gt;
Error while communicating with external cohort database&lt;br&gt;
I'm not sure when the extra output in the cron task will be?&lt;br&gt;
Thanks, Nigel (Otaku).&lt;br&gt;
&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/tool_cohortdatabase#comment-75480</guid>
    </item>
    <item>
      <title>Monday, 16 May 2022, 11:30 AM - Dan Marsden</title>
      <link>https://moodle.org/plugins/tool_cohortdatabase#comment-75468</link>
      <pubDate>Mon, 16 May 2022 03:30:02 GMT</pubDate>
      <description>by Dan Marsden. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;@Otaku, Make sure cron is running and check the output of the cohortdatabase task - also try turning on $CFG-&amp;gt;showcrondebugging = true; in your config.php to get more output in the cron task.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/tool_cohortdatabase#comment-75468</guid>
    </item>
    <item>
      <title>Friday, 13 May 2022, 6:40 PM - Otaku Dude</title>
      <link>https://moodle.org/plugins/tool_cohortdatabase#comment-75454</link>
      <pubDate>Fri, 13 May 2022 10:40:24 GMT</pubDate>
      <description>by Otaku Dude. &amp;nbsp;&lt;p&gt;&lt;div class=&quot;no-overflow&quot;&gt;&lt;div class=&quot;text_to_html&quot;&gt;Hiya @Dan we are now trialing the plugin. We have everything set up correctly I think, but we are not getting any cohorts created. I can ping between servers OK, so connection seems to be fine. We are using mssql and have use sybase quite enabled. I have set it to email admin with errors but I am not receiving anything. Is there any troubleshooting documentation, please.&lt;/div&gt;&lt;/div&gt;&lt;/p&gt;</description>
      <guid isPermaLink="true">https://moodle.org/plugins/tool_cohortdatabase#comment-75454</guid>
    </item>
  </channel>
</rss>