Skip to content

[BUG]: When build oss degraph alpha exit with error : flags: acl / encryption is an enterprise-only feature #9027

@BertrandB21

Description

@BertrandB21

What version of Dgraph are you using?

v23.1.0-33-g283fe639d-oss

Tell us a little more about your go-environment?

go version go1.19.8 linux/amd64

Have you tried reproducing the issue with the latest release?

Yes

What is the hardware spec (RAM, CPU, OS)?

RAM : 3Go
CPU: Intel(R) Pentium(R) Dual CPU E2180 @ 2.00GHz
Debian Stable
Linux version 6.1.0-13-amd64 (debian-kernel@lists.debian.org) (gcc-
12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMP
T_DYNAMIC Debian 6.1.55-1 (2023-09-29)

What steps will reproduce the bug?

dgraph alpha -v2

Expected behavior and actual result.

expect Launch of alpha node but exit on error

Additional information

in ee/keys.go GetKeys return always an error

in dgraph/cmd/alpha/run.go line 657 the err is send to x.Chek which exit directly
May be is an error to call ee.GetKeys in oss context or onlyr return error in ee/keys.go il flag --acl is set

Metadata

Metadata

Assignees

Labels

kind/bugSomething is broken.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions