# Unable to compile Cells latest code from github.com

**URL:** <https://forum.pydio.com/t/unable-to-compile-cells-latest-code-from-github-com/3286>\
**Category:** Pydio Cells\
**Created:** [May 18, 2020, 11:15pm UTC](https://forum.pydio.com/t/unable-to-compile-cells-latest-code-from-github-com/3286 "2020-05-18T23:15:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lapoguidi](https://avatars.discourse-cdn.com/v4/letter/l/b3f665/32.png) [@lapoguidi](https://forum.pydio.com/u/lapoguidi)\
**Post date:** [May 18, 2020, 11:15pm UTC](https://forum.pydio.com/t/unable-to-compile-cells-latest-code-from-github-com/3286/1 "2020-05-18T23:15:42Z")

</div>

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](http://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.

---

<div class="post-metadata">

**Author:** ![bsinou](https://yyz2.discourse-cdn.com/flex032/user_avatar/forum.pydio.com/bsinou/32/476_2.png) [@bsinou](https://forum.pydio.com/u/bsinou)\
**Post date:** [May 19, 2020, 7:39am UTC](https://forum.pydio.com/t/unable-to-compile-cells-latest-code-from-github-com/3286/2 "2020-05-19T07:39:16Z")

</div>

Hello,

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

```auto
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](https://github.com/pydio/packr) )

Happy hacking
