IllusionMods / KKManager

Mod, plugin and card manager for games by Illusion that use BepInEx
https://www.patreon.com/posts/41869238
GNU General Public License v3.0
451 stars 70 forks source link

[Linux] Updater doesn't clean up old files while updating #152

Closed jmfergeau closed 7 months ago

jmfergeau commented 8 months ago

Note to devs first: I know you don't do support for linux. I'm just asking here for any people who also uses linux here if they experience the same problem and if they might have clues of why it's happening.

Happens both on 1.0.0 and 1.1.0. Never occured on previous versions.

First when I launch the updater, the following error appears. It can be ignored by clicking continue, i don't know if it's related:

See the end of this message for details on invoking \njust-in-time (JIT) debugging instead of this dialog box.\n\n************** Exception Text **************\nSystem.ArgumentException: Given combination of Class, Part, and State is not defined by the current visual style.
  at System.Windows.Forms.VisualStyles.VisualStyleRenderer..ctor (System.String className, System.Int32 part, System.Int32 state) [0x0001e] in <5ea26500d4d340168c8a375e356ca0ac>:0 
  at System.Windows.Forms.VisualStyles.VisualStyleRenderer..ctor (System.Windows.Forms.VisualStyles.VisualStyleElement element) [0x00013] in <5ea26500d4d340168c8a375e356ca0ac>:0 
  at System.Windows.Forms.UpDownBase.OnPaint (System.Windows.Forms.PaintEventArgs e) [0x00047] in <5ea26500d4d340168c8a375e356ca0ac>:0 
  at System.Windows.Forms.Control.PaintWithErrorHandling (System.Windows.Forms.PaintEventArgs e, System.Int16 layer) [0x00043] in <5ea26500d4d340168c8a375e356ca0ac>:0 
  at System.Windows.Forms.Control.WmPaint (System.Windows.Forms.Message& m) [0x00219] in <5ea26500d4d340168c8a375e356ca0ac>:0 
  at System.Windows.Forms.Control.WndProc (System.Windows.Forms.Message& m) [0x003cb] in <5ea26500d4d340168c8a375e356ca0ac>:0 
  at System.Windows.Forms.ScrollableControl.WndProc (System.Windows.Forms.Message& m) [0x00043] in <5ea26500d4d340168c8a375e356ca0ac>:0 
  at System.Windows.Forms.ContainerControl.WndProc (System.Windows.Forms.Message& m) [0x0001a] in <5ea26500d4d340168c8a375e356ca0ac>:0 
  at System.Windows.Forms.UpDownBase.WndProc (System.Windows.Forms.Message& m) [0x00093] in <5ea26500d4d340168c8a375e356ca0ac>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.OnMessage (System.Windows.Forms.Message& m) [0x00001] in <5ea26500d4d340168c8a375e356ca0ac>:0 
  at System.Windows.Forms.Control+ControlNativeWindow.WndProc (System.Windows.Forms.Message& m) [0x000b3] in <5ea26500d4d340168c8a375e356ca0ac>:0 
  at System.Windows.Forms.NativeWindow.Callback (System.Windows.Forms.Message& m) [0x00025] in <5ea26500d4d340168c8a375e356ca0ac>:0 

\n************** Loaded Assemblies **************\nmscorlib\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/4.5/mscorlib.dll\n----------------------------------------\nStandaloneUpdater\n    Assembly Version: 1.1.0.0\n    Win32 Version: 1.1.0.0\n    CodeBase: file:///Z:/home/max/koikatsu/%5BUTILITY%5D%20KKManager/StandaloneUpdater.exe\n----------------------------------------\nKKManager.Core\n    Assembly Version: 1.1.0.0\n    Win32 Version: 1.1.0.0\n    CodeBase: file:///Z:/home/max/koikatsu/%5BUTILITY%5D%20KKManager/KKManager.Core.dll\n----------------------------------------\nKKManager.Updater\n    Assembly Version: 1.1.0.0\n    Win32 Version: 1.1.0.0\n    CodeBase: file:///Z:/home/max/koikatsu/%5BUTILITY%5D%20KKManager/KKManager.Updater.dll\n----------------------------------------\nSystem.Windows.Forms\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/System.Windows.Forms/4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll\n----------------------------------------\nSystem\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/System/4.0.0.0__b77a5c561934e089/System.dll\n----------------------------------------\nSystem.Drawing\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/System.Drawing/4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll\n----------------------------------------\nAccessibility\n    Assembly Version: 4.0.0.0\n    Win32 Version: \n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/Accessibility/4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll\n----------------------------------------\nSystem.Core\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/System.Core/4.0.0.0__b77a5c561934e089/System.Core.dll\n----------------------------------------\nObjectListView\n    Assembly Version: 2.9.1.1072\n    Win32 Version: 2.9.1.0\n    CodeBase: file:///Z:/home/max/koikatsu/%5BUTILITY%5D%20KKManager/ObjectListView.dll\n----------------------------------------\nWineMono.I18N\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.0.0.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/WineMono.I18N/4.0.0.0__0738eb9f132ed756/WineMono.I18N.dll\n----------------------------------------\nWineMono.I18N.West\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.0.0.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/WineMono.I18N.West/4.0.0.0__0738eb9f132ed756/WineMono.I18N.West.dll\n----------------------------------------\nSystem.Configuration\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/System.Configuration/4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll\n----------------------------------------\nSystem.Xml\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/System.Xml/4.0.0.0__b77a5c561934e089/System.Xml.dll\n----------------------------------------\nNetSettingBinder\n    Assembly Version: 1.1.6062.19744\n    Win32 Version: 1.1.6062.19744\n    CodeBase: file:///Z:/home/max/koikatsu/%5BUTILITY%5D%20KKManager/NetSettingBinder.dll\n----------------------------------------\nPortableSettingsProvider\n    Assembly Version: 1.2.8816.37902\n    Win32 Version: 1.2.8816.37902\n    CodeBase: file:///Z:/home/max/koikatsu/%5BUTILITY%5D%20KKManager/PortableSettingsProvider.dll\n----------------------------------------\nWineMono.Security\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.0.0.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/WineMono.Security/4.0.0.0__0738eb9f132ed756/WineMono.Security.dll\n----------------------------------------\nSystem.Numerics\n    Assembly Version: 4.0.0.0\n    Win32 Version: 4.6.57.0\n    CodeBase: file:///C:/windows/mono/mono-2.0/lib/mono/gac/System.Numerics/4.0.0.0__b77a5c561934e089/System.Numerics.dll\n----------------------------------------\nBen.Demystifier\n    Assembly Version: 0.4.0.0\n    Win32 Version: 0.4.0.2\n    CodeBase: file:///Z:/home/max/koikatsu/%5BUTILITY%5D%20KKManager/Ben.Demystifier.dll\n----------------------------------------\nSharpCompress\n    Assembly Version: 0.33.0.0\n    Win32 Version: 0.33.0\n    CodeBase: file:///Z:/home/max/koikatsu/%5BUTILITY%5D%20KKManager/SharpCompress.dll\n----------------------------------------\nFluentFTP\n    Assembly Version: 35.0.5.0\n    Win32 Version: 35.0.5.0\n    CodeBase: file:///Z:/home/max/koikatsu/%5BUTILITY%5D%20KKManager/FluentFTP.dll\n----------------------------------------\nAWSSDK.S3\n    Assembly Version: 3.3.0.0\n    Win32 Version: 3.7.203.11\n    CodeBase: file:///Z:/home/max/koikatsu/%5BUTILITY%5D%20KKManager/AWSSDK.S3.dll\n----------------------------------------\nAWSSDK.Core\n    Assembly Version: 3.3.0.0\n    Win32 Version: 3.7.202.5\n    CodeBase: file:///Z:/home/max/koikatsu/%5BUTILITY%5D%20KKManager/AWSSDK.Core.dll\n----------------------------------------\nMegaApiClient\n    Assembly Version: 1.10.3.0\n    Win32 Version: 1.10.3.0\n    CodeBase: file:///Z:/home/max/koikatsu/%5BUTILITY%5D%20KKManager/MegaApiClient.dll\n----------------------------------------\nReusableTasks\n    Assembly Version: 1.0.0.0\n    Win32 Version: 2.0.2\n    CodeBase: file:///Z:/home/max/koikatsu/%5BUTILITY%5D%20KKManager/ReusableTasks.dll\n----------------------------------------\nnetstandard\n    Assembly Version: 2.0.0.0\n    Win32 Version: 4.6.26011.1\n    CodeBase: file:///Z:/home/max/koikatsu/%5BUTILITY%5D%20KKManager/netstandard.dll\n----------------------------------------\nSystem.Reactive\n    Assembly Version: 6.0.0.0\n    Win32 Version: 6.0.0.1\n    CodeBase: file:///Z:/home/max/koikatsu/%5BUTILITY%5D%20KKManager/System.Reactive.dll\n----------------------------------------\nMonoTorrent.Client\n    Assembly Version: 2.0.0.0\n    Win32 Version: 3.0.0\n    CodeBase: file:///Z:/home/max/koikatsu/%5BUTILITY%5D%20KKManager/MonoTorrent.Client.dll\n----------------------------------------\n\n************** JIT Debugging **************\n

Next, if i choose to not use P2P at all, it checks successfully for the updates and lets me choose them. but when I start them, no download occurs. The list appears, with the status "downloading" for the first 4, the others on "waiting" but actual downloading never occurs.

On P2P, no issues. It's horrendously slow but it works.

Anyone else got the issues? Any fixes that can be done on wine/mono eventually?

ManlyMarco commented 8 months ago

Try running under .Net Framework instead of mono.

jmfergeau commented 8 months ago

Thanks. I didn't even know the official dotnet was a thing for linux! :o

I tried but sadly, it doesn't work. libhostpolicy.so can't be found when I try to launch it with dotnet. And when I do searches about that file, all the answers i found is "it won't work. use mono." :/

ManlyMarco commented 8 months ago

Are you trying to run it natively, not in wine/proton? Only the latter will work properly. You can ask 2155x on the discord server for help if you can't get it to work.

jmfergeau commented 8 months ago

usually no one replies to me on discord but i can try eventually.

I do use wine/proton but i don't see how i can get a working dotnet on there. i'll investigate on that tho. If i find a workaround i'll post it here.

Thanks for the infos. :)

generone24 commented 7 months ago

usually no one replies to me on discord but i can try eventually.

I do use wine/proton but i don't see how i can get a working dotnet on there. i'll investigate on that tho. If i find a workaround i'll post it here.

Thanks for the infos. :)

Use Winetricks to install dotnet

jmfergeau commented 7 months ago

usually no one replies to me on discord but i can try eventually. I do use wine/proton but i don't see how i can get a working dotnet on there. i'll investigate on that tho. If i find a workaround i'll post it here. Thanks for the infos. :)

Use Winetricks to install dotnet

I used bottles to make the prefix for KK and dotnet dependencies are installed already. I don't think i would even be able to run the updater at all if I wasn't having them.

Unless you mean a specific dotnet dependency?

generone24 commented 7 months ago

i made a wineprefix, and for koikatsu and kkmanager to work and with mods, i used winetricks to set the winhttp.dll override and installed dotnet with winetricks dotnet35 dotnet48 i didn't have to do anything extra, maybe it depends on the version of wine used? idk

jmfergeau commented 7 months ago

I have all of these in my prefix. Actually it's the only problem I'm facing on my KK and KKS setting. All the rest works as intended. (Though, KK freezes on exiting but that's another problem i think)

ManlyMarco commented 7 months ago

So in the end KKM does work?

jmfergeau commented 7 months ago

it always did.

Only thing that happens is that error i mentioned in first post and that non-P2P updating doesn't work.

And even, something to add: the updater seems to struggle on some specific files (most of them being "0b" of size) in both cases, keeping them in a "downloading" state. It's just more problematic on non-p2p because the updater won't download the rest if it doesn't manage to download these files. (mostly the [katarsys] KPlug Animation Bundles ones)

ManlyMarco commented 7 months ago

0b update means it needs to delete a given file, it should be marked with red. The only way this could fail is if the file is used by something else since it's a simple delete operation.

jmfergeau commented 7 months ago

I always run the updater alone from the launcher without launching KK, knowing it can cause problems. (actually, the updater even wants to kill the launcher when it's launched) Maybe it's caused by wine and mono not able to delete the files itself since nothing ever appears in red.

Do you think it can help if i manually delete the files before updating?

(btw tested with 1.2.0 today, still same issue. Not really a surprise but better mention it :p )

ManlyMarco commented 7 months ago

Check the log for errors.

jmfergeau commented 7 months ago

Here's the logs I got where I start the standalone updater, click "continue" when the bug report i mentionned first appears, disable the p2p download, then choose to download all updates. It stays stuck at the last lines. I notice an error on some source being not available and skipping... But it looks like it's not skipping?

[13:00:05] Application startup - StandaloneUpdater v1.2.0.0 Amd64
[13:00:05] Following language files are present but they are not specified as supported in LanguageManager: de, fr
[13:00:05] Arguments: Z:\home\max\koikatsu
[13:00:07] [SelfUpdater] The current version of KKManager is the latest
[13:00:07] Looking for update sources...
[13:00:07] Found 5 sources
[13:00:47] Starting update search...
[13:00:47] Start loading zipmods from [Z:\home\max\koikatsu\mods]
[13:02:30] Finished loading zipmods from [Z:\home\max\koikatsu\mods] in 103657ms
[13:02:32] [eus3.betterrepack.com] Failed to download Updates file Updates1.xml - Failed to download file
[13:02:32] [eus3.betterrepack.com] Failed to download Updates file Updates2.xml - Failed to download file
[13:02:32] [eus3.betterrepack.com] Skipping Sideloader Modpack - Bleeding Edge because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping ECSideloader Modpack because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping ECSideloader Modpack UncensorSelector because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping EC Sideloader Modpack Fixes because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISideloader Modpack because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISideloader Modpack - MaterialEditor Shaders because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISideloader Modpack - Uncensor Selector because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISideloader Modpack - Maps because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISideloader Modpack - Studio because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISideloader Modpack - BleedingEdge because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISideloader Modpack - Exclusive because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping HS2Sideloader Modpack - Exclusive because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping HS2UserData because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISUserData because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping dhh.presets because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping AISideloader Modpack - Game Maps because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping KKSTrial Sideloader Modpack because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping Sideloader Modpack - Exclusive KKS because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping Sideloader Modpack - KKS_UncensorSelector because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping Sideloader Modpack - KKS_Maps because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping ECSideloader Modpack Old because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping ECSideloader Modpack UncensorSelector old because of conditions
[13:02:32] [eus3.betterrepack.com] Skipping EC Sideloader Modpack Fixes old because of conditions
[13:02:32] [eus2.betterrepack.com] Failed to download Updates file Updates2.xml - Failed to download file
[13:02:32] [eus2.betterrepack.com] Skipping Sideloader Modpack - Bleeding Edge because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping ECSideloader Modpack because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping ECSideloader Modpack UncensorSelector because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping EC Sideloader Modpack Fixes because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISideloader Modpack because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISideloader Modpack - MaterialEditor Shaders because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISideloader Modpack - Uncensor Selector because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISideloader Modpack - Maps because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISideloader Modpack - Studio because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISideloader Modpack - BleedingEdge because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISideloader Modpack - Exclusive because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping HS2Sideloader Modpack - Exclusive because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping HS2UserData because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISUserData because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping dhh.presets because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping AISideloader Modpack - Game Maps because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping KKSTrial Sideloader Modpack because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping Sideloader Modpack - Exclusive KKS because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping Sideloader Modpack - KKS_UncensorSelector because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping Sideloader Modpack - KKS_Maps because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping ECSideloader Modpack Old because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping ECSideloader Modpack UncensorSelector old because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping EC Sideloader Modpack Fixes old because of conditions
[13:02:32] [eus2.betterrepack.com] Skipping kkrx10.h2 because of conditions
[13:02:33] [sideload.betterrepack.com] Failed to download Updates file Updates2.xml - Failed to download file
[13:02:33] [sideload.betterrepack.com] Skipping Sideloader Modpack - Bleeding Edge because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping ECSideloader Modpack because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping ECSideloader Modpack UncensorSelector because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping EC Sideloader Modpack Fixes because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISideloader Modpack because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISideloader Modpack - MaterialEditor Shaders because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISideloader Modpack - Uncensor Selector because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISideloader Modpack - Maps because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISideloader Modpack - Studio because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISideloader Modpack - BleedingEdge because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISideloader Modpack - Exclusive because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping HS2Sideloader Modpack - Exclusive because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping HS2UserData because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISUserData because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping dhh.presets because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping AISideloader Modpack - Game Maps because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping KKSTrial Sideloader Modpack because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping Sideloader Modpack - Exclusive KKS because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping Sideloader Modpack - KKS_UncensorSelector because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping Sideloader Modpack - KKS_Maps because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping ECSideloader Modpack Old because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping ECSideloader Modpack UncensorSelector old because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping EC Sideloader Modpack Fixes old because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping aisr9.1h1 because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping kkrx10.h2 because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping phr32.h1 because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping hs2.401.h because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping hs2.5.h because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping hs2.5.h.c because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping hs2.5.hdhh because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping hs2.5.h.cdhh because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping kk.101.h because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping kkS.1.2.h1 because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping hs2.r6 because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping hs2.r6ch because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping ais.r11 because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping ais.r11ch because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping kkS.2.h1 because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping kksr2.1h because of conditions
[13:02:33] [sideload.betterrepack.com] Skipping HC Cockblocker because of conditions
[13:02:34] [betterrepack.com] Failed to download Updates file Updates2.xml - Failed to download file
[13:02:34] [betterrepack.com] Skipping Sideloader Modpack - Bleeding Edge because of conditions
[13:02:34] [betterrepack.com] Skipping ECSideloader Modpack because of conditions
[13:02:34] [betterrepack.com] Skipping ECSideloader Modpack UncensorSelector because of conditions
[13:02:34] [betterrepack.com] Skipping EC Sideloader Modpack Fixes because of conditions
[13:02:34] [betterrepack.com] Skipping AISideloader Modpack because of conditions
[13:02:34] [betterrepack.com] Skipping AISideloader Modpack - MaterialEditor Shaders because of conditions
[13:02:34] [betterrepack.com] Skipping AISideloader Modpack - Uncensor Selector because of conditions
[13:02:34] [betterrepack.com] Skipping AISideloader Modpack - Maps because of conditions
[13:02:34] [betterrepack.com] Skipping AISideloader Modpack - Studio because of conditions
[13:02:34] [betterrepack.com] Skipping AISideloader Modpack - BleedingEdge because of conditions
[13:02:34] [betterrepack.com] Skipping AISideloader Modpack - Exclusive because of conditions
[13:02:34] [betterrepack.com] Skipping HS2Sideloader Modpack - Exclusive because of conditions
[13:02:34] [betterrepack.com] Skipping HS2UserData because of conditions
[13:02:34] [betterrepack.com] Skipping AISUserData because of conditions
[13:02:34] [betterrepack.com] Skipping dhh.presets because of conditions
[13:02:34] [betterrepack.com] Skipping AISideloader Modpack - Game Maps because of conditions
[13:02:34] [betterrepack.com] Skipping KKSTrial Sideloader Modpack because of conditions
[13:02:34] [betterrepack.com] Skipping Sideloader Modpack - Exclusive KKS because of conditions
[13:02:34] [betterrepack.com] Skipping Sideloader Modpack - KKS_UncensorSelector because of conditions
[13:02:34] [betterrepack.com] Skipping Sideloader Modpack - KKS_Maps because of conditions
[13:02:34] [betterrepack.com] Skipping ECSideloader Modpack Old because of conditions
[13:02:34] [betterrepack.com] Skipping ECSideloader Modpack UncensorSelector old because of conditions
[13:02:34] [betterrepack.com] Skipping EC Sideloader Modpack Fixes old because of conditions
[13:02:34] [betterrepack.com] Skipping aisr9.1h1 because of conditions
[13:02:34] [betterrepack.com] Skipping kkrx10.h2 because of conditions
[13:02:34] [betterrepack.com] Skipping phr32.h1 because of conditions
[13:02:34] [betterrepack.com] Skipping hs2.401.h because of conditions
[13:02:34] [betterrepack.com] Skipping hs2.5.h because of conditions
[13:02:34] [betterrepack.com] Skipping hs2.5.h.c because of conditions
[13:02:34] [betterrepack.com] Skipping hs2.5.hdhh because of conditions
[13:02:34] [betterrepack.com] Skipping hs2.5.h.cdhh because of conditions
[13:02:34] [betterrepack.com] Skipping kk.101.h because of conditions
[13:02:34] [betterrepack.com] Skipping kkS.1.2.h1 because of conditions
[13:02:34] [betterrepack.com] Skipping HC Cockblocker because of conditions
[13:02:34] [betterrepack.com] Skipping kkrx10.h2 because of conditions
[13:02:54] [ERROR] Unexpected error while collecting updates from source hf.honeyselect2.com - skipping the source. Error: System.Net.Sockets.SocketException: Could not resolve host 'hf.honeyselect2.com'
   at void System.Net.Dns.Error_11001(string hostName)
   at IPHostEntry System.Net.Dns.GetHostByName(string hostName)
   at IPHostEntry System.Net.Dns.GetHostEntry(string hostNameOrAddress)
   at IPAddress[] System.Net.Dns.GetHostAddresses(string hostNameOrAddress)
   at IPAddress[] System.Net.Dns.EndGetHostAddresses(IAsyncResult asyncResult)
   at void System.Threading.Tasks.TaskFactory<System.Net.IPAddress[]>.FromAsyncCoreLogic(IAsyncResult iar, Func<IAsyncResult, IPAddress[]> endFunction, Action<IAsyncResult> endAction, Task<IPAddress[]> promise, bool requiresSynchronization)
   at async Task FluentFTP.FtpSocketStream.ConnectAsync(string host, int port, FtpIpVersion ipVersions, CancellationToken token)
   at async Task FluentFTP.FtpClient.ConnectAsync(FtpSocketStream stream, CancellationToken token) x 2
   at async Task<List<FtpProfile>> FluentFTP.FtpClient.AutoDetectAsync(bool firstOnly, bool cloneConnection, CancellationToken token) x 2
   at async Task<FtpProfile> FluentFTP.FtpClient.AutoConnectAsync(CancellationToken token)
   at async Task KKManager.Updater.Sources.FtpUpdater.Connect(CancellationToken cancellationToken)+(?) => { }
   at async Task KKManager.Updater.Sources.FtpUpdater.Connect(CancellationToken cancellationToken)
   at async Task<List<UpdateTask>> KKManager.Updater.Sources.FtpUpdater.GetUpdateItems(CancellationToken cancellationToken, bool onlyDiscover, IProgress<float> progressCallback)
   at async Task KKManager.Updater.UpdateSourceManager+<>c__DisplayClass1_1.<GetUpdates>g__DoUpdate|4(?)+DoUpdate(?)
   at async Task<List<UpdateTask>> KKManager.Updater.UpdateSourceManager.GetUpdates(CancellationToken cancellationToken, UpdateSourceBase[] updateSources, string[] filterByGuids, bool onlyDiscover, IProgress<float> progressCallback)
[13:02:54] Found 4 direct download sources for mod GUID KKCCP - choosing eus2.betterrepack.com as latest
[13:02:54] Found 4 direct download sources for mod GUID Sideloader Modpack - Animations - choosing eus3.betterrepack.com as latest
[13:02:54] Found 4 direct download sources for mod GUID Sideloader Modpack - Studio - choosing eus3.betterrepack.com as latest
[13:02:54] Found 4 direct download sources for mod GUID Sideloader Modpack - Maps - choosing eus3.betterrepack.com as latest
[13:02:54] Found 4 direct download sources for mod GUID Sideloader Modpack - KK_UncensorSelector - choosing eus3.betterrepack.com as latest
[13:02:54] Found 4 direct download sources for mod GUID Sideloader Modpack - KK_MaterialEditor - choosing eus2.betterrepack.com as latest
[13:02:54] Found 4 direct download sources for mod GUID Sideloader Modpack - Fixes - choosing eus3.betterrepack.com as latest
[13:02:54] Found 4 direct download sources for mod GUID Sideloader Modpack KK - choosing eus3.betterrepack.com as latest
[13:02:54] Found 7 direct download sources for mod GUID Sideloader Modpack - choosing eus3.betterrepack.com as latest
[13:02:54] Found 3 direct download sources for mod GUID KKUserData - choosing eus2.betterrepack.com as latest
[13:02:54] Update search finished. Found 11 update tasks.
[13:04:29] [Updater] 43 out of 43 items have more than 1 source
[13:04:29] [Updater] Downloading updates...
[13:04:29] Deleting old file Z:\home\max\koikatsu\mods\Sideloader Modpack - Animations\Katarsys\[katarsys] KPlug Animation Bundles 3.0 D.zipmod
[13:04:29] Deleting old file Z:\home\max\koikatsu\mods\Sideloader Modpack - Animations\Katarsys\[katarsys] KPlug Animation Bundles 3.0 K.zipmod
[13:04:29] Deleting old file Z:\home\max\koikatsu\mods\Sideloader Modpack - Animations\Katarsys\[katarsys] KPlug Animation Bundles 3.1-1.1.zipmod
[13:04:29] Deleting old file Z:\home\max\koikatsu\mods\Sideloader Modpack - Animations\Katarsys\[katarsys] KPlug Animation Bundles 3.2.zipmod
ManlyMarco commented 7 months ago

The log looks fine. I guess the next step would be to attach a debugger and see where it's stuck in. Not sure what works best on linux/wine though. It can clearly list and download from ftp so there should be no reason to get stuck on it specifically. P2P also deletes old files like this so if it works there then chances are it's not actually the problem.

jmfergeau commented 7 months ago

Well, from what I noticed, P2P doesn't delete old files either. But since it seems to download everything at the same time, it doesn't block what can be downloaded... At the end, when it finished download the downloadable, it also stays stuck the same way.

ManlyMarco commented 7 months ago

Try turning off deleting to recycle bin in settings menu.

jmfergeau commented 7 months ago

Try turning off deleting to recycle bin in settings menu.

Just did and tried to update in non-P2P. It worked ! The updater did the job and all as intended. KK also works with no issues after update as well.

Thanks for the suggestion and help. ^^