#Dashboard directory

1 messages · Page 1 of 1 (latest)

quiet rapids
#

I think I've missed a crucial step setting up the dashboard using docker on Windows. Am I supposed to make a new directory for vocard dashboard e.g., C:\Program Files\vocard dashboard and put the dashboard settings.json there? Or should it be in my C:\Program Files\vocard directory?

Following the steps in the docs, I've pulled the docker image, but I'm not sure where to put the dashboard settings.json before starting the containers.

Thanks for your help.

#

When I try to do docker compose up -d using either option it fails:

PS C:\Program Files\vocard-dashboard> docker compose up -d
>>
no configuration file provided: not found
#

Or I tried making a directory at C:\Program Files\vocard\dashboard and put the dashboard settings.json there, then:

PS C:\Program Files\vocard> docker compose up -d
>>
service "vocard-dashboard" refers to undefined network web: invalid compose project
wispy geyser
quiet rapids
#

Ok, yes that seems to have resolved the error in the second case. The dashboard container is going up now, but now I get:

2025-06-24 20:03:09 ERROR    vocard Cannot connected to dashboard! - Reason: Connection failed.

from the vocard container log, and my dashboard says:

I'm unable to locate you in any Discord server. Please check that you've invited our bot and granted it the necessary permissions to access your server information.
#

(my mongodb password is custom but I returned it to admin before copying just in case)

#

Is there a permission I need to add to the bot for the dashboard to work?

#

And what is the imact of removing the - web line from docker-compose.yml?

wispy geyser
#

In your compose you have this commented out, which isn't good, because you need to have the dashboard service running before the bot tries to connect to it

#

But for now you can manually restart only the bot and see if it'll be able to connect

#

you can restart it with docker restart vocard

quiet rapids
#

Ah I missed those lines. Corrected it. I just did a docker compose down and docker compose up -d cycle and same.

wispy geyser
wispy geyser
quiet rapids
#

I also tried doing just docker restart vocard for completeness and same errors.

wispy geyser
#

perhaps the issue is with your configuration then

quiet rapids
#

Should my ipc-client "host" and my dashboard settings.json "host" be the same?

#

One is 0.0.0.0 and the other 127.0.0.1

wispy geyser
#

127.0.0.1 is not correct in this case

#

I assume your dashboard has 0.0.0.0?

quiet rapids
#

Yes

wispy geyser
#

In your bot settings.json you need to replace 127.0.0.1 with vocard-dashboard

#

And the internal port you have in your dashboard settings.json. Default is 8000

quiet rapids
#

Ah I think I must have changed that at some point after seeing (likely misinterpreting) some other advice on here.
I left the ports default 8000

#

Ah appears to be working now!

#

Thanks a bunch!