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

Re: Installation Moodle 3.4 SQL execution error

$
0
0

by Uyghur Maarip.  

Thank you Ken, 

User has ALL PRIVILEGES

I tried many times in these days without success. 

But after I get your answer I tried to change the browser(from Chrome) to (Firefox) install it with the same manner it goes perfect! 

Kind regards, Jan


Re: Missing images after migration

$
0
0

by Ken Task.  

Have not used Akeeba Solo, but read about.   Uhhhh ... that's not free, is it?   A php script run from web, right?  Prefer to keep scripts/apps to a minimum cause they all are potential holes and one needs to keep up with the updates for all.

A web based backup on some sites that are large isn't as efficient nor as fast as cli.

Use linux for server so for backups the tools that come with the OS (like tar, mysqldump) are the same on all 'flavors' of Linux.   As far as 'migration' of files to another server, 'scp' is also on every Linux flavored boxen and can talk to new Linux host.

We are all free to choose our own 'poison', however! smile

'spirit of sharing', Ken


Re: Missing images after migration

Atto editor not showing up

$
0
0

by Miro Iliaš.  

Dear experts, 


as admin of Moodle 3.3 I replaced TinyMCE HTML editor with Atto editor (section Manage editors).


However, Atto toolbar is not showing up in Moodle web-pages, there are only html commands - this is plain text area.


Any help please on how to kick on the Atto editor ? 





Re: Atto editor not showing up

$
0
0

by Ken Task.  

Suggest purging the cache on Moodle server.   Also clear your browser cookies/cache.

Does it show?   If not, turn on debugging then go to any mod/activity in the edit mode to see if any editor shows.

In addition to debugging on, might also check your web server error logs for clues.

'spirit of sharing', Ken


Can't upgrade from 3.3.1 to 3.3.4 (Barracuda issue)

$
0
0

volgens Martin Millmore.  

I am running on a shared host (dreamhost) on 3.3.1. As a result of todays security patch, I decided to upgrade to 3.3.4. However, it seems that between 3.3.1 and 3.3.4, something has been added to make Barracuda mandatory. I get the following errors;

== Environment ==

!! mysql_full_unicode_support#File_format !!

this test must passYour database uses Antelope as the file format. Full UTF-8 support in MySQL and MariaDB requires the Barracuda file format. Please switch to the Barracuda file format. See the documentation MySQL full unicode support [1] for details.

Links:

------

[1] https://docs.moodle.org/en/admin/environment/customcheck/mysqlfullunicodesupport



!! mysql_full_unicode_support#Large_prefix !!

this test must passFor full support of UTF-8 both MySQL and MariaDB require you to change your MySQL setting 'innodb_large_prefix' to 'ON'. See the documentation for further details.



I don't mind if Moodle want to say 3.4 is when the mandatory upgrade to Barracuda comes (and I'll just never upgrade to 3.4), but to introduce it in a minor security release seems unfair. Anyone got a workaround or a fix?


Class 'core\session\manager' not found

$
0
0

by Kelly Ch.  

Hi there,

when I upgraded moodle to 3.4.1 I got the error "exception - Class 'core\session\manager' not found".

Do you know what can I do for that?


Thank you in advance,

Kelly

Re: Can't upgrade from 3.3.1 to 3.3.4 (Barracuda issue)

$
0
0

by Ken Task.  

'shared host' ... might not be able to set 'large prefix' as that's a global, but might be able to 'limp by' using the scripts in /path/to/moodlecode/admin/cli/

php mysql_compressed_rows.php

will show the help/options/switches to command.

php mysql_compressed_rows.php -l

will list problem tables (or should)

php mysql_compressed_rows.php -f

will fix those tables (or should).

Think you'll have to move from 'shared host' to 'dedicated' with DreamHost unless you an talk helpdesk staff to tweak your database.

'spirit of sharing', Ken



Re: Can not find data record in database table context

$
0
0

by Suchit Nikam.  

I have same problem.

please any one give perfect solution for this error.

thank you

Re: Redirection from apache2 server to nginx reverse proxy server w moodle 3.3

$
0
0

by Carolynn Bellavance.  

I would love to change the configuration but I am to work with what I have right now before trying  anything "new". The nginx is configured in a way to have all our locations in the same conf file, if I change it, it will also change for all our sites and without testing what config works for everything without any downtime I cannot do it for moodle. 


I do not know what you mean by "exposing" my hostname ?
CFG->reverseproxy = true is already at true, but I did take out the trailing slashes, as I wrote in my last message, it gives out a 404 error "/moodle/ not found".


Tried Emma's suggestion but it only gives these logs on nginx : 

==> /var/log/nginx/domain.access.log <==

192.168.0.160 - - [15/Jan/2018:08:32:08 -0500] "GET /moodle/ HTTP/2.0" 499 0 "-""Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.75 Safari/537.36"

==> /var/log/nginx/domain.error.log <==

2018/01/15 08:33:08 [error] 40436#40436: *41130 upstream timed out (110: Connection timed out) while connecting to upstream, client: 192.168.0.160, server: example.com, request: "GET /moodle/ HTTP/2.0", upstream: "https://192.168.0.4:443/moodle/", host: "example.com"


EDIT: Thank you both of you for your help. Figured out the 404 error was becasue the apache conf on the moodle server directed to /var/www/moodle/ instead of /var/www/. It is now working as it should.

Restoring Moodle 2 backup of Front Page. Moodle 3.3+

$
0
0

by Dave Emsley.  

I'm just trying to restore the front page settings from a Moodle 2.3.2 to a Moodle 3.3.1 site and get the errors (see screenshot):

  • You can only restore front page backups on the front page
  • The Guest role in the backup file cannot be mapped to any of the roles that you are allowed to assign.


I've followed the advice on https://tracker.moodle.org/browse/MDL-31500 which seems to suggest that this error should not occur.

Any clues please?

Cheers

Dave



Which database?

$
0
0

by Danielle Antha.  

Hi there,


A consultant who no longer works for us installed our moodle on an AWS server. Is there a way I can see what database our moodle is set up on?


Thank you.

Danielle


Re: Which database?

$
0
0

by Emma Richardson.  

Yes, just look at the config.php file in the moodle folder.  

Re: Which database?

$
0
0

by Dan Bennett.  

Further to Emma's suggestion, the other way you can check this is within Moodle itself, as a Site Administrator:

Site administration ->     Server ->    Environment

It'll be stated next to the "database" heading.

Installing moodle 3.4 on Cloudways with Debian distro

$
0
0

by Skeeter Harris.  

Hi Everyone,

I am trying to install moodle on a hosted VPS running debian lunix but am stuck.  I did find a document set here - Installing Moodle on Debian based distributions but the instructions don't give you enough detail for a newbie.  Between updating the php.ini file and then Step 6 which talks about pointing Apache to the moodle install are vague at best.  Does anyone have a cheat sheet or found a blog post that truly gives you steps 1 - 50 to get this up and running from scratch?

Thanks!


Re: No forum post get send as email ....

$
0
0

by Matteo Scaramuccia.  

Hi Werner,
it is actually encrypted but you're reading the SMTP conversation from what the client is sending and receiving, so plain text here.

What I - and the code - expect is to read about the capabilities of the SMTP server, for example if you look at the end of https://www.ndchost.com/wiki/mail/test-smtp-auth-telnet you'll see that, there, the server is replying something like:

...
250-AUTH PLAIN LOGIN
250-STARTTLS
250 HELP
...

That line tells you that the SMTP server is able to authenticate using a LOGIN scheme. If you look in the Internet you'll find more example e.g. http://www.samlogic.net/articles/smtp-commands-reference-auth.htm .

If I look at your trace I found no mention about the AUTH capabilities: that's the reason why I was wondering if something changed at the SMTP side, meanwhile you updated the Moodle instance.

HTH,
Matteo

Re: Installing moodle 3.4 on Cloudways with Debian distro

$
0
0

by Emma Richardson.  

What are you specifically having issues with?  Those instructions are about as step by step as you can find...I actually am the one that normally updates that page and I keep it as my install instructions - I am always happy to fix what is unclear but I need specifics please.  From command line, it is pretty much copy and paste the instructions line by line...

Re: Can't upgrade from 3.3.1 to 3.3.4 (Barracuda issue)

$
0
0

by Martin Millmore.  

Thanks Ken. Unfortunately Dreamhost won't move shared accounts to Barracuda, so it's not going to pass all of the tests even doing that. 

My point is that at some point between 3.3.1 and 3.3.4, someone seems to have decided that using Antelope instead of Barracuda is no longer a warning, but is now an error. I believe it came as part of MDL-48228, which essentially says that because Antelope can't support every character in every language, no-one can use it. I personally don't think that should have been done as part of what is essentially a bug fix release. This is especially true since the documentation says it is not mandatory;


https://docs.moodle.org/33/en/Administration_via_command_line#Converting_InnoDB_tables_to_Barracuda

"converting tables to Barracuda is only recommended, and not required"

Short of getting MDL-48228 backed out, has anyone got any suggestions? Am I the only person hitting this issue?

Re: Can't get through the installation process! Problem with admin account setup

$
0
0

by Troy Wolf.  

Jan 15, 2008

Fresh AWS ec2 instance with Ubuntu 16.04

PHP 7.022

MySQL 5.7.20

Moodle 3.4.1

Nginx w/ php7-fpm

moodle and moodledata dir owned by same user that the php7-fpm process runs as.

Install indicates all required and recommended PHP modules are installed successfully.

Next screen installs lots of things and appears to be successful. When I click to continue, I'm taken to the /user/editadvanced.php?id=2 page, which fails to load styles and scripts. See attached screenshot.

I enabled the developer debug settings in config.php. This allowed me to see this when I try to load the stylesheet using the URL: /theme/styles.php/boost/1516051530_1/all

Fatal error: Uncaught Error: Call to undefined function theme_get_sub_revision_for_theme() in /var/www/moodle/theme/styles.php:83 Stack trace: #0 {main} thrown in /var/www/moodle/theme/styles.php on line 83

This is odd to me because config.php has a require_once() for setup.php which has this:

require_once($CFG->libdir .'/outputlib.php');

Seems that should throw an error if the file is not found. (The files is, in fact, sitting there in my lib directory...and permissions are good.

I will keep troubleshooting this, but wondering WHY I have to...and how many people would continue this far. If anyone has a helpful tip, I'm listening.

Thanks!


Re: Can't upgrade from 3.3.1 to 3.3.4 (Barracuda issue)

$
0
0

by Martin Millmore.  

I've logged ticket MDL-61217 to track the issue. If anyone else is hitting this problem, please vote for the issue.

Viewing all 47059 articles
Browse latest View live


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