Page MenuHomePhabricator

WDQS from docker compose gives an nginx error [8 hours]
Closed, DuplicatePublicBUG REPORT

Description

List of steps to reproduce (step by step, including full links if applicable):

What happens?:

wdqs-frontend_1    | nginx: [emerg] unexpected "}" in /etc/nginx/conf.d/default.conf:9
wdqs-frontend_1    | 2021/05/27 12:35:32 [emerg] 1#1: unexpected "}" in /etc/nginx/conf.d/default.conf:9
wdqs-frontend_1    | nginx: [emerg] unexpected "}" in /etc/nginx/conf.d/default.conf:9
wdqs-frontend_1    | 2021/05/27 12:35:37 [emerg] 1#1: unexpected "}" in /etc/nginx/conf.d/default.conf:9
wdqs-frontend_1    | nginx: [emerg] unexpected "}" in /etc/nginx/conf.d/default.conf:9
wdqs-frontend_1    | 2021/05/27 12:35:45 [emerg] 1#1: unexpected "}" in /etc/nginx/conf.d/default.conf:9
wdqs-frontend_1    | nginx: [emerg] unexpected "}" in /etc/nginx/conf.d/default.conf:9
wdqs-frontend_1    | 2021/05/27 12:35:59 [emerg] 1#1: unexpected "}" in /etc/nginx/conf.d/default.conf:9
wdqs-frontend_1    | nginx: [emerg] unexpected "}" in /etc/nginx/conf.d/default.conf:9

and

wdqs_1             | Running Blazegraph from /wdqs on :9999/bigdata
wdqs_1             | Error: Could not find or load main class #
wdqs_1             | /wdqs /wdqs
wdqs_1             | Running Blazegraph from /wdqs on :9999/bigdata
wdqs_1             | Error: Could not find or load main class #
wdqs_1             | /wdqs /wdqs
wdqs_1             | Running Blazegraph from /wdqs on :9999/bigdata
wdqs_1             | Error: Could not find or load main class #
wdqs_1             | /wdqs /wdqs

What should have happened instead?:

wikibase with query service should start normally.

Software version (if not a Wikimedia wiki), browser information, screenshots, other information, etc:

  • Latest wikibase version from the docker compose content.
  • Ubuntu 18.04.5 LTS (GNU/Linux 4.15.0-129-generic x86_64)
  • Docker version 20.10.6, build 370c289

Event Timeline

Addshore renamed this task from WDQS from docker compose gives an nginx error to WDQS from docker compose gives an nginx error [8 hours].Jul 21 2021, 10:19 AM
Addshore updated the task description. (Show Details)

@jjkoehorst Can you provide us with the non private vars in your .env file?

Half of this looks very similar to T286334#7236217

@jjkoehorst I'm closing this as a duplicate of T286334#7239230
Check there for the solution, and we will improve the example .env file so that it doesnt happen again.