Installing and upgrading help

upgraded to 3.4 (and moved server)

 
Picture of Archie Ba
upgraded to 3.4 (and moved server)
 

Hi.


So I upgraded to moodle 3.4 from 3.2.2 and I also moved to a new server.


Every thing seemed fine but I can't add new assingments in courses   


When I click "add activity or new ressource", I get the list.  I select assingment and I see all the details related to the chosen assingment.  However, when I try to save it, it doesn't.  It stays on the same page.  No error message, nothing.


I checked if ghostscript was working, and it has the green check mark.


Is there anything else I need to check?  I havent tried to add all the different type of activities but I know that adding a Quiz works.  


Thanks!


EDIT:


Forgot to say, in enviroment I get this:


unsupported_db_table_row_format
if this test fails, it indicates a potential problem

Your database has tables using Antelope as the file format. You are recommended to convert the tables to the Barracuda file format. See the documentation Administration via command line for details of a tool for converting InnoDB tables to Barracuda.

Check
mysql_full_unicode_support
if this test fails, it indicates a potential problem

The current setup of MySQL or MariaDB is using 'utf8'. This character set does not support four byte characters which include some emoji. Trying to use these characters will result in an error when updating a record, and any information being sent to the database will be lost. Please consider changing your settings to 'utf8mb4'. See the documentation for full details.

Check




 
Average of ratings: -
Picture of Emma Richardson
Re: upgraded to 3.4 (and moved server)
Documentation writersParticularly helpful Moodlers

I presume it is not something as simple as a required field not being entered?

As for the environment checks, yes, you want to take care of those...

 
Average of ratings: -
Picture of Archie Ba
Re: upgraded to 3.4 (and moved server)
 

No unfortunatly, it is not because I have not entered the required fields.  


Do you think one of the environment checks could cause this?



 
Average of ratings: -
Picture of Emma Richardson
Re: upgraded to 3.4 (and moved server)
Documentation writersParticularly helpful Moodlers

It is possible and they will cause other issues down the road.  You really should take care of those and then see if the error remains.

 
Average of ratings: -
Picture of Archie Ba
Re: upgraded to 3.4 (and moved server)
 

I have changed the DB from  innodb to barracuda and the error in the envorinment is gone. (yes!)


and I have also run the: 

# php admin/cli/mysql_collation.php --collation=utf8mb4_unicode_ci


And this "worked" but I am still getting the error in the environment, after a purge all cache. (why?)

Converting tables and columns to 'utf8mb4_unicode_ci' 


Converted: 388, skipped: 995, errors: 0


When I run it a 2nd time, it skips all the files.

EDIT: when I look at the db in phpmyadmin I can see the "utf8mb4_unicode_ci"  

EDIT: oh! just forgot to change it in the config.php smile  the environment is now without errors.

I can now add assignments and all seems good. 


And.. I am probably forgetting something very simple because students don't see the submit button.



------

I also forgot to previously add that I saw some errors:  They did not seem a priority but I should take care of them.  What should I do?



https_required() has been deprecated. It no longer needs to be called.

    • line 1472 of /lib/pagelib.php: call to debugging()
    • line 47 of /login/index.php: call to moodle_page->https_required()

verify_https_required() has been deprecated. It no longer needs to be called.

    • line 1485 of /lib/pagelib.php: call to debugging()
    • line 304 of /login/index.php: call to moodle_page->verify_https_required()




Help smile


 
Average of ratings: -
poseypic
Re: upgraded to 3.4 (and moved server)
Core developersTesters

Hi Archie,

That is interesting for sure!

One thought - do you have any third-party plugins installed? And did you upgrade these at the same time as upgrading Moodle?

The other thought with the submit button missing is whether you are using a third party theme that needs updated?

 
Average of ratings: -
Picture of Archie Ba
Re: upgraded to 3.4 (and moved server)
 

Thanks for the input!


I got up this morning and had a similar hunch.  (concerning the error)  So I contacted one of the third-party to see if my hunch was correct.  In the plugin section, everything is fine but maybe they will give me more info.

For the theme, it is a theme based on boost.  is there anything specific I should be looking for?  



 
Average of ratings: -
poseypic
Re: upgraded to 3.4 (and moved server)
Core developersTesters

A quick thing to check would be to switch to the Boost theme and see if the submit button does appear. If not, then there is a further issue. If it does then this may indicate an issue with the theme you're using.

 
Average of ratings: -
Picture of Archie Ba
Re: upgraded to 3.4 (and moved server)
 

Good idea ! but darn... its the same with the boost theme.  Just to make sure, I tried it with the clean theme and its the same thing.



 
Average of ratings: -
Picture of Emma Richardson
Re: upgraded to 3.4 (and moved server)
Documentation writersParticularly helpful Moodlers

If the rest of the site is working correctly, I suspect something corrupted with your moodle code and would suggesting reinstalling with a fresh download.  Also check that your permissions were applied recursively on the moodle folder.

If you are seeing issues elsewhere, then I think it would indicate a server issue somewhere.

 
Average of ratings: -
Picture of Archie Ba
Re: upgraded to 3.4 (and moved server)
 

Thanks.


So I will start over with a fresh copy.   The rest seems fine.

 
Average of ratings: -
Picture of Archie Ba
Re: upgraded to 3.4 (and moved server)
 

Fresh copy is done.  I put the db and the moodledata in place.  Then the theme.  everthing is working now.  smile


no more deprecated errors and no more missing buttons smile


Thanks everyone!! greatly appreciated.

 
Average of ratings: -
poseypic
Re: upgraded to 3.4 (and moved server)
Core developersTesters

Great news, glad to hear it's now working! :D

(Please rate posts marked as useful if they were!)

 
Average of ratings: -