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

login issue since v0.6.5 #150

Open
Jonathan-Caruana opened this issue Nov 4, 2024 · 1 comment
Open

login issue since v0.6.5 #150

Jonathan-Caruana opened this issue Nov 4, 2024 · 1 comment

Comments

@Jonathan-Caruana
Copy link

Hello,

This morning i upgraded our Mokey instance from v0.6.3.1 to v0.6.5.1 and after that we encounter an issue with the login.

The login page is stuck even if i write a login and a circle turn with "Next" word :

Screenshot 2024-11-04 103543

I noticed that in the message log :

Nov  4 10:38:18 vs-inf-prd-mok-fr-501 mokey[2010]: time="2024-11-04T10:38:18+01:00" level=info msg="Login required and no authenticated session found." error="Invalid session" ip=X.X.X.X path=/
Nov  4 10:38:33 vs-inf-prd-mok-fr-501 mokey[2010]: time="2024-11-04T10:38:33+01:00" level=info msg="Login required and no authenticated session found." error="Invalid session" ip=X.X.X.X path=/
Nov  4 10:38:48 vs-inf-prd-mok-fr-501 mokey[2010]: time="2024-11-04T10:38:48+01:00" level=info msg="Login required and no authenticated session found." error="Invalid session" ip=X.X.X.X path=/

This type of message is looping even if i do nothing.

I also noticed this type of message :

Nov  4 10:45:36 vs-inf-prd-mok-fr-501 mokey[2010]: time="2024-11-04T10:45:36+01:00" level=info msg="Requested path not found" ip=X.X.X.X path=/static/js/hyperscript_w9y.min.js
Nov  4 10:45:37 vs-inf-prd-mok-fr-501 mokey[2010]: time="2024-11-04T10:45:37+01:00" level=info msg="Requested path not found" ip=X.X.X.X path=/static/images/favicon.png

But, those files exists

[root@vs-inf-prd-mok-fr-501 js]# ll /usr/share/mokey/templates/static/js/
total 980K
   0 drwxr-xr-x 2 root root  196 May 24  2023 ./
   0 drwxr-xr-x 7 root root   92 Feb 22  2023 ../
 80K -rw-r--r-- 1 root root  77K Feb 10  2023 bootstrap.bundle.min.js
324K -rw-r--r-- 1 root root 324K Feb 10  2023 bootstrap.bundle.min.js.map
 40K -rw-r--r-- 1 root root  39K Feb 10  2023 htmx.min.js
108K -rw-r--r-- 1 root root 107K Feb 10  2023 hyperscript_w9y.min.js
380K -rw-r--r-- 1 root root 379K Feb 10  2023 hyperscript_w9y.min.js.map
4.0K -rw-r--r-- 1 root root 1.4K Feb 10  2023 site.js
 44K -rw-r--r-- 1 root root  43K Feb 10  2023 sweetalert2.min.js
[root@vs-inf-prd-mok-fr-501 js]# ll /usr/share/mokey/templates/static/images/
total 228K
4.0K drwxr-xr-x 2 root root 4.0K Feb 15  2023 ./
   0 drwxr-xr-x 7 root root   92 Feb 22  2023 ../
8.0K -rw-r--r-- 1 root root 6.1K Feb 10  2023 android-chrome-192x192.png
 20K -rw-r--r-- 1 root root  18K Feb 10  2023 android-chrome-512x512.png
8.0K -rw-r--r-- 1 root root 5.4K Feb 10  2023 apple-touch-icon.png
4.0K -rw-r--r-- 1 root root 3.1K Feb 15  2023 cnx_favicon.png
4.0K -rw-r--r-- 1 root root 3.1K Feb 15  2023 favicon-16x16.png
4.0K -rw-r--r-- 1 root root  400 Feb 10  2023 favicon-16x16.png.orig
4.0K -rw-r--r-- 1 root root 3.1K Feb 15  2023 favicon-32x32.png
4.0K -rw-r--r-- 1 root root  802 Feb 10  2023 favicon-32x32.png.orig
 16K -rw-r--r-- 1 root root  15K Feb 15  2023 favicon.ico
 16K -rw-r--r-- 1 root root  16K Feb 10  2023 favicon.ico.orig
 12K -rw-r--r-- 1 root root  11K Feb 15  2023 logo-connectics.png
116K -rw-r--r-- 1 root root 114K Feb 10  2023 scan-qr-code.png
8.0K -rw-r--r-- 1 root root 6.2K Feb 10  2023 user-circle.png

For now, i did rollback the snapshoot i took before this upgrade but help apprecied to resolve this issue.

Regards,

@aebruno
Copy link
Member

aebruno commented Nov 4, 2024

Looks like you might have custom templates that need to be updated. Try updating your footer.html, see here

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

2 participants