tech-man Posted December 16, 2009 Posted December 16, 2009 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
powdarrmonkey Posted December 16, 2009 Posted December 16, 2009 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).
tech-man Posted December 16, 2009 Author Posted December 16, 2009 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
powdarrmonkey Posted December 16, 2009 Posted December 16, 2009 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.
powdarrmonkey Posted December 16, 2009 Posted December 16, 2009 (edited) You should double-check the moodle documentation, but I would imagine the same as the Apache use (probably www-data). Edited December 16, 2009 by powdarrmonkey speeling
StevieC Posted December 17, 2009 Posted December 17, 2009 Yeah use the same user as apache, thats the user we use.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now