Permission problem
LeBaasti opened this issue · comments
@jusito thank you for making this docker image, unfortunately I had this problem:
after this steps:
docker run -d --network="bridge" --name "RanksystemDatabase" -v RanksystemDatabase:/var/lib/mysql -e MYSQL_ROOT_PASSWORD="MyChangedSecurePassword" mariadb:10.3
docker run -d -p 80:80 --network="bridge" --name "Teamspeak_Ranksystem" jusito/docker-teamspeak-ranksystem:develop
Open http://myWebsite.com/ranksystem/install.php
and going throw all steps successfully.
Thank you for helping
Bastian and Lars
I tried to fix it with this two commands, but it didn't work:
docker exec -it 2e chown -R www-data:www-data /var/www/
docker exec -it 2e chmod -R 740 /var/www
I have to admit, this image is pretty outdated, this was the first version which worked. As far as I remember I didn't work on this, because there where no clear communication where the configuration of the ranksystem is, so unclear where the persistent volume should be. Sadly I have only time to give advise how I would try to fix it.
If I would work on this, I would replace:
https://github.com/jusito/docker-teamspeak-ranksystem/blob/master/Dockerfile#L8
with release 1.3.12:
https://github.com/Newcomer1989/TSN-Ranksystem/releases/tag/1.3.12
The installation guide is pretty much the same, only OpenSSL extension and mbstring are maybe needed:
https://ts-ranksystem.com/#linux
- looks like the fork already added this, nice!
https://github.com/Kourgiantakis/docker-teamspeak-ranksystem
merged the fork back & updated it, maybe that helps you too?