You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
Hexya can not run with user other than build user.
I build hexya with user A, then run with user B, or user root (for AutoTLS using port 80), hexya crash with error: panic: Error while getting Hexya root path: cannot find package "github.com/hexya-erp/hexya"
The text was updated successfully, but these errors were encountered:
Actually, the hexya executable is not the application you run, it just a helper application to build (to /tmp) and run the application, depending on the configuration you give it (especially the modules you selected). This means that for the hexya command to work, you need a full Go development environment, including a Go workspace.
So if user B has no Go dev environment, you cannot just run the hexya command.
We have plans to make bundles to deploy executable Hexya applications in the future.
npiganeau
changed the title
Can not run with different user
Make Hexya deployable through an executable bundle
Mar 25, 2018
Hi,
Hexya can not run with user other than build user.
I build hexya with user A, then run with user B, or user root (for AutoTLS using port 80), hexya crash with error:
panic: Error while getting Hexya root path: cannot find package "github.com/hexya-erp/hexya"
The text was updated successfully, but these errors were encountered: