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

No Login Fields #1062

Closed
1 of 2 tasks
vaughngx4 opened this issue Apr 12, 2022 · 27 comments
Closed
1 of 2 tasks

No Login Fields #1062

vaughngx4 opened this issue Apr 12, 2022 · 27 comments

Comments

@vaughngx4
Copy link

vaughngx4 commented Apr 12, 2022

**Server Info

  • OS: Alma Linux 8.4, Docker version 20.10.14
  • Browser: FireDragon, Vivaldi(Chromium), Firefox ESR
  • RMM Version (as shown in top left of web UI): v0.12.4

Installation Method:

  • Standard
  • Docker

Agent Info (please complete the following information):

  • Agent version (as shown in the 'Summary' tab of the agent from web UI): v2.0.2
  • Agent OS: Win 10 v2004

Describe the bug
Tactical RMM login page has no input fields. Greeted by "TacticalRMM" heading and a login button.

To Reproduce
Steps to reproduce the behavior:

  1. Update from v0.12.2
  2. Visit Tactical Web UI

Expected behavior
Fields should be shown to login.

Screenshots
image

Additional context
Apologies if there is some configuration error on my end, I've attempted all I can aside from rolling back to v0.12.2.

@dinger1986
Copy link
Collaborator

Have you tried update.sh --force?

@vaughngx4
Copy link
Author

Have you tried update.sh --force?

This is a Docker install, is there something in the update script that I should know about in Docker?

Docker update shows to just download new docker-compose.yml

@dinger1986
Copy link
Collaborator

Ah sorry, I'll leave that to someone a bit more qualified

@vaughngx4
Copy link
Author

Ah sorry, I'll leave that to someone a bit more qualified

No worries.

However, I can confirm that rolling back to v0.12.2 fixes the issue.

@dinger1986
Copy link
Collaborator

That's good to know!

I'll ask on discord if any docker wizards can hit you up here.

@silversword411
Copy link
Collaborator

You followed this?
https://docs.tacticalrmm.com/update_docker/

Probably best to use discord for troubleshooting.

@vaughngx4
Copy link
Author

You followed this? https://docs.tacticalrmm.com/update_docker/

Probably best to use discord for troubleshooting.

Yes I did. Okay, thanks. Will drop by when I have some time.

@wh1te909
Copy link
Member

wh1te909 commented Apr 12, 2022

related quasarframework/quasar#13154

chrome_KZKoUflpqt

@daygle
Copy link

daygle commented Apr 13, 2022

Same issue here...

Appears that recent update caused this.

@wh1te909
Copy link
Member

I'll do a small release in a couple hours with a fix for this

wh1te909 added a commit that referenced this issue Apr 13, 2022
@wh1te909
Copy link
Member

I have reverted the latest stable docker version to 0.12.2 please change it in your .env file and downgrade if you have already updated

@daygle
Copy link

daygle commented Apr 13, 2022

Not sure if this matters.

0.12.3 is working for me - only 0.12.4 has the issue.

@wh1te909
Copy link
Member

0.12.4. is working now, you can change back to latest

@ninjamonkey198206
Copy link

@wh1te909 , I just updated a Docker install using the latest tag and it's not showing a login.
Screenshot 2022-04-13 175935
Looks like the same error as your image above.

@wh1te909
Copy link
Member

@ninjamonkey198206 with devtools open, right click on the refresh button in chrome > Empty Cache and Hard Reload

@daygle
Copy link

daygle commented Apr 14, 2022

0.12.4 is working for me now.

Thanks for your work on this one :)

@ninjamonkey198206
Copy link

@wh1te909 I'll give that a shot after I bump back up to 0.12.4

I rolled back to 0.12.2 after posting my comment and screencap.

@vaughngx4
Copy link
Author

0.12.4. is working now, you can change back to latest

Can confirm login page is working again. Thanks!

@vaughngx4
Copy link
Author

vaughngx4 commented Apr 14, 2022

@wh1te909 , I just updated a Docker install using the latest tag and it's not showing a login. Screenshot 2022-04-13 175935 Looks like the same error as your image above.
@ninjamonkey198206
If you have been using the latest tag since install you may need to remove existing images before doing a docker pull. You can do this quickly using:

docker rmi $(docker images | grep -o 'tactical-[a-z]*')
docker rmi tactical

@ninjamonkey198206
Copy link

@vaughngx4 I always purge old images and unused volumes after updates, and check to ensure the current images are in use. Just part of the update process for me.

Just finished the update, will test.

@ninjamonkey198206
Copy link

ninjamonkey198206 commented Apr 14, 2022

No joy. Still showing the same error. Completely wiped browser cache for giggles, no change.
Verified new images in use, unused volumes removed. Checked docker-compose file, good.

Edit: Figured it out. Had to completely kill off the old containers and new images, leaving the named volumes in place, then re-pull the new images and start it all up again.

@silversword411
Copy link
Collaborator

Had to completely kill off the old containers and new images, leaving the named volumes in place, then re-pull the new images and start it all up again.

As a Docker noob, isn't that what you always have to do for updating docker?

@vaughngx4
Copy link
Author

vaughngx4 commented Apr 14, 2022

Had to completely kill off the old containers and new images, leaving the named volumes in place, then re-pull the new images and start it all up again.

As a Docker noob, isn't that what you always have to do for updating docker?

Yes. For anyone interested, here is my update script and unattended certificate update(certificates are handled elsewhere and copied to the server via scp).

update.sh

#!/bin/bash
mv docker-compose.yml docker-compose.yml.old
wget https://raw.githubusercontent.com/amidaware/tacticalrmm/master/docker/docker-compose.yml
## Make custom changes to yaml here (I have ports changed)
echo "[BRINGING TACTICAL DOWN...]"
docker-compose down
echo "[REMOVING OLD IMAGES...]"
docker rmi $(docker images | grep -o 'tactical-[a-z]*')
docker rmi tactical
echo "[PULLING NEW IMAGES...]"
cp .env.master .env
docker-compose pull
rm -f .env
echo "[BRINGING TACTICAL UP...]"
./certs.sh

certs.sh

#!/bin/bash
cp .env.master .env
echo "[UPDATING TACTICAL CERTIFICATES...]"
docker-compose down
echo "CERT_PUB_KEY=$(base64 -w 0 ./tactical.fullchain)" >> .env
echo "CERT_PRIV_KEY=$(base64 -w 0 ./tactical.key)" >> .env
docker-compose up -d --remove-orphans
rm -f .env

Where .env.master is simply .env without certificates.

@ninjamonkey198206
Copy link

Sort of.

I should probably clarify.

Docker-compose down brought things down, but that didn't fix the issue.

I had to manually stop the containers, remove the containers, remove ALL images related to tactical, then bring it back up.

Docker-compose down, the usual step, wasn't enough.

@ninjamonkey198206
Copy link

In other words, I had to manually purge the containers, networks, and images for some reason.

@vaughngx4
Copy link
Author

In other words, I had to manually purge the containers, networks, and images for some reason.

It's because 0.12.4 was re-released. There was a buggy version and there is now a fixed version. The tag is the same which is why you had to delete the images(my script above does this regardless).

@vaughngx4
Copy link
Author

vaughngx4 commented Apr 14, 2022

Sort of.

I should probably clarify.

Docker-compose down brought things down, but that didn't fix the issue.

I had to manually stop the containers, remove the containers, remove ALL images related to tactical, then bring it back up.

Docker-compose down, the usual step, wasn't enough.

docker-compose down should remove containers and networks. I think your issue was simply the re-tagged images.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants