Hi all,
I’m fairly technical, but of all things, this one has me stumped. I’ve got a variety of hardware / OS options to install stuff on, and my preferred option is a TrueNAS Core server where I have a variety of apps running in jails that have been working for a few years now.
I’m trying to run Mealie, and I have a spare unused Windows box. I suppose I could have installed Ubuntu on it, but I decided to try Docker Desktop in Windows. I was able to get things configured and start the Mealie container from the image, and it looks like it’s running fine on the assigned docker IP.
I mapped a port (9925) to the container in the startup options, and when I browse to localhost:9925/login I get an error message that says:
Server error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details.
When I look at the docker container logs, I see:
2023-11-08 22:19:48 Successfully started Caddy (pid=20) - Caddy is running in the background
2023-11-08 22:19:48 yarn run v1.22.19
2023-11-08 22:19:48 $ nuxt start -p 3001
2023-11-08 22:19:49 📷 [HPM] Proxy created: api -> http://localhost:9000
2023-11-08 22:19:49 📷 [HPM] Proxy rewrite rule created: “api” ~> “/api”
2023-11-08 22:19:49 📷 [HPM] Proxy created: /api -> http://localhost:9000
2023-11-08 22:19:49 📷 [HPM] Proxy created: /docs -> http://localhost:9000
2023-11-08 22:19:49 📷 [HPM] Proxy created: /openapi.json -> http://localhost:9000
2023-11-08 22:19:49 📷 Listening on: http://172.17.0.2:3001/
I’ve tried browsing to http://localhost:9000, I’ve tried mapping a different port and using that, nothing seems to work.
Any ideas what I’m doing wrong here? I feel like I’m pretty close, and probably doing something dumb.
Oh, one other fun thing. When I go to the container exec terminal and run “date” I see that it’s set to UTC. I wouldn’t think that would create an issue, but I thought maybe there’s a timezone mismatch possibly?
Did you set the environment variables for the database and what not?
When you get stuck like this, always look at the docker-compose.yml file if provided. You can find this one here: https://github.com/mealie-recipes/mealie/blob/mealie-next/docker/docker-compose.yml
It lists all the environment variables that need to be set.
Alternatively you should be able to use docker compose in WSL, it’ll still show up in Docker Desktop.