Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: no /app/config.yaml file #88

Closed
ChuxiJ opened this issue Jun 8, 2023 · 13 comments
Closed

bug: no /app/config.yaml file #88

ChuxiJ opened this issue Jun 8, 2023 · 13 comments

Comments

@ChuxiJ
Copy link

ChuxiJ commented Jun 8, 2023

when docker-compose up in the zep project
it outputs

level=fatal msg="Error configuring Zep: open /app/config.yaml: no such file or directory"

where is the /app/config.yaml file ?

@danielchalef danielchalef transferred this issue from getzep/zep-nlp-server Jun 8, 2023
@danielchalef
Copy link
Member

@ChuxiJ The config.yaml file is mounted by docker from the current working directory. Please ensure that you're in the cloned repo directory to ensure docker is able to access the file.

file: ./config.yaml

-Daniel

@Sitin
Copy link

Sitin commented Jun 9, 2023

I have the same issue. I've replaced:

    configs:
      - source: config
        target: /app/config.yaml

with

    volumes:
      - ./config.yaml:/app/config.yaml

And now it works.

@ChuxiJ
Copy link
Author

ChuxiJ commented Jun 9, 2023

I have the same issue. I've replaced:

    configs:
      - source: config
        target: /app/config.yaml

with

    volumes:
      - ./config.yaml:/app/config.yaml

And now it works.

I have tried your way, i works!
Thank you very much!

@ChuxiJ ChuxiJ closed this as completed Jun 9, 2023
@danielchalef
Copy link
Member

@Sitin thanks for helping @ChuxiJ . Would either of you mind sharing what version of docker you're using? Thanks

@Sitin
Copy link

Sitin commented Jun 10, 2023

@danielchalef, you would be laughing but I am using Podman and podman-compose on Ubuntu which is running inside Parallels on Apple Silicone (I know, that's weird but I have my reasons). Anyway, my setup is not representative since Podman in such configuration have issues with some types of mounts "by design". Still, replacing configs mounting with the plain old volumes directive works for me. So, you probably right to close this issue.

@danielchalef
Copy link
Member

@Sitin That's useful to know! Thanks for clarifying.

@alikibao
Copy link

I know this issue is closd, but I am having a similar problem (Error configuring Zep: open /app/config.yaml: no such file or directory) when trying to deploy on Railway and GCP. The one-click deploy on render also just times out.

@danielchalef
Copy link
Member

@alikibao was the Render timeout with Zep's standard install or did you enable the experimental open source embedding?

How are you deploying on GCP?

@alikibao
Copy link

alikibao commented Jun 19, 2023

Thanks for the response... I'm very low-level, technically speaking. I did eventually get it to work on Render after several failed attempts. All the attempts were made by simply pressing the deploy to render button from the repo.

I am almost certain that my GCP attempts were way off base so I shall leave that for now. But if you have any advice on how best to approach GCP i'd appreciate that.

@rmahnovetsky
Copy link

I had the exact same issues and the ^^ fix solved it for me.. I'm using Docker version 20.10.23, build 7155243

@danielchalef
Copy link
Member

I had the exact same issues and the ^^ fix solved it for me.. I'm using Docker version 20.10.23, build 7155243

Yes - Zep requires docker compose's Configs top-level element support available in more modern Docker implementations. We may change this since it looks like some Linux distributions are still shipping Docker 20.x.

@danielchalef
Copy link
Member

Support for older versions of docker was merged in #120

@Sitin
Copy link

Sitin commented Jul 6, 2023

@danielchalef, thanks a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants