Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

OPL-update fails to run #1047

Open
patelh98 opened this issue May 11, 2023 · 0 comments
Open

OPL-update fails to run #1047

patelh98 opened this issue May 11, 2023 · 0 comments

Comments

@patelh98
Copy link

Hello,

I'm new to Webwork and I'm in the process of installing Webwork 2.17 on a RHEL8 distribution. I cloned the OPL repository, when I try to run the OPL-update command (or /opt/webwork/webwork2/bin/OPL-update) as wwadmin user, it shows the following error:

Downloading the latest OPL release.
Execution of /opt/webwork/webwork2/bin/download-OPL-metadata-release.pl failed:
Error in tempdir() using /opt/webwork/webwork2/bin/FileFetch.XXXXXX: Could not create directory /opt/webwork/webwork2/bin/FileFetch.Igl0eE: Permission denied at /usr/share/perl5/vendor_perl/File/Fetch.pm line 459.

"/opt/webwork/libraries" folder is owned by wwadmin user and group. Within the libraries folder, "webwork-open-problem-library" folder is owned by root user and group. Here's what I have tried so far:

  • Tried changing owner of libraries folder from wwadmin to root and tried running OPL-update as root user. It does not start the installation.
  • Tried changing owner of "webwork-open-problem-library" folder from root to wwadmin and tried running OPL-update as wwadmin user. It still shows me the same error.

Please let me know how can I fix this issue.

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant