Thank you so much for your help!
Re: Migrating existing H5P content when upgrading to Moodle 3.8
Svar: Re: Svar: Re: Svar: Re: Svar: Re: Moodle + docker (or other local development solution) with existing site
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
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
Moodle 3.8.3 - User bulk message It stays charging
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.
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.
A required parameter (sesskey) was missing.
Debug info:
Error code: missingparam
Re: Error when upgrading from 3.8.1 to 3.9+
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.
Re: Error when upgrading from 3.8.1 to 3.9+
I am using cpanel from hostgator
Re: Error when upgrading from 3.8.1 to 3.9+
Can you put in a support call to Hostgator?
Re: blank page after restoring a backup, why ?
Re: Error when upgrading from 3.8.1 to 3.9+
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
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
$CFG->dbtype = 'mariadb'; $CFG->dblibrary = 'native';
.Re: qtype_stack DDL sql execution error
$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
Re: Error when upgrading from 3.8.1 to 3.9+
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