You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I've been battling with Ownphotos for the last few days and trying to learn Docker in the process, and I'm at the stage where I need some help.
I have set up the Docker containers with docker-compose exactly as it appears in docker-compose.yml.template in this repo. So BACKEND_HOST is set to localhost:3000. Btw, I'm accessing the frontend through an SSH tunnel (the containers are running on a headless server) to eliminate any issues with CORS or hostnames. Thus, localhost:3000 on my local machine is really server:3000, but appears to both the server and local machine as localhost.
Anyway, I can load the login page fine, but after entering the details (the default demo and demo1234), the page doesn't load and it's as if nothing actually gets to the backend. Looking at the browser console, there seems to be trouble connecting to the backend websocket (these messages appear soon after the page is loaded):
14:30:02.019 Firefox can’t establish a connection to the server at ws://localhost:3000/sockjs-node/468/ttwper4c/websocket. websocket.js:6
14:30:04.898 The development server has disconnected. Refresh the page if necessary. webpackHotDevClient.js:76
14:30:10.178 TypeError: _jp.ayglh5t is not a function jsonp:1:9
14:30:31.637 action FETCH_SITE_SETTINGS_REJECTED @ 14:30:31.637 redux-logger.js
and then I get the "No connection to backend server" error.
In the logs for the ownphotos-backend container, it looks like a worker is failing to start. The following messages seem to loop indefinitey (I'm not sure if the SSE4.1 error is related - the server only has an Atom processor, so presumably dlib fails on import):
Dlib was compiled to use SSE41 instructions, but these aren't available on your machine.
Dlib was compiled to use SSE41 instructions, but these aren't available on your machine.
[2019-11-18 03:34:47 +0000] [99] [CRITICAL] WORKER TIMEOUT (pid:29833)
[2019-11-18 03:34:47 +0000] [99] [CRITICAL] WORKER TIMEOUT (pid:29834)
[2019-11-18 03:34:47 +0000] [29833] [INFO] Worker exiting (pid: 29833)
[2019-11-18 03:34:47 +0000] [29834] [INFO] Worker exiting (pid: 29834)
[2019-11-18 03:34:48 +0000] [29849] [INFO] Booting worker with pid: 29849
[2019-11-18 03:34:48 +0000] [29850] [INFO] Booting worker with pid: 29850
/miniconda/lib/python3.6/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
/miniconda/lib/python3.6/site-packages/sklearn/externals/joblib/externals/cloudpickle/cloudpickle.py:47: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
import imp
I tried pinging the containers from each of them to make sure the networking is okay, and that seems fine. I'm really not sure what to do at this point. I considered trying to compile dlib without SSE4.1, but I can't even find where it used (or located) in the backend container. But surely the frontend should still work even without a working dlib install?
Any ideas?
The text was updated successfully, but these errors were encountered:
Hi, I've been battling with Ownphotos for the last few days and trying to learn Docker in the process, and I'm at the stage where I need some help.
I have set up the Docker containers with docker-compose exactly as it appears in docker-compose.yml.template in this repo. So
BACKEND_HOST
is set tolocalhost:3000
. Btw, I'm accessing the frontend through an SSH tunnel (the containers are running on a headless server) to eliminate any issues with CORS or hostnames. Thus,localhost:3000
on my local machine is reallyserver:3000
, but appears to both the server and local machine as localhost.Anyway, I can load the login page fine, but after entering the details (the default
demo
anddemo1234
), the page doesn't load and it's as if nothing actually gets to the backend. Looking at the browser console, there seems to be trouble connecting to the backend websocket (these messages appear soon after the page is loaded):Upon clicking "log in", I get:
and then I get the "No connection to backend server" error.
In the logs for the ownphotos-backend container, it looks like a worker is failing to start. The following messages seem to loop indefinitey (I'm not sure if the SSE4.1 error is related - the server only has an Atom processor, so presumably dlib fails on import):
I tried pinging the containers from each of them to make sure the networking is okay, and that seems fine. I'm really not sure what to do at this point. I considered trying to compile dlib without SSE4.1, but I can't even find where it used (or located) in the backend container. But surely the frontend should still work even without a working dlib install?
Any ideas?
The text was updated successfully, but these errors were encountered: