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

Re: After migrating website no images working

$
0
0
by Visvanath Ratnaweera.  

Hi Mathan

Compare your notes with the documentation https://docs.moodle.org/en/Moodle_migration. (It will jump to the latest, right now 3.0, version of Moodle. If yours is different, replace /30/ with your version.)

As Emma suspected, did you do an https://docs.moodle.org/en/Upgrading at the same time? That is never a good idea, because you will not know which step broke. Anyway, if you also upgraded, somehow it broke the https://docs.moodle.org/en/Repositories. For example, during a 1.9 > 2.x the dreaded https://docs.moodle.org/en/Legacy_course_files were created. Apart from that, I have no clue. I don't think you have Unix file permissions issue, since you can upload files. What are the URLs (the pattern) of those broken images?

Re: installing Moodle on Ubuntu

Re: Newbie: After install, how do I call first moodle page?

$
0
0
by Usman Asar.  

OK All things good to go

now remains your choice regarding DB server, either install MySQL/MariaDB or use MS-SQL that is already there.

as .NET developer, I am sure you must have good grasp on MS-SQL Server, so just create a new moodle DB with test user and you're good.

video version

$
0
0
by Adom Derkye.  

I am pleading that video version of this distance learning could be added to enhance our understanding.

Stay bless

Adom.

Re: Newbie: After install, how do I call first moodle page?

$
0
0
by Bob Herrmann.  

Usman,

Yes, I can create the SQL db.  That i can do.  

Also, I talked this over with my boss and we can get a cheap, shared server at our hosting company for $4 a month.  We may do that instead of messing around with our production server.  They offer Linux solutions as well.

Are we better off using Linux or Windows in your opinion?

Re: Moodle Newbie

$
0
0
by Peter Goldsmith.  

I have disabled via php manager but it's still the same


Peter

DNS

$
0
0
by faiz abdelhafid.  

Dear Moodlers

I was looking to change the platform address into a string URL instead of the default IP address. When we did that we noticed that the address does not work when we include the subfolder e.g. moodle.pass.ps/moodle. The Network Administrator told me this is has to be solved in the Moodle configuration file and the OS cannot redirected a URL containing a subfolder (/moodle).

Did anyone faced the same problem ?


Thanks

Re: Newbie: After install, how do I call first moodle page?

$
0
0
by Usman Asar.  

Bob, that remains your choice where to go, for since PHP 7 supporting 64-bit on Windows platform, both platforms are good to go, then it comes  down to your knowledge of servers, the more comfortable you are with a platform, go with that. I choose to go ahead with Windows for my understanding of Windows servers more than Linux.


Re: Moodle Newbie

$
0
0
by Usman Asar.  

Have you downloaded correct version of the VC++? 64-bit vs 32-bit?

Also, have you used PHP Manger installing the PHP or was it done manually?

if possible, can i get RDC into the server?

Re: DNS

$
0
0
by Usman Asar.  

go into moodle directory, open config.php

find the line:

$CFG->wwwroot   = 'http://192.myip.whatever';

change this  into your domain now with sub folder e.g

$CFG->wwwroot   = 'http://mymoodle.com/moodle';

also, if you have already uploaed courses prior to URL change, you have to use URL replace tool

go to www.mymoodle/moodle/admin/tool/replace/index.php

else links will not work in your moodle.

Re: installation (version 5.5.31 is required and you are running 5.5.5.10.1.10)

$
0
0
by Marina Glancy.  

Hello, you need to edit your config.php and specify database as "mariadb" instead of "mysqli"

There is an issue MDL-51080 about improving the error message

Re: Moodle Newbie

$
0
0
by Simone Callahar.  

everyone has his own choice. you are comfertble with window while some like linux. so its not easy to fulfill everyone's wishes.. 

your idea is supurb.. i like the way you express wht exectly you want...


Re: Trouble with MoodleCron-Setup.exe for Windows Moodle 3.0

$
0
0
by Usman Asar.  

Nate, have you been running your production Moodle on Windows installer, seriously?

if you're using the moodlecron.exe, then it will be URL to run cron through browser interface, so making it www.mymoodle.com/admin/cron.php

as CLI wont be readable by browser, or as it makes sense with MoodleCron as well, as there are remote cron services that makes use of browser based CRON tasks rather than CLI, but CLI is always more efficient in terms of load on resources.

Re: Moodle entirely over SSL?

$
0
0
by Bret Miller.  

You really shouldn't resurrect old threads. Just post your issue as a new one.

That said, https:///blahblahblah and http://blahblahblah are different URL's, so you will need to run the search/replace script to fix up your database once you change. See https://docs.moodle.org/en/Moodle_migration for instructions.

Also, the setting in Site administration > Security > HTTP Security that says "Use HTTPS for logins" needs to be unchecked if your entire site is https.

Yes, I have done this and had no issues moving my site from http to https considering the above mentioned process.

Re: Trouble with MoodleCron-Setup.exe for Windows Moodle 3.0

$
0
0
by Nate Stengrevics.  

Usman,

You have been very helpful, thank you. We are looking to upgrade a large Moodle installation that is many versions behind. I have installed Moodle 3.0 on a laptop to be a "sandbox" so that I can get used to the interface as it appears in the newest version. We don't currently have access to the server for our production site, so this is all experimental work with the windows installation.


I will try using that URL again when installing the MoodleCron, although I think all the progress I made with getting the course completion to work was through manually running a Cron through the web browser.


Is there a way to check and verify that the MoodleCron is indeed running every five minutes as I will set it to do?


Nate






Re: Moodle Newbie

$
0
0
by Peter Goldsmith.  

Hi Usman,


Worked a treat, thank you!

I might even let a couple of tutors load some data!

Thanks for the reminder about the SSD drive and defrag, I was aware of that one but good to be reminded.

Looking forward to your next video re tuning opcache etc


Cheers for now

Peter

Re: Trouble with MoodleCron-Setup.exe for Windows Moodle 3.0

$
0
0
by Usman Asar.  

Nate, as you're calling cron through browser, so just running through browser  interface should tell if you your cron is completing successfully or not, else you can as well right click the cron.php command and select RUN, you'll briefly see DOS window open and close, should there be problems, you'll see  message on command prompt.


Cannot downgrade mod_quiz from 2014080700 to 2014051201

$
0
0
by Mark Hamilton.  

I'm doing an upgrade from 2.5x to 2.7 stable.


After using GIT to merge 2.7 stable into my 2.5 install I ran the admin/cli/upgrade.php script.

This tells me mod_quiz cannot be downgraded.


Here's what I've tried:

1. Removing /mod/quiz and replacing it with /mod/quiz from 2.7 stable (git checkout moodle_origin/MOODLE_27_STABLE -- quiz)

After clearing the php cache and reloading the upgrade script I get the same error.

2. I tried looking for the mod_quiz plugin in https://moodle.org/plugins/ but I CAN'T FIND IT! 

-I selected my moodle version from the drop-down.

-In the search box typed "mod_quiz" and I get nothing! (However, I can find the Game module very easily by searching for "mod_game")



It shouldn't be this hard to downgrade my plugin if I want to. I'm given the option to upgrade plugins which need upgrading (I'm even given a DOWNLOAD LINK). 

Do I need to edit the upgrade.php script to ignore versions which are more recent? If so, how? 

Do I need to edit the database entry for this module to give it a version that it can cope with? If so, how? 


Thanks for your help. 

Re: Cannot downgrade mod_quiz from 2014080700 to 2014051201

$
0
0
by Ken Task.  

Hmmmm .... I tried your command for acquiring just 'quiz' (which is a mod) and results were: 'negative'.

Think I'd try to acquire the entire code in another directory *close* to web root ... example for CentOS whose 'code root' is apache's document root: /var/www/html/

cd /var/www/

git clone git://git.moodle.org/moodle.git html2 (note the html2)

cd html2

git branch --track MOODLE_27_STABLE origin/MOODLE_27_STABLE

git checkout MOODLE_27_STABLE

Then check the version:

fgrep '$release' version.php

That should respond: $release  = '2.7.13 (Build: 20160314)'; // Human-friendly version name

Then copy the mod/quiz directory to true document root from html2.

Located in html2/mod

cp -rp quiz ../html/mod/

cd ../html/mod/

ls -ld quiz

check ownerships/permissions on quiz directory and files contained there in so that those match other diretories on your system.

The try the admin/cli/upgrade.php again.

Hope you began the process by making a backup of code directory as well as a mysqldump. ;)

Fingers crossed, you'll be ok.

After checking and finding it's ok ... *backup* ... and also remove the html2 directory as you no longer need it.

BTW, all mods have a version.php file ... from coderoot ...



fgrep '$plugin->version'  ./mod/*/version.php

as do all blocks, themes, etc.

'spirit of sharing', Ken

Re: installing Moodle on Ubuntu

Viewing all 47003 articles
Browse latest View live


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