# Run Graylog locally

**URL:** <https://community.graylog.org/t/run-graylog-locally/1276>\
**Category:** Development\
**Created:** [May 30, 2017, 2:04pm UTC](https://community.graylog.org/t/run-graylog-locally/1276 "2017-05-30T14:04:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![debasish283](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/debasish283/32/8853_2.png) [@debasish283](https://community.graylog.org/u/debasish283)\
**Post date:** [May 30, 2017, 2:04pm UTC](https://community.graylog.org/t/run-graylog-locally/1276/1 "2017-05-30T14:04:37Z")

</div>

Hi All,

I am new to graylog, I want to run graylog locally, I mean from the source code which i got from GIT I want to run it, Can anyone please help me in this. I installed all the required stuffs, I did npm install for “graylog-web interface” on npm start I am getting error “webpackConfig” is not defined, can anyone please help me by telling the steps. Thanks in advance

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [May 30, 2017, 7:17pm UTC](https://community.graylog.org/t/run-graylog-locally/1276/2 "2017-05-30T19:17:06Z")

</div>

Hej @debasish283

we have build a [graylog-project-cli](https://github.com/Graylog2/graylog-project-cli) that can help you with everything and the readme also give you some next steps.

regards  
Jan

---

<div class="post-metadata">

**Author:** ![manjukb002](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/manjukb002/32/324_2.png) [@manjukb002](https://community.graylog.org/u/manjukb002)\
**Post date:** [May 31, 2017, 5:13am UTC](https://community.graylog.org/t/run-graylog-locally/1276/3 "2017-05-31T05:13:59Z")

</div>

@jan im fallowing same steps mentioned in `gaylog-project-cli` after bootstraping im trying to compile using maven `mvn compile` but build fails saying below error

`[ERROR] Failed to execute goal on project graylog2-server: Could not resolve dependencies for project org.graylog2:graylog2-server:jar:2.3.0-alpha.4-SNAPSHOT: Failed to collect dependencies at org.glassfish.jersey.ext:jersey-bean-validation:jar:2.25.1 -> org.hibernate:hibernate-validator:jar:5.4.1.Final: Failed to read artifact descriptor for org.hibernate:hibernate-validator:jar:5.4.1.Final: Could not transfer artifact org.jboss.shrinkwrap.resolver:shrinkwrap-resolver-bom:pom:2.2.0 from/to sonatype-nexus-releases (https://oss.sonatype.org/content/repositories/releases): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty -> [Help 1]`

'$ mvn compile

[INFO] Scanning for projects…  
[WARNING]  
[WARNING] Some problems were encountered while building the effective model for org.graylog:runner:jar:2.3.0-alpha.4-SNAPSHOT  
[WARNING] Detected profiles.xml alongside org.graylog:graylog-project:2.3.0-alpha.4-SNAPSHOT, this file is no longer supported and was ignored, please use the settings.xml instead  
[WARNING]  
[WARNING] Some problems were encountered while building the effective model for org.graylog:graylog-project:pom:2.3.0-alpha.4-SNAPSHOT  
[WARNING] Detected profiles.xml alongside org.graylog:graylog-project:2.3.0-alpha.4-SNAPSHOT, this file is no longer supported and was ignored, please use the settings.xml instead  
[WARNING]  
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.  
[WARNING]  
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.  
[WARNING]  
[INFO] ------------------------------------------------------------------------  
[INFO] Reactor Build Order:  
[INFO]  
[INFO] Graylog Parent POM  
[INFO] Graylog Project Parent POM  
[INFO] AutoValue JavaBean extension  
[INFO] Graylog  
[INFO] Graylog Plugin Parent POM  
[INFO] Graylog Usage Statistics Plugin  
[INFO] Graylog Plugin with Web support Parent POM  
[INFO] graylog-plugin-map-widget  
[INFO] Graylog Pipeline Plugin Parent  
[INFO] graylog-plugin-pipeline-processor  
[INFO] graylog-plugin-collector  
[INFO] graylog-plugin-enterprise-integration  
[INFO] graylog-plugin-beats  
[INFO] graylog-project  
[INFO] runner  
[INFO] integration-tests  
[INFO] graylog-plugin-archetype  
[INFO]  
[INFO] ------------------------------------------------------------------------  
[INFO] Building Graylog Parent POM 2.3.0-alpha.4-SNAPSHOT  
[INFO] ------------------------------------------------------------------------  
[INFO]  
[INFO] ------------------------------------------------------------------------  
[INFO] Building Graylog Project Parent POM 2.3.0-alpha.4-SNAPSHOT  
[INFO] ------------------------------------------------------------------------  
[INFO]  
[INFO] — forbiddenapis:2.3:check (forbidden-apis-src) @ graylog-project-parent —  
[INFO] Skipping execution for packaging “pom”  
[INFO]  
[INFO] ------------------------------------------------------------------------  
[INFO] Building AutoValue JavaBean extension 2.3.0-alpha.4-SNAPSHOT  
[INFO] ------------------------------------------------------------------------  
[INFO]  
[INFO] — maven-resources-plugin:3.0.2:resources (default-resources) @ auto-value-javabean —  
[INFO] Using ‘UTF-8’ encoding to copy filtered resources.  
[INFO] Copying 1 resource  
[INFO]  
[INFO] — maven-compiler-plugin:3.6.1:compile (default-compile) @ auto-value-javabean —  
[INFO] Nothing to compile - all classes are up to date  
[INFO]  
[INFO] — forbiddenapis:2.3:check (forbidden-apis-src) @ auto-value-javabean —  
[INFO] Skipping forbidden-apis checks.  
[INFO]  
[INFO] ------------------------------------------------------------------------  
[INFO] Building Graylog 2.3.0-alpha.4-SNAPSHOT  
[INFO] ------------------------------------------------------------------------  
[WARNING] Could not transfer metadata junit:junit-dep/maven-metadata.xml from/to sonatype-nexus-snapshots ([https://oss.sonatype.org/content/repositories/snapshots](https://oss.sonatype.org/content/repositories/snapshots)): java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty  
[INFO] ------------------------------------------------------------------------  
[INFO] Reactor Summary:  
[INFO]  
[INFO] Graylog Parent POM … SUCCESS [0.004 s]  
[INFO] Graylog Project Parent POM … SUCCESS [0.585 s]  
[INFO] AutoValue JavaBean extension … SUCCESS [3.147 s]  
[INFO] Graylog … FAILURE [10.353 s]  
[INFO] Graylog Plugin Parent POM … SKIPPED  
[INFO] Graylog Usage Statistics Plugin … SKIPPED  
[INFO] Graylog Plugin with Web support Parent POM … SKIPPED  
[INFO] graylog-plugin-map-widget … SKIPPED  
[INFO] Graylog Pipeline Plugin Parent … SKIPPED  
[INFO] graylog-plugin-pipeline-processor … SKIPPED  
[INFO] graylog-plugin-collector … SKIPPED  
[INFO] graylog-plugin-enterprise-integration … SKIPPED  
[INFO] graylog-plugin-beats … SKIPPED  
[INFO] graylog-project … SKIPPED  
[INFO] runner … SKIPPED  
[INFO] integration-tests … SKIPPED  
[INFO] graylog-plugin-archetype … SKIPPED  
[INFO] ------------------------------------------------------------------------  
[INFO] BUILD FAILURE  
[INFO] ------------------------------------------------------------------------  
[INFO] Total time: 17.917 s  
[INFO] Finished at: 2017-05-31T04:56:11+00:00  
[INFO] Final Memory: 31M/74M  
[INFO] --------------------------------------------------’

please let me know whats wrong

---

<div class="post-metadata">

**Author:** ![debasish283](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/debasish283/32/8853_2.png) [@debasish283](https://community.graylog.org/u/debasish283)\
**Post date:** [June 4, 2017, 2:06pm UTC](https://community.graylog.org/t/run-graylog-locally/1276/4 "2017-06-04T14:06:47Z")

</div>

Hi Jan,

On [https://oss.sonatype.org/content/repositories/releases/org/apache/logging/log4j/log4j-core/2.3/log4j-core-2.3.pom](https://oss.sonatype.org/content/repositories/releases/org/apache/logging/log4j/log4j-core/2.3/log4j-core-2.3.pom) I am getting the below error. Can you please help.

404 - Path /org/apache/logging/log4j/log4j-core/2.3/log4j-core-2.3.pom not found in local storage of repository “Releases” [id=releases]

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [June 18, 2017, 2:06pm UTC](https://community.graylog.org/t/run-graylog-locally/1276/5 "2017-06-18T14:06:55Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
