-
Hi, I cannot get this to run. I'm not a total noob and do run many docker containers as well as Proxmox LXCs but I don't understand how to run Clapshot. Why is there both Docker AND .deb installers? The .deb packages have been built without errors but from there the instructions are rather unclear to me.
I get only "Connecting server" in the browser Thanks for any tips. |
Beta Was this translation helpful? Give feedback.
Replies: 11 comments 32 replies
-
(Several different questions here, I'll try to clarify them here a bit more than you probably need for others that may find this post.) A. Purpose of the packages:
B. Docker:
C. Reverse proxy suggestion:
The reason you are getting connection refused on 2. is likely that you specified url-base as When you see "connecting server", the best way to debug your setup is to open javascript console and look where exactly it's trying to connect. (related to: #30) |
Beta Was this translation helpful? Give feedback.
-
Here's an excerpt from a production
Notice that url-base doesn't specify a port at all. That's because there's an Nginx relaying both client files and server API calls through standard HTTPS port 443 like so:
|
Beta Was this translation helpful? Give feedback.
-
Perfect. Thank you so much. This gives me enough to soldier on. |
Beta Was this translation helpful? Give feedback.
-
One more point: Also check Here's an a production conf for client, for completeness:
Notes:
|
Beta Was this translation helpful? Give feedback.
-
That's too much for me... I tried having both removing 8080 from the base URL in .conf as well as having 8095 as part of the base url, to no avail. I cannot get to /htadmin at all (that is always refused), even from local IP I probably won't be able to make this work at this time. Thanks for your time. |
Beta Was this translation helpful? Give feedback.
-
It looks good enough for general use with remote reviewing and commenting. We use Trello and manually typed timecodes which sort of works but obviously time-based comments are better. I don't have such output that would warrant monthly subscription of the paid services. Clapshot looks great and I think a lightweight docker compose could do (obviously I am not a developer but I run a lot of self-hosted stuff - Immich seems kinda similar in scope). I don't need a lot of security, simple password auth done with Nginx Proxy Server would be enough. (to add to previous convo, I get the intricacies of reverse proxies and stuff, but why was I never able to access 192.168.0.XXX/htadmin?) |
Beta Was this translation helpful? Give feedback.
-
👍 How and where would you ideally have installed and configured it? More specifically:
About the /admin page, without seeing your exact environment, it’s quite hard for me to debug, but I’ll test Docker image for any regressions. Not sure if htadmin would be the best solution for a ready-to-use Docker distribution, though. I literally spent 15 minutes to find something that could work as a demo on how to integrate custom authentication systems. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Just tried the htadmin version (with For some reason, when I pasted Anyway, when I manually edited the address line and added the |
Beta Was this translation helpful? Give feedback.
-
On my Macbook, Firefox even changed http:// to https:// in addition to the port! |
Beta Was this translation helpful? Give feedback.
-
Picking on this comment:
The issue is that in Docker, the local connection would not be from 127.0.0.1, because typically to run a proxy you keep the port closed. Instead, it would either be coming to
I understand there is a CLAPSHOT_URL_BASE to change that behaviour? But then the issue is that the true URL will be the domain, not the container name/ip the reverse-proxy uses to connect. Any help to understand how to reach the container from a reverse-proxy container would be appreciated :) Also for the part about the Docker not being production ready, I think there's a world where users are running the docker container for ease of management, but still run a full reverse proxy on top of it, to make it production ready, so it's an unusual stance to have to call it "for test only". WHat are your thoughts? |
Beta Was this translation helpful? Give feedback.
(Several different questions here, I'll try to clarify them here a bit more than you probably need for others that may find this post.)
A. Purpose of the packages:
/etc/clapshot-server.conf
. It listens to HTTP and websockets connections, and the config default to 127.0.0.1 only in port 8095. The package also provideslib/systemd/system/clapshot-server.service
to make it start on boot./usr/share/clapshot-client/www/
and provides example configs for Nginx. You can check its contents withdpkg-deb -c clapshot-client_*.deb
.