jusito / docker-teamspeak-ranksystem

Image for the free TS rank system. https://ts-n.net/ranksystem.php
https://hub.docker.com/r/jusito/docker-teamspeak-ranksystem/
MIT License
1 stars 4 forks source link

Permission problem #1

Open LeBaasti opened 3 years ago

LeBaasti commented 3 years ago

@jusito thank you for making this docker image, unfortunately I had this problem:

image

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

LeBaasti commented 3 years ago

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

jusito commented 3 years ago

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

jusito commented 3 years ago
jusito commented 3 years ago

merged the fork back & updated it, maybe that helps you too?