hexya-erp / docker

Docker image source for Hexya
Apache License 2.0
4 stars 7 forks source link

Cannot run Hexya #1

Open jay009id opened 4 years ago

jay009id commented 4 years ago

I have postgres 9.6 in my docker with container name x_db_1. After perform command :

docker run -p 8888:8080 -e HEXYA_DB_HOST=db -e HEXYA_DB_USER=hexya -e HEXYA_DB_PASSWORD=secret -e HEXYA_LOGSTDOUT=true -e HEXYA_MODULES="github.com/hexya-erp/hexya-addons/sale" --link x_db_1:db --network=x_default --name hexya -t hexya/hexya

I got error message :

1 - Generating Hexya...
Hexya Generate
    --------------
Modules paths:
 - github.com/hexya-erp/hexya-addons/sale
1/5 - Loading program...Ok
2/5 - Generating symlinks...Ok
3/5 - Generating pool...Ok
4/5 - Checking the generated code...Ok
5/5 - Creating main.go in project...Ok
Pool generated successfully

2 - Updating db...
Please wait, Hexya is starting ...
go: downloading github.com/spf13/cobra v0.0.5
go: extracting github.com/spf13/cobra v0.0.5
build github.com/hexya-erp/hexya-demo: cannot load github.com/hexya-erp/hexya/hexya/actions: module github.com/hexya-erp/hexya@latest found (v0.0.43), but does not contain package github.com/hexya-erp/hexya/hexya/actions

3 - Starting server...
Please wait, Hexya is starting ...
build github.com/hexya-erp/hexya-demo: cannot load github.com/hexya-erp/hexya/hexya/actions: module github.com/hexya-erp/hexya@latest found (v0.0.43), but does not contain package github.com/hexya-erp/hexya/hexya/actions

Am I missing something? Any suggestion?

alvonwong commented 4 years ago

I have the same problem when I operated according to https://hub.docker.com/r/hexya/hexya .

Any solution to this ?

Thanks !

npiganeau commented 4 years ago

Unfortunately, I do not have enough time to keep the modules up to date with the framework.

Right now, only the web module works.

hajsf commented 1 year ago

Any update as of today I got the same error:

ai-hexya-1  | 2 - Updating db...
ai-hexya-1  | Please wait, Hexya is starting ...
ai-hexya-1  | build github.com/hexya-erp/hexya-demo: cannot load github.com/hexya-erp/hexya/hexya/actions: module github.com/hexya-erp/hexya@latest found (v0.1.7), but does not contain package github.com/hexya-erp/hexya/hexya/actions
ai-hexya-1  |
ai-hexya-1  | 3 - Starting server...
ai-hexya-1  | Please wait, Hexya is starting ...
ai-hexya-1  | build github.com/hexya-erp/hexya-demo: cannot load github.com/hexya-erp/hexya/hexya/actions: module github.com/hexya-erp/hexya@latest found (v0.1.7), but does not contain package github.com/hexya-erp/hexya/hexya/actions