Hi guys,
Honestly I don't know where this should be but it seems to be the most fitting. There appears to be no external forum / discord for the acestream app either.
So the container is failing to start due top permissions.
2023-08-30 10:35:26,735|MainThread|acestream|failed to init app: PermissionError(13, 'Permission denied')
Traceback (most recent call last):
File "core/Core.pyx", line 402, in
File "core/src/CoreApp.pyx", line 1390, in
File "core/src/CoreApp.pyx", line 1377, in
File "ACEStream/Core/Session.py", line 139, in __init__
File "/usr/local/lib/python3.8/os.py", line 223, in makedirs
mkdir(name, mode)
PermissionError: [Errno 13] Permission denied: '/srv/ace/.ACEStream/collected_torrent_files'
That in itself is easy to understand and looking at the dockerfile there is a user being added called "ace" which I feel may be the culprit.
FROM python:3.8
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
ENV BASE_URL="https://download.acestream.media/linux"
ENV ACE_VERSION="3.1.75rc4_ubuntu_18.04_x86_64_py3.8"
RUN useradd --shell /bin/bash --home-dir /srv/ace --create-home ace
USER ace
WORKDIR /srv/ace
RUN curl --progress-bar $BASE_URL/acestream_$ACE_VERSION.tar.gz | tar xzf -;\
pip install --no-cache-dir --upgrade --requirement requirements.txt
CMD mkdir /dev/shm/.ACEStream; \
ln -s /dev/shm/.ACEStream .ACEStream; \
./start-engine \
--client-console \
--live-cache-type memory
The thing is though, if the user is added surely they have the right privs inside the container, unless permissions are extending to outside the container.
Perhaps anyone else that has successfuly run this container that can give some assistance?