question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error running `serve`

See original GitHub issue

I installed the Metriql CLI through docker: docker pull buremba/metriql:latest

Then, while in my dbt directory, ran the instructions on the installation page:

export DBT_PROJECT_DIR=${PWD}
export DBT_PROFILES_DIR=${HOME}/.dbt
export METRIQL_PORT=5656

docker run -it -p "${METRIQL_PORT}:5656" -v "${DBT_PROJECT_DIR}:/root/app" -v "${DBT_PROFILES_DIR}:/root/.dbt" -e METRIQL_RUN_HOST=0.0.0.0 -e DBT_PROJECT_DIR=/root/app buremba/metriql \
 serve

I then get the following error:

Nov 03, 2021 11:36:01 AM ru.yandex.clickhouse.ClickHouseDriver <clinit>
INFO: Driver registered
Exception in thread "main" java.lang.IllegalAccessError: class com.metriql.Commands$Serve tried to access private method 'java.lang.String com.metriql.Commands.getProfilesContent()' (com.metriql.Commands$Serve and com.metriql.Commands are in unnamed module of loader 'app')
	at com.metriql.Commands$Serve.access$getProfilesContent$s-537891160(Commands.kt:180)
	at com.metriql.Commands$Serve.run(Commands.kt:232)
	at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:198)
	at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:211)
	at com.github.ajalt.clikt.parsers.Parser.parse(Parser.kt:18)
	at com.github.ajalt.clikt.core.CliktCommand.parse(CliktCommand.kt:395)
	at com.github.ajalt.clikt.core.CliktCommand.parse$default(CliktCommand.kt:392)
	at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:410)
	at com.github.ajalt.clikt.core.CliktCommand.main(CliktCommand.kt:435)
	at com.metriql.ServiceStarterKt.main(ServiceStarter.kt:25)

Any idea on how to resolve this?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
NicWagenaarcommented, Nov 8, 2021

@buremba Makes a lot of sense, thanks for looking into this!

0reactions
burembacommented, Jun 14, 2022

Looks like the issue is stale. We fixed the issue some time ago.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Facing error while running ng serve command - Stack Overflow
I am trying to run ng serve command for my project , i tried npm i command for many times, but it showing...
Read more >
Error while running nx · Discussion #9325 · nrwl/nx - GitHub
Hi everyone, Can someone help me about below error i get while running 'nx serve' command ? i did not ever run "sudo"...
Read more >
How to fix a server error in '/' application - IONOS
When exploring a solution to a “Server error in '/' application”, first ensure that you are using the correct file name.
Read more >
Troubleshoot Tableau Server Install and Upgrade
Many Tableau Server issues can be addressed with some basic steps: Make sure there is enough disk space on each computer running Tableau...
Read more >
error this command is not available when running the angular cli
The most common cause of the error is issuing the ng serve --open command while your terminal isn't located in the root directory...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found