Closed well-it-wasnt-me closed 9 months ago
There is obviously something messed up with the permissions of your named volume sysreptor-app-data
.
You can check the permissions using:
# docker run --rm -it sysreptor-app ls -la /data
total 8
drwxrwxrwx 2 1000 1000 4096 Dec 11 08:21 .
drwxr-xr-x 1 root root 4096 Dec 13 07:00 ..
The first directory must be owned by UID 1000. You can change the ownership by...
docker run --rm -it sysreptor-app chown 1000:1000 /data
cd sysreptor/deploy
docker compose exec --user 0:0 app chown -R 1000:1000 /data
You should then be able to continue importing your demo projects manually (https://docs.sysreptor.com/setup/installation/#manual-installation).
And you will have to change the password of you superuser, as you won't know it:
username=reptor
docker compose exec app python3 manage.py changepassword "$username"