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

Re: Need help moving Pgsql to Sql

$
0
0
by Visvanath Ratnaweera.  

I see. It is geek talk. In this connection MySQL and MariaDB are equal, MariaDB started with a copy of MySQL, take what your hosting provides. PostgreSQL is something completely different. That is why the difficulty in switching from PostgreSQL to MySQL or MariaDB.

Re: Fix for SQL Server db collation error 4.2 --> 4.3+

$
0
0
by Connie M..  

Hi Whalon!

Thanks for getting back to me and I'm sorry for the late reply!
I've been discussing options with my colleague (server admin) and boss and as of right now, we think we need to make a new moodle from scratch.

However, yesterday B Parker postet at the tracker https://tracker.moodle.org/browse/MDL-80483 adding some more info.

Now, my colleague doesn't want to change the core code. But I was wondering if you see any possibility of, well, being sure that the code change will not have any detrimental side effects? Can this be ascertained or is it simply not possbile?

Thank you and best, 

Connie

Upgrading from custom implementation on 3.9 to the latest stable version

$
0
0
by Manjiri Sule.  

Hello, through a third party vendor my organization have implemented Moodle 3.9 and it has live courses. We also have a custom implementation of UI as well as planning to complete the payment gateway integration.

The vendor is committed to payment gateway integration in the previous contract for installation, customization and deployment but might ask for a new contract for the upgrade. My question is threefold :   

If I get the payment gateway implemented on 3.9, will the custom UI and gateway integration (PHP) will be inherited in the upgrade process? 

The positive answer will help in minimizing the  upgrade contract cost. If not will there  be a substantial rework on custom PHP code during the upgrade work?

Or is it better to implement the payment gateway only after upgrading?   

We are an NGO and we are looking for cost optimization. 

Best,

- Manjiri Sule

Error : storedfilecannotreadfile

$
0
0
by Pequenos Sorrisos.  

Hello,

I have upgraded my Moodle 4.2 to 4.4 and all pictures and files are unaccessible.

Forum uploaded files, profile pictures, and others are just blank or unable to open, but moodledata folder is the same.

Is there a way to fix this? 

Thank you

Re: Upgrading from custom implementation on 3.9 to the latest stable version

$
0
0
by Howard Miller.  

No idea - it depends what you mean by "customisation". In the best case, they will have implemented the custom code as proper Moodle plugins and will not have changed any core code. Then it's a matter of making a thorough test of the upgrade (on a copy of the live site) with your custom plugins.

However, if they have modified core code then you have a big problem. You have found out why customising core code is a VERY bad idea.

The answer to my above question will probably define your way forward.

Re: Error : storedfilecannotreadfile

$
0
0
by Visvanath Ratnaweera.  

Did you follow Upgrading to the dot? At which step did it start throwing this error? Try to get a full error trace by activating Debugging and raising it to the maximum.

Re: Upgrading from custom implementation on 3.9 to the latest stable version

$
0
0
by Manjiri Sule.  

Thank you. Will try to get some idea on whys as I have inherited the implementation. 

Also a simple question now, if I implement Payment Gateway on 3.9 (not PayPal, Indian national bank's payment gateway), will the upgrade be easier? 

Re: I suspect I accidentally deleted a cohort

$
0
0
by Benoit Xavier.  

I think the deleted cohort did not have any users...this thread needs to go to the ether...Is it possible?

Re: Upgrading from custom implementation on 3.9 to the latest stable version

$
0
0
by Howard Miller.  

If this is a separate plugin and it supports all the Moodle versions you require, then probably.

Re: Fix for SQL Server db collation error 4.2 --> 4.3+

$
0
0
by Whalon Herbert.  

Hi Connie,

I too saw Brian's update and interpreted it to mean he did not have to repeat the collation workaround a second time to when upgrading to 4.4

This gives me confidence for two reasons...one, it confirms the changes in 4.3 workaround will compensate for the collation issue going forward and it confirms Moodle has not yet changed their core code...unfortunately. 

Just throwing some ideas out...if you have the time, I would install a fresh 4.4 instance and confirm a complete and successful installation.  To me, this would confirm the stability of 4.4 and perhaps your server admin will consent to more troubleshooting of the broken instance. Then, if it suits, you can make a copy of moodledata (for backup purposes) and apply the workaround procedure. 

Assuming the work around fixes the 4.3 instance, you can then perform an upgrade on 4.3 -> 4.4...at the end, you'd have one fresh 4.4 with no data and another 4.4 with data (and the collation fix)

Keep us informed on your progress!

.Whalon

  

Re: Need help moving Pgsql to Sql

$
0
0
by Fred Frazelle.  

Well, installed 4.4.1.  It is from the installer program of the hosting co. It set the db up in MySQL. Am trying to Restore a simple course of 3 lessons which i downloaded from the other sites yesterday - about 16 Mb. in .mbz format. It seems to hang - has been 10 min. now.

Re: Upgrading to Moodle 404 STABLE from 4.1 getting this message

$
0
0
by Benoit Xavier.  

Thanks! I have worked in opensource projects like Canvas LMS (but did not do upgrades) but not sure why the upgrades are so complicated, it seems like one keeps digging into a deep rabbit hole with each step, with no end in sight....It just gets complicated with every step. For remote support do you have any recommendations?

Re: Need help moving Pgsql to Sql

$
0
0
by Ken Task.  

First, let's remember your other site is still active and might be used.  Plus, due to it's age, it might be struggling + black hats might be poking and probing.

Welcome to IT! sad.  If you are doing this during prime time for your other site, server might be busy.   No such thing as 'instant gratification' in IT these days!

4.4 puts restores in a background process - supposedly allows you to go onto other things ... I prefer to stay right at that restore screen to see if finish.

One cannot by the number of lessons and size of backup file determin how long a restore will take .... so what appears to be something small, really isn't.

Does the new site have all the addons the old site did?

How many users are enrolled in that course?   Users are being added to the new system.

Give it more time.

Go to the category course is being restored to and see if there is anything that says "Pending".

'SoS', Ken

Re: Upgrading to Moodle 404 STABLE from 4.1 getting this message

$
0
0
by Ken Task.  

"(but did not do upgrades)".  So you really don't know.  Not fair to compare!

When one makes a mistake at the start it usually leads to a deeper rabbit hole! sad

Remote support - which system .... your production - which is publically accessible or ... the test system - which is private IP and behind your entities network firewall?  I'd advise your test system first!

Either way/one, there are powers that be in your entity that you will have to talk to, get permissions from, and set that up for access.

Would be amiss if I didn't say, host with a Moodle Partner and be done with this.

We've come full circle now ... for those who were not involved in the PM conversation, an offer was made some time ago, but was told not possible.

'SoS', Ken

Re: Error when updating to do with unicode

$
0
0
by Emma Richardson.  

When you update the collation, there is normally an option to update all columns in all tables - you need to select that and then try again.


Re: Moodle 4.4: Table mdl_groups, differing definitions [INFO]

$
0
0
by Visvanath Ratnaweera.  

Ken

Thanks for bringing up admin/cli/check_database_schema.php and checks.php. I've attached their output.

Please note that I don't have to nor plan to "repair" the copy I am working with. My copy is in a VPS, that is why I have command access. The original site, still throwing errors, is in somebody's Plesk with no command access.

I just can't believe how people are supposed to maintain Moodle through such a limited tool.
sad

Re: Error when updating to do with unicode

$
0
0
by Leon Stringer.  

It looks like you need to do steps 1 and 2 in this reply (you've only done step 3).

If you do not have command line access the line at the end has a link describing how this can be done with phpMyAdmin.

Re: Moodle 4.4: Table mdl_groups, differing definitions [INFO]

$
0
0
by Ken Task.  

checks.out

CRITICAL: Serverumgebung (core_environment)
   Status | Prüfen                                                     
----------+--------------------------------------------------------------------
    ERROR | Serverumgebung (core_environment)                           
          |     Sie müssen zunächst alle Probleme mit der Serverumgebung
          |     beheben, bevor Sie mit der Installation von Moodle
          |     fortfahren können.
    ERROR | Maximale Fehlerverzögerung für Tasks (tool_task_maxfaildelay)
          |     2 Task(s) schlagen fehl 

Translate please.

check_database_schema.out

check_database_schema.out
-------------------------------------------------------------------------------
course
 * column 'pdfexportfont' is missing
-------------------------------------------------------------------------------
communication
 * table is missing
-------------------------------------------------------------------------------
communication_user
 * table is missing
-------------------------------------------------------------------------------
groups
 * column 'visibility' should be NOT NULL (I)
 * column 'visibility' has default 'NULL', expected '0' (I)
 * column 'participation' is missing
-------------------------------------------------------------------------------
block_instances
 * Missing index 'blocknameindex' (not unique (blockname)). 
CREATE INDEX mdl_blocinst_blo_ix ON mdl_block_instances (blockname);
-------------------------------------------------------------------------------
external_tokens
 * column 'name' is missing
-------------------------------------------------------------------------------
reportbuilder_filter
 * Missing index 'report-filter' (unique (reportid, uniqueidentifier, iscondition)). 
CREATE UNIQUE INDEX mdl_repofilt_repuniisc_uix ON mdl_reportbuilder_filter (reportid, uniqueidentifier, iscondition);
-------------------------------------------------------------------------------
xapi_states
 * table is missing
-------------------------------------------------------------------------------
moodlenet_share_progress
 * table is missing
-------------------------------------------------------------------------------

The following is the old assignment .. should have been deleted!

assignment
 * table is not expected
-------------------------------------------------------------------------------
assignment_submissions
 * table is not expected
-------------------------------------------------------------------------------
assignment_upgrade
 * table is not expected
-------------------------------------------------------------------------------

More 3rd party edwiser ... which appears to no longer be supported!

block_edwiser_site_monitor
 * table is not expected
-------------------------------------------------------------------------------
block_edwiserratingreview
 * table is not expected
-------------------------------------------------------------------------------
block_ernr_likedlike
 * table is not expected
-------------------------------------------------------------------------------
block_remuiblck_taskslist
 * table is not expected
-------------------------------------------------------------------------------
edw_page_block_layouts
 * table is not expected
-------------------------------------------------------------------------------
edw_page_blocks
 * table is not expected
-------------------------------------------------------------------------------
edw_pages
 * table is not expected
-------------------------------------------------------------------------------
edw_pages_draft
 * table is not expected
-------------------------------------------------------------------------------
edw_taskslist
 * table is not expected
-------------------------------------------------------------------------------
edwiserform
 * table is not expected
-------------------------------------------------------------------------------
edwreports_blocks
 * table is not expected
-------------------------------------------------------------------------------
edwreports_course_progress
 * table is not expected
-------------------------------------------------------------------------------
edwreports_custom_reports
 * table is not expected
-------------------------------------------------------------------------------
edwreports_schedemails
 * table is not expected
-------------------------------------------------------------------------------
efb_form_data
 * table is not expected
-------------------------------------------------------------------------------
efb_form_templates
 * table is not expected
-------------------------------------------------------------------------------
efb_forms
 * table is not expected
-------------------------------------------------------------------------------
efb_forms_enrolment
 * table is not expected
-------------------------------------------------------------------------------
format_remuiformat
 * table is not expected
-------------------------------------------------------------------------------
remuiformat_course_visits
 * table is not expected
-------------------------------------------------------------------------------
remuihomepage_sections
 * table is not expected
-------------------------------------------------------------------------------
studentquiz
 * table is not expected
-------------------------------------------------------------------------------
studentquiz_attempt
 * table is not expected
-------------------------------------------------------------------------------
studentquiz_comment
 * table is not expected
-------------------------------------------------------------------------------
studentquiz_comment_history
 * table is not expected
-------------------------------------------------------------------------------
studentquiz_notification
 * table is not expected
-------------------------------------------------------------------------------
studentquiz_progress
 * table is not expected
-------------------------------------------------------------------------------
studentquiz_question
 * table is not expected
-------------------------------------------------------------------------------
studentquiz_rate
 * table is not expected
-------------------------------------------------------------------------------
studentquiz_state_history
 * table is not expected
-------------------------------------------------------------------------------

Remove ANY AND ALL of edwiser theme/blocks/whatever - manually.

"The original site, still throwing errors, is in somebody's Plesk with no command access"

No command line access ... well, I think you know what I think about that!

'SoS', Ken

Re: Need help moving Pgsql to Sql

$
0
0
by Ken Task.  

Fred finally granted me one time access to the panel his hosting provider has.

First, a comment ... the panel sucks!   Big time!

Ok that little rant out of the way, am gonna call upon any and all persons who help in these forums to guess.

Used that 'suck' panel's file bowser to find the moodle code ... it is a 4.4 .. viewed the config.php file.   Was wanting to see the path to moodledata/ so I could see what was in moodledata/temp/backup/ where moodle code uses that area to restore courses.

Here's the dataroot line:

$CFG->dataroot  = '/home/www/moodledata/fundxxxxisa.org/moodle/';

The moodle domain isn't isa.org!    It's fundxxxx.org - NO ISA!

And please, anyone and everyone tell Fred what you think about that line!

The 'suck panel' can't find that path!

Yet the site, as Fred has said, has one course linked on the front page of the moodle ... don't have access to the moodle site so couldn't tell if that one worked or not ... but Fred says it did.    So guess we'll have to believe him.   No reason for him to lie! smile

2 more cents ... installed with Softac ... which appears to 'strike again'! sad

'Disgusted ... spirit of sharing',

Ken

Error message after I installed the booking plugin.

$
0
0
by Ahmed Raza.  

I tried to install the booking plugin, everything went well. After installation, I see an error message when I try to log in.

Error

Exception - Failed opening required '[dirroot]/question/category_class.php' (include_path='[dirroot]/lib/pear:.:/usr/share/pear:/usr/share/php')
Viewing all 47371 articles
Browse latest View live


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