adamradocz / boinc-manager Goto Github PK
View Code? Open in Web Editor NEW.NET Core cross-platform implementation of BOINC Manager
License: GNU General Public License v3.0
.NET Core cross-platform implementation of BOINC Manager
License: GNU General Public License v3.0
Do you need to create a separate docker network for boinc and boinc manager to communicate?
I tried to run your setup on my Raspberry Pi Docker Cluster with 5 nodes
I think the arm32v7 image is missing on docker hub?
There is now a NuGet release of the BoincRpc library which you may want to reference instead of keeping a source copy: https://www.nuget.org/packages/BoincRpc/
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.
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
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.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.