Skip to content

[Linux] Can't install plugins #874

@raphael-klbm

Description

@raphael-klbm

I want to install a plugin in Artemis but I get this exception when I try to install any plugin:

Microsoft.EntityFrameworkCore.DbUpdateConcurrencyException: The database operation was expected to affect 1 row(s), but actually affected 0 row(s); data may have been modified or deleted since entities were loaded. See https://go.microsoft.com/fwlink/?LinkId=527962 for information on understanding and handling optimistic concurrency exceptions.
   at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ThrowAggregateUpdateConcurrencyException(RelationalDataReader reader, Int32 commandIndex, Int32 expectedRowsAffected, Int32 rowsAffected)
   at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.ConsumeResultSetWithRowsAffectedOnly(Int32 commandIndex, RelationalDataReader reader)
   at Microsoft.EntityFrameworkCore.Update.AffectedCountModificationCommandBatch.Consume(RelationalDataReader reader)
   at Microsoft.EntityFrameworkCore.Update.ReaderModificationCommandBatch.Execute(IRelationalConnection connection)
   at Microsoft.EntityFrameworkCore.Update.Internal.BatchExecutor.Execute(IEnumerable`1 commandBatches, IRelationalConnection connection)
   at Microsoft.EntityFrameworkCore.Storage.RelationalDatabase.SaveChanges(IList`1 entries)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(IList`1 entriesToSave)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(StateManager stateManager, Boolean acceptAllChangesOnSuccess)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.<>c.<SaveChanges>b__112_0(DbContext _, ValueTuple`2 t)
   at Microsoft.EntityFrameworkCore.Storage.NonRetryingExecutionStrategy.Execute[TState,TResult](TState state, Func`3 operation, Func`3 verifySucceeded)
   at Microsoft.EntityFrameworkCore.ChangeTracking.Internal.StateManager.SaveChanges(Boolean acceptAllChangesOnSuccess)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChanges(Boolean acceptAllChangesOnSuccess)
   at Microsoft.EntityFrameworkCore.DbContext.SaveChanges()
   at Artemis.Storage.Repositories.EntryRepository.Remove(EntryEntity entryEntity) in /home/runner/work/Artemis/Artemis/Artemis/src/Artemis.Storage/Repositories/EntryRepository.cs:line 22
   at Artemis.WebClient.Workshop.Services.WorkshopService.RemoveInstalledEntry(InstalledEntry installedEntry) in /home/runner/work/Artemis/Artemis/Artemis/src/Artemis.WebClient.Workshop/Services/WorkshopService.cs:line 217
   at Artemis.WebClient.Workshop.Handlers.InstallationHandlers.PluginEntryInstallationHandler.InstallAsync(IEntrySummary entry, IRelease release, Progress`1 progress, CancellationToken cancellationToken) in /home/runner/work/Artemis/Artemis/Artemis/src/Artemis.WebClient.Workshop/Handlers/InstallationHandlers/Implementations/PluginEntryInstallationHandler.cs:line 101
   at Artemis.WebClient.Workshop.Services.WorkshopService.InstallEntry(IEntrySummary entry, IRelease release, Progress`1 progress, CancellationToken cancellationToken) in /home/runner/work/Artemis/Artemis/Artemis/src/Artemis.WebClient.Workshop/Services/WorkshopService.cs:line 164
   at Artemis.UI.Screens.Workshop.EntryReleases.EntryReleaseInfoViewModel.Install() in /home/runner/work/Artemis/Artemis/Artemis/src/Artemis.UI/Screens/Workshop/EntryReleases/EntryReleaseInfoViewModel.cs:line 121

I use the newest version of Artemis and Ubuntu 25.04.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions