Closed zarevskaya closed 3 months ago
Hi! thanks for your issue! We have 2 problems here:
Regarding the 'settings file not found error', did you set the CONFIG_DIR
environment value to the directory that contains the settings.json
? (The documentation may be misleading)
About the meilisearch error, it happens from time to time. When that happens, restart the containers. Hope this helps!
Thanks, for a part, now I have this error there and for I put, to test:
JWT_SIGNATURE=1010101011101110 MEILI_MASTER_KEY=1010101011101110
ERROR [ExceptionHandler] : Settings File: missing field 'apiKey'
Any hit?
EDIT: meilisearch, I don't have a key and I don't really want this feature. Is it possible?
Yup, this is another documentation error, my bad. In the settings.json
file, set the "providers" value to {}
. This error happens because the genius provider expects an API key.
Thanks, je corrige!
Let me know if it works for you, I'll close this issue when everything works as expected. A PR has been opened to fix the documentation errors you encountered :)
Like this?
ERROR [ExceptionHandler] : Invalid Settings File
Sorry I'm not familiar with this part.
Instead of
"providers": {
"genius": false,
"musicbrainz": false,
},
it should be:
"providers": {
"musicbrainz": {},
},
It's progressing, I no longer have any errors anywhere, but I can't access your application page. All containers are without error. Weird.
Maybe an error here? But I don't see where.
_If dockerized, this must be the container_name POSTGRESHOST= Wouldn't it be simpler to add container_name: postgres in the docker-compose.yml?
Wouldn't it be simpler to add container_name: postgres in the docker-compose.yml?
This will be done in this PR
since we are using a docker-compose, the POSTGRES_HOST should be just db
(?)
Meilisearch can sometimes be slow at startup.
The PUBLIC_SERVER_URL should be something likehttp://192.168.1.152:3333/api
. (http
(s
) must be specified. It should be the URL to the server/api, not the webapp. The /api
is from the nginx template)
Unable to reach the application via the web page.
Soooo weird. No error logs. But it does not work. Here.
Did you download and put the nginx.conf.template
file in the same directory as the docker-compose
file
Yes :)
The logs:
`/docker-entrypoint.sh: /docker-entrypoint.d/ is not empty, will attempt to perform configuration
/docker-entrypoint.sh: Looking for shell scripts in /docker-entrypoint.d/
/docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
10-listen-on-ipv6-by-default.sh: info: Getting the checksum of /etc/nginx/conf.d/default.conf
10-listen-on-ipv6-by-default.sh: info: Enabled listen on IPv6 in /etc/nginx/conf.d/default.conf
/docker-entrypoint.sh: Launching /docker-entrypoint.d/20-envsubst-on-templates.sh
/docker-entrypoint.sh: Launching /docker-entrypoint.d/30-tune-worker-processes.sh
/docker-entrypoint.sh: Configuration complete; ready for start up
2024/07/07 16:36:55 [notice] 1#1: using the "epoll" event method
2024/07/07 16:36:55 [notice] 1#1: nginx/1.24.0
2024/07/07 16:36:55 [notice] 1#1: built by gcc 12.2.1 20220924 (Alpine 12.2.1_git20220924-r4)
2024/07/07 16:36:55 [notice] 1#1: OS: Linux 6.1.0-21-amd64
2024/07/07 16:36:55 [notice] 1#1: getrlimit(RLIMIT_NOFILE): 1048576:1048576
2024/07/07 16:36:55 [notice] 1#1: start worker processes
2024/07/07 16:36:55 [notice] 1#1: start worker process 32
2024/07/07 16:36:55 [notice] 1#1: start worker process 33
2024/07/07 16:36:55 [notice] 1#1: start worker process 34
2024/07/07 16:36:55 [notice] 1#1: start worker process 35`
it will be nammed: nginx.conf.template or nginx.conf? In both cases I have no success.
There should be WAY more logs than this.
It should be named nginx.conf.template
Please, can try:
docker-compose down --volumes
,server
section
meilisearch:
condition: service_healthy
docker-compose up
Aaaaaaaaaaaaaaaah, youpie!!!!!!
That work!!!! Thank you for your patience but I did everything I could.
Awesome! Thanks for your patience!
Shall I close the issue ?
Yup, thanks again!!!
Describe the bug A clear and concise description of what the bug is. Hi, when I run docker-compose, I get this error:
meelo-server-1:
To Reproduce Run the docker-compose. (.env +settings.json configured)
Screenshots
Version the latest version of the application
Merci d'avance!