You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chown: changing ownership of ‘/data/static’: Operation not permitted
django_1 | chgrp: changing group of ‘/data/static’: Operation not permitted
django_1 | chmod: changing permissions of ‘/data/static’: Operation not permitted
so because of this there is no data or src/locale folder in my project setup and when I running the project in DEBUF- false mode it is running collestatuc command which is also giving permission error like below:
Try to start a django container with shell and check the folder inside a running container, if it's not there then you should create it manually, but it's strange because I never had a problem like this.
How long ago you created this project? Maybe you should start a new one with the current version.
Hi,
In django;s run.py file there is three line of code which is giving permission error:
Error:
chown: changing ownership of ‘/data/static’: Operation not permitted
django_1 | chgrp: changing group of ‘/data/static’: Operation not permitted
django_1 | chmod: changing permissions of ‘/data/static’: Operation not permitted
so because of this there is no data or src/locale folder in my project setup and when I running the project in DEBUF- false mode it is running collestatuc command which is also giving permission error like below:
PermissionError: [Errno 13] Permission denied: '/data/static/images'
raise CalledProcessError(retcode, process.args, output=output)
django_1 | subprocess.CalledProcessError: Command '['django-admin', 'collectstatic', '--noinput', '-i', 'react']' returned non-zero exit status 1
Any help on this
Thanks
The text was updated successfully, but these errors were encountered: