Files
sockeye/todo.txt
2023-04-20 21:49:13 +00:00

340 lines
28 KiB
Plaintext

TODO:
- Subscriptions
todo: Two reports, one revenue report for list as filterd and one showing who subscribes to what and count of subscription items for each type etc
- Need to make it reportable so the subscription biz object needs to be able to support reporting fully with renewal and date and price viz etc
- Need to update the subscription item edit form to show renewal checkbox
- Enter a couple of product prices just to develop the report proof of concept but don't make the final report until uploaded to the server or at least back it up
- After update to server need to enter in all prices and uncheck renewal for any initial purchases that are not renewed yet in subscription items
TODO: make a filter showing expired but not set to inactive subscription items
TODO: dashboard items related to subscriptions
- revenue per month for next 12 months graph
- overdue expired subs list
- active count of each product subscription bar graph
23-02-27 15:11:32.0919|INFO|AyaNova.Api.Controllers.AuthController|User "Steve Gould" logged in from "89.105.0.250" ok
2023-02-27 21:10:22.9507|INFO|AyaNova.Api.Controllers.AuthController|User "Steve Gould" logged in from "172.224.227.71" ok
2023-02-28 10:41:12.8791|INFO|AyaNova.Api.Controllers.AuthController|User "Steve Gould" logged in from "86.188.118.0" ok
2023-02-28 16:25:44.2264|INFO|CoreJobLicense|License - new key installed [regto: SGR Electronics, keyid: 1677600110, dbid: GMhOBck/TMEzEXhbZQZ7TqKdjRSKzg7y8/a4LdpYNts=, type: subscription, exp: 04/04/2023 16:00 (server time), maint. sub. exps: 04/04/2023 08:00 (server time), feat:ActiveInternalUsers - 2, ActiveCustomerUsers - 250, MaximumDataGB - 20]
2023-03-04 00:15:17.9952|ERROR|JobsBiz|Server::ProcessJobsAsync unexpected error during processing=>Npgsql.PostgresException (0x80004005): 57P01: terminating connection due to administrator command
at Npgsql.Internal.NpgsqlConnector.<ReadMessage>g__ReadMessageLong|211_0(NpgsqlConnector connector, Boolean async, DataRowLoadingMode dataRowLoadingMode, Boolean readingNotifications, Boolean isReadingPrependedMessage)
at Npgsql.NpgsqlDataReader.NextResult(Boolean async, Boolean isConsuming, CancellationToken cancellationToken)
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlCommand.ExecuteReader(CommandBehavior behavior, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlCommand.ExecuteDbDataReaderAsync(CommandBehavior behavior, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalCommand.ExecuteReaderAsync(RelationalCommandParameterObject parameterObject, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.InitializeReaderAsync(AsyncEnumerator enumerator, CancellationToken cancellationToken)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlExecutionStrategy.ExecuteAsync[TState,TResult](TState state, Func`4 operation, Func`4 verifySucceeded, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Query.Internal.SingleQueryingEnumerable`1.AsyncEnumerator.MoveNextAsync()
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.EntityFrameworkQueryableExtensions.ToListAsync[TSource](IQueryable`1 source, CancellationToken cancellationToken)
at AyaNova.Biz.JobsBiz.GetReadyJobsAsync(Boolean exclusiveOnly) in C:\data\code\raven\server\AyaNova\biz\JobsBiz.cs:line 58
at AyaNova.Biz.JobsBiz.GetReadyJobsExclusiveOnlyAsync() in C:\data\code\raven\server\AyaNova\biz\JobsBiz.cs:line 30
at AyaNova.Biz.JobsBiz.ProcessJobsAsync() in C:\data\code\raven\server\AyaNova\biz\JobsBiz.cs:line 304
Exception data:
Severity: FATAL
SqlState: 57P01
MessageText: terminating connection due to administrator command
File: postgres.c
Line: 3206
Routine: ProcessInterrupts
2023-03-04 00:15:18.0657|ERROR|Microsoft.EntityFrameworkCore.Database.Connection|An error occurred using the connection to database 'AyaNova' on server ''.
2023-03-04 00:15:18.0725|ERROR|NotifyEventProcessor|Error adding general notify event [type:ServerOperationsProblem, userId:0, message:Server::ProcessJobsAsync unexpected error during processing
Exception error: Npgsql -> 57P01: terminating connection due to administrator command
]=>System.InvalidOperationException: An exception has been raised that is likely due to a transient failure.
---> Npgsql.NpgsqlException (0x80004005): Failed to connect to 127.0.0.1:5432
---> System.Net.Sockets.SocketException (111): Connection refused
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.CreateException(SocketError error, Boolean forAsyncThrow)
at System.Net.Sockets.Socket.AwaitableSocketAsyncEventArgs.ConnectAsync(Socket socket)
at System.Net.Sockets.Socket.ConnectAsync(EndPoint remoteEP, CancellationToken cancellationToken)
at Npgsql.Internal.NpgsqlConnector.<>c__DisplayClass198_0.<ConnectAsync>b__4(CancellationToken ct)
at Npgsql.TaskExtensions.ExecuteWithTimeout(Func`2 func, NpgsqlTimeout timeout, CancellationToken cancellationToken)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Npgsql.TaskExtensions.ExecuteWithTimeout(Func`2 func, NpgsqlTimeout timeout, CancellationToken cancellationToken)
at Npgsql.Internal.NpgsqlConnector.ConnectAsync(NpgsqlTimeout timeout, CancellationToken cancellationToken)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Npgsql.Internal.NpgsqlConnector.ConnectAsync(NpgsqlTimeout timeout, CancellationToken cancellationToken)
at Npgsql.Internal.NpgsqlConnector.RawOpen(SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Npgsql.Internal.NpgsqlConnector.RawOpen(SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
at Npgsql.Internal.NpgsqlConnector.<Open>g__OpenCore|191_1(NpgsqlConnector conn, SslMode sslMode, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken, Boolean isFirstAttempt)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Npgsql.Internal.NpgsqlConnector.Open(NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.ConnectorPool.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Npgsql.ConnectorPool.OpenNewConnector(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.ConnectorPool.<Get>g__RentAsync|28_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Npgsql.ConnectorPool.<Get>g__RentAsync|28_0(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.ConnectorPool.Get(NpgsqlConnection conn, NpgsqlTimeout timeout, Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnection.<Open>g__OpenAsync|45_0(Boolean async, CancellationToken cancellationToken)
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.Start[TStateMachine](TStateMachine& stateMachine)
at Npgsql.NpgsqlConnection.<Open>g__OpenAsync|45_0(Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnection.Open(Boolean async, CancellationToken cancellationToken)
at Npgsql.NpgsqlConnection.OpenAsync(CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenDbConnectionAsync(Boolean errorsExpected, CancellationToken cancellationToken)
at Microsoft.EntityFrameworkCore.Storage.RelationalConnection.OpenInternalAsync(Boolean errorsExpected, CancellationToken cancellationToken)
:
Routine: ProcessInterrupts
2023-04-08 00:26:04.7269|INFO|BOOT|AYANOVA SERVER 8.0.42 BOOTING
2023-04-08 00:26:05.1138|INFO|BOOT|Config AYANOVA_USE_URLS=http://*:7575,AYANOVA_LOG_LEVEL=Info,AYANOVA_DEFAULT_TRANSLATION=en,AYANOVA_DB_CONNECTION=Server=localhost;Username=postgres;Password=[redacted];Database=AyaNova;CommandTimeout=300;,AYANOVA_DATA_PATH=/var/ayanova/data/,Build=Subscription
2023-04-08 00:26:05.1217|INFO|BOOT|Boot path - /var/ayanova
2023-04-08 00:26:05.1374|INFO|BOOT|OS - Unix 5.19.0.38
2023-04-08 00:26:05.1374|INFO|BOOT|TimeZone - (UTC+00:00) United Kingdom Time
2023-04-08 00:26:05.1374|INFO|BOOT|OS Locale - Invariant Language (Invariant Country)
2023-04-08 00:26:05.1374|INFO|BOOT|Machine - sgr
2023-04-08 00:26:05.1374|INFO|BOOT|User - www-data
2023-04-08 00:26:05.1374|INFO|BOOT|.Net Version - 6.0.13
2023-04-08 00:26:08.8691|INFO|SERVER|Connected to database server - server=localhost;username=postgres;password=[redacted];database=AyaNova;commandtimeout=300
2023-04-08 00:26:09.0133|WARN|SERVER|AYANOVA_JWT_SECRET configuration setting is missing; AyaNova will randomly generate one. Any Users who were logged in when the server restarted will need to login to get a fresh auth token. See manual 'AYANOVA_JWT_SECRET' page for details.
2023-04-08 00:26:09.2478|WARN|Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository|Using an in-memory repository. Keys will not be persisted to storage.
2023-04-08 00:26:09.2526|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits.
2023-04-08 00:26:09.3648|WARN|Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager|No XML encryptor configured. Key {9413fe85-516a-4b11-bbe8-95d9b2c2937f} may be persisted to storage in unencrypted form.
2023-04-08 00:26:09.4325|INFO|AyaNova.Generator.GeneratorService|GeneratorService is starting.
2023-04-08 00:26:13.0029|INFO|SERVER|Database server version - PostgreSQL 15.2 (Ubuntu 15.2-1.pgdg22.10+1) on x86_64-pc-linux-gnu, compiled by gcc (Ubuntu 12.2.0-3ubuntu1) 12.2.0, 64-bit
2023-04-08 00:26:13.8447|INFO|SERVER|AyaNova database needs to be updated from schema version 15 to version 16
2023-04-08 00:26:13.8821|INFO|SERVER|Completed updating database schema to version 16
2023-04-08 00:26:14.8161|INFO|SERVER|DB Schema version - 16
2023-04-08 00:26:14.8199|INFO|SERVER|Active Customer contact Users - 0
2023-04-08 00:26:14.8199|INFO|SERVER|Active internal staff Users - 2
2023-04-08 00:26:14.8284|INFO|SERVER|License - [regto: SGR Electronics, keyid: 1679964524, dbid: GMhOBck/TMEzEXhbZQZ7TqKdjRSKzg7y8/a4LdpYNts=, type: subscription, maint. sub. exps: 05/04/2023 08:00 (server time), feat:ActiveInternalUsers - 2, ActiveCustomerUsers - 250, MaximumDataGB - 20]
2023-04-08 00:26:14.8284|INFO|SERVER|Boot complete - server open
2023-04-14 13:14:05.2946|INFO|AyaNova.Api.Controllers.AuthController|User "Steve Gould" logged in from "104.28.86.112" ok
2023-04-14 13:14:32.0920|ERROR|SERVER|Error=>System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.CSharp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'Microsoft.CSharp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at AyaNova.PickList.CustomerPickList..ctor()
at AyaNova.PickList.PickListFactory.GetAyaPickList(AyaType ayaType)
at AyaNova.Api.Controllers.PickListController.PostList(PickListOptions pickListParams)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-04-14 17:41:38.7081|ERROR|JobsBiz|ProcessJobAsync -> job failed LT:Report id: "79" LT:WorkOrder (1) LT:User Steve Gould - RenderReport=>System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
File name: 'System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at PuppeteerSharp.BrowserFetcher..ctor()
at AyaNova.Biz.ReportBiz.DoRenderJob(OpsJob job)
at AyaNova.Biz.ReportBiz.HandleJobAsync(OpsJob job)
at AyaNova.Biz.JobsBiz.ProcessJobAsync(OpsJob job)
2023-04-14 17:41:49.6524|ERROR|JobsBiz|ProcessJobAsync -> job failed LT:Report id: "79" LT:WorkOrder (1) LT:User Steve Gould - RenderReport=>System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
File name: 'System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at PuppeteerSharp.BrowserFetcher..ctor()
at AyaNova.Biz.ReportBiz.DoRenderJob(OpsJob job)
at AyaNova.Biz.ReportBiz.HandleJobAsync(OpsJob job)
at AyaNova.Biz.JobsBiz.ProcessJobAsync(OpsJob job)
2023-04-14 17:42:03.7642|ERROR|SERVER|Error=>System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.CSharp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file specified.
File name: 'Microsoft.CSharp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at AyaNova.PickList.CustomerPickList..ctor()
at AyaNova.PickList.PickListFactory.GetAyaPickList(AyaType ayaType)
at AyaNova.Api.Controllers.PickListController.PostList(PickListOptions pickListParams)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-04-14 17:42:10.7640|ERROR|JobsBiz|ProcessJobAsync -> job failed LT:Report id: "79" LT:WorkOrder (1) LT:User Steve Gould - RenderReport=>System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
File name: 'System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at PuppeteerSharp.BrowserFetcher..ctor()
at AyaNova.Biz.ReportBiz.DoRenderJob(OpsJob job)
at AyaNova.Biz.ReportBiz.HandleJobAsync(OpsJob job)
at AyaNova.Biz.JobsBiz.ProcessJobAsync(OpsJob job)
2023-04-14 17:42:17.8360|ERROR|JobsBiz|ProcessJobAsync -> job failed LT:Report id: "94" LT:WorkOrder (1) LT:User Steve Gould - RenderReport=>System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
File name: 'System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at PuppeteerSharp.BrowserFetcher..ctor()
at AyaNova.Biz.ReportBiz.DoRenderJob(OpsJob job)
at AyaNova.Biz.ReportBiz.HandleJobAsync(OpsJob job)
at AyaNova.Biz.JobsBiz.ProcessJobAsync(OpsJob job)
2023-04-14 17:43:09.1045|ERROR|JobsBiz|ProcessJobAsync -> job failed LT:Report id: "79" LT:WorkOrder (1) LT:User Steve Gould - RenderReport=>System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
File name: 'System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at PuppeteerSharp.BrowserFetcher..ctor()
at AyaNova.Biz.ReportBiz.DoRenderJob(OpsJob job)
at AyaNova.Biz.ReportBiz.HandleJobAsync(OpsJob job)
at AyaNova.Biz.JobsBiz.ProcessJobAsync(OpsJob job)
2023-04-14 17:43:12.1083|ERROR|JobsBiz|ProcessJobAsync -> job failed LT:Report id: "94" LT:WorkOrder (1) LT:User Steve Gould - RenderReport=>System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
File name: 'System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at PuppeteerSharp.BrowserFetcher..ctor()
at AyaNova.Biz.ReportBiz.DoRenderJob(OpsJob job)
at AyaNova.Biz.ReportBiz.HandleJobAsync(OpsJob job)
at AyaNova.Biz.JobsBiz.ProcessJobAsync(OpsJob job)
2023-04-14 17:43:13.1248|ERROR|JobsBiz|ProcessJobAsync -> job failed LT:Report id: "94" LT:WorkOrder (1) LT:User Steve Gould - RenderReport=>System.IO.FileNotFoundException: Could not load file or assembly 'System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'. The system cannot find the file specified.
File name: 'System.Net.WebClient, Version=6.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'
at PuppeteerSharp.BrowserFetcher..ctor()
at AyaNova.Biz.ReportBiz.DoRenderJob(OpsJob job)
:
File name: 'Microsoft.CSharp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at AyaNova.PickList.CustomerPickList..ctor()
at AyaNova.PickList.PickListFactory.GetAyaPickList(AyaType ayaType)
at AyaNova.Api.Controllers.PickListController.PostList(PickListOptions pickListParams)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-04-17 12:31:36.2002|ERROR|SERVER|Error=>System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.CSharp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file sp
ecified.
File name: 'Microsoft.CSharp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'
at AyaNova.PickList.CustomerPickList..ctor()
at AyaNova.PickList.PickListFactory.GetAyaPickList(AyaType ayaType)
at AyaNova.Api.Controllers.PickListController.PostList(PickListOptions pickListParams)
at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.TaskOfIActionResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Logged|12_1(ControllerActionInvoker invoker)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.InvokeInnerFilterAsync()
--- End of stack trace from previous location ---
at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeNextExceptionFilterAsync>g__Awaited|26_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
2023-04-17 12:31:36.5809|ERROR|SERVER|Error=>System.IO.FileNotFoundException: Could not load file or assembly 'Microsoft.CSharp, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The system cannot find the file sp
ecified.
========================================================================================
- Subscribe to following notifications:
Ops problem event should notify me immediately
server state first and second fails notify for starters but on a non alerting method so for FYI purposes
server state 3rd fail should notify via some immediate and loud means regardless of time of day for starters
server state 3rd fail age of more than XX minutes should esclate to a secondary means of alerting, maybe email to text?
todo: see if email to text can be set at phone end to recognize sender as a spcecific contact and set a crazy loud any time alarm for it
- Replace old rockfish docs site with something in sockeye so one place for all
FUTURE STUFF
- JOB: "SOCKBOT" virtual staff member,
sockbot - does everything we have to do manually on a delay if it hasn't been done by us yet
or tees up as much as possible whatever we need so we can just ok it or if too much time elapses just goes ahead with some things
will require a bit of a UI for config and stuff but that's ok
i.e. if a day goes by without intervention then just process
should cover every customer need possible:
Trial license request
this could potentially just be done automatically now becuase they can't use it to continually use raven so were not protecting anything
Purchase
v8 subscription renewal
v8 perpetual new or renewal
v7 renewal or new
Tech support email
if a support request is received or email to support@ayanova.com
it should check if they are a known email address of a customer and auto-reply if still sitting in inbox for certain length of time
i.e. if it's outside biz hours then auto-respond with biz hours will get back to them here's a manual link just in case their question is already answered etc
- SUBSCRIPTION SERVER UI
- Menu option generate server creation standup script based on settings in form
can fill out form, click on it and it will generate the script needed to paste into new server
- Button to trigger D.O. API to requisition server automatically, spin it up etc
- Add ui to front the route under /api/v8/license/v7-reset-manager-creds
- direct open a case by case number like workorder
(id's differ so it isn't easy to just open a case in the url)
LATER
- ** DOCS Once it's up and running update docs to mention that perpetual trial period is two weeks subscription is one week
- trial server request route that contact form can trigger
- Subscription server trial request form through Sockeye instead?
or perhaps it sends to sockeye route?
this allows for automation and notification handling and auto generation
- Contact form via sockeye instead?
or perhaps it sends to sockey contact route?
this allows for automation and notification handling and auto reply once qualified if a customer or not
- Need ui that shows money required for paying future for yearly subs so at a glance know what money need in bank each month
////////////////////////////////////////////////////////////////////////////////////////////
//OLD
==============================
certbot expand
root@devops:/etc/nginx/sites-available# certbot --nginx --cert-name test.onayanova.com -d test.onayanova.com,subtest.onayanova.com
Saving debug log to /var/log/letsencrypt/letsencrypt.log
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
You are updating certificate test.onayanova.com to include new domain(s):
+ subtest.onayanova.com
You are also removing previously included domain(s):
(None)
Did you intend to make this change?
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
(U)pdate certificate/(C)ancel: u
Renewing an existing certificate for test.onayanova.com and subtest.onayanova.com
Successfully received certificate.
Certificate is saved at: /etc/letsencrypt/live/test.onayanova.com/fullchain.pem
Key is saved at: /etc/letsencrypt/live/test.onayanova.com/privkey.pem
This certificate expires on 2023-04-04.
These files will be updated when the certificate renews.
Certbot has set up a scheduled task to automatically renew this certificate in the background.
Deploying certificate
Successfully deployed certificate for test.onayanova.com to /etc/nginx/sites-enabled/default
Could not install certificate
NEXT STEPS:
- The certificate was saved, but could not be installed (installer: nginx). After fixing the error shown below, try installing it again by running:
certbot install --cert-name test.onayanova.com
Could not automatically find a matching server block for subtest.onayanova.com. Set the `server_name` directive to use the Nginx installer.
Ask for help or search for solutions at https://community.letsencrypt.org. See the logfile /var/log/letsencrypt/letsencrypt.log or re-run Certbot with -v for more details.