Permissions error

Hello, I’ve recently started using ODM on Linux… I got it installed and it runs, but if I run it with just “./webodm.sh start” I get this error message:
docker-compose -f docker-compose.yml -f docker-compose.nodeodm.yml up --scale node-odm=1
Traceback (most recent call last):
File “/usr/lib/python3/dist-packages/urllib3/connectionpool.py”, line 665, in urlopen
httplib_response = self._make_request(
File “/usr/lib/python3/dist-packages/urllib3/connectionpool.py”, line 387, in _make_request
conn.request(method, url, **httplib_request_kw)
File “/usr/lib/python3.8/http/client.py”, line 1252, in request
self._send_request(method, url, body, headers, encode_chunked)
File “/usr/lib/python3.8/http/client.py”, line 1298, in _send_request
self.endheaders(body, encode_chunked=encode_chunked)
File “/usr/lib/python3.8/http/client.py”, line 1247, in endheaders
self._send_output(message_body, encode_chunked=encode_chunked)
File “/usr/lib/python3.8/http/client.py”, line 1007, in _send_output
self.send(msg)
File “/usr/lib/python3.8/http/client.py”, line 947, in send
self.connect()
File “/usr/local/lib/python3.8/dist-packages/docker/transport/unixconn.py”, line 43, in connect
sock.connect(self.unix_socket)
PermissionError: [Errno 13] Permission denied

If I run it with the sudo account, it runs but then I get the message that it’s not recommended to do that!

What should the rights be on what gets run? Should they all be under my login account? Some files have rights have “root” rights and “root” and “staff”…

Thanks
Harold

1 Like
sudo usermod -aG docker $USER
exit
(restart shell by logging out and then back-in)
./webodm.sh start
2 Likes

This worked! Thanks!
Harold

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.