Joomdle 2.x Installation

Admin user not migrating

  • Dimitris
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 11 months ago - 2 years 11 months ago #1 by Dimitris
Admin user not migrating was created by Dimitris
Hi,

In Components->Joomdle->Users all users have check in all 3 columns except Admin and Guest.
Admin checkbox is grayed and has check under Joomla and Moodle but not under Joomdle
Guest checkbox is grayed and has check only under Moodle (I have restricted Guest access in Moodle).

The issue I am facing is that when I try to log in to Admin CB profile I get
Code:
COM_JOOMDLE_WEB_SERVICES_ERROR: Error reading from database
while all other users log in their profiles without problems.

System check shows everything is ok.

To my understanding, Admin account has to be migrated to Joomdle but I can't find out what is preventing it from doing so...
Last edit: 2 years 11 months ago by Dimitris . Reason: typo

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Admin user not migrating
> To my understanding, Admin account has to be migrated to Joomdle but I can't find out what is preventing it from doing so...

Not really. We recommend that you always keep a "normal" admin account in both Joomla and Moodle, not connected by Joomdle. This will prevent you from being locked out of Moodle if there's a connection issue at some point.

> COM_JOOMDLE_WEB_SERVICES_ERROR: Error reading from database

Can you enabled debugging in Moodle to see if you get more info about the error?

Please Log in or Create an account to join the conversation.

  • Dimitris
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 11 months ago #3 by Dimitris
Replied by Dimitris on topic Admin user not migrating

Not really. We recommend that you always keep a "normal" admin account in both Joomla and Moodle, not connected by Joomdle. This will prevent you from being locked out of Moodle if there's a connection issue at some point.

Ok, that makes sense.

After enabling debugging the errors shows:
Code:
COM_JOOMDLE_WEB_SERVICES_ERROR: Error reading from database (Table 'moodle.mdl_customcert' doesn't exist SELECT c.name, c.id, ci.timecreated as certdate FROM mdl_customcert c LEFT JOIN mdl_customcert_issues ci ON c.id = ci.customcertid WHERE ci.userid = ? AND c.course IN (?,?) ORDER BY ci.timecreated DESC [array ( 0 => '2', 1 => '10', 2 => '2', )])

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Admin user not migrating
That seems to indicate that you have installed some certificate plugin in Joomla, but not in Moodle (or at least not customcert, which is the one you selected in the Joomla plugin configuration)

Please Log in or Create an account to join the conversation.

  • Dimitris
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 11 months ago - 2 years 11 months ago #5 by Dimitris
Replied by Dimitris on topic Admin user not migrating
It seems that the issue comes from Joomdle CB certificate plugin.
Once removed, Admin account enters normally.
Tried to use "Moodle's certificate" instead of custom but didn't help.
Are these plugins updated?
I have posted an issue related to CB badge plugin also...
Last edit: 2 years 11 months ago by Dimitris .

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic Admin user not migrating
> Tried to use "Moodle's certificate" instead of custom but didn't help.

To use a certificate plugin in CB, you need to also have it it Moodle. Did you install any certificate plugins in Moodle?

> Are these plugins updated?

I tested the badges plugin and It seems it is not working fine with the new CB versions...I am investigating and will get back to you when I know more.

Please Log in or Create an account to join the conversation.

  • Dimitris
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 11 months ago - 2 years 11 months ago #7 by Dimitris
Replied by Dimitris on topic Admin user not migrating

To use a certificate plugin in CB, you need to also have it it Moodle. Did you install any certificate plugins in Moodle?

I had not. After installing Workplace course certificate and related manager and then choosing the same in CBplugin, problem is solved!

Now CB certificate seems to be working fine and I can access Admin CBprofile without issues.

Thank you Antonio.
Last edit: 2 years 11 months ago by Dimitris .

Please Log in or Create an account to join the conversation.

More
2 years 11 months ago #8 by Antonio Durán
Replied by Antonio Durán on topic Admin user not migrating
> Now CB certificate seems to be working fine

But what I am noticing is that this is displaying different than before: instead of showing the new tabs along with Articles and Blogs, it is showing below, like in a new tab set. Does the same happen to you with the CB certificates plugin?

Please Log in or Create an account to join the conversation.

  • Dimitris
  • Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
2 years 10 months ago #9 by Dimitris
Replied by Dimitris on topic Admin user not migrating

But what I am noticing is that this is displaying different than before: instead of showing the new tabs along with Articles and Blogs, it is showing below, like in a new tab set. Does the same happen to you with the CB certificates plugin?

Yes, that is correct. Actually I never saw the tabs elsewhere. Both Courses and Certificates tabs were always shown down at the bottom since the beginning... (Badge not installed yet as there is issue pending)

Please Log in or Create an account to join the conversation.