Plug-ins wont install
Before you start...
- [x] Have you checked if similar issue have already been reported?
What windows are you seeing the problem on?
Windows 11
What OS/App version/architecture are you seeing the problem on?
OS: Windows 11 App version: 0.4.0 Beta Architecture: x64
Description
The Plug-ins wont install
I am getting errors for all the plug-ins
Steps To Reproduce
- Install
- Configure IPFS (I changed both the ports because it wouldn't work otherwise)
- Try to install plugins
Expected behavior
All the plug-ins should have installed successfully
Relevant Assets
Error installing FluentStore.Sources.Chocolatey:
System.UnauthorizedAccessException: Access to the path 'C:\ProgramData\FluentStoreBeta\Plugins\status.tsv' is denied.
at Microsoft.Win32.SafeHandles.SafeFileHandle.CreateFile(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options)
at Microsoft.Win32.SafeHandles.SafeFileHandle.Open(String fullPath, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode) at System.IO.Strategies.OSFileStreamStrategy..ctor(String path, FileMode mode, FileAccess access, FileShare share, FileOptions options, Int64 preallocationSize, Nullable1 unixCreateMode)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, Int64 preallocationSize)
at System.IO.File.AsyncStreamWriter(String path, Encoding encoding, Boolean append)
at System.IO.File.WriteAllLinesAsync(String path, IEnumerable`1 contents, Encoding encoding, CancellationToken cancellationToken)
at FluentStore.SDK.Plugins.NuGet.FluentStoreNuGetProject.FlushAsync(CancellationToken token)
at FluentStore.SDK.Plugins.NuGet.FluentStoreNuGetProject.InstallPackageAsync(PackageIdentity packageIdentity, DownloadResourceResult downloadResourceResult, INuGetProjectContext nuGetProjectContext, CancellationToken token)
at FluentStore.SDK.Plugins.PluginLoader.InstallPlugin(DownloadResourceResult downloadItem, Boolean overwrite, Boolean dispose, CancellationToken token)
I see you're on a beta version of Windows. Can you share exactly which build you're on?
Also, you mentioned you had to change the ports. Are you aware of other applications that may have been using those ports?
im not on a beta version of windows. what i meant is the program is in beta. and nothing is using those ports
@fredystar200 This is a known issue, duplicate of #91. I am in the process of releasing 0.4.1-beta but keep running into roadblocks.
did you fix it?
read please
@fredystar200 You're experiencing a different bug with plugins which was already reported in #91. Different plugin, same bug. If you wish to add more details, please comment there.
@fredystar200 You're experiencing a different bug with plugins which was already reported in #91. Different plugin, same bug. If you wish to add more details, please comment there.
yeah i know he deleted his message
how long will this take to fix?
I wish I had an estimate, but all I can say is that I have more than a full-time job and am working on this for free in my spare time. I'm sorry you're having issues, I am trying to resolve them as soon as I can. For the sake of transparency, I've posted more detailed thoughts about this bug below.
Possible fixes for this bug:
- Release 0.4.1-beta. This should be the quickest, but it's only a temporary solution. The bug will reappear once say 0.4.2-beta is released.
- Have plugin manager fall back to latest compatible. This is the real fix, but will take more time since code needs to be refactored, tested, and then published (which is what's blocking 0.4.1 right now).
You might be able to work around this by using a tool like NuGet Package Explorer to download the old 0.4.1 plugin, then manually install it using the "Pick file" option in Fluent Store's plugin settings. I haven't tested this process, it might cause issues on the next startup when Fluent Store tries to auto-update plugins (a bug which is definitely fixed in 0.4.1, if only I could get it out the door).