Joomdle 1.0 Installation

Changing Servers - Finally!

  • Lisa Norman
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 10 months ago #1 by Lisa Norman
Changing Servers - Finally! was created by Lisa Norman
Hi, Antonio!

I'm FINALLY setting us up on a new server. Hoping to get rid of the odd errors. Note that the technician who tried to move the site found some corruption. Didn't say where. So I'm manually moving the monster. This is my chance to clean out our moodle installation.

Here's what I've done:
  • set up the site on a temporary URL for staging
  • Moved the Joomla installation completely
  • Moved the Moodle files and ran a clean installation
  • Followed instructions for setting up Moodle including copying the auth token

Of course, it wouldn't go smoothly. I'm not in maintenance mode. (Remembered to check that this time...)

In Joomla, I'm failing the health check, all of the last 3 are red. I've seen that the key point is: Joomdle Web Services and I've followed troubleshooting in your docs. I'm not winning. I do have a clue...in the troubleshooting, it says to go to this:
http:/yoursite.com/index.php?option=com_joomdle&task=ws.server&format=xmlrpc

I get: XML-RPC Error (1): Invalid token:

This was my first time letting the Joomdle installation configure that Joomdle Connector automatically. (That's slick, by the way!)

When I googled the error, I see people talking about settings for the web services, but they look right.

Someone else asked this in your forum and you asked:
Did you enter Joomla uth token in joomdle config in Moodle? -- yes, I did. I've double checked it is the same. But I'm wondering...in Joomla, this was the token we had before on the old server. Would that be a problem on the new server?

I've added the IP address for the server to the authorized hosts.

I'm using same (latest) joomdle version on both moodle and joomla, same as on our old site.

I'm on PHP 7.0.20.

Thoughts? I'm sure I've just missed something obvious as usual!!!

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

More
8 years 10 months ago #2 by Antonio Durán
Replied by Antonio Durán on topic Changing Servers - Finally!
Hi Lisa.

What's the error you get in system check, web services?

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

  • Lisa Norman
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 10 months ago #3 by Lisa Norman
Replied by Lisa Norman on topic Changing Servers - Finally!
Sorry for the delay. We had an issue with the hosting company and getting everything set up for Baracuda. That's now done!!! I reinstalled and re-set up the system. Same error.

In the system check, I get: Received empty response from Moodle

In another post here, I saw where you suggested creating a test file to verify that we could access the site from our site (echo file_get_contents (' mywebsite.com/moodle ');) . I did that and it loaded VERY VERY slowly, but it did load fine.

Thoughts?

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

More
8 years 10 months ago #4 by Antonio Durán
Replied by Antonio Durán on topic Changing Servers - Finally!
If that scripts is loading very very slowly you should contact the hosting company and ask about it, as it may be the cause for the empty reply.
That script should load at roughly the same speed as when you open moodle home directly. If it doesn't it may indicate a problem for the server to connect to itself.

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

  • Lisa Norman
  • Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
8 years 10 months ago #5 by Lisa Norman
Replied by Lisa Norman on topic [solved!]Changing Servers - Finally!
I'm still trying to get this figured out. I have had a couple of odd discoveries, probably from the way I was forced to install and then re-install everything. I obviously missed some things.

Now that I have the right URL in Joomla side (sigh) and found that there was no token created automatically in Moodle side, so created it manually and replaced the completely wrong one that I had from the other side, I had 5 of the 6 tests passing. Continuing troubleshooting, I read a post where someone was talking about the language settings. While I was reading the notes about it, I actually READ what is on the screen to the right of the Joomdle default language in Moodle -- that it is only required in earlier versions of Joomla. Deleting it did the trick.

I miss the most obvious things! I *know* I had that URL configured correctly at least twice during this process.

But JOY! It works now perfectly. Thanks again. Now to figure out how to sync the users up again on this new site...new Moodle, old Joomla. (Needed to rebuild Moodle. It had just gotten toooooooo ugly.)

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

More
8 years 10 months ago #6 by Antonio Durán
Replied by Antonio Durán on topic [solved!]Changing Servers - Finally!
Great, glad to know you managed to get it working.
Please let us know if you need anything else.

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