Unfortunately, we have no idea what Bitnami does as part of its installation process. That makes it hard to support. I do know that the above config setting is incorrect.
Howard Miller
Posts made by Howard Miller
That's wrong. Don't try to do that. You *should not* have a variable $CFG->wwwroot. That will end badly.
So which "one click installer" did you use to install Moodle?
Presumably, your $CFG->wwwroot in your config.php is set to http://192.168.0.3. You need to change that to https://moodle.xxx.xxx. It has to be your external moodle address or (as you have found) Moodle will not create correct URLs.
This may have some consequences for your haproxy config (but, with luck, possibly not).
This may have some consequences for your haproxy config (but, with luck, possibly not).
My first thought is... what course format are you using?
Well... so your problem is with cron/update. It's nothing to do with LDAP.
It's possible to clear the flag in the database that is saying that your site is in the middle of an upgrade but you should only do that if you are sure it is not.
(from memory)
DELETE FROM mdl_config where name="upgraderunning";