Skip to content

OPL-update fails to run #1047

@patelh98

Description

@patelh98

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions