Closed CypherNL closed 2 months ago
What happens if you run UniGetUI as administrator?
What happens if you run UniGetUI as administrator?
Same "An error occurred while migrating chocolatey
"
Please try to move the contents of a folder named %localappdata%\Programs\WingetUI\choco-cli
to %localappdata%\UniGetUI\Chocolatey
and delete the choco-cli folder
Please try to move the contents of a folder named
%localappdata%\Programs\WingetUI\choco-cli
to%localappdata%\UniGetUI\Chocolatey
and delete the choco-cli folder
Done, regardless of running as administrator now there is no error about migrating and I can search for Chocolatey packages on "Discover Packages", but on "Software Updates" section still there is no updates for my Chocolatey apps.
Found 0 installed packages from Chocolatey
I see in UniGetUI log, but I had a lot of them before 3.1.0
Please share the Verbose Chocolatey logs
Is this at "Package Manager Logs / Chocolatey (Verbose)", right?
Manager Chocolatey with version:
2.2.2
——————————————————————————————————————————
Logged subprocess-based task on manager Chocolatey. Task type is ListSources
Subprocess executable: "C:\Users\daykr\AppData\Local\UniGetUI\Chocolatey\choco.exe"
Command-line arguments: " source list"
Process start time: 04.07.2024 1:03:57
Process end time: 04.07.2024 1:03:58
-- Process STDOUT
Chocolatey v2.2.2
chocolatey - https://community.chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
Return code: SUCCESS (0)
——————————————————————————————————————————
Logged subprocess-based task on manager Chocolatey. Task type is ListUpdates
Subprocess executable: "C:\Users\daykr\AppData\Local\UniGetUI\Chocolatey\choco.exe"
Command-line arguments: " outdated"
Process start time: 04.07.2024 1:03:59
Process end time: 04.07.2024 1:04:00
-- Process STDOUT
Chocolatey v2.2.2
Outdated Packages
Output is package name | current version | available version | pinned?
Chocolatey has determined 0 package(s) are outdated.
Return code: SUCCESS (0)
——————————————————————————————————————————
Logged subprocess-based task on manager Chocolatey. Task type is ListPackages
Subprocess executable: "C:\Users\daykr\AppData\Local\UniGetUI\Chocolatey\choco.exe"
Command-line arguments: " list"
Process start time: 04.07.2024 1:03:59
Process end time: 04.07.2024 1:04:00
-- Process STDOUT
Chocolatey v2.2.2
0 packages installed.
Return code: SUCCESS (0)
——————————————————————————————————————————
Logged subprocess-based task on manager Chocolatey. Task type is ListSources
Subprocess executable: "C:\Users\daykr\AppData\Local\UniGetUI\Chocolatey\choco.exe"
Command-line arguments: " source list"
Process start time: 04.07.2024 1:03:59
Process end time: 04.07.2024 1:04:00
-- Process STDOUT
Chocolatey v2.2.2
chocolatey - https://community.chocolatey.org/api/v2/ | Priority 0|Bypass Proxy - False|Self-Service - False|Admin Only - False.
Return code: SUCCESS (0)
——————————————————————————————————————————
Yes
please run echo %chocolateyinstall%
on a command prompt window
It's C:\ProgramData\chocolatey
Just in case, I tried to check "Use system Chocolatey" in options, restarted, but result is the same - "Found 0 installed packages from Chocolatey". And re-checked at ChocolateyGUI - there still are all my installed choco apps.
Ok, please downgrade to 3.0.2 until I can find the root cause of this issue.
Yep, Chocolatey packages are back after downgrade
I can confirm this behavior. No chocolatey packages are shown when I unset "Use system chocolatey". They only will show up, when I set this option. Additionally, the packages of my individually added sources don't show up, even if I use the chocolatey version shipped with UniGetUI. Everything works fine with WingetUI 3.0.2
I can further confirm that I was able to observe this behavior since the first 3.1.0-alpha0.
Ok, please downgrade to 3.0.2 until I can find the root cause of this issue.
Tricky because once I install 3.0.2, even with "Automatically Update Winget" option unchecked, a green banner pops up and says that it will upgrade to 3.1.0 as soon as I close.
Hello, please follow this guide in order to downgrade WingetUI
Hello,
Please try this beta release, which should have this issue fixed: https://github.com/marticliment/UniGetUI/releases/tag/3.1.1-beta1
Direct downloadm URL: https://github.com/marticliment/UniGetUI/releases/download/3.1.1-beta1/UniGetUI.Installer.exe
Please let me know if the issue gets resolved or not
The issue is fixed! I still see one issue in the logs however, but i don't think it's related to the issue and might be related to my Chocolatey config.
Manager Chocolatey with version:
This is try 1/3. Retrying after 400 milliseconds.
Error converted to warning:
Access to the path 'C:\ProgramData\chocolatey\config\chocolatey.config.4156.update' is denied.
This is try 2/3. Retrying after 600 milliseconds.
Error converted to warning:
Access to the path 'C:\ProgramData\chocolatey\config\chocolatey.config.4156.update' is denied.
Maximum tries of 3 reached. Throwing error.
2.3.0
Issues are fixed for me as well. Thank you! 🥇
While the problem is gone when using system Chocolatey, I said in Issue #2425 (which was closed as a duplicate of this one) that Chocolatey bundled with UnigetUI does not work and it still does not work in newest beta. I'll be using system chocolatey for now. Thanks.
Please confirm these before moving forward
UniGetUI Version
3.1.0
Windows version, edition and architecture
Windows 10 Education 19045.4291 x64
Describe your issue
When using Chocolatey installed on my system ('Use system chocolatey' is enabled), Chocolatey doesn't get listed on Software Updates, Discover Packages and even on Installed Packages. On 3.0.2, this worked fine. UniGetUI does see Chocolatey and the executable file of it exist on my computer.
When disabling 'Use system Chocolatey' and rebooting UniGetUI, Chocolatey does work. Re-checking that option and rebooting the program, the issue returns.
Steps to reproduce the issue
UniGetUI Log
Package Managers Logs
Relevant information
Running the chocolatey commands listed on the Package Managers logs do work in Windows Terminal.
Screenshots and videos