Moodle 5.1.1 App – Missing vendor/ Folder (?)
-
Dear Cloudron team,
I’ve noticed that in the current Moodle 5.1.1 package on Cloudron, the vendor/ directory is missing under /app/code. This triggers the following error when updating some plugins:
Composer dependencies were not found. Make sure the "composer install --no-dev --classmap-authoritative" command has been run in the Moodle root directory. If you are not using Composer, make sure the vendor directory exists and contains the necessary files.
Moodle still runs fine, but it looks like the Composer dependencies may not be bundled correctly in the app image.
Could you please check if the Moodle package should include the vendor/ folder, or adjust the next build process so Composer dependencies are installed during packaging?
Thanks for your support!
-
@osobo Moodle package has quite a complicated setup. The app has over 25 (!) plugin types and each plugin writing all over the source code. For this reason, source code is treated as data.
/app/code is just the released tarball.
The app runs off /app/data/moodle .
The package seems to make some best effort update by copying latest /app/code into /app/data/moodle .