Skip to content

MT5 - File not found issue when creating Agents #18

Description

@ergunkocak

Hi,

First of all thank you very much for sharing such useful repo. I watched the youtube series multiple times. I installed servers and worked without issues for 2 months on Google Cloud VM Instances.

Lately like in the last month i can't create agents before it was working beautifully. I get this cryptic error:

Image

I tried many things but failed to create a strategy tester agent using MT5 interface. I appreciate if there is something needs to be changed because of some update on any party involved.

What i do different and worked before is:

I update the "Docketfile":

Update package lists and upgrade packages

RUN apt-get update && apt-get upgrade -y

becomes

Update package lists and upgrade packages

Fix bullseye-backports 404 error

RUN sed -i '/bullseye-backports/d' /etc/apt/sources.list /etc/apt/sources.list.d/* 2>/dev/null || true
RUN apt-get update && apt-get upgrade -y

and

Install required packages

RUN apt-get install -y
dos2unix
python3-pip
wget
python3-pyxdg
netcat
&& pip3 install --upgrade pip

becomes

Install required packages

RUN apt-get install -y
dos2unix
python3-pip
wget
python3-pyxdg
netcat
locales
&& sed -i 's/^# *en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
&& locale-gen en_US.UTF-8
&& pip3 install --upgrade pip

then i update the "docker-compose.yml":

mt5:
build:
dockerfile: Dockerfile
container_name: mt5
volumes:
- ./config:/config

becomes

mt5:
build:
context: .
dockerfile: Dockerfile
container_name: mt5
ports:
- "6901:6901" # VNC port
- "3000:3000" # Web interface
- "2000-2031:2000-2031" # MT5 server port
volumes:
- ./config:/config

If i don't add this "context: ." line it can't start the Docker.

Also i prefer using tailscale instead of using a subdomain. It is free and i can set the IP of the server after install.

I really appreciate if you can return. This is driving me crazy :) It feels like my candy dropped into the mud :D

Best regards

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions