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

Re: Migrating existing H5P content when upgrading to Moodle 3.8

$
0
0
by Charley Punshon.  

Thank you so much for your help!


Svar: Re: Svar: Re: Svar: Re: Svar: Re: Moodle + docker (or other local development solution) with existing site

$
0
0
by Vidar Vasko.  

Hi Howard, Bitnami does provide a Moodle VM, in the link I sent: https://bitnami.com/stack/moodle/virtual-machine.

I tried it and it's very minimal, only cli, so not really fit for my purpose. What's more, I also experienced the same error described in this thread: https://community.bitnami.com/t/my-odoo-vm-is-not-reachable-the-ip-address-displayed-on-the-console-welcome-page-is-http-0/81820

I've now ended up with the set up you suggested, VM with Ubuntu. Not my favourite environment to work in, but it will have to do for now.

Thanks for the help.

Re: Moodle + docker (or other local development solution) with existing site

$
0
0
by Visvanath Ratnaweera.  

I haven't read your OP carefully before my initial reply. This is about a _local development solution_. I was thinking of deployment. My apologies.

About the development environment being CLI, the code is ultimately text. Moodle gives you the (web) GUI.

May be you are used to a graphical editor and/or an IDE. Then why not native in your own desktop? Or instead of Ubuntu Server (CLI) take any Linux Distro with any (fancy) GUI. Or it the dev. machine needs to be separate then again take anything with a GUI and pull it to your desktop through VNC/RDP/X2go/.. Another radical approach would be to get a full LAMP plus Moodle on Raspberry Pi. There is a turn-key solution called http://moodlebox.net.

Re: Moodle + docker (or other local development solution) with existing site

$
0
0
by Howard Miller.  

Just for interest.... I have a physical Ubuntu server over in the far reaches of the house that acts as my development server. I use a big iMac as my "work" machine. The Ubuntu box is mounted as an NFS share on the Mac. I use Visual Studio Code most of the time for editing and such but I've used Vi forever as an alternative directly on the Ubuntu box. Works for me.

Moodle 3.8.3 - User bulk message It stays charging

$
0
0
by Diego Mejía.  

Hi,
I just updated Moodle from version 3.6.2 to version 3.8.3. After this I have had enough incnvenentes but one of these is that trying to send a message to all users of the platform from massive user actions. After selecting all the users and copying the message, he goes to the screen to see what the message looks like before sending it and my platform is blocked, it keeps loading and never ends, and it is very rare because this only happens to me in the Google Chrome browser, but not in Mozilla Firefox.
Also this works when I select only a few users, but if I select them all, it doesn't work.





Teachers are logged out when they turn editing on, etc.

$
0
0
by Brian Jeong.  

I'm new to Moodle.

I installed Moodle like this:
CentOS 8
PostgreSQL 12.1
Apache 2.24.43 (https)
PHP 7.3.18 (PHP-FPM)
Redis 5.0.3 (igbinary, phpredis) for sessions
Moodle 3.8.3 (CLI installation from Git Repo)
Login with Custom OAuth2 Server from SIS. (session records are generated well in Redis when users login, and no problem to log in)
Moodle Web Service API functions are called frequently to sync info with SIS.

Now testing with instructors, but some teachers are reporting that they are kicked out of our moodle site so they have to login again and again. This does not happen for other actions like browsing info in the site, but interestingly DOES only when they TURN EDITING ON in their courses, or when they change some settings for the courses such as grading options. It never happens to me as a site admin.

Error Code: error/moodle/confirmsesskeybad
https://docs.moodle.org/38/en/error/moodle/confirmsesskeybad

"This error occurs when you have an invalid unique session key. This is usually caused by hard-coding a Moodle URL into your course / site or by an attempt to circumvent the session key"

What does "This is usually caused by hard-coding a Moodle URL into your course / site" mean?
How can I check whether it is or not?

FYI, this happens after I changed cron job period from 3 * * * * (1:03, 2:03, 3:03, ...)  to * * * * *. (1:01, 1:02, 1:03, ...), but doubt it's related.

Please Help! Any Suggestions will be so appreciated.

Re: Teachers are logged out when they turn editing on, etc.

$
0
0
by Brian Jeong.  

We've got another error message:

A required parameter (sesskey) was missing.
Debug info:
Error code: missingparam

Re: Error when upgrading from 3.8.1 to 3.9+

$
0
0
by Howard Miller.  

It means that you don't have the MySQL PHP extension installed.

How you fix that depends on your operating system and how PHP was installed in the first place (neither of which you have told us)

Re: Teachers are logged out when they turn editing on, etc.

$
0
0
by Howard Miller.  

If you create manual account test users do they have the same problem? If you switch off Redis sessions do you have the same problem?

Obviously, try one at a time wink

If you haven't got Debugging on already, make sure it's on all the way to Developer. Check your web server error log.

Re: Error when upgrading from 3.8.1 to 3.9+

$
0
0
by Asher Baig.  

Means there is no way to upgrade it.
I am using cpanel from hostgator

Re: Error when upgrading from 3.8.1 to 3.9+

Re: blank page after restoring a backup, why ?

$
0
0
by Asher Baig.  

Can you elloborate, i got exactly same problem

Re: Error when upgrading from 3.8.1 to 3.9+

$
0
0
by Asher Baig.  

Let me put query there.

Now i restore my previous version
getting blank page. Please help. it something related to permission but actually getting how to do it.

qtype_stack DDL sql execution error

$
0
0
by Kevin McCormick.  

Have I found a bug or should I go back and reinstall?

I am installing moodle 39 on my Slackware linux computer.  Installation seems to go OK and moodle works on https://localhost/moodle.  I had to add a firefox security exception for the SSL certificate.  There were a few glitches, but editing the config.php seems to have cleared them up.  The main glitch was entering https://127.0.0.1 as the wwwroot.  Moodle would not load correctly, but I changed that to https://localhost/moodle and it all seemed fine.  Then I tried to install the stack question type plugin,  That also went OK, including downloading the three dependenc zip files.  Then I got to the part where it lists the configuration check and has the button "Update Database Now"  Then the display is "Upgrading to new version" with "qtype_stack" and nothing after that.

php-7.4.7

httpd-2.4.43

mariadb-10.5.4

httpd error log:AH00052: child pid 15139 exit signal Segmentation fault (11)

After a restart of httpd --

httpd error log: zend_mm_heap corrupted

This is from an output screen from an earlier try:

Stack trace:

    line 492 of /lib/dml/moodle_database.php: ddl_change_structure_exception thrown
    line 1098 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
    line 77 of /lib/ddl/database_manager.php: call to mysqli_native_moodle_database->change_database_structure()
    line 427 of /lib/ddl/database_manager.php: call to database_manager->execute_sql_arr()
    line 372 of /lib/ddl/database_manager.php: call to database_manager->install_from_xmldb_structure()
    line 654 of /lib/upgradelib.php: call to database_manager->install_from_xmldb_file()
    line 1917 of /lib/upgradelib.php: call to upgrade_plugins()
    line 711 of /admin/index.php: call to upgrade_noncore()

Re: qtype_stack DDL sql execution error

$
0
0
by Visvanath Ratnaweera.  

MariaDB 10.5? Moodle now has a specific driver $CFG->dbtype = 'mariadb'; $CFG->dblibrary = 'native';.

Re: qtype_stack DDL sql execution error

$
0
0
by Kevin McCormick.  

Yes, I have this in config.php

$CFG->dbtype = 'mariadb';
$CFG->dblibrary = 'native';

Also, this error in the mariadb error log (/var/lib/mysql/hostname.err
Aborted connection 444 to db: 'moodle' user: 'moodle' host: 'localhost' (Got an error reading communication packets)

I also checked the SSL certificate and firefox has stored as https://127.0.0.1 instead of https://localhost. I deleted the certificate and then readded the exception in firecox with opening moodle again. However, the plugin installation again failed.

Re: qtype_stack DDL sql execution error

$
0
0
by Visvanath Ratnaweera.  

Looks like your system does not resolve localhost to 127.0.0.1. I don't remember how Slackware handles that, possibly in /etc/hosts?

Re: Error when upgrading from 3.8.1 to 3.9+

$
0
0
by Ken Task.  

If you restored you probably used cPanel's file browser.  So locate the moodle code directory ... probably in public_html - and see if config.php is readable by the globe ... owner/group/others.   File browser tool does have a subtool for checking ownerships/permissions on files.

Guess cause I don't use cPanel.nor do I host with same provider.

'SoS', Ken


Re: qtype_stack DDL sql execution error

$
0
0
by Kevin McCormick.  

Yes, /etc/hosts. 127.0.0.1 localhost The SSL certificate issue does not seem to be the problem. I will delete what I have and install again.

Re: Teachers are logged out when they turn editing on, etc.

$
0
0
by Brian Jeong.  

All accounts are manual.
Turning off redis does not help.
Debugging mode : developer.

Checked Apache Error Logs, and I found many optional_hook_import:errors. I'm now googling about that.

BTW, http/2 is enabled, shoud I  turn it off?
Viewing all 46868 articles
Browse latest View live


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