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

Chocolatey GUI missing Update All button in This PC source when running Chocolatey GUI Extension #395

Closed
4 tasks done
imm0rtalsupp0rt opened this issue Apr 19, 2023 · 4 comments
Assignees

Comments

@imm0rtalsupp0rt
Copy link

imm0rtalsupp0rt commented Apr 19, 2023

Checklist

  • I have verified this is the correct repository for opening this issue.
  • I have verified no other issues exist related to my problem.
  • I have verified this is not an issue for a specific package.
  • I have verified this issue is not security related.

What You Are Seeing?

When running the Chocolatey GUI with the Chocolatey GUI Extension, there should be an Update All button in the upper right hand corner of the GUI near the Check Outdated Packages button when viewing the "This PC" source. This button still appears without the GUI Extension, but not with it.

What is Expected?

The Update All button should be present in both licensed and non-licensed Chocolatey GUI.

How Did You Get This To Happen?

  1. Open non-licensed Chocolatey GUI and select the This PC source.
  2. Notice the presence of the Update All button.
  3. Install the Chocolatey GUI Extension package.
  4. Open licensed Chocolatey GUI and select the This PC source.
  5. Notice the lack of the Update All button.

System Details

  • Operating System: Windows Server 2019
  • Windows PowerShell version: 5
  • Chocolatey CLI Version: 1.3.1
  • Chocolatey Licensed Extension version: 5.0.2
  • Chocolatey License type: Business

Installed Packages

Chocolatey GUI 1.1.2
Chocolatey GUI Extension 1.0.2

Output Log

N/A

Additional Context

Gary and I met for a troubleshooting session around this issue and we discovered that there is a workaround, however cumbersome it may be. The following steps were successful in making the Update All button appear.

  1. Delete the Config folder from C:\ProgramData\Chocolatey GUI and the data.db file found in the C:\Users\<USER>\AppData\Local\Chocolatey GUI folder.
    2. Recreate the Config folder in the C:\ProgramData\Chocolatey GUI directory. Chocolatey GUI should create this folder at startup, but we found that it did not.. Since Chocolatey GUI 2.2.1, this step is no longer required.
  2. Start Chocolatey GUI.
  3. Once Chocolatey GUI has started, go to Settings.
  4. Toggle the Hide All Remote Chocolatey Sources setting to ON and then click the Back button.
  5. Close and reopen Chocolatey GUI, and go to Settings.
  6. Toggle the Hide All Remote Chocolatey Sources setting to OFF and then click the Back button.
  7. Close and reopen Chocolatey GUI, and go to Settings.
  8. Toggle the Prevent Usage of Update All Button setting to ON and then click the Back button.
  9. Close and reopen Chocolatey GUI, and go to Settings.
  10. Toggle the Prevent Usage of Update All Button setting to OFF and then click the Back button.
  11. The Update All button should now be visible at the upper-right of Chocolatey GUI.
@imm0rtalsupp0rt imm0rtalsupp0rt added Bug Tickets that represent defects/bugs. 0 - _Triaging New tickets that need to be hashed out a bit more before they hit the backlog. labels Apr 19, 2023
@gep13
Copy link
Member

gep13 commented Jun 27, 2024

After a conversation with @imm0rtalsupp0rt a little earlier today, I did a bit of digging into this issue, and I discovered that this problem is a result of a bug in the Chocolatey GUI Licensed Extension. As a result, I am going to move this issue over to the correct repository, so that it can get worked on in the right place.

@gep13 gep13 transferred this issue from chocolatey/ChocolateyGUI Jun 27, 2024
@gep13 gep13 added 0 - Backlog Where tickets start after being triaged. This means the ticket has targeted milestone/labels. and removed 0 - _Triaging New tickets that need to be hashed out a bit more before they hit the backlog. labels Jun 27, 2024
@gep13 gep13 self-assigned this Jun 27, 2024
@gep13 gep13 added the ChocolateyGuiExtension Tickets affecting the Chocolatey GUI Licensed Extension (chocolateygui.extension) label Jun 27, 2024
@gep13
Copy link
Member

gep13 commented Jun 28, 2024

When testing this, it was necessary to first reset things back to the beginning, which meant clearing out the following locations:

C:\ProgramData\Chocolatey GUI\Config\data.db
C:\Users\<username>\AppData\Local\Chocolatey GUI\data.db

@gep13
Copy link
Member

gep13 commented Jul 1, 2024

@imm0rtalsupp0rt after moving this issue to this repository, I expected/wanted the syncing that we have in place to kick in, and do what is necessary, however, this hasn't worked, for "reasons".

I am going to close and re-create this issue, so that the syncing kicking in. Apologies about the noise.

@gep13 gep13 closed this as completed Jul 1, 2024
@gep13
Copy link
Member

gep13 commented Jul 1, 2024

New issue created here: #396

@gep13 gep13 removed Bug Tickets that represent defects/bugs. 0 - Backlog Where tickets start after being triaged. This means the ticket has targeted milestone/labels. ChocolateyGuiExtension Tickets affecting the Chocolatey GUI Licensed Extension (chocolateygui.extension) labels Jul 1, 2024
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