Giter Site home page Giter Site logo

boinc-manager's People

Contributors

adamradocz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

boinc-manager's Issues

docker network

Do you need to create a separate docker network for boinc and boinc manager to communicate?

A few concerns for an Arch package

Hi! First let me thank you for your effort to make a new interface for BOINC. I've been looking for a multi-client web interface to keep an eye on my machines and BoincManagerWeb fits my needs perfectly.

To make deployment easy I made an Arch package in the AUR, I have a few concerns.

Firstly, the app takes a pretty long time to start. From what I've seen with inotifywatch, the program seems to read every single file in the filesystem. I don't know why that is the case, but I believe that's the cause of the long startup times.

Secondly, it tries to read /var/lib/boinc/gui_rpc_auth.cfg, which also doesn't really seem necessary, since you can (and likely will) add clients manually anyways. On a server where BOINC isn't installed (or access to the file is denied), this causes the app to crash.

Alpine based Docker images are not working

Hi,
I tried to install the Docker image with the "latest" tag from Docker hub. However, it does not start up and immediatly crashes. The Debian based image works without a problem. Seems to be a problem with the Alpine Linux based image.
Can you please check the Alpine based image or exchange the image with the tag "latest" to the working one?

Regards,
Tim

System.MissingMethodException: Method not found ...

This looks like an interesting project! I'd love to try it out. Maybe I've done something wrong or missed a step in the documentation.

Date: 27 April 2020

OS: Ubuntu Server 20.04 LTS on Proxmox 6.1.

Docker version 19.03.8, build afacb8b7f0

$ sudo docker run --name boinc-manager-web -p "8100:80" -v /opt/appdata/boinc-manager-web:/app/BoincManager adamradocz/boinc-manager-web

Note the change from port 8000 to 8100. I've also tried the docker-compose file.

warn: Microsoft.AspNetCore.DataProtection.Repositories.FileSystemXmlRepository[60]
      Storing keys in a directory '/root/.aspnet/DataProtection-Keys' that may not be persisted outside of the container. Protected data will be unavailable when container is destroyed.
warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35]
      No XML encryptor configured. Key {f724085f-1a24-4e01-b601-7ca1789fe838} may be persisted to storage in unencrypted form.
crit: Microsoft.AspNetCore.Hosting.Diagnostics[6]
      Application startup exception
System.MissingMethodException: Method not found: 'Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.CreateTableBuilder`1<!!0> Microsoft.EntityFrameworkCore.Migrations.MigrationBuilder.CreateTable(System.String, System.Func`2<Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.ColumnsBuilder,!!0>, System.String, System.Action`1<Microsoft.EntityFrameworkCore.Migrations.Operations.Builders.CreateTableBuilder`1<!!0>>)'.
   at BoincManager.Migrations.InitialCreate.Up(MigrationBuilder migrationBuilder)
   at Microsoft.EntityFrameworkCore.Migrations.Migration.BuildOperations(Action`1 buildAction)
   at Microsoft.EntityFrameworkCore.Migrations.Migration.get_UpOperations()
   at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.GenerateUpSql(Migration migration)
   at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.<>c__DisplayClass15_2.<GetMigrationCommandLists>b__2()
   at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.Migrate(String targetMigration)
   at Microsoft.EntityFrameworkCore.RelationalDatabaseFacadeExtensions.Migrate(DatabaseFacade databaseFacade)
   at BoincManager.Utils.InitializeApplication(ApplicationDbContext context, Manager manager, Boolean useObservableCollections) in /src/BoincManager/Utils.cs:line 31
   at BoincManagerWeb.Startup.Configure(IApplicationBuilder app, IWebHostEnvironment env, ApplicationDbContext context, Manager manager) in /src/BoincManagerWeb/Startup.cs:line 100
   at System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor, Boolean wrapExceptions)
   at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.Invoke(Object instance, IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.ConfigureBuilder.<>c__DisplayClass4_0.<Build>b__0(IApplicationBuilder builder)
   at Microsoft.AspNetCore.Hosting.GenericWebHostBuilder.<>c__DisplayClass13_0.<UseStartup>b__2(IApplicationBuilder app)
   at Microsoft.AspNetCore.Mvc.Filters.MiddlewareFilterBuilderStartupFilter.<>c__DisplayClass0_0.<Configure>g__MiddlewareFilterBuilder|0(IApplicationBuilder builder)
   at Microsoft.AspNetCore.HostFilteringStartupFilter.<>c__DisplayClass0_0.<Configure>b__0(IApplicationBuilder app)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
Unhandled exception. System.NullReferenceException: Object reference not set to an instance of an object.
   at BoincManager.Manager.Dispose(Boolean disposing) in /src/BoincManager/Manager.cs:line 663
   at BoincManager.Manager.Dispose() in /src/BoincManager/Manager.cs:line 640
   at Microsoft.Extensions.DependencyInjection.ServiceLookup.ServiceProviderEngineScope.DisposeAsync()
--- End of stack trace from previous location where exception was thrown ---
   at Microsoft.Extensions.Hosting.Internal.Host.DisposeAsync()
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host)
   at BoincManagerWeb.Program.Main(String[] args) in /src/BoincManagerWeb/Program.cs:line 17

I have no experience with dotnet or C#, so I don't exactly know where to start looking.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.