Can't install plugins via UI (from ZIP file)

Can't install plugins via UI (from ZIP file)

by Peter Eliyahu Kornfeld -
Number of replies: 2

Hi,

I inherited a moodle site that runs on Linux, and I have an error:

Write access check
I understand that I have to enable write access on all directories where a plugin can be installed (like /course/format and local), but I do not know to which user? (did I mentioned I'm not a Linux men?)...

I also would like to have a complete list of all the directories I need to enable...


Thanks in advance,

Peter

Average of ratings: -
In reply to Peter Eliyahu Kornfeld

Re: Can't install plugins via UI (from ZIP file)

by Ken Task -
Picture of Particularly helpful Moodlers

First, find out what 'flavor' of Linux your server is running - and that depends upon where and how hosted.

ssh into your server as root then issue the following command: uname -an

Info from that command would give someone in these forums enough info to accurately provide some suggestions.

But ... here's a short suggestion:

if Ubuntu - www-data is the owner/group the web service runs under

If CentOS/RHEL - apache:apache

If you begin your journey as a Linux server admin asking for 'very specific list' etc. then suggest folks will eventually not respond ... after all, it's your server.   Know that sounds un-friendly, but in the long run, you will be better off.

Google is your friend - assuming Ubuntu ...

shttps://www.google.com/search?q=ubuntu+how+to+set+ownerships+permissions

and on the server itself:

man chown

man chmod

is the online manual for your distro.

'spirit of sharing', Ken



Average of ratings: Useful (1)
In reply to Ken Task

Re: Can't install plugins via UI (from ZIP file)

by Peter Eliyahu Kornfeld -

Thank you Ken,

You pointed me to the right direction (it is a CentOS)...

I do not mean to turn into a Linux server administrator - we only hit a problem with one of our provider, so - temporarily - I need to do some modifications on my own...