Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fix another instance of composer running as root. #228

Merged

Conversation

adam-vessey
Copy link
Contributor

Similar to #227, appears that the CrayFits installation was running as an unspecified user (so would be executed as the user running everything? root, apparently?)... so let's specify it.


Error encountered:

TASK [Islandora-Devops.fits : Run Composer On Fits Microservice] ***************
Thursday 15 September 2022  16:20:22 -0300 (0:00:00.544)       0:04:51.626 ****
fatal: [default]: FAILED! => {"changed": false, "msg": "Do not run Composer as root/super user! See https://getcomposer.org/root for details Aborting as no plugin should be loaded if running as super user is not explicitly allowed"}
...ignoring

... and checking on the system, the project doesn't appear to have been installed:

vagrant@islandora8:/var/www/html/CrayFits$ ls -l vendor
ls: cannot access 'vendor': No such file or directory
vagrant@islandora8:/var/www/html/CrayFits

@adam-vessey adam-vessey marked this pull request as ready for review September 15, 2022 19:57
@rosiel rosiel merged commit 9de57ed into Islandora-Devops:dev Sep 16, 2022
@adam-vessey adam-vessey deleted the fix/running-composer-as-root branch September 16, 2022 13:28
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants