Warracker icon indicating copy to clipboard operation
Warracker copied to clipboard

Warranty Editing not working after upgrade to Version v0.10.1.5

Open rssmithtx opened this issue 1 year ago • 9 comments

Upgraded to Version v0.10.1.5. Added new warranty with link to paperless-ngx receipt. The editing functionality from the home screen no longer works for me. Clicking on the ICON does nothing. Cleared browser cache and reloaded but still does not allow warranty editing.

rssmithtx avatar Jul 09 '25 03:07 rssmithtx

Editing Button in the Notes Display is behaving the same way. Editing functionality not working. Not seeing anything in the log about it.

rssmithtx avatar Jul 09 '25 03:07 rssmithtx

Hi @rssmithtx ,

Try to delete the browser data for your warracker instance and login again.

Does that work for you now?

sassanix avatar Jul 09 '25 09:07 sassanix

I have tried that multiple times and not getting any re-action from click on the edit button. using the below code to upgrade

cd Warracker

git pull origin main

docker compose down

docker compose up --build -d

What else can I provide you to troubleshoot this issue.

From: sassanix @.> Sent: Wednesday, July 9, 2025 4:06 AM To: sassanix/Warracker @.> Cc: rssmithtx @.>; Mention @.> Subject: Re: [sassanix/Warracker] Warranty Editing not working after upgrade to Version v0.10.1.5 (Issue #101)

https://avatars.githubusercontent.com/u/39465071?s=20&v=4 sassanix left a comment (sassanix/Warracker#101) https://github.com/sassanix/Warracker/issues/101#issuecomment-3051796314

Hi @rssmithtx https://github.com/rssmithtx ,

Try to delete the browser data for your warracker instance and login again.

Does that work for you now?

— Reply to this email directly, view it on GitHub https://github.com/sassanix/Warracker/issues/101#issuecomment-3051796314 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BCXC5I6ZJGRCPW6QLLDPHP33HTLO3AVCNFSM6AAAAACBC22D7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTANJRG44TMMZRGQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/BCXC5I2T5TMIWHQCPMPWOMD3HTLO3A5CNFSM6AAAAACBC22D7KWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVV423VU.gif Message ID: @.*** @.***> >

rssmithtx avatar Jul 09 '25 16:07 rssmithtx

You're building it from scratch? Not from the docker image?

I'll try to replicate the issue, and see what's happening.

What does your docker logs say?

sassanix avatar Jul 09 '25 16:07 sassanix

No Errors in the log all Info

  • INFO:app:[SECURE_FILE] User 1 authorized for file '20250611191352_photo_SRX-PIC.png'. Attempting to serve from /data/uploads.
  • INFO:app:[SECURE_FILE] Path for verification: '/data/uploads/20250611191352_photo_SRX-PIC.png' (repr: '/data/uploads/20250611191352_photo_SRX-PIC.png')
  • INFO:app:[SECURE_FILE] File size: 583751 bytes
  • INFO:app:[SECURE_FILE] Serving file with size 583751 bytes, mimetype: image/png
  • INFO:app:[SECURE_FILE] Using streaming response for file: 20250611191352_photo_SRX-PIC.png
  • INFO:app:[SECURE_FILE] Streaming completed: 410376/410376 bytes sent
  • INFO:app:[SECURE_FILE] Streaming completed: 583751/583751 bytes sent
  • INFO:app:[SECURE_FILE] Raw filename from route: '20250611191352_photo_SRX-PIC.png' (len: 32)
  • INFO:app:[SECURE_FILE] repr(filename): '20250611191352_photo_SRX-PIC.png'
  • INFO:app:[SECURE_FILE] Searching DB for paths like: 'uploads/20250611191352_photo_SRX-PIC.png' (repr: 'uploads/20250611191352_photo_SRX-PIC.png')
  • INFO:app:[SECURE_FILE] DB query results for 'uploads/20250611191352_photo_SRX-PIC.png': [(3, 1)]
  • INFO:app:[SECURE_FILE] Initial authorization (is_admin=True): True
  • INFO:app:[SECURE_FILE] User 1 authorized for file '20250611191352_photo_SRX-PIC.png'. Attempting to serve from /data/uploads.
  • INFO:app:[SECURE_FILE] Path for verification: '/data/uploads/20250611191352_photo_SRX-PIC.png' (repr: '/data/uploads/20250611191352_photo_SRX-PIC.png')
  • INFO:app:[SECURE_FILE] File size: 583751 bytes
  • INFO:app:[SECURE_FILE] Serving file with size 583751 bytes, mimetype: image/png
  • INFO:app:[SECURE_FILE] Using streaming response for file: 20250611191352_photo_SRX-PIC.png
  • INFO:app:[SECURE_FILE] Streaming completed: 583751/583751 bytes sent

Here is the last few lines of the log. I can see the edit button get the circle around it when I hover over but clicking on it does nothing. I also reported an issue with the status page

Error Loading Dashboard

Failed to load dashboard data.

i18next is not defined

Could this be related to the issue? I would prefer not to have to load from scratch (clean install) but I will if you cannot reproduce.

From: sassanix @.> Sent: Wednesday, July 9, 2025 12:00 PM To: sassanix/Warracker @.> Cc: rssmithtx @.>; Mention @.> Subject: Re: [sassanix/Warracker] Warranty Editing not working after upgrade to Version v0.10.1.5 (Issue #101)

https://avatars.githubusercontent.com/u/39465071?s=20&v=4 sassanix left a comment (sassanix/Warracker#101) https://github.com/sassanix/Warracker/issues/101#issuecomment-3053366264

You're building it from scratch? Not from the docker image?

I'll try to replicate the issue, and see what's happening.

What does your docker logs say?

— Reply to this email directly, view it on GitHub https://github.com/sassanix/Warracker/issues/101#issuecomment-3053366264 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BCXC5I6G245TKVTDNUBNIUD3HVDCJAVCNFSM6AAAAACBC22D7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTANJTGM3DMMRWGQ . You are receiving this because you were mentioned. https://github.com/notifications/beacon/BCXC5IY75UO6IZ2YQTAU3I33HVDCJA5CNFSM6AAAAACBC22D7KWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVV72V7Q.gif Message ID: @.*** @.***> >

rssmithtx avatar Jul 09 '25 17:07 rssmithtx

Working on a fix, if possible can you try the docker compose with the image?

sassanix avatar Jul 09 '25 17:07 sassanix

So It is fixed on my end. Not sure what I did but here are the steps and when I did this the problem is gone.

  1. Went into the Warracker folder and renamed my current docker-compose.yml
  2. Got the docker-compose.yml off the GitHub. https://github.com/sassanix/Warracker/blob/main/Docker/docker-compose.yml
  3. Used that docker compose and it took a while but built out the app.
  4. When I ran the app using that docker-compose.yml, the login page was missing the OIDC area and I had to re-create my login but got a DB error when trying to create it so basically I could not login at all.
  5. Decided to replace the docker-compose.yml with my original docker-compose.yml and reran my update script. Once this completed my warranties were back and the editing and the status page is working again.

Original attached.

Not super familiar with the build process but it is working again (editing and status page). Maybe you can make heads or tails of what I did that fixed it? Something was out of sync on my end.

From: sassanix @.> Sent: Wednesday, July 9, 2025 12:26 PM To: sassanix/Warracker @.> Cc: rssmithtx @.>; Mention @.> Subject: Re: [sassanix/Warracker] Warranty Editing not working after upgrade to Version v0.10.1.5 (Issue #101)

https://avatars.githubusercontent.com/u/39465071?s=20&v=4 sassanix left a comment (sassanix/Warracker#101) https://github.com/sassanix/Warracker/issues/101#issuecomment-3053438098

Working on a fix, if possible can you try the docker compose with the image?

— Reply to this email directly, view it on GitHub https://github.com/sassanix/Warracker/issues/101#issuecomment-3053438098 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BCXC5I22PLNJNH7EQHR7OFT3HVGDJAVCNFSM6AAAAACBC22D7KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTANJTGQZTQMBZHA . You are receiving this because you were mentioned. https://github.com/notifications/beacon/BCXC5I5SREYXTS5OB5Q67KT3HVGDJA5CNFSM6AAAAACBC22D7KWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTVV77CJE.gif Message ID: @.*** @.***> >

rssmithtx avatar Jul 09 '25 17:07 rssmithtx

That's good, I will try to replicate it on my end, and have a fix ready.

sassanix avatar Jul 10 '25 11:07 sassanix

Thanks for bringing it to my attention, this is now fixed in the latest release :)

sassanix avatar Jul 14 '25 00:07 sassanix