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

Upgrading via Git to 3.0

$
0
0
by Uugankhuu Baasanjav.  

Hello friends,

Today I first time tried upgrade via Git to 3.0 and failed. 

What I did:

$ cd /home/admin/web/myMoodleURL/
$ git clone git://git.moodle.org/moodle.git
$ cd moodle
$ git branch -a
$ git branch --track MOODLE_30_STABLE origin/MOODLE_30_STABLE
$ git checkout MOODLE_30_STABLE

Then:

$ cd /home/admin/web/myMoodleURL/public_html/
$ sudo -u apache /usr/bin/php admin/cli/maintenance.php --enable
$ git pull

and there is message appearing "fatal: Where do you want to fetch from today?"

What is wrong? 


Re: check_slasharguments Error reading environment data (16)

$
0
0
by David Heuring.  

Matteo.

The Virtualmin version is 4.18.gpl.  I have the exact same LAMP set up on the development and production servers but it is only the development server that gives this error message when I go to check the environment to install Moodle 3.0. 

So I did as you suggested and created the simple PHP page and ran it from my browser.  I was then able to the compare the print out with my Moodle's PATH_INFO.  I went through both line-by-line but there was no difference between them.

I'm beginning to think the best thing to do is to rebuild the server and install 3.0 from scratch since I don't seem to be able to get past that error message.

Re: Upgrading via Git to 3.0

$
0
0
by Howard Miller.  

I don't (quite) believe that's the whole story...

- If you clone inside /home/admin/web/myMoodleURL/ then you'll end up with your Moodle repository at /home/admin/web/myMoodleURL/moodle

- you don't claim to have renamed 'moodle' to public_html so the bit after 'Then:' doesn't make sense. 

Assuming, however, that you did and just didn't tell us, this implies something strange at [/home/admin/web/myMoodleURL/public_html.

What happens if you go there are type...

git remote -v

and

git branch -vv

Re: Trouble installing Moodle 2.9.3

$
0
0
by Howard Miller.  

Erm... that's because you have to upgrade to 2.2 first. By a circular route admittedly, all you did was try to upgrade from 2.0 to 2.9 (upgrade generally means modifying stuff in the database, not just changing the code).

I'm not sure what you mean by 'my webhost does not offer 2.2' when you can just download it here. Although, I'm guessing you may have used some form of provided installer script. If you did then you have just found out why it's not such a good idea and you may want to ask your host what they expect people in your position to do. 

Having said all that, you have all the data and you should still be able to install 2.2 'by hand' (it's hardly any more difficult) and go from there. 

Re: Trouble installing Moodle 2.9.3

$
0
0
by Emma Richardson.  

You should also check if your webhost has the necessary php version.
At this point, you need to revert to a backup before your upgrade.  Then you need to upgrade to 2.2 and then on to 2.9 (if your webhost supports it).

Re: file problem after upgrade - Migrated to a new server and files showing error

$
0
0
by Karrie V.  

did you find an answer?  I just moved from hostgator as well and I'm having a similar issue.  

Re: Trouble installing Moodle 2.9.3

$
0
0
by Rick Jerz.  

You might want to consider doing a new install of Moodle 2.9 or even 3.0, just to see if this version works on your web server.  As suggested  by Emma, verify that your web host supports the required versions of php and mySQL.

Installing from scratch will also help you learn a little more about Moodle.

Re: Site not accessible after installation "Redirect Loop" (New Installation)

$
0
0
by Chris Collman.  

Hi all,

I followed Ken's instructions and got my Moodle 3.0 up and running.  

I set up an XAMPP server and put Moodle 3.0 in ../htdocs/Moodle30.   I got the "Firefox has detected that the server is redirecting the request for this address in a way that will never complete" screen.  Something similar with E. At first I thought it might be a mySQL problem so I put in the port and socket in Moodle's config.php.  

What worked was to physically delete the

../moodledata/cache/cachestore_file/default_application folder.  

I put this wonderful solution into MoodleDocs under XAMPP.  

Note: I had Bitnami install a version of 2.3 on the same XAMPP server two weeks ago.   It put Moodle in ../apps/moodle/htdocs and worked just fine. 

Thank you Ken for the magic wand and for everyone else for asking the question.

Chris


Needed 2 moodle in same server

$
0
0
by franklin sucre.  

Hi all,

I have already installed a moodle 2.9.2 in a server and its working very fine, thanks to the creator of moodle. Now, I want to install another moodle in the same server targeting to different students group. Is it possible to create moodle like this in my scenario? 

Any suggestion and support would be highly appreciated.

Thank You

Regards,

franklin.sucre

Re: Needed 2 moodle in same server

$
0
0
by Mike Jaroch.  

Yes but depending on use is not required. Just do multiple classes. To do multiple instances on same server use apache name directives and change default moodle install folder name and db name


Re: Moodle 3.0 hopefully something simple

$
0
0
by Ben Daniels.  

sigh.

ok, after following the link, have inserted version, 2015111600.01 into mdl_config, and now getting "cannot find top level course"

Moodle 2.9.3 to 3.0 failed. qtype_ddwtos error

$
0
0
by Hans Bos.  

Hi,
I've upgraded my 2.9.3 moodle site to 3.0.
The first problem is a crashing question type plugin.
Any suggestion how to solve this?
Thanks,
Hans.

qtype_ddwtos

Debug info: Table 'mood_question_ddwtos' already exists
CREATE TABLE mood_question_ddwtos (
id BIGINT(10) NOT NULL auto_increment,
questionid BIGINT(10) NOT NULL DEFAULT 0,
shuffleanswers SMALLINT(4) NOT NULL DEFAULT 1,
correctfeedback LONGTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
correctfeedbackformat TINYINT(2) NOT NULL DEFAULT 0,
partiallycorrectfeedback LONGTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
partiallycorrectfeedbackformat TINYINT(2) NOT NULL DEFAULT 0,
incorrectfeedback LONGTEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
incorrectfeedbackformat TINYINT(2) NOT NULL DEFAULT 0,
shownumcorrect TINYINT(2) NOT NULL DEFAULT 0,
CONSTRAINT PRIMARY KEY (id)
, KEY mood_quesddwt_que2_ix (questionid)
)
ENGINE = InnoDB
DEFAULT CHARACTER SET utf8
DEFAULT COLLATE = utf8_general_ci
COMMENT='Defines drag and drop (words into sentences) questions'
Error code: ddlexecuteerror
Stack trace:
  • line 449 of /lib/dml/moodle_database.php: ddl_change_structure_exception thrown
  • line 905 of /lib/dml/mysqli_native_moodle_database.php: call to moodle_database->query_end()
  • line 76 of /lib/ddl/database_manager.php: call to mysqli_native_moodle_database->change_database_structure()
  • line 412 of /lib/ddl/database_manager.php: call to database_manager->execute_sql_arr()
  • line 364 of /lib/ddl/database_manager.php: call to database_manager->install_from_xmldb_structure()
  • line 508 of /lib/upgradelib.php: call to database_manager->install_from_xmldb_file()
  • line 1641 of /lib/upgradelib.php: call to upgrade_plugins()
  • line 677 of /admin/index.php: call to upgrade_noncore()

Re: Trouble installing Moode 2.8.9+

$
0
0
by Simon Rediss-Whitfield.  

The blank page sometimes happens (Its happened alot to me on new installs), if you delete the moodledata cache it should work fine (if its a fresh install you could just delete the moodledata contents which will repopulate on loading)

Re: Help

$
0
0
by Simon Rediss-Whitfield.  

Enable debugging, reboot the moodle server and let me know the results

Re: Moodle 3.0 hopefully something simple

$
0
0
by Howard Miller.  

THAT... just means that the database is corrupted. Drop the database, recreate and start again. 

Keep your config.php with debugging enabled this time though!


Re: Using ARR Reverse Proxy - broken content

$
0
0
by Matteo Scaramuccia.  

Hi Tom,
replace is part of the game when migrating an instance to another FQDN big grin, read more at: https://docs.moodle.org/30/en/Search_and_replace_tool.

Keep us updated: I'll try to install a W2K12R2 server with the ARR feature to try to test it by myself: Moodle is supposed - read: it should be reverse proxy friendly - to correctly manage its cache control headers including the way it compress some outputs.

Matteo

 

Moodle course display problems

$
0
0
by franklin sucre.  

Hi all,

I am really happy to get support from everyone as I am a newbie. This time I have another issue and I have been using the theme ESSENTIAL, thanks to the creator.

In my course menu, the display shows a gap between course title and course description which is not looking professional actually. I  want to put the course title and course description just up and down without any gap. I have added a screenshot, please have a look.

I have changed the course appearance menu as much I could, but no success.

Thank You

Re: Needed 2 moodle in same server

$
0
0
by franklin sucre.  

Hi all,

Thanks for the response. Once I test the system, I will let you know.

Thanks

Re: Moodle 2.3.8 + NGINX setup (SOLVED)

$
0
0
by Zaigham R.  

Thanks guys. This worked for me.

I was having sesskey error and no css etc.

Re: Upgrading via Git to 3.0

$
0
0
by Uugankhuu Baasanjav.  

Alright, sorry for my language. 

My server is centOS 6.7 and my moodle files inside /home/admin/web/online.bfa.mn/public_html folder. 

As docs said

$ cd /home/admin/web/online.bfa.mn/ $ git clone git://git.moodle.org/moodle.git (1) $ cd moodle $ git branch -a (2) $ git branch --track MOODLE_30_STABLE origin/MOODLE_30_STABLE (3) $ git checkout MOODLE_30_STABLE (4)

It is what I did successfully.

When I type git remote -v inside /home/admin/web/online.bfa.mn folder then appears message: fatal: Not a git repository (or any of the parent directories): .git

But inside /home/admin/web/online.bfa.mn/moodle folder

# git remote -v origin git://git.moodle.org/moodle.git (fetch) origin git://git.moodle.org/moodle.git (push)

]# git branch -vv

* MOODLE_30_STABLE f0aa5b7 [origin/MOODLE_30_STABLE] weekly release 3.0+

  master           2b11b94 [origin/master] weekly on-sync release 3.1dev

Viewing all 42754 articles
Browse latest View live




Latest Images