Quantcast
Channel: Installing and upgrading help
Viewing all 46782 articles
Browse latest View live

Re: Odp: Re: Odp: Re: Plugins to be delete during upgrade

$
0
0
by Visvanath Ratnaweera.  

Isn't there a "Update Moodle database" or some such button below the Reload button at the bottom?

Re: SCORM missing in courses

$
0
0
by Gregor McNish.  

So do you mean that when you visit a course that is supposed to have a scorm activity, the course home page displays properly, but none of the scorm activities show? Is this the same when in editing mode (in case scorms have been added as stealth activities)?

Maybe turn on debugging to see if there are any errors when displaying a course page?

Odp: Re: Odp: Re: Odp: Re: Plugins to be delete during upgrade

$
0
0
by Piotr F.  

Yes, naturally, I click it every time.
Nevertheless, next upgrade, or database change (plugin install or so), and all repeats. I see these are all the same plugins.

Re: Odp: Re: Odp: Re: Odp: Re: Plugins to be delete during upgrade

$
0
0
by Ken Task.  

That sounds like the DB user you have in config.php of the site, doesn't have rights to alter the DB for the moodle.
So in your cPanel/Other Panel, look for a tool that sets privs for users and grant that user the ability to alter the DB.

Basically, the DB user for the moodle needs all.

There is a mdl_config_plugins table that also might be in need of carefully removing any rows relate to those plugins.

'SoS', Ken
 

Odp: Re: Odp: Re: Odp: Re: Odp: Re: Plugins to be delete during upgrade

$
0
0
by Piotr F.  

Ken, thanks a lot. I don't use any panel, just raw prompt via SSH.

To be sure I need to give any privileges to DB moodle user:
as admin, I am able to install and remove any plugins, not via web but via commands.
Does it still mean I need to alter privs?

Re: Odp: Re: Odp: Re: Odp: Re: Odp: Re: Plugins to be delete during upgrade

$
0
0
by Ken Task.  

Wouldn't hurt to check would it?
Using the mysql client, logged onto the DB server using the creds in config.php:

SHOW GRANTS FOR '<user>'@'<host>';

Your host is probably localhost.

in code/admin/cli/

php uninstall_plugins.php --show-all
php uninstall_plugins.php  --show-contrib
php uninstall_plugins.php  --show-missing
php uninstall_plugins.php  --purge-missing --run

php uninstall_plugins.php  --plugins=[shortnameofplugin],[shortnameofotherplugin]
above is dry run
To actually remove:
php uninstall_plugins.php  --plugins=mod_assignment --run

That script has the ability to remove tables but you must also manually remove related directories in code directory.

Think I'd try removal of the 'health' ... that has been removed from core and now available as an addon.

'SoS', Ken


Re: Odp: Re: Odp: Re: Odp: Re: Odp: Re: Plugins to be delete during upgrade

$
0
0
by Ken Task.  

One other suggestion ... doesn't hurt to have some sort of panel - even if you don't use it often.
Linux based ... there is a free panel that has been around for years and runs under Perl ... Webmin.

https://webmin.com/

'SoS', Ken

Re: Odp: Re: Odp: Re: Odp: Re: Odp: Re: Plugins to be delete during upgrade

$
0
0
by AL Rachels.  

@Ken,
Thanks for the Webmin reminder. In the mad scramble to get everything done that I need to with the upcoming Moodle 4.4 release, and especially getting a new Rocky 9 server up and running, I had totally forgotten about Webmin. Got it up and running now. Thanks again.

Odp: Re: Odp: Re: Odp: Re: Odp: Re: Plugins to be delete during upgrade

$
0
0
by Piotr F.  

Ken, thanks for all the tips.

in config.php
I get
$CFG->dbtype = 'mariadb';
$CFG->dblibrary = 'native';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'mydbname';
$CFG->dbuser = 'myusername';

Just to be sure, I need to verify privs for myusername.

Having webmin installed (again, thanks), in
Servers > MariaDBDatabaseServer
I choose User Permissions,

and here we go, looks like myusername in RED has None, correct?




So I click it, and here, red circle, I should check all, correct?




Sorry for too simple questions, I don't want to mess up with the settings (made snapshots but anyway).
Piotr

Re: Odp: Re: Odp: Re: Odp: Re: Odp: Re: Plugins to be delete during upgrade

$
0
0
by Ken Task.  

@PIotr
Select all (that grants all) in that pick list.

You've kinda exposed too much about your DB setup.  Next time make screen clips. smile

You might want to look over:
https://docs.moodle.org/403/en/MariaDB

That moodle@localhost shows 'hosts' ANY.
You don't need any DB's that allow other hosts other than localhost.

Using Webmin, you can schedule daily SQL dumps of all the DB's and direct those dumps to a directory on your server.   Advise doing that.

I would, however, make db dumps just prior to updating core or updating any plugins you have installed in the moodle from command line.

bu script right inside moodle code:
# 4.1.9+ (Build: 20240326)'
tar -cvf /mnt/data/backup/mdlandcli/mdlandcli-code-419+-$(date +%Y%m%d%-H%M%S).tar ../mdlandcli;
tar -cvf /mnt/data/backup/mdlandcli/mdlandcli-data-min-419+-$(date +%Y%m%d%-H%M%S).tar /var/www/mdlandclidata/filedir /var/www/mdlandclidata/dkim;
mysqldump -u root -p'' mdlandcli > /mnt/data/backup/mdlandcli/mdlandcli-419+-db-$(date +%Y%m%d%-H%M%S).sql;
ls -l /mnt/data/backup/mdlandcli;
df -h;
du -h /mnt/data/backup/mdlandcli/

Adjust above to your setup when it comes to paths/where to save.

And another item suggested install ... MySQLtuner - a perl script.
Run with root privs.
Read the recommendations for fine tuning your DB server.

You also need to check the host DB ... you only need localhost.

'SoS', Ken

Odp: Re: Odp: Re: Odp: Re: Odp: Re: Odp: Re: Plugins to be delete during upgrade

$
0
0
by Piotr F.  

Ken, thank you, privs changed, also this Any -> localhost thing.
Did the first update of Moodle, got the list of plugins "to be deleted", all went well but with the next change to db I will see if it is clean finally, and will let you guys know.
Piotr

Moodle 3.11 Glossary is not working

$
0
0
by cyber sec.  

These are the steps I took.

  • From front page
    • turn editing on
    • add activity Glossary
    • import glossary content from backed up XML file
      • check and make sure it is all there
    • Edit > Edit Settings 
      • Is this glossary global? : checked
      • Entries > Automatically link glossary entries: Yes
      • Glossary type: Main Glossary
  • From Site administration > Plugins > Activity modules > Glossary
    • Approved by Default: Yes (default)
    • Automatically link glossary entries: Yes (change default)
  • From Site administration > Plugins > Filters > Manage Filters 
    • Glossary auto-linking: On

Re: Moodle 3.11 Glossary is not working

$
0
0
by cyber sec.  

Fixed, but it is not making sense.

I checked the box by "Automatically link glossary entries: [ ] Yes default"

Automatically link glossary entries: is set to "Yes" by default. So if I check that, then that should change the default to "No" - or so I would think.

If checking this leaves the setting at "Yes" then it's always "Yes" and why even have it.

But why would it be set to "No" if I want the links to be automatically linked?

Odp: Re: Odp: Re: Odp: Re: Odp: Re: Odp: Re: Plugins to be delete during upgrade

$
0
0
by Piotr F.  

Unfortunately, after the update of the plugin, still as above, 'plugins to be deleted' same list.

Re: Odp: Re: Odp: Re: Odp: Re: Odp: Re: Odp: Re: Plugins to be delete during upgrade


Moodle Windows server Upgrade from 2012 to 2019

$
0
0
by it.atbalsts it.atbalsts.  

Good afternoon. I am writing to you asking for help. Not long ago, we have decided to upgrade the version of windows server from 2012 to 2019 and after that, half of our files stopped working (videos stopped playing and PDF files stopped opening).

Those files that were no longer available could not even be downloaded. Re-importing these files in moodle did not fix the problem.

For the test, we have returned to the old snapshot and everything worked as it should.

 

At the moment we are using moodle 3.6.9, php 7.3.22, windows server 2019

 

I will be grateful for any help.

Re: Moodle Windows server Upgrade from 2012 to 2019

Ri: Re: Moodle Windows server Upgrade from 2012 to 2019

$
0
0
by Sergio Rabellino.  

If I understood right, the upgrade is about the underlying operating system Windows Server 2012 -> 2019, an upgrade that broke moodle embedded files.
It's hard to say something useful, but if you're using an IIS web server, you should carefully check that all the configurations stay the same between the two OSes and double/triple check about file/directory permissions.
Anyway, without more precise information on this and some error from the webserver/php error log, who knows?

User is getting message that "No data was changed"

$
0
0
by Binoy Chacko.  

User is getting message that "No data was changed" and the forum grades are not being updated. Please see the attached picture. 
no data was changed

I am a new moodle installer and I need help please?

$
0
0
by colin smith.  

Hi, I am working as a new developer for a company that wants a new 4.2 Moodle site to replace their old 3.11 site but they want to keep their old one why I am working on the new one. They are both hosted on Ionos under the web hosting option. the one I am working on is myoutdoorsmoodle.co.uk 

In the past, my IT department used to look after this side of things with our own College server so this is all new to me. I used to get the site Admin attached

I have done all I can and have installed it on the Ionos site and I can access it at the domain I have set up via the website but I do not get the usual site admin page as attached I get a very scaled-back version as seen in the other Image.

What am I doing wrong or do I have to start again?

Please help a first-timer 

Viewing all 46782 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>