chocolatey / chocolatey-licensed-issues

Issues for Licensed Editions of Chocolatey
19 stars 13 forks source link

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

Open gep13 opened 2 days ago

gep13 commented 2 days ago

Checklist

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

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\\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.

┆Issue is synchronized with this Gitlab issue by Unito

gep13 commented 2 days ago

NOTE: This issue has been re-created, after this issue which was moved from the Chocolatey GUI repository, failed to kick in the syncing that we have in place. This was due to the age of the issue.

gep13 commented 2 days ago

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