Hello,
in the process of trying Speckle, I already spend one day trying to install Speckle Server using Docker.
Quick question, from your experience this will be easy or hard to setup for a windows 10 operating system? Because I start to think that your documentation assumes a Linux machine, not windows. And I also do not want to use DigitalOcean.
The simple reason is, if my company starts to use Speckle, we need to have Speckle running on our windows local machines.
I already read some of your documentation (eg Deploying a Server - manual setup | Speckle Docs) and also Speckle Community to find topics related to using Docker.
I am using 2 approaches, one is from your repository (GitHub - specklesystems/speckle-server: The Speckle Server, Frontend, 3D Viewer, & other JS utilities.) cloning it and then reusing your YML files with docker-compose. Another approach is to use your docker images in Docker Hub (Docker Hub).
The problem I am facing is that, the docker container’s does not talk to each other. For instance, one container contains redis and other container need to communicate to it. I also have read here something to use the parameter --net=host
, I did not yet experiment that. I am not a docker expert
This attached image shows the parameters for each container, if I use the approach of using your Docker Hub images. But then I need a way for the containers to communicate to each other or, to access some services in my host (in case I decide to have the dependencies running on my local machine).
Another attached image shows that the container for the front end is constantly restarting. And another attachment shows my currently YML file using with docker-compose to create the container’s.
docker-compose-alberto.yml (4.1 KB)
Some errors I am getting
Speckle Server
[ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16)
[ioredis] Unhandled error event: Error: connect ECONNREFUSED 127.0.0.1:6379
at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1187:16
Speckle Webhook
Error executing task: error:
UPDATE webhooks_events
SET
"status" = 1,
"lastUpdate" = NOW()
FROM (
SELECT "id" FROM webhooks_events
WHERE "status" = 0
ORDER BY "lastUpdate" ASC
LIMIT 1
) as task
WHERE webhooks_events."id" = task."id"
RETURNING webhooks_events."id"
- relation "webhooks_events" does not exist
at Parser.parseErrorMessage (/speckle-server/node_modules/pg-protocol/dist/parser.js:287:98)
at Parser.handlePacket (/speckle-server/node_modules/pg-protocol/dist/parser.js:126:29)
at Parser.parse (/speckle-server/node_modules/pg-protocol/dist/parser.js:39:38)
at Socket.<anonymous> (/speckle-server/node_modules/pg-protocol/dist/index.js:11:42)
at Socket.emit (node:events:527:28)
at addChunk (node:internal/streams/readable:315:12)
at readableAddChunk (node:internal/streams/readable:289:9)
at Socket.Readable.push (node:internal/streams/readable:228:10)
at TCP.onStreamRead (node:internal/stream_base_commons:190:23) {
Speckle fileimport service
Error executing task: error:
UPDATE file_uploads
SET
"convertedStatus" = 1,
"convertedLastUpdate" = NOW()
FROM (
SELECT "id" FROM file_uploads
WHERE "convertedStatus" = 0 AND "uploadComplete" = 't'
ORDER BY "convertedLastUpdate" ASC
LIMIT 1
) as task
WHERE file_uploads."id" = task."id"
RETURNING file_uploads."id"
- relation "file_uploads" does not exist
at Parser.parseErrorMessage (/speckle-server/node_modules/pg-protocol/dist/parser.js:287:98)
Regards,
Alberto