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

Cannot make container temp directory #650

Closed
erelsgl opened this issue Mar 3, 2021 · 2 comments
Closed

Cannot make container temp directory #650

erelsgl opened this issue Mar 3, 2021 · 2 comments

Comments

@erelsgl
Copy link
Contributor

erelsgl commented Mar 3, 2021

I finally managed to register and submit the first task in the tutorial course. I received the attached error: "An internal error occurred. Please retry later. If the error persists, send an email to the course administrator. [Submission #603fbc2bc2d6716e5474e521]"

"Cannot make container temp directory."

There is nothing in the error.log.

I verified that my /var/www/inginious folder and all its subfolders are owned by the Apache user www-data.

Screenshot from 2021-03-03 18-42-03

@anthonygego
Copy link
Member

As you're running with the local backend option, apache is the user who runs everything. Check that you have a

local-config:
    tmp_dir: /var/www/inginious/agent_tmp

entry with an absolute path in your configuration.yaml file. Otherwise you'll have the same issue than with the other folders.

@erelsgl
Copy link
Contributor Author

erelsgl commented Mar 3, 2021

This solved the problem. Thanks

@erelsgl erelsgl closed this as completed Mar 3, 2021
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

2 participants