Moodle as a Plesk application

Moodle as a Plesk application

by Hap Less -
Number of replies: 6

We are running Moodle 3.10.10 on a virtual server managed with Plesk. It came as a Plesk application and installation was super easy. Thank you so much!

I was trying to understand more about Moodle on Plesk but couldn't really find anything. Is there a place where I can learn whether there is some update schedule or the like?

The Plesk application says 3.10.10 is provided by moodle.org and is the latest available version. (We have update notifications enabled; didn't see any.)

Cheers, Dirk

Average of ratings: -
In reply to Hap Less

Re: Moodle as a Plesk application

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers
We really don't know what those installer programs do to the code so there are not many people that can help and the majority of us will tell you to get it out of Plesk and install it manually...that way when you have issues, there are people here that can help and you can upgrade to the latest versions at your will..
Average of ratings: Useful (1)
In reply to Hap Less

Re: Moodle as a Plesk application

by Ken Task -
Picture of Particularly helpful Moodlers

+1 to what Emma has already said ... but I've a comment or two and a question.

Plesk is a panel - you know that - and it might work just fine for initial installs, but has issues updating or upgrading the site.  If the 'installer' is a thing called 'Softaculous', there has been tons of issues related to updates or upgrades.

Hmmmm ... https://www.plesk.com/extensions/softaculous-auto-installer/

and if have issues, go to:

https://softaculous.deskuss.com/

So in Moodle Admin, go to Notifications.    Do see any newer versions listed as being available for download?   Notice that doesn't talk to Plesk installer!   Cron job running as frequently as it should?   Moodle recommends once per minute.   Your cron setup?

Also, if you have a functioning 3.10.10, can I ask what is so compelling about Moodle 4.0 (note that's .0) that you gotta have it ... right now ... can't wait?   Moodle released 4.0 not long ago and just today a 4.0.1 is available.    Does your Plesk thing do those 'point releases'?  Can you exercise some restraint and patience? smile

'SoS', Ken

In reply to Ken Task

Re: Moodle as a Plesk application

by Hap Less -
Thank you, Emma, Ken!

The Plesk information said "by moodle.org" (but no further information) so I thought I could find the source of the Plesk application here.

Ken: If 3.10.10 is stable and secure, we have little need to upgrade; I just tend to want to not fall behind too much.

Indeed, the pointer to Notifications was helpful (still learning here): The new versions are being found. If I click download, I will start an upgrade process that bypasses Plesk, I assume, with more or less defined outcome?

The admin/cli/cron.php script has never been run. This seems like the right place for more information: https://docs.moodle.org/311/en/Cron. It seems we have to go to the command line (Ubuntu here) and set up the crontab by hand.
In reply to Hap Less

Re: Moodle as a Plesk application

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
Moodle is by moodle.org but somebody else wrote whatever installer Plesk is using. We don't know anything about that (as you probably have gathered by now)
In reply to Hap Less

Re: Moodle as a Plesk application

by Ken Task -
Picture of Particularly helpful Moodlers

Mr. V is correct ... in goal ... 4.x is the next 'long term support' version.   IF ... IF ... one used the Moodle docs for updating via the 'long way' or since you have CLI you might be able to use the 'git' way, you could keep pace.

In a git pull on Moodle 4.0 code made just a few minutes ago:

 94 files changed, 1546 insertions(+), 297 deletions(-)

And there is a new tag:  
* [new tag]                 v4.0.1            -> v4.0.1

Meaning moodle is now 4.0.1

and in the works is a 4.1dev - not ready for production use.

Since you have just begun to use Moodle so you've not users in courses, right?

If so, you could use Softac and you should be able to select 4.0.1 from their version to install drop down menu.   Then report back if successful or not.

Do a site backup first and read up on how to restore it should Softac fail.

https://docs.moodle.org/400/en/Site_backup

or

https://docs.plesk.com/en-US/obsidian/administrator-guide/backing-up-and-restoration.59256/

And again ... if using Softac, your first point of problem resolution should be:

1. provider (+Plesk)

2. Softac

3. and only IF 1 and 2 are exhausted, these forums.

If you get to #3, about the only way anyone could help is for someone to volunteer their time to login as you on your Panel to be able to 'compare' or run some php command line scripts in code/admin/cli/ ... but that would be possible only if Plesk offers a 'Terminal' icon or the ability to run a command - which Moodle will block because of it's security.

For setting up cron job, which is a *must* for Moodle, see:

https://docs.plesk.com/en-US/obsidian/administrator-guide/server-administration/scheduling-tasks.64993/

'SoS', Ken