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

corebot fails to locate action file #56

Open
sinaiy opened this issue Jul 25, 2018 · 4 comments
Open

corebot fails to locate action file #56

sinaiy opened this issue Jul 25, 2018 · 4 comments

Comments

@sinaiy
Copy link

sinaiy commented Jul 25, 2018

corebot_1 | java.io.FileNotFoundException: /opt/corebot/actions.yml (No such file or directory) corebot_1 | at java.io.FileInputStream.open0(Native Method) ~[?:1.8.0_171] corebot_1 | at java.io.FileInputStream.open(FileInputStream.java:195) ~[?:1.8.0_171] corebot_1 | at java.io.FileInputStream.<init>(FileInputStream.java:138) ~[?:1.8.0_171]
i created the file as instructed, in /opt/corebot
the file is under the ownership of the user and can be read (or edited by him)

i built it locally and am executing through docker-compose up

thank you for your time and assitance

sinai

@babvin
Copy link

babvin commented Aug 4, 2018

I'm getting the same error
java.io.FileNotFoundException: /opt/corebot/actions.yml

@outofcoffee
Copy link
Owner

Hi @sinaiy please could you post your compose file?

@sinaiy
Copy link
Author

sinaiy commented Aug 6, 2018

this is the content of my docket-compose file,
hope it helps.

`
version: '2'

services:
corebot:
image: outofcoffee/corebot
build: ./bots/slack-deploy
environment:
SLACK_AUTH_TOKEN: "XXXX-XXXXXXXXXXX-XXXXXXXXXXXX-XXXXXXXXXXXXXXXX"
SLACK_CHANNELS: "task_bot"
RUNDECK_API_TOKEN: "XXXXXXXXXXXXXXXXXXXX"
RUNDECK_BASE_URL: "http://localhost:4440"
SYSTEM_CONFIG_FILE: "/opt/corebot/system.yml"
ACTION_CONFIG_FILE: "/opt/corebot/actions.yml"
`

@babvin
Copy link

babvin commented Aug 6, 2018 via email

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

3 participants