+ Post New Thread
Results 1 to 8 of 8
Virtual Learning Platforms Thread, moodledata directory in Technical; Hello Can someone give me some advice where to locate my moodledata folder? Currently it is in httpdocs(which is not ...
  1. #1
    tech-man's Avatar
    Join Date
    Jul 2005
    Location
    The Pub
    Posts
    170
    Thank Post
    13
    Thanked 15 Times in 11 Posts
    Rep Power
    21

    moodledata directory

    Hello

    Can someone give me some advice where to locate my moodledata folder? Currently it is in httpdocs(which is not recommended).... I have tried moving it up one level and altering config.php but it displayed some permission errors.

    Its current location is /var/www/vhosts/DOMAIN/httpdocs/moodledata/

    I have my own ubuntu server, but I am fairly new to linux filesystem etc.

    Thanks

  2. #2

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    Did you install moodle from the respository package? In this case, the installation is at /usr/share/moodle and you should just add an alias for it into your web server configuration. Everything else is set up for you (and if you change it, you'll screw the package manager over next time you want it to upgrade things for you).

  3. #3


    Join Date
    Feb 2007
    Location
    Northamptonshire
    Posts
    4,678
    Thank Post
    352
    Thanked 794 Times in 714 Posts
    Rep Power
    346
    Looks like a plesk box with that path?

  4. #4
    tech-man's Avatar
    Join Date
    Jul 2005
    Location
    The Pub
    Posts
    170
    Thank Post
    13
    Thanked 15 Times in 11 Posts
    Rep Power
    21
    It is a virtual private server with Plesk - however I have installed moodle by downloading the zip and creating the DB. I just need to know where I might put the moodledata folder.... thanks

  5. #5

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    I suggest /usr/local/share/moodle-data. On Debian-based (Ubuntu is one) systems, /usr/local is for the local adminsitrator's use and won't be touched by the package manager.

  6. #6
    tech-man's Avatar
    Join Date
    Jul 2005
    Location
    The Pub
    Posts
    170
    Thank Post
    13
    Thanked 15 Times in 11 Posts
    Rep Power
    21
    What group/owner?
    Cheers

  7. #7

    powdarrmonkey's Avatar
    Join Date
    Feb 2008
    Location
    Alcester, Warwickshire
    Posts
    4,859
    Thank Post
    412
    Thanked 777 Times in 650 Posts
    Rep Power
    182
    You should double-check the moodle documentation, but I would imagine the same as the Apache use (probably www-data).
    Last edited by powdarrmonkey; 16th December 2009 at 03:25 PM. Reason: speeling

  8. #8

    Join Date
    Dec 2009
    Location
    Peterborough
    Posts
    19
    Thank Post
    0
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Yeah use the same user as apache, thats the user we use.

SHARE:
+ Post New Thread

Similar Threads

  1. Directory listings
    By srochford in forum *nix
    Replies: 2
    Last Post: 12th June 2009, 12:52 PM
  2. Replies: 0
    Last Post: 6th April 2009, 10:26 PM
  3. Nothing from Moodledata after upgrade
    By THERADIOTUBBY in forum Virtual Learning Platforms
    Replies: 0
    Last Post: 24th February 2009, 09:57 PM
  4. Active Directory
    By Neville in forum Windows
    Replies: 6
    Last Post: 25th June 2008, 03:24 PM
  5. Replies: 7
    Last Post: 31st January 2008, 12:17 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •