Unable to compile Cells latest code from github.com

Hello,
I’m new to Go language.
I followed all the steps to install in my Centos 7 server with Plesk panel and all seems to be fine.
Now, to experiment, I tried to clone and compiler cells from sources, without modifications.
I installed Go tools and packr.
Again I followed all the steps from github:

go get -u github.com/pydio/cells
cd $GOPATH/src/github.com/pydio/cells
make CELLS_VERSION=1.0.0

After some minutes it’s done, no errors.
So I try to install cells now from this package, but many errors appears at the first start and nothing work fine.

I compiled using Ubuntu 20.08 with Go 1.13 and I tested on Centos 7.
This is an extract of the log, but there’re many other similar errors.

2020-05-18T18:06:54.150+0200    INFO    pydio.grpc.data.sync    Starting umbrella service pydio.grpc.data.sync. with sources    {"sources": ["pydiods1", "personal", "cellsdata"]}
2020-05-18T18:06:54.152+0200    INFO    pydio.gateway.rest      started
2020-05-18T18:06:54.152+0200    INFO    pydio.grpc.log  started
2020-05-18T18:06:54.170+0200    ERROR   pydio.grpc.acl  Failed to init DB provider      {"error": "missing migrations for prefix idm_acl_ - did you maybe compile without generate step?"}
2020-05-18T18:06:54.170+0200    ERROR   pydio.grpc.acl  Could not run   {"error": "missing migrations for prefix idm_acl_ - did you maybe compile without generate step?"}
2020-05-18T18:06:54.170+0200    INFO    pydio.grpc.acl  stopping
2020-05-18T18:06:54.182+0200    ERROR   pydio.grpc.user-meta    Failed to init DB provider      {"error": "missing migrations for prefix idm_usr_meta_policies - did you maybe compile without generate step?"}
2020-05-18T18:06:54.182+0200    ERROR   pydio.grpc.user-meta    Could not run   {"error": "missing migrations for prefix idm_usr_meta_policies - did you maybe compile without generate step?"}
2020-05-18T18:06:54.182+0200    INFO    pydio.grpc.user-meta    stopping

I tried also dev and build directives in makefile, but with almost the same result.
I see that installing/starting using the binaries from pydio.com site the db is populated with more than 60 tables, but if I install/start using the self compiled binary the db is populated with 29 tables.

Any help appreciated, I can give more infos if needed to better understand.
Thank you very much.

Hello,

In fact, the error message is quite explicit, isn’t it ?

2020-05-18T18:06:54.170+0200    ERROR   pydio.grpc.acl  Failed to init DB provider      {"error": "missing migrations for prefix idm_acl_ - did you maybe compile without generate step?"}

You have to run make generate before building the binary: it prepares static resources so that they are embedded in the go binary.

You have to install packr from our fork first, yet (see: https://github.com/pydio/packr )

Happy hacking