Closed captain-joni closed 1 year ago
I patched the docker issues in this fork: https://github.com/sitcomlab/Ethermap It's not exactly actively maintained, but there is a deployment at WWU using this, so that fork is more maintained than this repo I think ;)
Thanks, now at least the Docker Build works. But as soon as i update the grunt locally a rebuild is again not possible ( same error: The command '/bin/sh -c npm install' returned a non-zero code: 1) And not updating the grunt works fine, bit i have the problem that now the DB doesnt seem to work properly?
ethermap_1 | GET /partials/main 200 0.897 ms - 371
ethermap_1 | GET /partials/toolbox 200 1.260 ms - 2837
ethermap_1 | GET /partials/chat 200 0.883 ms - 888
ethermap_1 | GET /partials/maphistory 200 0.997 ms - 1627
ethermap_1 | GET /partials/featureproperties 304 1.081 ms - -
ethermap_1 | GET /partials/tools 304 0.603 ms - -
ethermap_1 | GET /partials/featurehistory 200 0.795 ms - 2295
ethermap_1 | GET /presets/categories 200 0.382 ms - -
ethermap_1 | GET /presets/fields 200 0.388 ms - -
ethermap_1 | GET /presets/presets 200 0.224 ms - -
couchdb_1 | [notice] 2022-09-29T08:10:11.887877Z nonode@nohost <0.382.0> -------- chttpd_auth_cache changes listener died because the _users database does not exist. Create the database to silence this notice.
couchdb_1 | [error] 2022-09-29T08:10:11.888586Z nonode@nohost emulator -------- Error in process <0.11700.0> with exit value:
couchdb_1 | {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,400}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,375}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,404}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,97}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,39}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,198}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,145}]}]}
couchdb_1 |
couchdb_1 | [error] 2022-09-29T08:10:11.889049Z nonode@nohost emulator -------- Error in process <0.11700.0> with exit value:
couchdb_1 | {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,400}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,375}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,404}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,97}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,39}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,198}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,145}]}]}
couchdb_1 |
ethermap_1 | couldnt get DB: [object Object]
ethermap_1 | couldnt get DB: [object Object]
couchdb_1 | [notice] 2022-09-29T08:10:16.888554Z nonode@nohost <0.382.0> -------- chttpd_auth_cache changes listener died because the _users database does not exist. Create the database to silence this notice.
couchdb_1 | [error] 2022-09-29T08:10:16.888970Z nonode@nohost emulator -------- Error in process <0.11733.0> with exit value:
couchdb_1 | {database_does_not_exist,[{mem3_shards,load_shards_from_db,"_users",[{file,"src/mem3_shards.erl"},{line,400}]},{mem3_shards,load_shards_from_disk,1,[{file,"src/mem3_shards.erl"},{line,375}]},{mem3_shards,load_shards_from_disk,2,[{file,"src/mem3_shards.erl"},{line,404}]},{mem3_shards,for_docid,3,[{file,"src/mem3_shards.erl"},{line,97}]},{fabric_doc_open,go,3,[{file,"src/fabric_doc_open.erl"},{line,39}]},{chttpd_auth_cache,ensure_auth_ddoc_exists,2,[{file,"src/chttpd_auth_cache.erl"},{line,198}]},{chttpd_auth_cache,listen_for_changes,1,[{file,"src/chttpd_auth_cache.erl"},{line,145}]}]}
couchdb_1 |
And when loading a map ( the web interface is reachable) the "loading gif" ( the 3 dots) never disappear...
And markerd dont get saved etc.
What could be the problem? Thanks for answering btw!!!!!!
you need to initialize the database first, see https://docs.couchdb.org/en/stable/setup/single-node.html for instructions. cool to see another instance of ethermap in the wild :)
Ah thanks, that worked. I had to configure my reverse proxy for the couchdb as well, so i could do the Setup. Now it workes perfectly THX.
I was trying to host my own ethermap instace as a docker Container via docker-compose, because this is an absolute cool Projekt. Sadly i coulnt get it to Work. First of al i had to replace the dockerfile/nodejs-bower-grunt with digitallyseamless/nodejs-bower-grunt, otherwise it wouldnt even start to build the container. This is my Error Log:
The Only Important Stuff is at the End of course.
Kind Regards Joni