Package Details: moodle 4.0.4-1

Git Clone URL: https://aur.archlinux.org/moodle.git (read-only, click to copy)
Package Base: moodle
Description: An open-source software learning management system
Upstream URL: https://moodle.org/
Licenses: GPLv3
Conflicts: moodle-plus
Submitter: freaknils
Maintainer: Dylan14
Last Packager: Dylan14
Votes: 5
Popularity: 0.000002
First Submitted: 2015-08-27 11:19 (UTC)
Last Updated: 2022-10-18 19:14 (UTC)

Latest Comments

samibr commented on 2022-08-17 20:37 (UTC)

I installed the package and all the mentioned dependencies and I activated and enabled the httpd.service but in the browser with localhost/moodle I got this error "You don't have permission to access this resource. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request."

What I missed? Thanks.

Dylan14 commented on 2021-02-03 16:56 (UTC)

@Malstrond: Thanks, I have updated the dependencies.

Malstrond commented on 2021-02-01 21:35 (UTC)

Dependency should be changed to php7, as PHP 8.0 is not supported yet: https://tracker.moodle.org/browse/MDL-70745

TrialnError commented on 2020-01-12 21:10 (UTC) (edited on 2020-01-12 21:11 (UTC) by TrialnError)

Addressed some of the points dvzrv mentioned. Although my main agenda was to get rid of the installation of files into root.
This PKGBUILD still needs some proper treatment after all.

dvzrv commented on 2018-03-05 12:53 (UTC)

@freaknils:

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=moodle#n20

You must install to "${pkgdir}". Always!

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=moodle#n25

You have to symlink from an absolute path to "$pkgdir"

https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=moodle#n27

Please, use tmpfiles.d (man tmpfiles.d) for this (you can never rely on a user or group to be around during package creation!)! The http user and group are around as part of /usr/lib/sysusers.d/arch.conf.

Also, why does http need write access to "${pkgdir}/usr/share/webapps/${pkgname}" (don't forget the "${pkgdir}"!)? You should drop it or be more explicit as to which subfolder needs access.