Sample Header Ad - 728x90

Synapse/matrix server container config permission/file denied

0 votes
1 answer
2919 views
_Answer posted by me below, can't accept my own answer yet_ I am working on a chat client, for development I use a docker setup that uses a 'generate' command to create a config file that you can adjust and use to launch the actual service. On my desktop it works fine however when trying to run it on a respberry or a seperate hd on my laptop it throws a file handler error in the build process stating that permission has been denied. I might be a total noob here but I did change folder mount point permission on my laptop and the raspberry has permissions set on the folder. Docker also is set up to run w/o typing sudo for every command. Here are the permission codes for working vs non working config file
# Auto generated, working local
-rwxrwxrwx 1 root root 103443
# Auto generated not working pi and laptop
-rw-r--r-- 1 991 991 106030
Am I just not correctly setting up my hard drives ? I get this error on my pi if it's on the default OS partition or not. I am able to start up and serve django with reverse proxy no issue. The chat service I am building on is matrix/synapse. Here is the docker folder on the synapse server repo with the basic setup. The file giving issues is homeserver.yml that is generated from:
docker-compose run --rm synapse generate
Asked by GreatGaja (103 rep)
May 30, 2021, 11:06 AM
Last activity: May 30, 2021, 03:38 PM