Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JQM Administration portal login with user 'root' #499

Open
FabianSteels opened this issue Oct 18, 2022 · 2 comments
Open

JQM Administration portal login with user 'root' #499

FabianSteels opened this issue Oct 18, 2022 · 2 comments
Labels
Milestone

Comments

@FabianSteels
Copy link

Hi all,
I intent to start an instance of JQM with Docker. This instance is connected to a Postgresql database.

Everything seems OK except I don't have found a way to setup the 'root' password of the JQM Administration portal.
As I don't know the root password, I'm blocked on the login portal.

The explanation in the doc doesn't work with Docker.

Then click on “login”, and submit authentication data for user “root” (its password can be reset through the CLI if needed).

Here is my env variables

JAVA_ALPINE_VERSION | 8.212.04-r0
JAVA_HOME | /usr/lib/jvm/java-1.8-openjdk/jre
JAVA_OPTS | -Xms128m -Xmx512m -XX:MaxMetaspaceSize=128m
JAVA_VERSION | 8u212
JQM_CREATE_NODE_IF_MISSING | 1
JQM_CREATE_NODE_TEMPLATE | TEMPLATE_WEB
JQM_HEALTHCHECK_URL | http://localhost:44863/ws/simple/localnode/health
JQM_INIT_MODE | SINGLE
JQM_NODE_NAME | jqm
JQM_NODE_WS_INTERFACE | 0.0.0.0
JQM_POOL_CONNSTR | jdbc:postgresql://172.26.0.34:5432/jqm
JQM_POOL_DRIVER | org.postgresql.Driver
JQM_POOL_INIT_SQL |  
JQM_POOL_MAX | 10
JQM_POOL_PASSWORD | mysecretpassword
JQM_POOL_USER | postgres
JQM_POOL_VALIDATION_QUERY | SELECT 1 FROM public.message
JQM_ROOT | /jqm
LANG | C.UTF-8
PATH | /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/lib/jvm/java-1.8-openjdk/jre/bin:/usr/lib/jvm/java-1.8-openjdk/bin

Any idea?
Thanks.

@lyasmineh
Copy link

Hi everyone,

Encountered the same issue ...

Thank you in advance

@marcanpilami
Copy link
Contributor

Hi, authentication is by default disabled on the Docker container. So you should not have to login. Perhaps you have enabled security and locked yourself out. In that case you can just use the CLI with Docker:
docker exec <YOUR_CONTAINER_ID> java -jar jqm.jar -r <YOUR_NEW_PASSWORD>

Does that answer your questions?

@Pauleing Pauleing added this to the 3.1 milestone Sep 12, 2024
@Pauleing Pauleing added the bug label Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants