Open tfreedman opened 2 years ago
https://gist.github.com/aspacca/6320d86692353001f7a0be1ae4471113
This gives me
Step 8/22 : RUN pip wheel .[ui] --wheel-dir /wheels --find-links /wheels
---> Running in xxxxxxxxxx
ERROR: Directory '.[ui]' is not installable. Neither 'setup.py' nor 'pyproject.toml' found.
ERROR: Service 'pantaleimon' failed to build: The command '/bin/sh -c pip wheel .[ui] --wheel-dir /wheels --find-link
I cannot reproduce on a arm based mac and on amd64 debian bullseye I apologise for the silly question: do you run from the build from the root of the git repo? @JeremyMahieu
do you run from the build from the root of the git repo?
What does it matter, you're pulling all the code from pip
RUN pip --no-cache-dir install --find-links /wheels --no-index pantalaimon
RUN pip --no-cache-dir install --find-links /wheels --no-index pantalaimon[ui]
What does it matter, you're pulling all the code from pip
not in the builder: https://gist.github.com/aspacca/6320d86692353001f7a0be1ae4471113#file-dockerfile-L13-L15
COPY . /app
RUN pip wheel .[ui] --wheel-dir /wheels --find-links /wheels
that's exactly where you have the error
indeed not even in the run: --find-links /wheels
:)
(https://pip.pypa.io/en/stable/cli/pip_install/#cmdoption-f)
Successfully built 76fe9ba922f7
Successfully tagged pantaleimon_pantalaimon:latest
Creating pantalaimon ... done
Attaching to pantalaimon
pantalaimon | open terminal failed: not a terminal
Edit, this is due to using docker compose. Fine when using the docker run -it
command
@aspacca You're absolutely correct, I didn't spot that and I didn't copy the git repsitory to my folder. I feel like this is all a bit off topic. Though. Perhaps your gist should become the actual dockerfile, see #131
ERROR: pantalaimon: Notifications are enabled but no notification server could be found, disabling notifications.
I'm not sure I'm following the above replies. Was there a tried and true solution for this? As it stands, Pantalaimon is unusable for me, as I cannot operate panctl
at all.
@jph starting the container building from the dockefile at https://gist.github.com/aspacca/6320d86692353001f7a0be1ae4471113 solves the issue
it starts a tmux session that you can attach and from there start a new one running panctl
Thanks @aspacca, good workaround.
I just tried setting up pantalaimon in docker, and can't get panctl to run from within the container.
Docker commands:
docker run -d --restart=unless-stopped -v /home/core/data:/data -p 8008:8008 matrixdotorg/pantalaimon
docker exec -it <instanceID> /bin/bash
I'm assuming https://github.com/matrix-org/pantalaimon/pull/122/commits/86060a2f7561d40bd142c8bc1847e151c3d40dff didn't totally fix things.