-
-
Notifications
You must be signed in to change notification settings - Fork 2
Synology docker not working #2
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I tried getting this set up on my synology DS1522+ I had to manually chmod /entrypoint.sh cause it threw this error
7.812 chmod: changing permissions of '/entrypoint.sh': Operation not permitted
------
failed to solve: process "/bin/sh -c chmod +x /entrypoint.sh" did not complete successfully: exit code: 1```
then COPY doesn't work for synology so after running `docker up -d` I got the following
``` => ERROR [scanly 3/6] RUN groupadd -r scanly && useradd -r -g scanly scanly && mkdir -p /app/logs /media/source /media/library && COPY . . 22.6s
------
> [scanly 3/6] RUN groupadd -r scanly && useradd -r -g scanly scanly && mkdir -p /app/logs /media/source /media/library && COPY . .:
20.25 /bin/sh: 1: COPY: not found
------
failed to solve: process "/bin/sh -c groupadd -r scanly && useradd -r -g scanly scanly && mkdir -p /app/logs /media/source /media/library && COPY . ." did not complete successfully: exit code: 127 ```
It doesn't stay up not sure why the logs are saying there is a permissions issue. I added my PUID and GUID to the environments of the compose.yaml but the logs show
```Traceback (most recent call last):
File "/app/src/main.py", line 23, in <module>
logging.FileHandler(os.path.join(os.path.dirname(__file__), '..', 'logs', 'scanly.log'), 'a')
File "/usr/local/lib/python3.10/logging/__init__.py", line 1169, in __init__
StreamHandler.__init__(self, self._open())
File "/usr/local/lib/python3.10/logging/__init__.py", line 1201, in _open
return open_func(self.baseFilename, self.mode,
PermissionError: [Errno 13] Permission denied: '/app/logs/scanly.log'```
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working